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-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 26 October 2024 08:52:34 -0400 (0:00:00.036) 0:00:00.036 ****** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 26 October 2024 08:52:35 -0400 (0:00:01.039) 0:00:01.076 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 26 October 2024 08:52:35 -0400 (0:00:00.150) 0:00:01.226 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 26 October 2024 08:52:36 -0400 (0:00:00.749) 0:00:01.976 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 26 October 2024 08:52:37 -0400 (0:00:00.822) 0:00:02.798 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 26 October 2024 08:52:37 -0400 (0:00:00.140) 0:00:02.939 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 26 October 2024 08:52:37 -0400 (0:00:00.061) 0:00:03.001 ****** included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 26 October 2024 08:52:37 -0400 (0:00:00.114) 0:00:03.115 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 26 October 2024 08:52:38 -0400 (0:00:00.507) 0:00:03.623 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 26 October 2024 08:52:39 -0400 (0:00:01.075) 0:00:04.698 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.176235", "end": "2024-10-26 08:52:39.597853", "rc": 0, "start": "2024-10-26 08:52:39.421618" } 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 26 October 2024 08:52:39 -0400 (0:00:00.552) 0:00:05.250 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 26 October 2024 08:52:39 -0400 (0:00:00.068) 0:00:05.318 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 26 October 2024 08:52:39 -0400 (0:00:00.061) 0:00:05.380 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 26 October 2024 08:52:39 -0400 (0:00:00.038) 0:00:05.419 ****** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 26 October 2024 08:52:40 -0400 (0:00:00.633) 0:00:06.053 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 26 October 2024 08:52:40 -0400 (0:00:00.038) 0:00:06.091 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:52:40 -0400 (0:00:00.065) 0:00:06.156 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:52:40 -0400 (0:00:00.043) 0:00:06.199 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:52:40 -0400 (0:00:00.123) 0:00:06.323 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:52:40 -0400 (0:00:00.068) 0:00:06.391 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:52:40 -0400 (0:00:00.049) 0:00:06.441 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002835", "end": "2024-10-26 08:52:41.156341", "rc": 0, "start": "2024-10-26 08:52:41.153506" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:52:41 -0400 (0:00:00.313) 0:00:06.755 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:52:41 -0400 (0:00:00.042) 0:00:06.797 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:52:41 -0400 (0:00:00.040) 0:00:06.838 ****** included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 26 October 2024 08:52:41 -0400 (0:00:00.092) 0:00:06.931 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008286", "end": "2024-10-26 08:52:41.792577", "rc": 1, "start": "2024-10-26 08:52:41.784291" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:52:41 -0400 (0:00:00.463) 0:00:07.394 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:52:41 -0400 (0:00:00.056) 0:00:07.451 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:52:42 -0400 (0:00:00.396) 0:00:07.847 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:52:42 -0400 (0:00:00.052) 0:00:07.899 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:52:42 -0400 (0:00:00.073) 0:00:07.973 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:52:42 -0400 (0:00:00.220) 0:00:08.194 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:52:42 -0400 (0:00:00.085) 0:00:08.279 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:52:42 -0400 (0:00:00.044) 0:00:08.324 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:52:42 -0400 (0:00:00.038) 0:00:08.362 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:52:42 -0400 (0:00:00.039) 0:00:08.402 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:52:43 -0400 (0:00:01.059) 0:00:09.461 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:52:45 -0400 (0:00:01.743) 0:00:11.205 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:52:45 -0400 (0:00:00.131) 0:00:11.336 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:52:45 -0400 (0:00:00.133) 0:00:11.470 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:52:46 -0400 (0:00:00.122) 0:00:11.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 DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:52:46 -0400 (0:00:00.149) 0:00:11.741 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:52:46 -0400 (0:00:00.117) 0:00:11.859 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:52:46 -0400 (0:00:00.095) 0:00:11.954 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:52:46 -0400 (0:00:00.116) 0:00:12.071 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:52:49 -0400 (0:00:03.455) 0:00:15.526 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:52:50 -0400 (0:00:00.116) 0:00:15.642 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:52:50 -0400 (0:00:00.249) 0:00:15.892 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:52:50 -0400 (0:00:00.133) 0:00:16.025 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:52:50 -0400 (0:00:00.113) 0:00:16.139 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:52:50 -0400 (0:00:00.113) 0:00:16.252 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:52:52 -0400 (0:00:01.334) 0:00:17.586 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16805DaAXXl/tmpHfrlrR" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:52:52 -0400 (0:00:00.681) 0:00:18.268 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:52:53 -0400 (0:00:01.201) 0:00:19.470 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:52:54 -0400 (0:00:00.153) 0:00:19.623 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:52:54 -0400 (0:00:00.124) 0:00:19.748 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:52:54 -0400 (0:00:00.128) 0:00:19.877 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:52:54 -0400 (0:00:00.194) 0:00:20.071 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:52:55 -0400 (0:00:00.840) 0:00:20.911 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:52:55 -0400 (0:00:00.136) 0:00:21.048 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 26 October 2024 08:52:55 -0400 (0:00:00.224) 0:00:21.272 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:52:55 -0400 (0:00:00.226) 0:00:21.499 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:52:56 -0400 (0:00:00.173) 0:00:21.673 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729947173.7728546, "block_size": 4096, "blocks": 8, "ctime": 1729947173.7728546, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9256, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729947173.7728546, "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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:52:56 -0400 (0:00:00.403) 0:00:22.077 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:52:56 -0400 (0:00:00.125) 0:00:22.203 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020011", "end": "2024-10-26 08:52:56.930180", "rc": 1, "start": "2024-10-26 08:52:56.910169" } 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:52:57 -0400 (0:00:00.366) 0:00:22.569 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:52:57 -0400 (0:00:00.081) 0:00:22.651 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003230", "end": "2024-10-26 08:52:57.345045", "rc": 0, "start": "2024-10-26 08:52:57.341815" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:52:57 -0400 (0:00:00.359) 0:00:23.010 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:52:57 -0400 (0:00:00.130) 0:00:23.140 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002845", "end": "2024-10-26 08:52:57.860347", "rc": 0, "start": "2024-10-26 08:52:57.857502" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:52:58 -0400 (0:00:00.428) 0:00:23.569 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 26 October 2024 08:52:58 -0400 (0:00:00.133) 0:00:23.702 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 26 October 2024 08:52:58 -0400 (0:00:00.126) 0:00:23.828 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 26 October 2024 08:52:58 -0400 (0:00:00.117) 0:00:23.946 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:52:58 -0400 (0:00:00.113) 0:00:24.060 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:52:58 -0400 (0:00:00.163) 0:00:24.223 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:52:58 -0400 (0:00:00.140) 0:00:24.363 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:52:59 -0400 (0:00:00.252) 0:00:24.616 ****** 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.038338", "end": "2024-10-26 08:52:59.604598", "rc": 1, "start": "2024-10-26 08:52:59.566260" } 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 26 October 2024 08:52:59 -0400 (0:00:00.758) 0:00:25.375 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:53:00 -0400 (0:00:00.293) 0:00:25.668 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:53:00 -0400 (0:00:00.135) 0:00:25.803 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:53:00 -0400 (0:00:00.363) 0:00:26.167 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:53:00 -0400 (0:00:00.316) 0:00:26.483 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:53:01 -0400 (0:00:00.256) 0:00:26.740 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003771", "end": "2024-10-26 08:53:01.485124", "rc": 0, "start": "2024-10-26 08:53:01.481353" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:53:01 -0400 (0:00:00.426) 0:00:27.167 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:53:01 -0400 (0:00:00.174) 0:00:27.342 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:53:02 -0400 (0:00:00.238) 0:00:27.581 ****** included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 26 October 2024 08:53:02 -0400 (0:00:00.294) 0:00:27.875 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006234", "end": "2024-10-26 08:53:02.622714", "rc": 1, "start": "2024-10-26 08:53:02.616480" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:53:02 -0400 (0:00:00.427) 0:00:28.303 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:53:02 -0400 (0:00:00.231) 0:00:28.534 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:53:03 -0400 (0:00:00.590) 0:00:29.124 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:53:03 -0400 (0:00:00.126) 0:00:29.251 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 26 October 2024 08:53:03 -0400 (0:00:00.185) 0:00:29.436 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:53:04 -0400 (0:00:00.251) 0:00:29.688 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:53:04 -0400 (0:00:00.347) 0:00:30.035 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:53:04 -0400 (0:00:00.283) 0:00:30.319 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:53:04 -0400 (0:00:00.149) 0:00:30.469 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:53:05 -0400 (0:00:00.124) 0:00:30.593 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:53:06 -0400 (0:00:00.988) 0:00:31.582 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:53:07 -0400 (0:00:01.375) 0:00:32.957 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:53:07 -0400 (0:00:00.128) 0:00:33.086 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:53:07 -0400 (0:00:00.121) 0:00:33.207 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:53:07 -0400 (0:00:00.153) 0:00:33.361 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:53:07 -0400 (0:00:00.178) 0:00:33.540 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:53:08 -0400 (0:00:00.199) 0:00:33.739 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:53:08 -0400 (0:00:00.126) 0:00:33.866 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:53:08 -0400 (0:00:00.149) 0:00:34.015 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:53:08 -0400 (0:00:00.257) 0:00:34.273 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:53:08 -0400 (0:00:00.124) 0:00:34.398 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:53:09 -0400 (0:00:00.159) 0:00:34.558 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:53:09 -0400 (0:00:00.132) 0:00:34.690 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:53:09 -0400 (0:00:00.122) 0:00:34.813 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:53:09 -0400 (0:00:00.123) 0:00:34.936 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:53:10 -0400 (0:00:00.664) 0:00:35.601 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16805DaAXXl/tmp8TayuV" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:53:10 -0400 (0:00:00.384) 0:00:35.985 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:53:11 -0400 (0:00:00.793) 0:00:36.779 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:53:11 -0400 (0:00:00.124) 0:00:36.903 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:53:11 -0400 (0:00:00.122) 0:00:37.026 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:53:11 -0400 (0:00:00.126) 0:00:37.152 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:53:11 -0400 (0:00:00.117) 0:00:37.270 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 26 October 2024 08:53:12 -0400 (0:00:00.733) 0:00:38.003 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:53:12 -0400 (0:00:00.180) 0:00:38.183 ****** included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:53:12 -0400 (0:00:00.274) 0:00:38.458 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:53:13 -0400 (0:00:00.224) 0:00:38.682 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:53:13 -0400 (0:00:00.649) 0:00:39.332 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 26 October 2024 08:53:13 -0400 (0:00:00.127) 0:00:39.460 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:53:14 -0400 (0:00:00.212) 0:00:39.672 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:53:14 -0400 (0:00:00.130) 0:00:39.803 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729947191.0280015, "block_size": 4096, "blocks": 8, "ctime": 1729947191.0280015, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 73, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729947191.0280015, "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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:53:14 -0400 (0:00:00.552) 0:00:40.355 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:53:14 -0400 (0:00:00.137) 0:00:40.493 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019032", "end": "2024-10-26 08:53:15.286590", "rc": 1, "start": "2024-10-26 08:53:15.267558" } 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:53:15 -0400 (0:00:00.487) 0:00:40.980 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:53:15 -0400 (0:00:00.110) 0:00:41.091 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002733", "end": "2024-10-26 08:53:15.802862", "rc": 0, "start": "2024-10-26 08:53:15.800129" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:53:16 -0400 (0:00:00.494) 0:00:41.585 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:53:16 -0400 (0:00:00.221) 0:00:41.807 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003043", "end": "2024-10-26 08:53:16.644528", "rc": 0, "start": "2024-10-26 08:53:16.641485" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:53:16 -0400 (0:00:00.538) 0:00:42.345 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 26 October 2024 08:53:16 -0400 (0:00:00.142) 0:00:42.488 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 26 October 2024 08:53:17 -0400 (0:00:00.157) 0:00:42.645 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 26 October 2024 08:53:17 -0400 (0:00:00.145) 0:00:42.791 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:53:17 -0400 (0:00:00.211) 0:00:43.002 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:53:17 -0400 (0:00:00.193) 0:00:43.195 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:53:17 -0400 (0:00:00.217) 0:00:43.412 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:53:18 -0400 (0:00:00.427) 0:00:43.840 ****** 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.036629", "end": "2024-10-26 08:53:18.626394", "rc": 1, "start": "2024-10-26 08:53:18.589765" } 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 26 October 2024 08:53:18 -0400 (0:00:00.467) 0:00:44.307 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:53:19 -0400 (0:00:00.330) 0:00:44.638 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:53:19 -0400 (0:00:00.172) 0:00:44.811 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:53:19 -0400 (0:00:00.292) 0:00:45.103 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:53:19 -0400 (0:00:00.220) 0:00:45.324 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:53:20 -0400 (0:00:00.360) 0:00:45.685 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003407", "end": "2024-10-26 08:53:20.438066", "rc": 0, "start": "2024-10-26 08:53:20.434659" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:53:20 -0400 (0:00:00.445) 0:00:46.131 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:53:20 -0400 (0:00:00.135) 0:00:46.266 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:53:20 -0400 (0:00:00.194) 0:00:46.461 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:53:21 -0400 (0:00:00.378) 0:00:46.840 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:53:21 -0400 (0:00:00.408) 0:00:47.248 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:53:22 -0400 (0:00:00.352) 0:00:47.601 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:53:22 -0400 (0:00:00.149) 0:00:47.750 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:53:22 -0400 (0:00:00.165) 0:00:47.915 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:53:22 -0400 (0:00:00.119) 0:00:48.035 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:53:23 -0400 (0:00:00.901) 0:00:48.936 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:53:24 -0400 (0:00:01.313) 0:00:50.250 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:53:24 -0400 (0:00:00.140) 0:00:50.390 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:53:24 -0400 (0:00:00.122) 0:00:50.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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:53:25 -0400 (0:00:00.155) 0:00:50.669 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:53:25 -0400 (0:00:00.120) 0:00:50.789 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:53:25 -0400 (0:00:00.151) 0:00:50.941 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:53:25 -0400 (0:00:00.132) 0:00:51.073 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:53:25 -0400 (0:00:00.187) 0:00:51.260 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:53:25 -0400 (0:00:00.203) 0:00:51.464 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:53:26 -0400 (0:00:00.120) 0:00:51.584 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:53:26 -0400 (0:00:00.239) 0:00:51.823 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:53:26 -0400 (0:00:00.208) 0:00:52.032 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:53:26 -0400 (0:00:00.226) 0:00:52.259 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:53:26 -0400 (0:00:00.144) 0:00:52.403 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:53:27 -0400 (0:00:00.618) 0:00:53.022 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16805DaAXXl/tmp9XkxIq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:53:27 -0400 (0:00:00.477) 0:00:53.500 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:53:28 -0400 (0:00:00.756) 0:00:54.256 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:53:28 -0400 (0:00:00.151) 0:00:54.408 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:53:28 -0400 (0:00:00.127) 0:00:54.535 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:53:29 -0400 (0:00:00.128) 0:00:54.664 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:53:29 -0400 (0:00:00.121) 0:00:54.786 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:53:29 -0400 (0:00:00.413) 0:00:55.200 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:53:29 -0400 (0:00:00.128) 0:00:55.328 ****** included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:53:30 -0400 (0:00:00.368) 0:00:55.696 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:53:30 -0400 (0:00:00.277) 0:00:55.974 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:53:30 -0400 (0:00:00.263) 0:00:56.237 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:53:30 -0400 (0:00:00.169) 0:00:56.406 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:53:31 -0400 (0:00:00.144) 0:00:56.551 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:53:31 -0400 (0:00:00.132) 0:00:56.683 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:53:32 -0400 (0:00:00.905) 0:00:57.589 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:53:33 -0400 (0:00:01.456) 0:00:59.045 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:53:33 -0400 (0:00:00.189) 0:00:59.234 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:53:33 -0400 (0:00:00.192) 0:00:59.427 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:53:34 -0400 (0:00:00.166) 0:00:59.594 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:53:34 -0400 (0:00:00.132) 0:00:59.727 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:53:34 -0400 (0:00:00.147) 0:00:59.874 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:53:34 -0400 (0:00:00.141) 0:01:00.015 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:53:34 -0400 (0:00:00.163) 0:01:00.179 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:53:34 -0400 (0:00:00.211) 0:01:00.390 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:53:34 -0400 (0:00:00.150) 0:01:00.541 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:53:35 -0400 (0:00:00.146) 0:01:00.687 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:53:35 -0400 (0:00:00.138) 0:01:00.825 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:53:35 -0400 (0:00:00.118) 0:01:00.944 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:53:35 -0400 (0:00:00.125) 0:01:01.069 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:53:36 -0400 (0:00:00.584) 0:01:01.654 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16805DaAXXl/tmp_fXHTM" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:53:36 -0400 (0:00:00.487) 0:01:02.141 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:53:37 -0400 (0:00:01.150) 0:01:03.292 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:53:37 -0400 (0:00:00.149) 0:01:03.441 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:53:38 -0400 (0:00:00.128) 0:01:03.570 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:53:38 -0400 (0:00:00.140) 0:01:03.710 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:53:38 -0400 (0:00:00.119) 0:01:03.830 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:53:38 -0400 (0:00:00.548) 0:01:04.379 ****** included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 26 October 2024 08:53:39 -0400 (0:00:00.322) 0:01:04.701 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:53:39 -0400 (0:00:00.204) 0:01:04.905 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729947217.463224, "block_size": 4096, "blocks": 0, "ctime": 1729947217.462224, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17656, "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": 1729947217.462224, "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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 26 October 2024 08:53:39 -0400 (0:00:00.426) 0:01:05.332 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 26 October 2024 08:53:39 -0400 (0:00:00.147) 0:01:05.479 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:53:40 -0400 (0:00:00.244) 0:01:05.724 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:53:40 -0400 (0:00:00.119) 0:01:05.844 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729947217.3102229, "block_size": 4096, "blocks": 8, "ctime": 1729947208.57515, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 73, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729947208.57515, "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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:53:40 -0400 (0:00:00.358) 0:01:06.202 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:53:40 -0400 (0:00:00.088) 0:01:06.291 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019192", "end": "2024-10-26 08:53:41.065926", "rc": 1, "start": "2024-10-26 08:53:41.046734" } 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:53:41 -0400 (0:00:00.424) 0:01:06.716 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:53:41 -0400 (0:00:00.091) 0:01:06.807 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002742", "end": "2024-10-26 08:53:41.538015", "rc": 0, "start": "2024-10-26 08:53:41.535273" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:53:41 -0400 (0:00:00.415) 0:01:07.223 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:53:41 -0400 (0:00:00.133) 0:01:07.357 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002820", "end": "2024-10-26 08:53:42.215281", "rc": 0, "start": "2024-10-26 08:53:42.212461" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:53:42 -0400 (0:00:00.701) 0:01:08.059 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 26 October 2024 08:53:42 -0400 (0:00:00.265) 0:01:08.325 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.230) 0:01:08.555 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.202) 0:01:08.757 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.181) 0:01:08.938 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.175) 0:01:09.114 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.207) 0:01:09.321 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:53:44 -0400 (0:00:00.405) 0:01:09.726 ****** 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.041787", "end": "2024-10-26 08:53:44.502196", "rc": 0, "start": "2024-10-26 08:53:44.460409" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 26 October 2024 08:53:44 -0400 (0:00:00.511) 0:01:10.238 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:53:44 -0400 (0:00:00.233) 0:01:10.472 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:53:45 -0400 (0:00:00.176) 0:01:10.648 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:53:45 -0400 (0:00:00.233) 0:01:10.882 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:53:45 -0400 (0:00:00.212) 0:01:11.095 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:53:45 -0400 (0:00:00.330) 0:01:11.426 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002859", "end": "2024-10-26 08:53:46.283182", "rc": 0, "start": "2024-10-26 08:53:46.280323" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:53:46 -0400 (0:00:00.515) 0:01:11.942 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:53:46 -0400 (0:00:00.086) 0:01:12.028 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:53:46 -0400 (0:00:00.085) 0:01:12.113 ****** included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:53:46 -0400 (0:00:00.204) 0:01:12.317 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:53:47 -0400 (0:00:00.238) 0:01:12.556 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:53:47 -0400 (0:00:00.244) 0:01:12.800 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:53:47 -0400 (0:00:00.129) 0:01:12.930 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:53:47 -0400 (0:00:00.091) 0:01:13.021 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:53:47 -0400 (0:00:00.088) 0:01:13.109 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:53:48 -0400 (0:00:00.998) 0:01:14.108 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:53:49 -0400 (0:00:01.334) 0:01:15.443 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:53:50 -0400 (0:00:00.130) 0:01:15.574 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:53:50 -0400 (0:00:00.118) 0:01:15.692 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:53:50 -0400 (0:00:00.115) 0:01:15.808 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:53:50 -0400 (0:00:00.115) 0:01:15.923 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:53:50 -0400 (0:00:00.119) 0:01:16.043 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:53:50 -0400 (0:00:00.129) 0:01:16.172 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:53:50 -0400 (0:00:00.130) 0:01:16.302 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:53:50 -0400 (0:00:00.195) 0:01:16.498 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:53:51 -0400 (0:00:00.157) 0:01:16.655 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:53:51 -0400 (0:00:00.084) 0:01:16.740 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:53:51 -0400 (0:00:00.094) 0:01:16.835 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:53:51 -0400 (0:00:00.113) 0:01:16.949 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:53:51 -0400 (0:00:00.120) 0:01:17.069 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:53:52 -0400 (0:00:00.579) 0:01:17.648 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16805DaAXXl/tmppV2Pog" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:53:52 -0400 (0:00:00.402) 0:01:18.051 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:53:53 -0400 (0:00:00.990) 0:01:19.042 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:53:53 -0400 (0:00:00.137) 0:01:19.180 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:53:53 -0400 (0:00:00.155) 0:01:19.336 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:53:53 -0400 (0:00:00.127) 0:01:19.463 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:53:54 -0400 (0:00:00.137) 0:01:19.600 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:53:54 -0400 (0:00:00.632) 0:01:20.233 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:53:54 -0400 (0:00:00.125) 0:01:20.358 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:53:54 -0400 (0:00:00.160) 0:01:20.519 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:53:55 -0400 (0:00:00.266) 0:01:20.785 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:53:55 -0400 (0:00:00.192) 0:01:20.978 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:53:55 -0400 (0:00:00.143) 0:01:21.121 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:53:55 -0400 (0:00:00.183) 0:01:21.305 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:53:56 -0400 (0:00:00.948) 0:01:22.254 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:53:58 -0400 (0:00:01.372) 0:01:23.627 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:53:58 -0400 (0:00:00.128) 0:01:23.755 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:53:58 -0400 (0:00:00.210) 0:01:23.966 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:53:58 -0400 (0:00:00.234) 0:01:24.200 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:53:58 -0400 (0:00:00.241) 0:01:24.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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:53:59 -0400 (0:00:00.159) 0:01:24.601 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:53:59 -0400 (0:00:00.198) 0:01:24.799 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:53:59 -0400 (0:00:00.095) 0:01:24.895 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:53:59 -0400 (0:00:00.218) 0:01:25.114 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:53:59 -0400 (0:00:00.146) 0:01:25.261 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:53:59 -0400 (0:00:00.121) 0:01:25.382 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:53:59 -0400 (0:00:00.138) 0:01:25.521 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:54:00 -0400 (0:00:00.133) 0:01:25.654 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:54:00 -0400 (0:00:00.156) 0:01:25.810 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:54:00 -0400 (0:00:00.673) 0:01:26.484 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16805DaAXXl/tmpLWZC2g" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:54:01 -0400 (0:00:00.725) 0:01:27.210 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:54:02 -0400 (0:00:01.036) 0:01:28.246 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:54:02 -0400 (0:00:00.172) 0:01:28.419 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.175) 0:01:28.594 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.126) 0:01:28.721 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.106) 0:01:28.828 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.384) 0:01:29.213 ****** included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.175) 0:01:29.388 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:54:04 -0400 (0:00:00.311) 0:01:29.699 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:54:04 -0400 (0:00:00.318) 0:01:30.017 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:54:04 -0400 (0:00:00.162) 0:01:30.180 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:54:04 -0400 (0:00:00.135) 0:01:30.316 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:54:04 -0400 (0:00:00.126) 0:01:30.443 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:54:06 -0400 (0:00:01.099) 0:01:31.542 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:54:07 -0400 (0:00:01.857) 0:01:33.399 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:54:07 -0400 (0:00:00.128) 0:01:33.527 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:54:08 -0400 (0:00:00.118) 0:01:33.646 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:54:08 -0400 (0:00:00.112) 0:01:33.758 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:54:08 -0400 (0:00:00.122) 0:01:33.881 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:54:08 -0400 (0:00:00.129) 0:01:34.010 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:54:08 -0400 (0:00:00.146) 0:01:34.157 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:54:08 -0400 (0:00:00.211) 0:01:34.368 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:54:09 -0400 (0:00:00.406) 0:01:34.774 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:54:09 -0400 (0:00:00.168) 0:01:34.943 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:54:09 -0400 (0:00:00.128) 0:01:35.072 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:54:09 -0400 (0:00:00.119) 0:01:35.191 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:54:09 -0400 (0:00:00.096) 0:01:35.287 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:54:09 -0400 (0:00:00.105) 0:01:35.393 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:54:10 -0400 (0:00:00.787) 0:01:36.180 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16805DaAXXl/tmp_qd_2z" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:54:11 -0400 (0:00:00.506) 0:01:36.687 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:54:12 -0400 (0:00:01.062) 0:01:37.749 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:54:12 -0400 (0:00:00.213) 0:01:37.962 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:54:12 -0400 (0:00:00.093) 0:01:38.056 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:54:12 -0400 (0:00:00.094) 0:01:38.150 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:54:12 -0400 (0:00:00.086) 0:01:38.237 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:54:13 -0400 (0:00:00.432) 0:01:38.669 ****** included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 26 October 2024 08:54:13 -0400 (0:00:00.324) 0:01:38.994 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:54:13 -0400 (0:00:00.191) 0:01:39.186 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729947242.3804312, "block_size": 4096, "blocks": 0, "ctime": 1729947242.3794312, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17656, "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": 1729947242.3794312, "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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 26 October 2024 08:54:14 -0400 (0:00:00.418) 0:01:39.604 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 26 October 2024 08:54:14 -0400 (0:00:00.128) 0:01:39.732 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:54:14 -0400 (0:00:00.274) 0:01:40.007 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:54:14 -0400 (0:00:00.147) 0:01:40.155 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:54:15 -0400 (0:00:00.757) 0:01:40.913 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:54:15 -0400 (0:00:00.173) 0:01:41.086 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018237", "end": "2024-10-26 08:54:15.863146", "rc": 1, "start": "2024-10-26 08:54:15.844909" } 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:54:16 -0400 (0:00:00.693) 0:01:41.780 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:54:16 -0400 (0:00:00.181) 0:01:41.961 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:54:16 -0400 (0:00:00.150) 0:01:42.112 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:54:16 -0400 (0:00:00.156) 0:01:42.268 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:54:16 -0400 (0:00:00.144) 0:01:42.412 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 26 October 2024 08:54:16 -0400 (0:00:00.118) 0:01:42.531 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:54:17 -0400 (0:00:00.128) 0:01:42.659 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:54:17 -0400 (0:00:00.117) 0:01:42.776 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:54:17 -0400 (0:00:00.132) 0:01:42.908 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:54:17 -0400 (0:00:00.203) 0:01:43.112 ****** 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.041019", "end": "2024-10-26 08:54:17.929205", "rc": 0, "start": "2024-10-26 08:54:17.888186" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 26 October 2024 08:54:18 -0400 (0:00:00.508) 0:01:43.620 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:54:18 -0400 (0:00:00.259) 0:01:43.879 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:54:18 -0400 (0:00:00.132) 0:01:44.012 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:54:18 -0400 (0:00:00.198) 0:01:44.210 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:54:18 -0400 (0:00:00.213) 0:01:44.424 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:54:19 -0400 (0:00:00.306) 0:01:44.730 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002859", "end": "2024-10-26 08:54:19.643088", "rc": 0, "start": "2024-10-26 08:54:19.640229" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:54:19 -0400 (0:00:00.622) 0:01:45.353 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:54:19 -0400 (0:00:00.144) 0:01:45.497 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:54:20 -0400 (0:00:00.122) 0:01:45.620 ****** included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:54:20 -0400 (0:00:00.363) 0:01:45.984 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:54:20 -0400 (0:00:00.300) 0:01:46.284 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:54:20 -0400 (0:00:00.242) 0:01:46.526 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:54:21 -0400 (0:00:00.156) 0:01:46.683 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:54:21 -0400 (0:00:00.128) 0:01:46.811 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:54:21 -0400 (0:00:00.136) 0:01:46.948 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:54:22 -0400 (0:00:00.964) 0:01:47.912 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:54:23 -0400 (0:00:01.518) 0:01:49.431 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:54:24 -0400 (0:00:00.256) 0:01:49.688 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:54:24 -0400 (0:00:00.262) 0:01:49.950 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:54:24 -0400 (0:00:00.138) 0:01:50.089 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:54:24 -0400 (0:00:00.191) 0:01:50.280 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:54:24 -0400 (0:00:00.177) 0:01:50.458 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:54:25 -0400 (0:00:00.166) 0:01:50.625 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:54:25 -0400 (0:00:00.255) 0:01:50.880 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:54:25 -0400 (0:00:00.285) 0:01:51.166 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:54:25 -0400 (0:00:00.168) 0:01:51.334 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.252) 0:01:51.587 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.272) 0:01:51.859 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.133) 0:01:51.992 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.207) 0:01:52.200 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.589) 0:01:52.789 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16805DaAXXl/tmpPArtxe" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.615) 0:01:53.405 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:54:28 -0400 (0:00:00.681) 0:01:54.086 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:54:28 -0400 (0:00:00.123) 0:01:54.210 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:54:28 -0400 (0:00:00.121) 0:01:54.332 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:54:28 -0400 (0:00:00.127) 0:01:54.459 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.109) 0:01:54.569 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.373) 0:01:54.942 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.146) 0:01:55.089 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.212) 0:01:55.302 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.236) 0:01:55.538 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.132) 0:01:55.670 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.084) 0:01:55.755 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.167) 0:01:55.923 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.951) 0:01:56.874 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:54:32 -0400 (0:00:01.346) 0:01:58.220 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:54:32 -0400 (0:00:00.107) 0:01:58.328 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:54:32 -0400 (0:00:00.084) 0:01:58.413 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:54:32 -0400 (0:00:00.088) 0:01:58.502 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:54:33 -0400 (0:00:00.117) 0:01:58.619 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:54:33 -0400 (0:00:00.120) 0:01:58.740 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:54:33 -0400 (0:00:00.124) 0:01:58.864 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:54:33 -0400 (0:00:00.183) 0:01:59.048 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:54:33 -0400 (0:00:00.210) 0:01:59.258 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:54:33 -0400 (0:00:00.123) 0:01:59.382 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:54:33 -0400 (0:00:00.124) 0:01:59.506 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:54:34 -0400 (0:00:00.123) 0:01:59.630 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:54:34 -0400 (0:00:00.098) 0:01:59.729 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:54:34 -0400 (0:00:00.090) 0:01:59.820 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:54:34 -0400 (0:00:00.585) 0:02:00.405 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16805DaAXXl/tmpEzcZ60" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:54:35 -0400 (0:00:00.386) 0:02:00.791 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:54:36 -0400 (0:00:01.311) 0:02:02.103 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:54:36 -0400 (0:00:00.235) 0:02:02.338 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:54:37 -0400 (0:00:00.257) 0:02:02.596 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:54:37 -0400 (0:00:00.247) 0:02:02.843 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:54:37 -0400 (0:00:00.156) 0:02:03.000 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 26 October 2024 08:54:37 -0400 (0:00:00.386) 0:02:03.387 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:54:38 -0400 (0:00:00.279) 0:02:03.666 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:54:38 -0400 (0:00:00.245) 0:02:03.912 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:54:38 -0400 (0:00:00.182) 0:02:04.095 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:54:38 -0400 (0:00:00.158) 0:02:04.254 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:54:38 -0400 (0:00:00.104) 0:02:04.358 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:54:39 -0400 (0:00:01.089) 0:02:05.448 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:54:41 -0400 (0:00:01.606) 0:02:07.055 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:54:41 -0400 (0:00:00.127) 0:02:07.182 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:54:41 -0400 (0:00:00.115) 0:02:07.297 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:54:41 -0400 (0:00:00.239) 0:02:07.537 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:54:42 -0400 (0:00:00.127) 0:02:07.664 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:54:42 -0400 (0:00:00.132) 0:02:07.797 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:54:42 -0400 (0:00:00.134) 0:02:07.932 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:54:42 -0400 (0:00:00.127) 0:02:08.059 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:54:42 -0400 (0:00:00.269) 0:02:08.328 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:54:42 -0400 (0:00:00.143) 0:02:08.472 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.114) 0:02:08.587 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.122) 0:02:08.710 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.121) 0:02:08.832 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.116) 0:02:08.949 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.580) 0:02:09.529 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16805DaAXXl/tmpqgHKh0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:54:44 -0400 (0:00:00.418) 0:02:09.948 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:54:45 -0400 (0:00:00.914) 0:02:10.862 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:54:45 -0400 (0:00:00.205) 0:02:11.068 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:54:45 -0400 (0:00:00.248) 0:02:11.316 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:54:46 -0400 (0:00:00.250) 0:02:11.567 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:54:46 -0400 (0:00:00.327) 0:02:11.895 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:54:46 -0400 (0:00:00.479) 0:02:12.375 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 26 October 2024 08:54:47 -0400 (0:00:00.222) 0:02:12.597 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:54:47 -0400 (0:00:00.238) 0:02:12.835 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:54:47 -0400 (0:00:00.259) 0:02:13.095 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:54:47 -0400 (0:00:00.146) 0:02:13.242 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:54:47 -0400 (0:00:00.119) 0:02:13.362 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:54:47 -0400 (0:00:00.108) 0:02:13.470 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:54:48 -0400 (0:00:00.951) 0:02:14.422 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:54:51 -0400 (0:00:02.124) 0:02:16.546 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.144) 0:02:16.691 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.127) 0:02:16.818 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.112) 0:02:16.931 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.092) 0:02:17.024 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.099) 0:02:17.123 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.263) 0:02:17.387 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:54:52 -0400 (0:00:00.217) 0:02:17.604 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:54:52 -0400 (0:00:00.259) 0:02:17.863 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:54:52 -0400 (0:00:00.137) 0:02:18.001 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:54:52 -0400 (0:00:00.117) 0:02:18.118 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:54:52 -0400 (0:00:00.126) 0:02:18.245 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:54:52 -0400 (0:00:00.107) 0:02:18.353 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:54:52 -0400 (0:00:00.140) 0:02:18.494 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:54:53 -0400 (0:00:00.668) 0:02:19.162 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16805DaAXXl/tmp92MdiU" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:54:54 -0400 (0:00:00.587) 0:02:19.750 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:54:55 -0400 (0:00:01.051) 0:02:20.802 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.141) 0:02:20.943 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.176) 0:02:21.120 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.135) 0:02:21.255 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.091) 0:02:21.347 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:54:56 -0400 (0:00:00.330) 0:02:21.677 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 26 October 2024 08:54:56 -0400 (0:00:00.170) 0:02:21.847 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:54:56 -0400 (0:00:00.215) 0:02:22.063 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:54:56 -0400 (0:00:00.137) 0:02:22.201 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:54:57 -0400 (0:00:00.410) 0:02:22.611 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:54:57 -0400 (0:00:00.092) 0:02:22.704 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018976", "end": "2024-10-26 08:54:57.450113", "rc": 1, "start": "2024-10-26 08:54:57.431137" } 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:54:57 -0400 (0:00:00.439) 0:02:23.144 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:54:57 -0400 (0:00:00.126) 0:02:23.270 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:54:57 -0400 (0:00:00.208) 0:02:23.478 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:54:58 -0400 (0:00:00.126) 0:02:23.605 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:54:58 -0400 (0:00:00.124) 0:02:23.729 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 26 October 2024 08:54:58 -0400 (0:00:00.229) 0:02:23.959 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:54:58 -0400 (0:00:00.231) 0:02:24.190 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:54:58 -0400 (0:00:00.239) 0:02:24.430 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:54:59 -0400 (0:00:00.152) 0:02:24.583 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:54:59 -0400 (0:00:00.298) 0:02:24.882 ****** 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.044616", "end": "2024-10-26 08:54:59.725200", "rc": 0, "start": "2024-10-26 08:54:59.680584" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 26 October 2024 08:54:59 -0400 (0:00:00.587) 0:02:25.470 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:55:00 -0400 (0:00:00.235) 0:02:25.705 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:55:00 -0400 (0:00:00.109) 0:02:25.815 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:55:00 -0400 (0:00:00.202) 0:02:26.018 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:55:00 -0400 (0:00:00.221) 0:02:26.239 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:55:00 -0400 (0:00:00.277) 0:02:26.517 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003048", "end": "2024-10-26 08:55:01.280802", "rc": 0, "start": "2024-10-26 08:55:01.277754" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:55:01 -0400 (0:00:00.621) 0:02:27.139 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:55:01 -0400 (0:00:00.124) 0:02:27.264 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:55:01 -0400 (0:00:00.129) 0:02:27.394 ****** included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:55:02 -0400 (0:00:00.228) 0:02:27.623 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:55:02 -0400 (0:00:00.212) 0:02:27.835 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:02 -0400 (0:00:00.340) 0:02:28.176 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:02 -0400 (0:00:00.287) 0:02:28.463 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:03 -0400 (0:00:00.124) 0:02:28.588 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:03 -0400 (0:00:00.117) 0:02:28.705 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:04 -0400 (0:00:01.010) 0:02:29.716 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:05 -0400 (0:00:01.729) 0:02:31.446 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.128) 0:02:31.575 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.097) 0:02:31.672 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.093) 0:02:31.765 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.119) 0:02:31.885 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.105) 0:02:31.990 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.108) 0:02:32.099 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.101) 0:02:32.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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.256) 0:02:32.457 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:07 -0400 (0:00:00.217) 0:02:32.675 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:07 -0400 (0:00:00.138) 0:02:32.813 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:07 -0400 (0:00:00.202) 0:02:33.016 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:55:07 -0400 (0:00:00.176) 0:02:33.193 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:55:07 -0400 (0:00:00.234) 0:02:33.427 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:55:08 -0400 (0:00:00.618) 0:02:34.045 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16805DaAXXl/tmp8z70vo" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:55:09 -0400 (0:00:00.527) 0:02:34.573 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:55:09 -0400 (0:00:00.894) 0:02:35.468 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.142) 0:02:35.611 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.127) 0:02:35.738 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.131) 0:02:35.870 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.127) 0:02:35.997 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.463) 0:02:36.460 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:55:11 -0400 (0:00:00.130) 0:02:36.591 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:55:11 -0400 (0:00:00.339) 0:02:36.930 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:11 -0400 (0:00:00.267) 0:02:37.198 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:11 -0400 (0:00:00.151) 0:02:37.350 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:11 -0400 (0:00:00.117) 0:02:37.468 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:12 -0400 (0:00:00.117) 0:02:37.585 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:13 -0400 (0:00:01.022) 0:02:38.608 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:14 -0400 (0:00:01.338) 0:02:39.946 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:55:14 -0400 (0:00:00.128) 0:02:40.075 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:14 -0400 (0:00:00.099) 0:02:40.175 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:14 -0400 (0:00:00.092) 0:02:40.268 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:14 -0400 (0:00:00.083) 0:02:40.352 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:14 -0400 (0:00:00.082) 0:02:40.434 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:14 -0400 (0:00:00.092) 0:02:40.526 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:55:15 -0400 (0:00:00.087) 0:02:40.613 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:15 -0400 (0:00:00.144) 0:02:40.758 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:15 -0400 (0:00:00.083) 0:02:40.842 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:15 -0400 (0:00:00.142) 0:02:40.984 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:15 -0400 (0:00:00.129) 0:02:41.114 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:55:15 -0400 (0:00:00.115) 0:02:41.229 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:55:15 -0400 (0:00:00.116) 0:02:41.346 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:55:16 -0400 (0:00:00.557) 0:02:41.904 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16805DaAXXl/tmpdjFzVC" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:55:16 -0400 (0:00:00.397) 0:02:42.301 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.901) 0:02:43.202 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.085) 0:02:43.288 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.113) 0:02:43.401 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.128) 0:02:43.529 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:55:18 -0400 (0:00:00.138) 0:02:43.668 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 26 October 2024 08:55:18 -0400 (0:00:00.455) 0:02:44.124 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:55:18 -0400 (0:00:00.209) 0:02:44.334 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:19 -0400 (0:00:00.386) 0:02:44.720 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:19 -0400 (0:00:00.167) 0:02:44.888 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:19 -0400 (0:00:00.125) 0:02:45.013 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:19 -0400 (0:00:00.119) 0:02:45.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 : Check which packages are installed] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:20 -0400 (0:00:01.062) 0:02:46.195 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:22 -0400 (0:00:01.555) 0:02:47.751 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:55:22 -0400 (0:00:00.135) 0:02:47.887 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:22 -0400 (0:00:00.150) 0:02:48.037 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:22 -0400 (0:00:00.091) 0:02:48.128 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:22 -0400 (0:00:00.123) 0:02:48.252 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:22 -0400 (0:00:00.160) 0:02:48.413 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:23 -0400 (0:00:00.207) 0:02:48.620 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:55:23 -0400 (0:00:00.135) 0:02:48.756 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:23 -0400 (0:00:00.231) 0:02:48.988 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:23 -0400 (0:00:00.144) 0:02:49.133 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:23 -0400 (0:00:00.184) 0:02:49.318 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:24 -0400 (0:00:00.233) 0:02:49.551 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:55:24 -0400 (0:00:00.223) 0:02:49.775 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:55:24 -0400 (0:00:00.130) 0:02:49.906 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:55:25 -0400 (0:00:00.641) 0:02:50.547 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16805DaAXXl/tmpTVk17j" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:55:25 -0400 (0:00:00.398) 0:02:50.945 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:55:26 -0400 (0:00:00.879) 0:02:51.825 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:26 -0400 (0:00:00.123) 0:02:51.949 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:55:26 -0400 (0:00:00.132) 0:02:52.081 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:55:26 -0400 (0:00:00.132) 0:02:52.214 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:55:26 -0400 (0:00:00.125) 0:02:52.339 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:55:27 -0400 (0:00:00.406) 0:02:52.745 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 26 October 2024 08:55:27 -0400 (0:00:00.401) 0:02:53.147 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:55:27 -0400 (0:00:00.237) 0:02:53.384 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:28 -0400 (0:00:00.240) 0:02:53.624 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:28 -0400 (0:00:00.151) 0:02:53.776 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:28 -0400 (0:00:00.102) 0:02:53.879 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:28 -0400 (0:00:00.108) 0:02:53.987 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:29 -0400 (0:00:00.892) 0:02:54.880 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:30 -0400 (0:00:01.602) 0:02:56.483 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.178) 0:02:56.661 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.130) 0:02:56.791 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.124) 0:02:56.915 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.126) 0:02:57.042 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.127) 0:02:57.169 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.130) 0:02:57.299 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.106) 0:02:57.405 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:32 -0400 (0:00:00.149) 0:02:57.555 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:32 -0400 (0:00:00.093) 0:02:57.648 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:32 -0400 (0:00:00.082) 0:02:57.731 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:32 -0400 (0:00:00.103) 0:02:57.835 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:55:32 -0400 (0:00:00.119) 0:02:57.954 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:55:32 -0400 (0:00:00.170) 0:02:58.124 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:55:33 -0400 (0:00:00.637) 0:02:58.761 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16805DaAXXl/tmpDg7H8j" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:55:33 -0400 (0:00:00.402) 0:02:59.164 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:55:34 -0400 (0:00:01.048) 0:03:00.212 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:34 -0400 (0:00:00.209) 0:03:00.422 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.195) 0:03:00.618 ****** 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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.139) 0:03:00.757 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.135) 0:03:00.893 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.458) 0:03:01.352 ****** included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 26 October 2024 08:55:36 -0400 (0:00:00.266) 0:03:01.619 ****** included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:55:36 -0400 (0:00:00.276) 0:03:01.896 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:55:36 -0400 (0:00:00.167) 0:03:02.063 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:55:36 -0400 (0:00:00.427) 0:03:02.490 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:55:37 -0400 (0:00:00.093) 0:03:02.583 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018774", "end": "2024-10-26 08:55:37.378369", "rc": 1, "start": "2024-10-26 08:55:37.359595" } 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:55:37 -0400 (0:00:00.530) 0:03:03.114 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:55:37 -0400 (0:00:00.118) 0:03:03.232 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:55:37 -0400 (0:00:00.124) 0:03:03.357 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:55:37 -0400 (0:00:00.122) 0:03:03.480 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.205) 0:03:03.685 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.147) 0:03:03.833 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.233) 0:03:04.066 ****** [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.603262", "end": "2024-10-26 08:55:39.429360", "rc": 0, "start": "2024-10-26 08:55:38.826098" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 26 October 2024 08:55:39 -0400 (0:00:01.021) 0:03:05.088 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 26 October 2024 08:55:39 -0400 (0:00:00.091) 0:03:05.180 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:55:39 -0400 (0:00:00.102) 0:03:05.282 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:55:39 -0400 (0:00:00.096) 0:03:05.378 ****** 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:55:39 -0400 (0:00:00.085) 0:03:05.464 ****** included: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:55:40 -0400 (0:00:00.178) 0:03:05.642 ****** 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.045437", "end": "2024-10-26 08:55:40.378214", "rc": 0, "start": "2024-10-26 08:55:40.332777" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 26 October 2024 08:55:40 -0400 (0:00:00.377) 0:03:06.020 ****** 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.006291", "end": "2024-10-26 08:55:40.718146", "rc": 0, "start": "2024-10-26 08:55:40.711855" } 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 02:4f:eb:c7:f4:d3 brd ff:ff:ff:ff:ff:ff inet 10.31.44.171/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 3086sec preferred_lft 3086sec inet6 fe80::4f:ebff:fec7:f4d3/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 8a:00:e9:ea:fc:04 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.171 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-pla/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 26 October 2024 08:55:40 -0400 (0:00:00.370) 0:03:06.391 ****** 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.341220", "end": "2024-10-26 08:55:41.491642", "rc": 0, "start": "2024-10-26 08:55:41.150422" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 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 1493 0 --:--:-- --:--:-- --:--:-- 1495 % 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 2432 0 --:--:-- --:--:-- --:--:-- 2445 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 26 October 2024 08:55:41 -0400 (0:00:00.684) 0:03:07.076 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.12s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.86s /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.37s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /tmp/collections-pla/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-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.10s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.09s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install yum-utils package ----------------------------------------------- 1.08s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.06s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.06s /tmp/collections-pla/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21