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-r0E/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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 14 December 2024 07:52:42 -0500 (0:00:00.043) 0:00:00.043 ***** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 14 December 2024 07:52:43 -0500 (0:00:01.229) 0:00:01.272 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 14 December 2024 07:52:43 -0500 (0:00:00.159) 0:00:01.432 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 14 December 2024 07:52:43 -0500 (0:00:00.450) 0:00:01.883 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 14 December 2024 07:52:44 -0500 (0:00:00.550) 0:00:02.434 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 14 December 2024 07:52:44 -0500 (0:00:00.073) 0:00:02.508 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 14 December 2024 07:52:44 -0500 (0:00:00.076) 0:00:02.584 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 14 December 2024 07:52:44 -0500 (0:00:00.112) 0:00:02.697 ***** ok: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 14 December 2024 07:52:45 -0500 (0:00:00.557) 0:00:03.254 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 14 December 2024 07:52:46 -0500 (0:00:00.954) 0:00:04.208 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.165904", "end": "2024-12-14 07:52:46.719056", "rc": 0, "start": "2024-12-14 07:52:46.553152" } 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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 14 December 2024 07:52:46 -0500 (0:00:00.615) 0:00:04.824 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 14 December 2024 07:52:46 -0500 (0:00:00.046) 0:00:04.870 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 14 December 2024 07:52:46 -0500 (0:00:00.033) 0:00:04.904 ***** ok: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 14 December 2024 07:52:46 -0500 (0:00:00.044) 0:00:04.948 ***** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 14 December 2024 07:52:47 -0500 (0:00:00.664) 0:00:05.613 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 14 December 2024 07:52:47 -0500 (0:00:00.063) 0:00:05.676 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:52:47 -0500 (0:00:00.063) 0:00:05.740 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:52:47 -0500 (0:00:00.039) 0:00:05.780 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:52:47 -0500 (0:00:00.108) 0:00:05.888 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:52:47 -0500 (0:00:00.039) 0:00:05.927 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:52:47 -0500 (0:00:00.037) 0:00:05.964 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004780", "end": "2024-12-14 07:52:49.212274", "rc": 0, "start": "2024-12-14 07:52:48.207494" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:52:49 -0500 (0:00:01.315) 0:00:07.280 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:52:49 -0500 (0:00:00.039) 0:00:07.320 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:52:49 -0500 (0:00:00.038) 0:00:07.358 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 14 December 2024 07:52:49 -0500 (0:00:00.081) 0:00:07.439 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008523", "end": "2024-12-14 07:52:49.720982", "rc": 1, "start": "2024-12-14 07:52:49.712459" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:52:49 -0500 (0:00:00.347) 0:00:07.787 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:52:49 -0500 (0:00:00.054) 0:00:07.842 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:52:50 -0500 (0:00:00.325) 0:00:08.167 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:52:50 -0500 (0:00:00.043) 0:00:08.211 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:52:50 -0500 (0:00:00.070) 0:00:08.281 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:52:50 -0500 (0:00:00.304) 0:00:08.585 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:52:50 -0500 (0:00:00.086) 0:00:08.672 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:52:50 -0500 (0:00:00.089) 0:00:08.762 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:52:50 -0500 (0:00:00.052) 0:00:08.814 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:52:50 -0500 (0:00:00.038) 0:00:08.853 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:52:51 -0500 (0:00:01.067) 0:00:09.921 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:52:53 -0500 (0:00:02.042) 0:00:11.963 ***** ok: [managed-node2] => {} 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:52:54 -0500 (0:00:00.108) 0:00:12.072 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:52:54 -0500 (0:00:00.127) 0:00:12.200 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:52:54 -0500 (0:00:00.115) 0:00:12.315 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:52:54 -0500 (0:00:00.125) 0:00:12.441 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:52:54 -0500 (0:00:00.114) 0:00:12.555 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:52:54 -0500 (0:00:00.130) 0:00:12.685 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:52:54 -0500 (0:00:00.093) 0:00:12.779 ***** changed: [managed-node2] => { "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" ] } lsrpackages: bridge-utils dhclient initscripts TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:52:59 -0500 (0:00:04.278) 0:00:17.058 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:52:59 -0500 (0:00:00.128) 0:00:17.187 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:52:59 -0500 (0:00:00.118) 0:00:17.305 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:52:59 -0500 (0:00:00.132) 0:00:17.438 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:52:59 -0500 (0:00:00.151) 0:00:17.589 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:52:59 -0500 (0:00:00.137) 0:00:17.727 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:53:00 -0500 (0:00:00.998) 0:00:18.725 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16316PyZv3n/tmp_KDJPc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:53:01 -0500 (0:00:00.641) 0:00:19.366 ***** changed: [managed-node2] => { "_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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:53:02 -0500 (0:00:00.936) 0:00:20.303 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:53:02 -0500 (0:00:00.114) 0:00:20.418 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:53:02 -0500 (0:00:00.111) 0:00:20.529 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:53:02 -0500 (0:00:00.130) 0:00:20.659 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:53:02 -0500 (0:00:00.105) 0:00:20.764 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:53:03 -0500 (0:00:00.513) 0:00:21.278 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:53:03 -0500 (0:00:00.115) 0:00:21.393 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 December 2024 07:53:03 -0500 (0:00:00.133) 0:00:21.527 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:53:03 -0500 (0:00:00.192) 0:00:21.719 ***** ok: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:53:03 -0500 (0:00:00.107) 0:00:21.826 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734180782.1605196, "block_size": 4096, "blocks": 8, "ctime": 1734180782.1605196, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9253, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734180782.1605196, "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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:53:04 -0500 (0:00:00.600) 0:00:22.426 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:53:04 -0500 (0:00:00.210) 0:00:22.637 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024618", "end": "2024-12-14 07:53:05.118793", "rc": 1, "start": "2024-12-14 07:53:05.094175" } 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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:53:05 -0500 (0:00:00.731) 0:00:23.368 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:53:05 -0500 (0:00:00.153) 0:00:23.522 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003150", "end": "2024-12-14 07:53:06.001963", "rc": 0, "start": "2024-12-14 07:53:05.998813" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:53:06 -0500 (0:00:00.625) 0:00:24.147 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:53:06 -0500 (0:00:00.174) 0:00:24.322 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003276", "end": "2024-12-14 07:53:06.604238", "rc": 0, "start": "2024-12-14 07:53:06.600962" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:53:06 -0500 (0:00:00.433) 0:00:24.756 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 December 2024 07:53:06 -0500 (0:00:00.221) 0:00:24.977 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 December 2024 07:53:07 -0500 (0:00:00.133) 0:00:25.111 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 December 2024 07:53:07 -0500 (0:00:00.146) 0:00:25.257 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:53:07 -0500 (0:00:00.118) 0:00:25.376 ***** skipping: [managed-node2] => (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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:53:07 -0500 (0:00:00.153) 0:00:25.529 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:53:07 -0500 (0:00:00.118) 0:00:25.648 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:53:07 -0500 (0:00:00.248) 0:00:25.896 ***** fatal: [managed-node2]: 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.041974", "end": "2024-12-14 07:53:08.393355", "rc": 1, "start": "2024-12-14 07:53:08.351381" } 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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 14 December 2024 07:53:08 -0500 (0:00:00.670) 0:00:26.567 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:53:08 -0500 (0:00:00.136) 0:00:26.703 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:53:08 -0500 (0:00:00.101) 0:00:26.805 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:53:08 -0500 (0:00:00.193) 0:00:26.998 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:53:09 -0500 (0:00:00.187) 0:00:27.186 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:53:09 -0500 (0:00:00.183) 0:00:27.370 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003726", "end": "2024-12-14 07:53:09.643798", "rc": 0, "start": "2024-12-14 07:53:09.640072" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:53:09 -0500 (0:00:00.426) 0:00:27.797 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:53:09 -0500 (0:00:00.112) 0:00:27.910 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:53:10 -0500 (0:00:00.102) 0:00:28.012 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 14 December 2024 07:53:10 -0500 (0:00:00.211) 0:00:28.224 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006972", "end": "2024-12-14 07:53:10.459427", "rc": 1, "start": "2024-12-14 07:53:10.452455" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:53:10 -0500 (0:00:00.327) 0:00:28.552 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:53:10 -0500 (0:00:00.117) 0:00:28.670 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:53:11 -0500 (0:00:00.404) 0:00:29.074 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:53:11 -0500 (0:00:00.143) 0:00:29.218 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 14 December 2024 07:53:11 -0500 (0:00:00.217) 0:00:29.435 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:53:11 -0500 (0:00:00.221) 0:00:29.657 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:53:11 -0500 (0:00:00.195) 0:00:29.853 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:53:11 -0500 (0:00:00.086) 0:00:29.940 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:53:12 -0500 (0:00:00.099) 0:00:30.039 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:53:12 -0500 (0:00:00.163) 0:00:30.203 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:53:13 -0500 (0:00:01.273) 0:00:31.476 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:53:15 -0500 (0:00:01.677) 0:00:33.153 ***** ok: [managed-node2] => {} 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:53:15 -0500 (0:00:00.076) 0:00:33.230 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:53:15 -0500 (0:00:00.078) 0:00:33.309 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:53:15 -0500 (0:00:00.107) 0:00:33.416 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:53:15 -0500 (0:00:00.215) 0:00:33.632 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:53:15 -0500 (0:00:00.187) 0:00:33.819 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:53:15 -0500 (0:00:00.128) 0:00:33.948 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:53:16 -0500 (0:00:00.114) 0:00:34.062 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:53:16 -0500 (0:00:00.185) 0:00:34.248 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:53:16 -0500 (0:00:00.110) 0:00:34.358 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:53:16 -0500 (0:00:00.184) 0:00:34.543 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:53:16 -0500 (0:00:00.226) 0:00:34.770 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:53:16 -0500 (0:00:00.233) 0:00:35.003 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:53:17 -0500 (0:00:00.129) 0:00:35.133 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:53:17 -0500 (0:00:00.644) 0:00:35.777 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16316PyZv3n/tmpMq6r6A" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:53:18 -0500 (0:00:00.496) 0:00:36.274 ***** changed: [managed-node2] => { "_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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:53:19 -0500 (0:00:00.772) 0:00:37.046 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:53:19 -0500 (0:00:00.108) 0:00:37.155 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:53:19 -0500 (0:00:00.122) 0:00:37.277 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:53:19 -0500 (0:00:00.124) 0:00:37.401 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:53:19 -0500 (0:00:00.151) 0:00:37.552 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 14 December 2024 07:53:20 -0500 (0:00:00.482) 0:00:38.035 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:53:20 -0500 (0:00:00.219) 0:00:38.254 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:53:20 -0500 (0:00:00.358) 0:00:38.612 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:53:20 -0500 (0:00:00.307) 0:00:38.920 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:53:21 -0500 (0:00:00.420) 0:00:39.340 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 December 2024 07:53:21 -0500 (0:00:00.176) 0:00:39.517 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:53:21 -0500 (0:00:00.203) 0:00:39.721 ***** ok: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:53:21 -0500 (0:00:00.152) 0:00:39.874 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734180798.9224908, "block_size": 4096, "blocks": 8, "ctime": 1734180798.9224908, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9253, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734180798.9224908, "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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:53:22 -0500 (0:00:00.524) 0:00:40.398 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:53:22 -0500 (0:00:00.088) 0:00:40.487 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019467", "end": "2024-12-14 07:53:22.735099", "rc": 1, "start": "2024-12-14 07:53:22.715632" } 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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:53:22 -0500 (0:00:00.388) 0:00:40.875 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:53:22 -0500 (0:00:00.106) 0:00:40.981 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003311", "end": "2024-12-14 07:53:23.411767", "rc": 0, "start": "2024-12-14 07:53:23.408456" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:53:23 -0500 (0:00:00.703) 0:00:41.685 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:53:23 -0500 (0:00:00.240) 0:00:41.925 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003441", "end": "2024-12-14 07:53:24.256243", "rc": 0, "start": "2024-12-14 07:53:24.252802" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:53:24 -0500 (0:00:00.491) 0:00:42.417 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 December 2024 07:53:24 -0500 (0:00:00.127) 0:00:42.545 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 December 2024 07:53:24 -0500 (0:00:00.116) 0:00:42.662 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 December 2024 07:53:24 -0500 (0:00:00.117) 0:00:42.779 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:53:24 -0500 (0:00:00.146) 0:00:42.926 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:53:25 -0500 (0:00:00.178) 0:00:43.105 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:53:25 -0500 (0:00:00.223) 0:00:43.328 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:53:25 -0500 (0:00:00.235) 0:00:43.564 ***** fatal: [managed-node2]: 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.038987", "end": "2024-12-14 07:53:25.840573", "rc": 1, "start": "2024-12-14 07:53:25.801586" } 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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 14 December 2024 07:53:25 -0500 (0:00:00.410) 0:00:43.975 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:53:26 -0500 (0:00:00.152) 0:00:44.128 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:53:26 -0500 (0:00:00.076) 0:00:44.204 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:53:26 -0500 (0:00:00.165) 0:00:44.370 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:53:26 -0500 (0:00:00.320) 0:00:44.691 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:53:27 -0500 (0:00:00.352) 0:00:45.044 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003288", "end": "2024-12-14 07:53:27.338992", "rc": 0, "start": "2024-12-14 07:53:27.335704" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:53:27 -0500 (0:00:00.444) 0:00:45.488 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:53:27 -0500 (0:00:00.178) 0:00:45.667 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:53:27 -0500 (0:00:00.229) 0:00:45.897 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:53:28 -0500 (0:00:00.337) 0:00:46.234 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:53:28 -0500 (0:00:00.299) 0:00:46.533 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:53:28 -0500 (0:00:00.190) 0:00:46.723 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:53:28 -0500 (0:00:00.135) 0:00:46.859 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:53:28 -0500 (0:00:00.133) 0:00:46.993 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:53:29 -0500 (0:00:00.138) 0:00:47.132 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:53:30 -0500 (0:00:01.107) 0:00:48.239 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:53:31 -0500 (0:00:01.542) 0:00:49.782 ***** ok: [managed-node2] => {} 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:53:31 -0500 (0:00:00.142) 0:00:49.924 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:53:32 -0500 (0:00:00.183) 0:00:50.108 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:53:32 -0500 (0:00:00.185) 0:00:50.294 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:53:32 -0500 (0:00:00.230) 0:00:50.524 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:53:32 -0500 (0:00:00.098) 0:00:50.622 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:53:32 -0500 (0:00:00.101) 0:00:50.724 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:53:32 -0500 (0:00:00.077) 0:00:50.801 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:53:32 -0500 (0:00:00.168) 0:00:50.970 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:53:33 -0500 (0:00:00.109) 0:00:51.080 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:53:33 -0500 (0:00:00.108) 0:00:51.188 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:53:33 -0500 (0:00:00.110) 0:00:51.299 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:53:33 -0500 (0:00:00.130) 0:00:51.429 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:53:33 -0500 (0:00:00.106) 0:00:51.536 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:53:34 -0500 (0:00:00.503) 0:00:52.039 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16316PyZv3n/tmp9CwVnW" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:53:34 -0500 (0:00:00.332) 0:00:52.372 ***** changed: [managed-node2] => { "_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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:53:35 -0500 (0:00:00.862) 0:00:53.235 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:53:35 -0500 (0:00:00.146) 0:00:53.381 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:53:35 -0500 (0:00:00.228) 0:00:53.610 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:53:35 -0500 (0:00:00.238) 0:00:53.848 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:53:36 -0500 (0:00:00.266) 0:00:54.115 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:53:36 -0500 (0:00:00.567) 0:00:54.683 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:53:36 -0500 (0:00:00.116) 0:00:54.799 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:53:37 -0500 (0:00:00.278) 0:00:55.078 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:53:37 -0500 (0:00:00.191) 0:00:55.270 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:53:37 -0500 (0:00:00.145) 0:00:55.416 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:53:37 -0500 (0:00:00.135) 0:00:55.552 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:53:37 -0500 (0:00:00.107) 0:00:55.659 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:53:37 -0500 (0:00:00.146) 0:00:55.806 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:53:38 -0500 (0:00:00.993) 0:00:56.799 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:53:40 -0500 (0:00:01.735) 0:00:58.534 ***** ok: [managed-node2] => {} 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:53:40 -0500 (0:00:00.128) 0:00:58.663 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:53:40 -0500 (0:00:00.101) 0:00:58.764 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:53:40 -0500 (0:00:00.076) 0:00:58.841 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:53:40 -0500 (0:00:00.069) 0:00:58.911 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:53:40 -0500 (0:00:00.069) 0:00:58.980 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:53:41 -0500 (0:00:00.107) 0:00:59.087 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:53:41 -0500 (0:00:00.113) 0:00:59.200 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:53:41 -0500 (0:00:00.164) 0:00:59.365 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:53:41 -0500 (0:00:00.120) 0:00:59.486 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:53:41 -0500 (0:00:00.104) 0:00:59.590 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:53:41 -0500 (0:00:00.117) 0:00:59.707 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:53:41 -0500 (0:00:00.120) 0:00:59.828 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:53:41 -0500 (0:00:00.150) 0:00:59.978 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:53:42 -0500 (0:00:00.531) 0:01:00.510 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16316PyZv3n/tmprhiqvg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:53:42 -0500 (0:00:00.390) 0:01:00.901 ***** changed: [managed-node2] => { "_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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:53:43 -0500 (0:00:01.022) 0:01:01.923 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:53:44 -0500 (0:00:00.127) 0:01:02.050 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:53:44 -0500 (0:00:00.123) 0:01:02.174 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:53:44 -0500 (0:00:00.114) 0:01:02.288 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:53:44 -0500 (0:00:00.146) 0:01:02.434 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:53:44 -0500 (0:00:00.392) 0:01:02.826 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 December 2024 07:53:45 -0500 (0:00:00.214) 0:01:03.041 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:53:45 -0500 (0:00:00.204) 0:01:03.246 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734180823.6944482, "block_size": 4096, "blocks": 0, "ctime": 1734180823.6914482, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17734, "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": 1734180823.6914482, "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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 December 2024 07:53:45 -0500 (0:00:00.466) 0:01:03.712 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 December 2024 07:53:45 -0500 (0:00:00.137) 0:01:03.849 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:53:46 -0500 (0:00:00.211) 0:01:04.061 ***** ok: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:53:46 -0500 (0:00:00.108) 0:01:04.170 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734180823.5334485, "block_size": 4096, "blocks": 8, "ctime": 1734180814.9944632, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9253, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734180814.9944632, "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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:53:46 -0500 (0:00:00.595) 0:01:04.766 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:53:46 -0500 (0:00:00.123) 0:01:04.889 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020319", "end": "2024-12-14 07:53:47.181658", "rc": 1, "start": "2024-12-14 07:53:47.161339" } 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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:53:47 -0500 (0:00:00.444) 0:01:05.333 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:53:47 -0500 (0:00:00.108) 0:01:05.442 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003241", "end": "2024-12-14 07:53:47.736029", "rc": 0, "start": "2024-12-14 07:53:47.732788" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:53:47 -0500 (0:00:00.398) 0:01:05.841 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:53:47 -0500 (0:00:00.120) 0:01:05.962 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003146", "end": "2024-12-14 07:53:48.377528", "rc": 0, "start": "2024-12-14 07:53:48.374382" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:53:48 -0500 (0:00:00.671) 0:01:06.633 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 December 2024 07:53:48 -0500 (0:00:00.136) 0:01:06.770 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 December 2024 07:53:48 -0500 (0:00:00.082) 0:01:06.853 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 December 2024 07:53:48 -0500 (0:00:00.093) 0:01:06.947 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:53:49 -0500 (0:00:00.112) 0:01:07.060 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:53:49 -0500 (0:00:00.095) 0:01:07.155 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:53:49 -0500 (0:00:00.094) 0:01:07.250 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:53:49 -0500 (0:00:00.138) 0:01:07.388 ***** ok: [managed-node2] => { "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.045731", "end": "2024-12-14 07:53:49.706165", "rc": 0, "start": "2024-12-14 07:53:49.660434" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 14 December 2024 07:53:49 -0500 (0:00:00.513) 0:01:07.902 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:53:50 -0500 (0:00:00.293) 0:01:08.195 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:53:50 -0500 (0:00:00.144) 0:01:08.340 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:53:50 -0500 (0:00:00.220) 0:01:08.560 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:53:50 -0500 (0:00:00.263) 0:01:08.824 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:53:51 -0500 (0:00:00.220) 0:01:09.045 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003807", "end": "2024-12-14 07:53:51.390999", "rc": 0, "start": "2024-12-14 07:53:51.387192" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:53:51 -0500 (0:00:00.491) 0:01:09.536 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:53:51 -0500 (0:00:00.181) 0:01:09.717 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:53:51 -0500 (0:00:00.228) 0:01:09.946 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:53:52 -0500 (0:00:00.362) 0:01:10.308 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:53:52 -0500 (0:00:00.284) 0:01:10.593 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:53:52 -0500 (0:00:00.353) 0:01:10.946 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:53:53 -0500 (0:00:00.173) 0:01:11.120 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:53:53 -0500 (0:00:00.153) 0:01:11.273 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:53:53 -0500 (0:00:00.112) 0:01:11.386 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:53:54 -0500 (0:00:01.141) 0:01:12.527 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:53:55 -0500 (0:00:01.325) 0:01:13.852 ***** ok: [managed-node2] => {} 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:53:55 -0500 (0:00:00.097) 0:01:13.950 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:53:56 -0500 (0:00:00.078) 0:01:14.028 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:53:56 -0500 (0:00:00.068) 0:01:14.097 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:53:56 -0500 (0:00:00.079) 0:01:14.177 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:53:56 -0500 (0:00:00.069) 0:01:14.247 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:53:56 -0500 (0:00:00.075) 0:01:14.322 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:53:56 -0500 (0:00:00.117) 0:01:14.439 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:53:56 -0500 (0:00:00.124) 0:01:14.564 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:53:56 -0500 (0:00:00.070) 0:01:14.634 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:53:56 -0500 (0:00:00.069) 0:01:14.704 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:53:56 -0500 (0:00:00.087) 0:01:14.791 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:53:56 -0500 (0:00:00.101) 0:01:14.892 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:53:56 -0500 (0:00:00.109) 0:01:15.002 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:53:57 -0500 (0:00:00.581) 0:01:15.583 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16316PyZv3n/tmpHQIRHt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:53:58 -0500 (0:00:00.423) 0:01:16.007 ***** changed: [managed-node2] => { "_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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:53:58 -0500 (0:00:00.659) 0:01:16.667 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:53:58 -0500 (0:00:00.105) 0:01:16.773 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:53:58 -0500 (0:00:00.117) 0:01:16.890 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:53:59 -0500 (0:00:00.118) 0:01:17.009 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:53:59 -0500 (0:00:00.111) 0:01:17.121 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:53:59 -0500 (0:00:00.380) 0:01:17.501 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:53:59 -0500 (0:00:00.074) 0:01:17.576 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:53:59 -0500 (0:00:00.181) 0:01:17.757 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:53:59 -0500 (0:00:00.224) 0:01:17.982 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:00 -0500 (0:00:00.138) 0:01:18.121 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:00 -0500 (0:00:00.108) 0:01:18.230 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:00 -0500 (0:00:00.107) 0:01:18.337 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:01 -0500 (0:00:01.092) 0:01:19.430 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:02 -0500 (0:00:01.394) 0:01:20.825 ***** ok: [managed-node2] => {} 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:02 -0500 (0:00:00.127) 0:01:20.952 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:03 -0500 (0:00:00.110) 0:01:21.062 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:03 -0500 (0:00:00.107) 0:01:21.170 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:03 -0500 (0:00:00.105) 0:01:21.275 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:03 -0500 (0:00:00.111) 0:01:21.387 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:03 -0500 (0:00:00.118) 0:01:21.505 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:03 -0500 (0:00:00.183) 0:01:21.688 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:03 -0500 (0:00:00.236) 0:01:21.925 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:04 -0500 (0:00:00.115) 0:01:22.040 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:04 -0500 (0:00:00.138) 0:01:22.178 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:04 -0500 (0:00:00.121) 0:01:22.300 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:04 -0500 (0:00:00.207) 0:01:22.508 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:04 -0500 (0:00:00.172) 0:01:22.681 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:05 -0500 (0:00:00.782) 0:01:23.463 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16316PyZv3n/tmpm2XGhk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:05 -0500 (0:00:00.496) 0:01:23.960 ***** changed: [managed-node2] => { "_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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:07 -0500 (0:00:01.086) 0:01:25.046 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:07 -0500 (0:00:00.104) 0:01:25.151 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:07 -0500 (0:00:00.108) 0:01:25.259 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:07 -0500 (0:00:00.200) 0:01:25.459 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:07 -0500 (0:00:00.133) 0:01:25.593 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:54:08 -0500 (0:00:00.565) 0:01:26.158 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 14 December 2024 07:54:08 -0500 (0:00:00.358) 0:01:26.517 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:08 -0500 (0:00:00.471) 0:01:26.988 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:09 -0500 (0:00:00.342) 0:01:27.330 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:09 -0500 (0:00:00.167) 0:01:27.498 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:09 -0500 (0:00:00.116) 0:01:27.614 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:09 -0500 (0:00:00.095) 0:01:27.710 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:10 -0500 (0:00:00.937) 0:01:28.647 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:12 -0500 (0:00:01.549) 0:01:30.197 ***** ok: [managed-node2] => {} 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:12 -0500 (0:00:00.188) 0:01:30.385 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:12 -0500 (0:00:00.128) 0:01:30.513 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:12 -0500 (0:00:00.205) 0:01:30.718 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:12 -0500 (0:00:00.183) 0:01:30.901 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:13 -0500 (0:00:00.119) 0:01:31.021 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:13 -0500 (0:00:00.239) 0:01:31.261 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:13 -0500 (0:00:00.129) 0:01:31.391 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:13 -0500 (0:00:00.189) 0:01:31.580 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:13 -0500 (0:00:00.162) 0:01:31.743 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:13 -0500 (0:00:00.138) 0:01:31.881 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:14 -0500 (0:00:00.154) 0:01:32.036 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:14 -0500 (0:00:00.185) 0:01:32.221 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:14 -0500 (0:00:00.131) 0:01:32.353 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:14 -0500 (0:00:00.602) 0:01:32.956 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16316PyZv3n/tmpfU7nWv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:15 -0500 (0:00:00.533) 0:01:33.489 ***** changed: [managed-node2] => { "_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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.734) 0:01:34.223 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.121) 0:01:34.344 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.161) 0:01:34.506 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.207) 0:01:34.713 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:16 -0500 (0:00:00.193) 0:01:34.907 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.423) 0:01:35.331 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.251) 0:01:35.583 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:54:17 -0500 (0:00:00.284) 0:01:35.867 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734180846.8184085, "block_size": 4096, "blocks": 0, "ctime": 1734180846.8174083, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17734, "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": 1734180846.8174083, "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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 December 2024 07:54:18 -0500 (0:00:00.768) 0:01:36.636 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 December 2024 07:54:18 -0500 (0:00:00.133) 0:01:36.769 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:54:18 -0500 (0:00:00.173) 0:01:36.942 ***** ok: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:54:19 -0500 (0:00:00.126) 0:01:37.069 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:54:19 -0500 (0:00:00.405) 0:01:37.475 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:54:19 -0500 (0:00:00.126) 0:01:37.601 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020337", "end": "2024-12-14 07:54:19.910516", "rc": 1, "start": "2024-12-14 07:54:19.890179" } 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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:54:20 -0500 (0:00:00.419) 0:01:38.021 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:54:20 -0500 (0:00:00.108) 0:01:38.130 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:54:20 -0500 (0:00:00.114) 0:01:38.244 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:54:20 -0500 (0:00:00.110) 0:01:38.355 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:54:20 -0500 (0:00:00.093) 0:01:38.448 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 December 2024 07:54:20 -0500 (0:00:00.087) 0:01:38.536 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:54:20 -0500 (0:00:00.109) 0:01:38.646 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:54:20 -0500 (0:00:00.136) 0:01:38.782 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:54:20 -0500 (0:00:00.192) 0:01:38.975 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:54:21 -0500 (0:00:00.370) 0:01:39.345 ***** ok: [managed-node2] => { "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.044848", "end": "2024-12-14 07:54:21.845151", "rc": 0, "start": "2024-12-14 07:54:21.800303" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.757) 0:01:40.103 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.289) 0:01:40.393 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.228) 0:01:40.621 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (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-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:54:22 -0500 (0:00:00.238) 0:01:40.860 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:54:23 -0500 (0:00:00.231) 0:01:41.092 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:54:23 -0500 (0:00:00.201) 0:01:41.294 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003182", "end": "2024-12-14 07:54:23.679965", "rc": 0, "start": "2024-12-14 07:54:23.676783" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:54:23 -0500 (0:00:00.552) 0:01:41.846 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:54:23 -0500 (0:00:00.118) 0:01:41.965 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.123) 0:01:42.089 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.386) 0:01:42.476 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.204) 0:01:42.680 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.189) 0:01:42.870 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:24 -0500 (0:00:00.112) 0:01:42.982 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:25 -0500 (0:00:00.078) 0:01:43.061 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:25 -0500 (0:00:00.152) 0:01:43.213 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:26 -0500 (0:00:01.269) 0:01:44.483 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:27 -0500 (0:00:01.426) 0:01:45.909 ***** ok: [managed-node2] => {} 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.115) 0:01:46.025 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.130) 0:01:46.155 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.168) 0:01:46.323 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.111) 0:01:46.435 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.106) 0:01:46.541 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.132) 0:01:46.674 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:28 -0500 (0:00:00.197) 0:01:46.871 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.180) 0:01:47.051 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.070) 0:01:47.121 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.153) 0:01:47.275 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.128) 0:01:47.403 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.129) 0:01:47.533 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:29 -0500 (0:00:00.108) 0:01:47.641 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:30 -0500 (0:00:00.750) 0:01:48.392 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16316PyZv3n/tmpo9xDEJ" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.702) 0:01:49.095 ***** changed: [managed-node2] => { "_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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:31 -0500 (0:00:00.837) 0:01:49.932 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:32 -0500 (0:00:00.231) 0:01:50.164 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:32 -0500 (0:00:00.203) 0:01:50.367 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:32 -0500 (0:00:00.125) 0:01:50.492 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:32 -0500 (0:00:00.127) 0:01:50.619 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:54:33 -0500 (0:00:00.490) 0:01:51.110 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:54:33 -0500 (0:00:00.125) 0:01:51.236 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:33 -0500 (0:00:00.228) 0:01:51.464 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:33 -0500 (0:00:00.387) 0:01:51.851 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:33 -0500 (0:00:00.149) 0:01:52.001 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:34 -0500 (0:00:00.091) 0:01:52.093 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:34 -0500 (0:00:00.082) 0:01:52.175 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:35 -0500 (0:00:00.861) 0:01:53.037 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:36 -0500 (0:00:01.287) 0:01:54.324 ***** ok: [managed-node2] => {} 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:36 -0500 (0:00:00.114) 0:01:54.438 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:36 -0500 (0:00:00.112) 0:01:54.551 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:36 -0500 (0:00:00.112) 0:01:54.663 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:36 -0500 (0:00:00.176) 0:01:54.840 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:36 -0500 (0:00:00.136) 0:01:54.976 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.126) 0:01:55.103 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.117) 0:01:55.221 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.182) 0:01:55.403 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.090) 0:01:55.493 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.080) 0:01:55.573 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.077) 0:01:55.651 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.073) 0:01:55.725 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:37 -0500 (0:00:00.102) 0:01:55.828 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.553) 0:01:56.381 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16316PyZv3n/tmpWSP7nv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:38 -0500 (0:00:00.340) 0:01:56.722 ***** changed: [managed-node2] => { "_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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:39 -0500 (0:00:00.896) 0:01:57.618 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:39 -0500 (0:00:00.109) 0:01:57.728 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:39 -0500 (0:00:00.114) 0:01:57.842 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:39 -0500 (0:00:00.115) 0:01:57.958 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:40 -0500 (0:00:00.202) 0:01:58.160 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 14 December 2024 07:54:40 -0500 (0:00:00.400) 0:01:58.561 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:40 -0500 (0:00:00.201) 0:01:58.762 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:40 -0500 (0:00:00.218) 0:01:58.981 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:41 -0500 (0:00:00.131) 0:01:59.112 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:41 -0500 (0:00:00.099) 0:01:59.212 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:41 -0500 (0:00:00.125) 0:01:59.338 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:42 -0500 (0:00:01.005) 0:02:00.343 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:44 -0500 (0:00:01.774) 0:02:02.118 ***** ok: [managed-node2] => {} 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:44 -0500 (0:00:00.117) 0:02:02.235 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:44 -0500 (0:00:00.122) 0:02:02.358 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:44 -0500 (0:00:00.118) 0:02:02.476 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:44 -0500 (0:00:00.116) 0:02:02.592 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:44 -0500 (0:00:00.109) 0:02:02.702 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:44 -0500 (0:00:00.081) 0:02:02.784 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:44 -0500 (0:00:00.088) 0:02:02.872 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.204) 0:02:03.076 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.118) 0:02:03.194 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.110) 0:02:03.305 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.165) 0:02:03.470 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.134) 0:02:03.605 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:45 -0500 (0:00:00.124) 0:02:03.729 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:46 -0500 (0:00:00.607) 0:02:04.336 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16316PyZv3n/tmpIkRYXJ" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:46 -0500 (0:00:00.564) 0:02:04.900 ***** changed: [managed-node2] => { "_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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:47 -0500 (0:00:00.953) 0:02:05.854 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.297) 0:02:06.152 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.257) 0:02:06.409 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.149) 0:02:06.559 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:48 -0500 (0:00:00.155) 0:02:06.715 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.389) 0:02:07.104 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.134) 0:02:07.239 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.142) 0:02:07.382 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.182) 0:02:07.564 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.140) 0:02:07.704 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.136) 0:02:07.840 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:54:49 -0500 (0:00:00.163) 0:02:08.004 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:54:51 -0500 (0:00:01.039) 0:02:09.043 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:54:52 -0500 (0:00:01.918) 0:02:10.961 ***** ok: [managed-node2] => {} 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.151) 0:02:11.112 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.108) 0:02:11.221 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.152) 0:02:11.374 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.095) 0:02:11.469 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.103) 0:02:11.572 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.129) 0:02:11.701 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:54:53 -0500 (0:00:00.127) 0:02:11.829 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.261) 0:02:12.090 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.135) 0:02:12.225 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.119) 0:02:12.345 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.123) 0:02:12.469 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.093) 0:02:12.563 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:54:54 -0500 (0:00:00.109) 0:02:12.673 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:54:55 -0500 (0:00:00.552) 0:02:13.225 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16316PyZv3n/tmpMM0_W1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:54:55 -0500 (0:00:00.601) 0:02:13.827 ***** ok: [managed-node2] => { "_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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.745) 0:02:14.572 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.185) 0:02:14.758 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:54:56 -0500 (0:00:00.242) 0:02:15.000 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:54:57 -0500 (0:00:00.237) 0:02:15.238 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:54:57 -0500 (0:00:00.205) 0:02:15.444 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:54:57 -0500 (0:00:00.425) 0:02:15.869 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.160) 0:02:16.029 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.150) 0:02:16.180 ***** ok: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.122) 0:02:16.303 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.497) 0:02:16.801 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:54:58 -0500 (0:00:00.070) 0:02:16.871 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020577", "end": "2024-12-14 07:54:59.117365", "rc": 1, "start": "2024-12-14 07:54:59.096788" } 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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:54:59 -0500 (0:00:00.445) 0:02:17.317 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:54:59 -0500 (0:00:00.128) 0:02:17.445 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:54:59 -0500 (0:00:00.088) 0:02:17.533 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:54:59 -0500 (0:00:00.113) 0:02:17.647 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:54:59 -0500 (0:00:00.103) 0:02:17.751 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 December 2024 07:54:59 -0500 (0:00:00.197) 0:02:17.948 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:55:00 -0500 (0:00:00.195) 0:02:18.144 ***** skipping: [managed-node2] => (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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:55:00 -0500 (0:00:00.241) 0:02:18.385 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:55:00 -0500 (0:00:00.195) 0:02:18.580 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:55:00 -0500 (0:00:00.280) 0:02:18.861 ***** ok: [managed-node2] => { "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.043153", "end": "2024-12-14 07:55:01.444154", "rc": 0, "start": "2024-12-14 07:55:01.401001" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 14 December 2024 07:55:01 -0500 (0:00:00.741) 0:02:19.602 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:55:01 -0500 (0:00:00.265) 0:02:19.868 ***** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:55:01 -0500 (0:00:00.113) 0:02:19.982 ***** ok: [managed-node2] => (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-node2] => (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-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.152) 0:02:20.134 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.183) 0:02:20.318 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:55:02 -0500 (0:00:00.265) 0:02:20.584 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003251", "end": "2024-12-14 07:55:02.862637", "rc": 0, "start": "2024-12-14 07:55:02.859386" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.448) 0:02:21.033 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.079) 0:02:21.112 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.075) 0:02:21.188 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.169) 0:02:21.358 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.200) 0:02:21.558 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.237) 0:02:21.796 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:03 -0500 (0:00:00.165) 0:02:21.962 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:04 -0500 (0:00:00.165) 0:02:22.127 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:04 -0500 (0:00:00.109) 0:02:22.237 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:05 -0500 (0:00:01.074) 0:02:23.311 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:06 -0500 (0:00:01.533) 0:02:24.844 ***** ok: [managed-node2] => {} 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:06 -0500 (0:00:00.088) 0:02:24.933 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:06 -0500 (0:00:00.071) 0:02:25.005 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:07 -0500 (0:00:00.104) 0:02:25.110 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:07 -0500 (0:00:00.107) 0:02:25.217 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:07 -0500 (0:00:00.110) 0:02:25.327 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:07 -0500 (0:00:00.101) 0:02:25.428 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:07 -0500 (0:00:00.123) 0:02:25.552 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:07 -0500 (0:00:00.193) 0:02:25.746 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:07 -0500 (0:00:00.120) 0:02:25.866 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.183) 0:02:26.050 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.222) 0:02:26.272 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.163) 0:02:26.436 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:08 -0500 (0:00:00.158) 0:02:26.594 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:09 -0500 (0:00:00.626) 0:02:27.220 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16316PyZv3n/tmp5eP2DQ" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:09 -0500 (0:00:00.427) 0:02:27.647 ***** changed: [managed-node2] => { "_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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:10 -0500 (0:00:00.696) 0:02:28.344 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:10 -0500 (0:00:00.108) 0:02:28.452 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:10 -0500 (0:00:00.137) 0:02:28.590 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:10 -0500 (0:00:00.117) 0:02:28.708 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:10 -0500 (0:00:00.116) 0:02:28.824 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:55:11 -0500 (0:00:00.374) 0:02:29.199 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:55:11 -0500 (0:00:00.121) 0:02:29.320 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:11 -0500 (0:00:00.245) 0:02:29.566 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:11 -0500 (0:00:00.179) 0:02:29.746 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:11 -0500 (0:00:00.087) 0:02:29.834 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:11 -0500 (0:00:00.091) 0:02:29.925 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:12 -0500 (0:00:00.096) 0:02:30.022 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:13 -0500 (0:00:01.266) 0:02:31.288 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:14 -0500 (0:00:01.422) 0:02:32.711 ***** ok: [managed-node2] => {} 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:14 -0500 (0:00:00.114) 0:02:32.825 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:14 -0500 (0:00:00.096) 0:02:32.922 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.109) 0:02:33.031 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.114) 0:02:33.146 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.084) 0:02:33.231 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.083) 0:02:33.314 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.108) 0:02:33.423 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.225) 0:02:33.649 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:15 -0500 (0:00:00.131) 0:02:33.781 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:16 -0500 (0:00:00.311) 0:02:34.092 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:16 -0500 (0:00:00.159) 0:02:34.252 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:16 -0500 (0:00:00.116) 0:02:34.369 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:16 -0500 (0:00:00.174) 0:02:34.543 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:17 -0500 (0:00:00.618) 0:02:35.161 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16316PyZv3n/tmpQ9O_TX" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:17 -0500 (0:00:00.351) 0:02:35.513 ***** changed: [managed-node2] => { "_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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.802) 0:02:36.316 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.102) 0:02:36.418 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.096) 0:02:36.514 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.089) 0:02:36.604 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:18 -0500 (0:00:00.070) 0:02:36.675 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.344) 0:02:37.020 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.147) 0:02:37.167 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.199) 0:02:37.367 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.107) 0:02:37.475 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.090) 0:02:37.566 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:19 -0500 (0:00:00.085) 0:02:37.651 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:20 -0500 (0:00:00.856) 0:02:38.508 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:21 -0500 (0:00:01.299) 0:02:39.808 ***** ok: [managed-node2] => {} 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:21 -0500 (0:00:00.117) 0:02:39.925 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:22 -0500 (0:00:00.174) 0:02:40.100 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:22 -0500 (0:00:00.114) 0:02:40.214 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:22 -0500 (0:00:00.108) 0:02:40.322 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:22 -0500 (0:00:00.116) 0:02:40.439 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:22 -0500 (0:00:00.206) 0:02:40.646 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:22 -0500 (0:00:00.116) 0:02:40.762 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:22 -0500 (0:00:00.179) 0:02:40.942 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:23 -0500 (0:00:00.114) 0:02:41.056 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:23 -0500 (0:00:00.109) 0:02:41.165 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:23 -0500 (0:00:00.193) 0:02:41.359 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:23 -0500 (0:00:00.119) 0:02:41.479 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:23 -0500 (0:00:00.097) 0:02:41.576 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:24 -0500 (0:00:00.512) 0:02:42.089 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16316PyZv3n/tmprFTomF" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:24 -0500 (0:00:00.554) 0:02:42.644 ***** changed: [managed-node2] => { "_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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:25 -0500 (0:00:00.738) 0:02:43.382 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:25 -0500 (0:00:00.141) 0:02:43.524 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:25 -0500 (0:00:00.111) 0:02:43.635 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:25 -0500 (0:00:00.213) 0:02:43.849 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.188) 0:02:44.037 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.587) 0:02:44.624 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 December 2024 07:55:26 -0500 (0:00:00.361) 0:02:44.986 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:55:27 -0500 (0:00:00.294) 0:02:45.281 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:55:27 -0500 (0:00:00.241) 0:02:45.522 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:55:27 -0500 (0:00:00.149) 0:02:45.671 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:55:27 -0500 (0:00:00.162) 0:02:45.834 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:55:27 -0500 (0:00:00.109) 0:02:45.943 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:55:29 -0500 (0:00:01.080) 0:02:47.024 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:55:30 -0500 (0:00:01.509) 0:02:48.534 ***** ok: [managed-node2] => {} 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.119) 0:02:48.653 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.088) 0:02:48.741 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.088) 0:02:48.829 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.070) 0:02:48.900 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:55:30 -0500 (0:00:00.074) 0:02:48.975 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.109) 0:02:49.085 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.107) 0:02:49.192 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.143) 0:02:49.336 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.070) 0:02:49.407 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.104) 0:02:49.512 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.108) 0:02:49.620 ***** skipping: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.086) 0:02:49.707 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:55:31 -0500 (0:00:00.079) 0:02:49.786 ***** ok: [managed-node2] => { "censored": "the output 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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:55:32 -0500 (0:00:00.560) 0:02:50.347 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16316PyZv3n/tmpw04r7X" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:55:32 -0500 (0:00:00.343) 0:02:50.691 ***** ok: [managed-node2] => { "_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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.574) 0:02:51.265 ***** skipping: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.114) 0:02:51.380 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.125) 0:02:51.505 ***** ok: [managed-node2] => { "__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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.144) 0:02:51.649 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:55:33 -0500 (0:00:00.116) 0:02:51.766 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:55:34 -0500 (0:00:00.398) 0:02:52.164 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 December 2024 07:55:34 -0500 (0:00:00.181) 0:02:52.346 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:55:34 -0500 (0:00:00.179) 0:02:52.525 ***** ok: [managed-node2] => { "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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:55:34 -0500 (0:00:00.114) 0:02:52.640 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:55:35 -0500 (0:00:00.554) 0:02:53.194 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:55:35 -0500 (0:00:00.115) 0:02:53.309 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021413", "end": "2024-12-14 07:55:35.568491", "rc": 1, "start": "2024-12-14 07:55:35.547078" } 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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:55:35 -0500 (0:00:00.602) 0:02:53.912 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:55:36 -0500 (0:00:00.128) 0:02:54.040 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:55:36 -0500 (0:00:00.087) 0:02:54.128 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:55:36 -0500 (0:00:00.107) 0:02:54.236 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:55:36 -0500 (0:00:00.181) 0:02:54.417 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 December 2024 07:55:36 -0500 (0:00:00.138) 0:02:54.555 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 14 December 2024 07:55:36 -0500 (0:00:00.124) 0:02:54.680 ***** [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-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.619220", "end": "2024-12-14 07:55:37.602177", "rc": 0, "start": "2024-12-14 07:55:36.982957" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 14 December 2024 07:55:37 -0500 (0:00:01.045) 0:02:55.725 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.083) 0:02:55.809 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.076) 0:02:55.885 ***** skipping: [managed-node2] => (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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:55:37 -0500 (0:00:00.084) 0:02:55.970 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:55:38 -0500 (0:00:00.096) 0:02:56.067 ***** included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:55:38 -0500 (0:00:00.185) 0:02:56.252 ***** ok: [managed-node2] => { "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.052365", "end": "2024-12-14 07:55:38.544174", "rc": 0, "start": "2024-12-14 07:55:38.491809" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 14 December 2024 07:55:38 -0500 (0:00:00.438) 0:02:56.690 ***** ok: [managed-node2] => { "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.006974", "end": "2024-12-14 07:55:38.942461", "rc": 0, "start": "2024-12-14 07:55:38.935487" } 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 0a:ff:fe:7e:26:85 brd ff:ff:ff:ff:ff:ff inet 10.31.13.56/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 3248sec preferred_lft 3248sec inet6 fe80::8ff:feff:fe7e:2685/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 6a:42:42:f0:23:5a brd ff:ff:ff:ff:ff:ff 33: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 92:40:87:c3:13:3e brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.56 metric 100 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 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-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.347) 0:02:57.038 ***** ok: [managed-node2] => { "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.313561", "end": "2024-12-14 07:55:39.719054", "rc": 0, "start": "2024-12-14 07:55:39.405493" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 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.centos.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 2620:52:3:1:dead:beef:cafe:fed7 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 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 2208 0 --:--:-- --:--:-- --:--:-- 2226 % 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 1880 0 --:--:-- --:--:-- --:--:-- 1877 100 291 100 291 0 0 1878 0 --:--:-- --:--:-- --:--:-- 1877 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=338 changed=14 unreachable=0 failed=0 skipped=284 rescued=0 ignored=10 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.752) 0:02:57.791 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.04s /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.92s /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-r0E/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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-r0E/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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.33s /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.32s /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.30s /tmp/collections-r0E/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-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.27s /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.27s /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.27s /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.23s /tmp/collections-r0E/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5