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-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Friday 04 October 2024 10:01:58 -0400 (0:00:00.035) 0:00:00.035 ******** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Friday 04 October 2024 10:02:00 -0400 (0:00:01.195) 0:00:01.230 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 04 October 2024 10:02:00 -0400 (0:00:00.168) 0:00:01.399 ******** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 04 October 2024 10:02:00 -0400 (0:00:00.484) 0:00:01.884 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 04 October 2024 10:02:01 -0400 (0:00:00.553) 0:00:02.437 ******** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 04 October 2024 10:02:01 -0400 (0:00:00.138) 0:00:02.576 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 04 October 2024 10:02:01 -0400 (0:00:00.142) 0:00:02.719 ******** included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 04 October 2024 10:02:01 -0400 (0:00:00.138) 0:00:02.858 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 04 October 2024 10:02:02 -0400 (0:00:00.669) 0:00:03.527 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 04 October 2024 10:02:03 -0400 (0:00:01.349) 0:00:04.877 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.167007", "end": "2024-10-04 10:02:04.301304", "rc": 0, "start": "2024-10-04 10:02:04.134297" } 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 04 October 2024 10:02:04 -0400 (0:00:00.665) 0:00:05.543 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 04 October 2024 10:02:04 -0400 (0:00:00.039) 0:00:05.582 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Friday 04 October 2024 10:02:04 -0400 (0:00:00.039) 0:00:05.622 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Friday 04 October 2024 10:02:04 -0400 (0:00:00.040) 0:00:05.663 ******** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Friday 04 October 2024 10:02:05 -0400 (0:00:00.637) 0:00:06.300 ******** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Friday 04 October 2024 10:02:05 -0400 (0:00:00.037) 0:00:06.337 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:02:05 -0400 (0:00:00.176) 0:00:06.513 ******** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:02:05 -0400 (0:00:00.052) 0:00:06.566 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:02:05 -0400 (0:00:00.123) 0:00:06.689 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:02:05 -0400 (0:00:00.054) 0:00:06.744 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:02:05 -0400 (0:00:00.076) 0:00:06.820 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003455", "end": "2024-10-04 10:02:06.002075", "rc": 0, "start": "2024-10-04 10:02:05.998620" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:02:06 -0400 (0:00:00.388) 0:00:07.209 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:02:06 -0400 (0:00:00.050) 0:00:07.260 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:02:06 -0400 (0:00:00.046) 0:00:07.306 ******** included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 04 October 2024 10:02:06 -0400 (0:00:00.089) 0:00:07.395 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006916", "end": "2024-10-04 10:02:06.643022", "rc": 1, "start": "2024-10-04 10:02:06.636106" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 10:02:06 -0400 (0:00:00.440) 0:00:07.836 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:02:06 -0400 (0:00:00.052) 0:00:07.889 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 10:02:07 -0400 (0:00:00.363) 0:00:08.252 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:02:07 -0400 (0:00:00.054) 0:00:08.307 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 10:02:07 -0400 (0:00:00.078) 0:00:08.386 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:02:07 -0400 (0:00:00.257) 0:00:08.643 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:02:07 -0400 (0:00:00.091) 0:00:08.735 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:02:07 -0400 (0:00:00.041) 0:00:08.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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:02:07 -0400 (0:00:00.044) 0:00:08.821 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:02:07 -0400 (0:00:00.058) 0:00:08.879 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:02:09 -0400 (0:00:01.305) 0:00:10.185 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:02:10 -0400 (0:00:01.730) 0:00:11.915 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:02:10 -0400 (0:00:00.133) 0:00:12.049 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:02:11 -0400 (0:00:00.114) 0:00:12.164 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:02:11 -0400 (0:00:00.172) 0:00:12.337 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:02:11 -0400 (0:00:00.167) 0:00:12.504 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:02:11 -0400 (0:00:00.131) 0:00:12.635 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:02:11 -0400 (0:00:00.136) 0:00:12.771 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:02:11 -0400 (0:00:00.117) 0:00:12.889 ******** 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" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:02:15 -0400 (0:00:03.327) 0:00:16.216 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:02:15 -0400 (0:00:00.105) 0:00:16.322 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:02:15 -0400 (0:00:00.114) 0:00:16.436 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:02:15 -0400 (0:00:00.087) 0:00:16.524 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:02:15 -0400 (0:00:00.108) 0:00:16.632 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:02:15 -0400 (0:00:00.128) 0:00:16.760 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:02:16 -0400 (0:00:01.036) 0:00:17.797 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15920kd1Ggx/tmpAB718n" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:02:17 -0400 (0:00:00.498) 0:00:18.296 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:02:18 -0400 (0:00:01.175) 0:00:19.471 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:02:18 -0400 (0:00:00.099) 0:00:19.570 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:02:18 -0400 (0:00:00.123) 0:00:19.694 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:02:18 -0400 (0:00:00.102) 0:00:19.796 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:02:18 -0400 (0:00:00.075) 0:00:19.872 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 10:02:19 -0400 (0:00:00.683) 0:00:20.555 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:02:19 -0400 (0:00:00.100) 0:00:20.655 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 04 October 2024 10:02:19 -0400 (0:00:00.215) 0:00:20.870 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:02:20 -0400 (0:00:00.308) 0:00:21.179 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:02:20 -0400 (0:00:00.096) 0:00:21.276 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728050538.1885717, "block_size": 4096, "blocks": 8, "ctime": 1728050538.1885717, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22438, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728050538.1885717, "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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:02:20 -0400 (0:00:00.440) 0:00:21.717 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:02:20 -0400 (0:00:00.112) 0:00:21.829 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024011", "end": "2024-10-04 10:02:21.133676", "rc": 1, "start": "2024-10-04 10:02:21.109665" } 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:02:21 -0400 (0:00:00.676) 0:00:22.506 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:02:21 -0400 (0:00:00.145) 0:00:22.651 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003381", "end": "2024-10-04 10:02:21.828869", "rc": 0, "start": "2024-10-04 10:02:21.825488" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:02:21 -0400 (0:00:00.444) 0:00:23.096 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:02:22 -0400 (0:00:00.085) 0:00:23.182 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003244", "end": "2024-10-04 10:02:22.351731", "rc": 0, "start": "2024-10-04 10:02:22.348487" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:02:22 -0400 (0:00:00.571) 0:00:23.754 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 04 October 2024 10:02:22 -0400 (0:00:00.234) 0:00:23.988 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 04 October 2024 10:02:22 -0400 (0:00:00.127) 0:00:24.115 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 04 October 2024 10:02:23 -0400 (0:00:00.120) 0:00:24.235 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:02:23 -0400 (0:00:00.113) 0:00:24.349 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:02:23 -0400 (0:00:00.118) 0:00:24.468 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:02:23 -0400 (0:00:00.113) 0:00:24.582 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:02:23 -0400 (0:00:00.228) 0:00:24.811 ******** 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.044301", "end": "2024-10-04 10:02:24.052686", "rc": 1, "start": "2024-10-04 10:02:24.008385" } 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Friday 04 October 2024 10:02:24 -0400 (0:00:00.647) 0:00:25.459 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:02:24 -0400 (0:00:00.236) 0:00:25.695 ******** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:02:24 -0400 (0:00:00.213) 0:00:25.909 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:02:25 -0400 (0:00:00.392) 0:00:26.301 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:02:25 -0400 (0:00:00.264) 0:00:26.566 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:02:25 -0400 (0:00:00.193) 0:00:26.759 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003592", "end": "2024-10-04 10:02:25.927088", "rc": 0, "start": "2024-10-04 10:02:25.923496" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:02:26 -0400 (0:00:00.442) 0:00:27.201 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:02:26 -0400 (0:00:00.114) 0:00:27.316 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:02:26 -0400 (0:00:00.111) 0:00:27.427 ******** included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 04 October 2024 10:02:26 -0400 (0:00:00.199) 0:00:27.627 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006725", "end": "2024-10-04 10:02:26.924314", "rc": 1, "start": "2024-10-04 10:02:26.917589" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 10:02:27 -0400 (0:00:00.530) 0:00:28.157 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:02:27 -0400 (0:00:00.204) 0:00:28.362 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 10:02:27 -0400 (0:00:00.370) 0:00:28.733 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:02:27 -0400 (0:00:00.118) 0:00:28.852 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 04 October 2024 10:02:27 -0400 (0:00:00.209) 0:00:29.061 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:02:28 -0400 (0:00:00.265) 0:00:29.326 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:02:28 -0400 (0:00:00.387) 0:00:29.714 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:02:28 -0400 (0:00:00.174) 0:00:29.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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:02:28 -0400 (0:00:00.107) 0:00:29.996 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:02:28 -0400 (0:00:00.104) 0:00:30.101 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:02:29 -0400 (0:00:00.938) 0:00:31.039 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:02:31 -0400 (0:00:01.573) 0:00:32.612 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:02:31 -0400 (0:00:00.170) 0:00:32.783 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:02:31 -0400 (0:00:00.146) 0:00:32.929 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:02:31 -0400 (0:00:00.135) 0:00:33.065 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:02:32 -0400 (0:00:00.115) 0:00:33.180 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:02:32 -0400 (0:00:00.117) 0:00:33.297 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:02:32 -0400 (0:00:00.151) 0:00:33.449 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:02:32 -0400 (0:00:00.137) 0:00:33.587 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:02:32 -0400 (0:00:00.251) 0:00:33.839 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:02:32 -0400 (0:00:00.196) 0:00:34.036 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:02:33 -0400 (0:00:00.221) 0:00:34.257 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:02:33 -0400 (0:00:00.166) 0:00:34.423 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:02:33 -0400 (0:00:00.127) 0:00:34.551 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:02:33 -0400 (0:00:00.178) 0:00:34.729 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:02:34 -0400 (0:00:00.704) 0:00:35.434 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15920kd1Ggx/tmpqGvjsO" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:02:34 -0400 (0:00:00.394) 0:00:35.828 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:02:35 -0400 (0:00:00.778) 0:00:36.606 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:02:35 -0400 (0:00:00.112) 0:00:36.719 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:02:35 -0400 (0:00:00.092) 0:00:36.812 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:02:35 -0400 (0:00:00.089) 0:00:36.901 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:02:35 -0400 (0:00:00.075) 0:00:36.977 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 04 October 2024 10:02:36 -0400 (0:00:00.433) 0:00:37.410 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:02:36 -0400 (0:00:00.127) 0:00:37.538 ******** included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 10:02:36 -0400 (0:00:00.247) 0:00:37.786 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:02:36 -0400 (0:00:00.343) 0:00:38.130 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 10:02:37 -0400 (0:00:00.582) 0:00:38.712 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 04 October 2024 10:02:37 -0400 (0:00:00.204) 0:00:38.917 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:02:38 -0400 (0:00:00.366) 0:00:39.283 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:02:38 -0400 (0:00:00.151) 0:00:39.434 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728050555.3306732, "block_size": 4096, "blocks": 8, "ctime": 1728050555.3306732, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22441, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728050555.3306732, "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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:02:38 -0400 (0:00:00.452) 0:00:39.887 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:02:38 -0400 (0:00:00.116) 0:00:40.003 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020032", "end": "2024-10-04 10:02:39.188912", "rc": 1, "start": "2024-10-04 10:02:39.168880" } 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:02:39 -0400 (0:00:00.477) 0:00:40.480 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:02:39 -0400 (0:00:00.191) 0:00:40.672 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003314", "end": "2024-10-04 10:02:39.838352", "rc": 0, "start": "2024-10-04 10:02:39.835038" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:02:39 -0400 (0:00:00.453) 0:00:41.126 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:02:40 -0400 (0:00:00.249) 0:00:41.375 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003251", "end": "2024-10-04 10:02:40.737643", "rc": 0, "start": "2024-10-04 10:02:40.734392" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:02:40 -0400 (0:00:00.654) 0:00:42.030 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 04 October 2024 10:02:40 -0400 (0:00:00.113) 0:00:42.143 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 04 October 2024 10:02:41 -0400 (0:00:00.077) 0:00:42.221 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 04 October 2024 10:02:41 -0400 (0:00:00.123) 0:00:42.345 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:02:41 -0400 (0:00:00.112) 0:00:42.458 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:02:41 -0400 (0:00:00.121) 0:00:42.579 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:02:41 -0400 (0:00:00.112) 0:00:42.691 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:02:41 -0400 (0:00:00.296) 0:00:42.988 ******** 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.040226", "end": "2024-10-04 10:02:42.212683", "rc": 1, "start": "2024-10-04 10:02:42.172457" } 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Friday 04 October 2024 10:02:42 -0400 (0:00:00.496) 0:00:43.484 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:02:42 -0400 (0:00:00.215) 0:00:43.700 ******** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:02:42 -0400 (0:00:00.113) 0:00:43.813 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:02:42 -0400 (0:00:00.172) 0:00:43.986 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:02:43 -0400 (0:00:00.226) 0:00:44.213 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:02:43 -0400 (0:00:00.213) 0:00:44.426 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003244", "end": "2024-10-04 10:02:43.705882", "rc": 0, "start": "2024-10-04 10:02:43.702638" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:02:43 -0400 (0:00:00.568) 0:00:44.994 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:02:43 -0400 (0:00:00.134) 0:00:45.129 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:02:44 -0400 (0:00:00.223) 0:00:45.353 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 10:02:44 -0400 (0:00:00.277) 0:00:45.630 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:02:44 -0400 (0:00:00.346) 0:00:45.976 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:02:45 -0400 (0:00:00.281) 0:00:46.258 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:02:45 -0400 (0:00:00.258) 0:00:46.517 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:02:45 -0400 (0:00:00.170) 0:00:46.688 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:02:45 -0400 (0:00:00.110) 0:00:46.798 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:02:46 -0400 (0:00:01.109) 0:00:47.908 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:02:48 -0400 (0:00:01.497) 0:00:49.405 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:02:48 -0400 (0:00:00.212) 0:00:49.617 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:02:48 -0400 (0:00:00.136) 0:00:49.754 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:02:48 -0400 (0:00:00.208) 0:00:49.963 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:02:48 -0400 (0:00:00.169) 0:00:50.132 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:02:49 -0400 (0:00:00.170) 0:00:50.303 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:02:49 -0400 (0:00:00.203) 0:00:50.507 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:02:49 -0400 (0:00:00.117) 0:00:50.624 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:02:49 -0400 (0:00:00.179) 0:00:50.804 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:02:49 -0400 (0:00:00.148) 0:00:50.953 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:02:49 -0400 (0:00:00.116) 0:00:51.070 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:02:50 -0400 (0:00:00.085) 0:00:51.156 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:02:50 -0400 (0:00:00.109) 0:00:51.266 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:02:50 -0400 (0:00:00.108) 0:00:51.374 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:02:50 -0400 (0:00:00.565) 0:00:51.939 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15920kd1Ggx/tmpDUaQVi" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:02:51 -0400 (0:00:00.451) 0:00:52.391 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:02:51 -0400 (0:00:00.642) 0:00:53.033 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:02:52 -0400 (0:00:00.116) 0:00:53.149 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:02:52 -0400 (0:00:00.161) 0:00:53.311 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:02:52 -0400 (0:00:00.149) 0:00:53.460 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:02:52 -0400 (0:00:00.203) 0:00:53.664 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 10:02:53 -0400 (0:00:00.623) 0:00:54.287 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:02:53 -0400 (0:00:00.148) 0:00:54.436 ******** included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 10:02:53 -0400 (0:00:00.253) 0:00:54.689 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:02:53 -0400 (0:00:00.258) 0:00:54.947 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:02:54 -0400 (0:00:00.295) 0:00:55.242 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:02:54 -0400 (0:00:00.123) 0:00:55.366 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:02:54 -0400 (0:00:00.091) 0:00:55.457 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:02:54 -0400 (0:00:00.078) 0:00:55.536 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:02:55 -0400 (0:00:00.918) 0:00:56.454 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:02:56 -0400 (0:00:01.545) 0:00:58.000 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:02:57 -0400 (0:00:00.144) 0:00:58.145 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:02:57 -0400 (0:00:00.115) 0:00:58.261 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:02:57 -0400 (0:00:00.113) 0:00:58.375 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:02:57 -0400 (0:00:00.144) 0:00:58.519 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:02:57 -0400 (0:00:00.125) 0:00:58.645 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:02:57 -0400 (0:00:00.126) 0:00:58.771 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:02:57 -0400 (0:00:00.125) 0:00:58.897 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:02:58 -0400 (0:00:00.248) 0:00:59.145 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:02:58 -0400 (0:00:00.108) 0:00:59.254 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:02:58 -0400 (0:00:00.074) 0:00:59.329 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:02:58 -0400 (0:00:00.076) 0:00:59.405 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:02:58 -0400 (0:00:00.115) 0:00:59.520 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:02:58 -0400 (0:00:00.101) 0:00:59.622 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:02:59 -0400 (0:00:00.641) 0:01:00.263 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15920kd1Ggx/tmpLoK9Dy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:02:59 -0400 (0:00:00.471) 0:01:00.735 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:03:00 -0400 (0:00:00.920) 0:01:01.656 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:03:00 -0400 (0:00:00.140) 0:01:01.797 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:03:00 -0400 (0:00:00.115) 0:01:01.912 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:03:00 -0400 (0:00:00.118) 0:01:02.030 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:03:01 -0400 (0:00:00.168) 0:01:02.198 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:03:01 -0400 (0:00:00.527) 0:01:02.726 ******** included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 04 October 2024 10:03:01 -0400 (0:00:00.308) 0:01:03.034 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:03:02 -0400 (0:00:00.242) 0:01:03.277 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728050580.2798212, "block_size": 4096, "blocks": 0, "ctime": 1728050580.277821, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17734, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1728050580.277821, "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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 04 October 2024 10:03:02 -0400 (0:00:00.409) 0:01:03.686 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 04 October 2024 10:03:02 -0400 (0:00:00.117) 0:01:03.803 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:03:02 -0400 (0:00:00.328) 0:01:04.132 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:03:03 -0400 (0:00:00.193) 0:01:04.325 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728050580.1158202, "block_size": 4096, "blocks": 8, "ctime": 1728050571.7397704, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22438, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728050571.7397704, "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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:03:03 -0400 (0:00:00.444) 0:01:04.770 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:03:03 -0400 (0:00:00.095) 0:01:04.866 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022849", "end": "2024-10-04 10:03:04.013772", "rc": 1, "start": "2024-10-04 10:03:03.990923" } 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:03:04 -0400 (0:00:00.473) 0:01:05.339 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:03:04 -0400 (0:00:00.127) 0:01:05.466 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003352", "end": "2024-10-04 10:03:04.624291", "rc": 0, "start": "2024-10-04 10:03:04.620939" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:03:04 -0400 (0:00:00.451) 0:01:05.918 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:03:04 -0400 (0:00:00.164) 0:01:06.083 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003306", "end": "2024-10-04 10:03:05.312801", "rc": 0, "start": "2024-10-04 10:03:05.309495" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:03:05 -0400 (0:00:00.569) 0:01:06.653 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 04 October 2024 10:03:05 -0400 (0:00:00.145) 0:01:06.798 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 04 October 2024 10:03:05 -0400 (0:00:00.123) 0:01:06.921 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 04 October 2024 10:03:05 -0400 (0:00:00.126) 0:01:07.047 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:03:06 -0400 (0:00:00.146) 0:01:07.194 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:03:06 -0400 (0:00:00.149) 0:01:07.344 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:03:06 -0400 (0:00:00.132) 0:01:07.477 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:03:06 -0400 (0:00:00.196) 0:01:07.673 ******** 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.048883", "end": "2024-10-04 10:03:06.841304", "rc": 0, "start": "2024-10-04 10:03:06.792421" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Friday 04 October 2024 10:03:07 -0400 (0:00:00.479) 0:01:08.153 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:03:07 -0400 (0:00:00.289) 0:01:08.442 ******** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:03:07 -0400 (0:00:00.129) 0:01:08.571 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:03:07 -0400 (0:00:00.173) 0:01:08.744 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:03:07 -0400 (0:00:00.124) 0:01:08.869 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:03:07 -0400 (0:00:00.120) 0:01:08.989 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003659", "end": "2024-10-04 10:03:08.098433", "rc": 0, "start": "2024-10-04 10:03:08.094774" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:03:08 -0400 (0:00:00.386) 0:01:09.375 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:03:08 -0400 (0:00:00.108) 0:01:09.484 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:03:08 -0400 (0:00:00.156) 0:01:09.640 ******** included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 10:03:08 -0400 (0:00:00.279) 0:01:09.919 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:03:08 -0400 (0:00:00.219) 0:01:10.139 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:03:09 -0400 (0:00:00.309) 0:01:10.448 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:03:09 -0400 (0:00:00.143) 0:01:10.592 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:03:09 -0400 (0:00:00.106) 0:01:10.699 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:03:09 -0400 (0:00:00.117) 0:01:10.816 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:03:10 -0400 (0:00:01.074) 0:01:11.891 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:03:12 -0400 (0:00:01.393) 0:01:13.284 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:03:12 -0400 (0:00:00.125) 0:01:13.410 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:03:12 -0400 (0:00:00.120) 0:01:13.530 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:03:12 -0400 (0:00:00.200) 0:01:13.731 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:03:12 -0400 (0:00:00.131) 0:01:13.862 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:03:12 -0400 (0:00:00.130) 0:01:13.992 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:03:12 -0400 (0:00:00.131) 0:01:14.124 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:03:13 -0400 (0:00:00.215) 0:01:14.339 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:03:13 -0400 (0:00:00.167) 0:01:14.507 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:03:13 -0400 (0:00:00.085) 0:01:14.592 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:03:13 -0400 (0:00:00.199) 0:01:14.791 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:03:13 -0400 (0:00:00.206) 0:01:14.998 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:03:13 -0400 (0:00:00.132) 0:01:15.130 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:03:14 -0400 (0:00:00.120) 0:01:15.251 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:03:14 -0400 (0:00:00.672) 0:01:15.923 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15920kd1Ggx/tmpl4ACjG" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:03:15 -0400 (0:00:00.411) 0:01:16.334 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:03:15 -0400 (0:00:00.590) 0:01:16.925 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:03:15 -0400 (0:00:00.082) 0:01:17.008 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:03:15 -0400 (0:00:00.114) 0:01:17.122 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:03:16 -0400 (0:00:00.118) 0:01:17.241 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:03:16 -0400 (0:00:00.109) 0:01:17.351 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 10:03:16 -0400 (0:00:00.416) 0:01:17.767 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 10:03:16 -0400 (0:00:00.211) 0:01:17.979 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:03:17 -0400 (0:00:00.202) 0:01:18.181 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:03:17 -0400 (0:00:00.178) 0:01:18.360 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:03:17 -0400 (0:00:00.096) 0:01:18.456 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:03:17 -0400 (0:00:00.071) 0:01:18.528 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:03:17 -0400 (0:00:00.089) 0:01:18.617 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:03:18 -0400 (0:00:00.943) 0:01:19.561 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:03:19 -0400 (0:00:01.396) 0:01:20.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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:03:19 -0400 (0:00:00.091) 0:01:21.048 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:03:19 -0400 (0:00:00.071) 0:01:21.120 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:03:20 -0400 (0:00:00.074) 0:01:21.195 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:03:20 -0400 (0:00:00.072) 0:01:21.267 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:03:20 -0400 (0:00:00.073) 0:01:21.341 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:03:20 -0400 (0:00:00.078) 0:01:21.420 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:03:20 -0400 (0:00:00.087) 0:01:21.507 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:03:20 -0400 (0:00:00.177) 0:01:21.685 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:03:20 -0400 (0:00:00.092) 0:01:21.777 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:03:20 -0400 (0:00:00.091) 0:01:21.869 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:03:20 -0400 (0:00:00.082) 0:01:21.952 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:03:20 -0400 (0:00:00.072) 0:01:22.025 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:03:20 -0400 (0:00:00.083) 0:01:22.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:03:21 -0400 (0:00:00.571) 0:01:22.679 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15920kd1Ggx/tmpHZTJoX" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:03:22 -0400 (0:00:00.652) 0:01:23.332 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:03:23 -0400 (0:00:01.581) 0:01:24.913 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:03:23 -0400 (0:00:00.120) 0:01:25.034 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:03:24 -0400 (0:00:00.162) 0:01:25.196 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:03:24 -0400 (0:00:00.119) 0:01:25.316 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:03:24 -0400 (0:00:00.130) 0:01:25.446 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:03:24 -0400 (0:00:00.552) 0:01:25.998 ******** included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 04 October 2024 10:03:25 -0400 (0:00:00.237) 0:01:26.236 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:03:25 -0400 (0:00:00.203) 0:01:26.439 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:03:25 -0400 (0:00:00.215) 0:01:26.655 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:03:25 -0400 (0:00:00.216) 0:01:26.872 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:03:25 -0400 (0:00:00.145) 0:01:27.018 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:03:26 -0400 (0:00:00.140) 0:01:27.158 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:03:27 -0400 (0:00:01.381) 0:01:28.539 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:03:28 -0400 (0:00:01.386) 0:01:29.925 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:03:28 -0400 (0:00:00.191) 0:01:30.117 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:03:29 -0400 (0:00:00.120) 0:01:30.238 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:03:29 -0400 (0:00:00.121) 0:01:30.359 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:03:29 -0400 (0:00:00.075) 0:01:30.435 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:03:29 -0400 (0:00:00.104) 0:01:30.540 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:03:29 -0400 (0:00:00.086) 0:01:30.627 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:03:29 -0400 (0:00:00.078) 0:01:30.705 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:03:29 -0400 (0:00:00.125) 0:01:30.830 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:03:29 -0400 (0:00:00.070) 0:01:30.901 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:03:29 -0400 (0:00:00.086) 0:01:30.988 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:03:29 -0400 (0:00:00.119) 0:01:31.107 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:03:30 -0400 (0:00:00.188) 0:01:31.296 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:03:30 -0400 (0:00:00.113) 0:01:31.410 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:03:30 -0400 (0:00:00.604) 0:01:32.014 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15920kd1Ggx/tmpA0w0hO" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:03:31 -0400 (0:00:00.546) 0:01:32.561 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:03:32 -0400 (0:00:00.903) 0:01:33.464 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:03:32 -0400 (0:00:00.194) 0:01:33.659 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:03:32 -0400 (0:00:00.201) 0:01:33.861 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:03:32 -0400 (0:00:00.116) 0:01:33.977 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:03:33 -0400 (0:00:00.192) 0:01:34.170 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:03:33 -0400 (0:00:00.652) 0:01:34.823 ******** included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 04 October 2024 10:03:33 -0400 (0:00:00.254) 0:01:35.078 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:03:34 -0400 (0:00:00.203) 0:01:35.281 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728050603.4329584, "block_size": 4096, "blocks": 0, "ctime": 1728050603.4319584, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17734, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1728050603.4319584, "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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 04 October 2024 10:03:34 -0400 (0:00:00.544) 0:01:35.826 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 04 October 2024 10:03:34 -0400 (0:00:00.142) 0:01:35.968 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:03:35 -0400 (0:00:00.374) 0:01:36.343 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:03:35 -0400 (0:00:00.114) 0:01:36.457 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:03:35 -0400 (0:00:00.516) 0:01:36.973 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:03:35 -0400 (0:00:00.153) 0:01:37.127 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020624", "end": "2024-10-04 10:03:36.309153", "rc": 1, "start": "2024-10-04 10:03:36.288529" } 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:03:36 -0400 (0:00:00.438) 0:01:37.565 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:03:36 -0400 (0:00:00.074) 0:01:37.639 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:03:36 -0400 (0:00:00.102) 0:01:37.742 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:03:36 -0400 (0:00:00.113) 0:01:37.855 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:03:36 -0400 (0:00:00.145) 0:01:38.000 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 04 October 2024 10:03:37 -0400 (0:00:00.227) 0:01:38.228 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:03:37 -0400 (0:00:00.268) 0:01:38.496 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:03:37 -0400 (0:00:00.151) 0:01:38.647 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:03:37 -0400 (0:00:00.133) 0:01:38.781 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:03:37 -0400 (0:00:00.226) 0:01:39.007 ******** 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.045289", "end": "2024-10-04 10:03:38.163284", "rc": 0, "start": "2024-10-04 10:03:38.117995" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Friday 04 October 2024 10:03:38 -0400 (0:00:00.500) 0:01:39.508 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:03:38 -0400 (0:00:00.200) 0:01:39.708 ******** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:03:38 -0400 (0:00:00.108) 0:01:39.817 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:03:38 -0400 (0:00:00.205) 0:01:40.023 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:03:39 -0400 (0:00:00.250) 0:01:40.273 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:03:39 -0400 (0:00:00.255) 0:01:40.528 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003874", "end": "2024-10-04 10:03:39.795409", "rc": 0, "start": "2024-10-04 10:03:39.791535" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:03:39 -0400 (0:00:00.562) 0:01:41.091 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:03:40 -0400 (0:00:00.196) 0:01:41.287 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:03:40 -0400 (0:00:00.231) 0:01:41.519 ******** included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 10:03:40 -0400 (0:00:00.327) 0:01:41.847 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:03:40 -0400 (0:00:00.276) 0:01:42.123 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:03:41 -0400 (0:00:00.293) 0:01:42.417 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:03:41 -0400 (0:00:00.242) 0:01:42.659 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:03:41 -0400 (0:00:00.185) 0:01:42.845 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:03:41 -0400 (0:00:00.232) 0:01:43.078 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:03:43 -0400 (0:00:01.095) 0:01:44.174 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:03:44 -0400 (0:00:01.526) 0:01:45.700 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:03:44 -0400 (0:00:00.146) 0:01:45.847 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:03:44 -0400 (0:00:00.124) 0:01:45.972 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:03:44 -0400 (0:00:00.102) 0:01:46.074 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:03:45 -0400 (0:00:00.120) 0:01:46.195 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:03:45 -0400 (0:00:00.120) 0:01:46.315 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:03:45 -0400 (0:00:00.125) 0:01:46.440 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:03:45 -0400 (0:00:00.183) 0:01:46.624 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:03:45 -0400 (0:00:00.212) 0:01:46.837 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:03:45 -0400 (0:00:00.113) 0:01:46.950 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:03:45 -0400 (0:00:00.135) 0:01:47.085 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:03:46 -0400 (0:00:00.220) 0:01:47.306 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:03:46 -0400 (0:00:00.140) 0:01:47.447 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:03:46 -0400 (0:00:00.125) 0:01:47.572 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:03:46 -0400 (0:00:00.541) 0:01:48.113 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15920kd1Ggx/tmpNXdywd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:03:47 -0400 (0:00:00.369) 0:01:48.483 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:03:48 -0400 (0:00:00.828) 0:01:49.311 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:03:48 -0400 (0:00:00.112) 0:01:49.424 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:03:48 -0400 (0:00:00.110) 0:01:49.534 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:03:48 -0400 (0:00:00.119) 0:01:49.653 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:03:48 -0400 (0:00:00.157) 0:01:49.810 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 10:03:49 -0400 (0:00:00.695) 0:01:50.506 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 10:03:49 -0400 (0:00:00.195) 0:01:50.702 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:03:49 -0400 (0:00:00.235) 0:01:50.938 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:03:50 -0400 (0:00:00.239) 0:01:51.177 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:03:50 -0400 (0:00:00.168) 0:01:51.345 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:03:50 -0400 (0:00:00.107) 0:01:51.453 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:03:50 -0400 (0:00:00.171) 0:01:51.624 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:03:51 -0400 (0:00:01.348) 0:01:52.973 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:03:53 -0400 (0:00:01.387) 0:01:54.360 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:03:53 -0400 (0:00:00.074) 0:01:54.435 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:03:53 -0400 (0:00:00.163) 0:01:54.598 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:03:53 -0400 (0:00:00.114) 0:01:54.713 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:03:53 -0400 (0:00:00.090) 0:01:54.803 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:03:53 -0400 (0:00:00.088) 0:01:54.892 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:03:53 -0400 (0:00:00.077) 0:01:54.969 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:03:53 -0400 (0:00:00.091) 0:01:55.061 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:03:54 -0400 (0:00:00.204) 0:01:55.265 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:03:54 -0400 (0:00:00.124) 0:01:55.390 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:03:54 -0400 (0:00:00.119) 0:01:55.510 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:03:54 -0400 (0:00:00.119) 0:01:55.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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:03:54 -0400 (0:00:00.114) 0:01:55.745 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:03:54 -0400 (0:00:00.110) 0:01:55.855 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:03:55 -0400 (0:00:00.549) 0:01:56.404 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15920kd1Ggx/tmpWGr39V" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:03:55 -0400 (0:00:00.427) 0:01:56.832 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:03:56 -0400 (0:00:00.954) 0:01:57.787 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:03:56 -0400 (0:00:00.186) 0:01:57.973 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:03:56 -0400 (0:00:00.119) 0:01:58.093 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:03:57 -0400 (0:00:00.104) 0:01:58.197 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:03:57 -0400 (0:00:00.086) 0:01:58.284 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 04 October 2024 10:03:57 -0400 (0:00:00.334) 0:01:58.619 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:03:57 -0400 (0:00:00.126) 0:01:58.745 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:03:57 -0400 (0:00:00.144) 0:01:58.890 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:03:57 -0400 (0:00:00.094) 0:01:58.985 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:03:57 -0400 (0:00:00.072) 0:01:59.057 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:03:58 -0400 (0:00:00.104) 0:01:59.162 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:03:58 -0400 (0:00:00.959) 0:02:00.121 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:00 -0400 (0:00:01.542) 0:02:01.663 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:00 -0400 (0:00:00.122) 0:02:01.786 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:00 -0400 (0:00:00.137) 0:02:01.924 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:00 -0400 (0:00:00.107) 0:02:02.031 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:00 -0400 (0:00:00.080) 0:02:02.112 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:01 -0400 (0:00:00.084) 0:02:02.196 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:01 -0400 (0:00:00.124) 0:02:02.321 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:01 -0400 (0:00:00.117) 0:02:02.439 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:01 -0400 (0:00:00.197) 0:02:02.636 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:01 -0400 (0:00:00.119) 0:02:02.756 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:01 -0400 (0:00:00.239) 0:02:02.995 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:02 -0400 (0:00:00.158) 0:02:03.153 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:02 -0400 (0:00:00.124) 0:02:03.278 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:02 -0400 (0:00:00.112) 0:02:03.391 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:03 -0400 (0:00:00.795) 0:02:04.187 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15920kd1Ggx/tmpOvlFKK" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:03 -0400 (0:00:00.497) 0:02:04.685 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:04 -0400 (0:00:00.782) 0:02:05.467 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:04 -0400 (0:00:00.163) 0:02:05.630 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:04 -0400 (0:00:00.143) 0:02:05.774 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:04 -0400 (0:00:00.161) 0:02:05.936 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:04 -0400 (0:00:00.109) 0:02:06.046 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:04:05 -0400 (0:00:00.643) 0:02:06.689 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 04 October 2024 10:04:05 -0400 (0:00:00.185) 0:02:06.875 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:05 -0400 (0:00:00.228) 0:02:07.104 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:06 -0400 (0:00:00.273) 0:02:07.377 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:06 -0400 (0:00:00.161) 0:02:07.539 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:06 -0400 (0:00:00.133) 0:02:07.672 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:06 -0400 (0:00:00.116) 0:02:07.789 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:07 -0400 (0:00:01.272) 0:02:09.061 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:09 -0400 (0:00:01.345) 0:02:10.407 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:09 -0400 (0:00:00.097) 0:02:10.505 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:09 -0400 (0:00:00.083) 0:02:10.589 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:09 -0400 (0:00:00.070) 0:02:10.659 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:09 -0400 (0:00:00.072) 0:02:10.731 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:09 -0400 (0:00:00.072) 0:02:10.803 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:09 -0400 (0:00:00.082) 0:02:10.886 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:09 -0400 (0:00:00.107) 0:02:10.994 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:10 -0400 (0:00:00.215) 0:02:11.209 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:10 -0400 (0:00:00.184) 0:02:11.394 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:10 -0400 (0:00:00.167) 0:02:11.561 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:10 -0400 (0:00:00.146) 0:02:11.707 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:10 -0400 (0:00:00.199) 0:02:11.907 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:10 -0400 (0:00:00.168) 0:02:12.075 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:11 -0400 (0:00:01.003) 0:02:13.079 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15920kd1Ggx/tmpcFWIZ5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:12 -0400 (0:00:00.723) 0:02:13.802 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:13 -0400 (0:00:00.799) 0:02:14.602 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:13 -0400 (0:00:00.221) 0:02:14.824 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:13 -0400 (0:00:00.139) 0:02:14.964 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:13 -0400 (0:00:00.106) 0:02:15.070 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:14 -0400 (0:00:00.076) 0:02:15.147 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:04:14 -0400 (0:00:00.472) 0:02:15.619 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 04 October 2024 10:04:14 -0400 (0:00:00.320) 0:02:15.939 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:04:15 -0400 (0:00:00.237) 0:02:16.177 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:04:15 -0400 (0:00:00.178) 0:02:16.355 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:04:15 -0400 (0:00:00.671) 0:02:17.027 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:04:16 -0400 (0:00:00.258) 0:02:17.285 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020624", "end": "2024-10-04 10:04:21.621657", "rc": 1, "start": "2024-10-04 10:04:21.601033" } 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:04:21 -0400 (0:00:05.719) 0:02:23.005 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:04:22 -0400 (0:00:00.153) 0:02:23.158 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:04:22 -0400 (0:00:00.121) 0:02:23.280 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:04:22 -0400 (0:00:00.078) 0:02:23.358 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:04:22 -0400 (0:00:00.160) 0:02:23.518 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 04 October 2024 10:04:22 -0400 (0:00:00.127) 0:02:23.646 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:04:22 -0400 (0:00:00.159) 0:02:23.805 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:04:22 -0400 (0:00:00.156) 0:02:23.961 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:04:22 -0400 (0:00:00.126) 0:02:24.088 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:04:23 -0400 (0:00:00.238) 0:02:24.326 ******** 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.044214", "end": "2024-10-04 10:04:23.539287", "rc": 0, "start": "2024-10-04 10:04:23.495073" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Friday 04 October 2024 10:04:23 -0400 (0:00:00.515) 0:02:24.841 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:04:23 -0400 (0:00:00.258) 0:02:25.100 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:04:24 -0400 (0:00:00.078) 0:02:25.178 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:04:24 -0400 (0:00:00.194) 0:02:25.373 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:04:24 -0400 (0:00:00.190) 0:02:25.563 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:04:24 -0400 (0:00:00.184) 0:02:25.748 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003401", "end": "2024-10-04 10:04:24.897283", "rc": 0, "start": "2024-10-04 10:04:24.893882" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:04:25 -0400 (0:00:00.455) 0:02:26.203 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:04:25 -0400 (0:00:00.187) 0:02:26.391 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:04:25 -0400 (0:00:00.121) 0:02:26.513 ******** included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 10:04:25 -0400 (0:00:00.165) 0:02:26.679 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:25 -0400 (0:00:00.127) 0:02:26.807 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:25 -0400 (0:00:00.176) 0:02:26.984 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:25 -0400 (0:00:00.153) 0:02:27.137 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:26 -0400 (0:00:00.137) 0:02:27.275 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:26 -0400 (0:00:00.124) 0:02:27.399 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:27 -0400 (0:00:01.035) 0:02:28.434 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:29 -0400 (0:00:01.814) 0:02:30.248 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:29 -0400 (0:00:00.120) 0:02:30.369 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:29 -0400 (0:00:00.137) 0:02:30.507 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:29 -0400 (0:00:00.119) 0:02:30.626 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:29 -0400 (0:00:00.123) 0:02:30.750 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:29 -0400 (0:00:00.195) 0:02:30.946 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:29 -0400 (0:00:00.144) 0:02:31.091 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:30 -0400 (0:00:00.172) 0:02:31.263 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:30 -0400 (0:00:00.199) 0:02:31.463 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:30 -0400 (0:00:00.193) 0:02:31.657 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:30 -0400 (0:00:00.113) 0:02:31.771 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:30 -0400 (0:00:00.092) 0:02:31.864 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:30 -0400 (0:00:00.074) 0:02:31.938 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:30 -0400 (0:00:00.101) 0:02:32.039 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:31 -0400 (0:00:00.650) 0:02:32.690 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15920kd1Ggx/tmpVe8vQm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:32 -0400 (0:00:00.454) 0:02:33.145 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:32 -0400 (0:00:00.854) 0:02:33.999 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:33 -0400 (0:00:00.219) 0:02:34.219 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:33 -0400 (0:00:00.208) 0:02:34.428 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:33 -0400 (0:00:00.216) 0:02:34.644 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:33 -0400 (0:00:00.141) 0:02:34.786 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 10:04:34 -0400 (0:00:00.418) 0:02:35.204 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 10:04:34 -0400 (0:00:00.079) 0:02:35.284 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:34 -0400 (0:00:00.127) 0:02:35.411 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:34 -0400 (0:00:00.143) 0:02:35.555 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:34 -0400 (0:00:00.101) 0:02:35.657 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:34 -0400 (0:00:00.115) 0:02:35.773 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:34 -0400 (0:00:00.130) 0:02:35.903 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:35 -0400 (0:00:01.055) 0:02:36.959 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:37 -0400 (0:00:01.266) 0:02:38.225 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:37 -0400 (0:00:00.079) 0:02:38.304 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:37 -0400 (0:00:00.073) 0:02:38.378 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:37 -0400 (0:00:00.075) 0:02:38.453 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:37 -0400 (0:00:00.097) 0:02:38.551 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:37 -0400 (0:00:00.115) 0:02:38.667 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:37 -0400 (0:00:00.086) 0:02:38.753 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:37 -0400 (0:00:00.077) 0:02:38.830 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:37 -0400 (0:00:00.120) 0:02:38.951 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:37 -0400 (0:00:00.075) 0:02:39.026 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:38 -0400 (0:00:00.184) 0:02:39.211 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:38 -0400 (0:00:00.126) 0:02:39.337 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:38 -0400 (0:00:00.117) 0:02:39.455 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:38 -0400 (0:00:00.113) 0:02:39.568 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:38 -0400 (0:00:00.565) 0:02:40.134 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15920kd1Ggx/tmp5vRh9A" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:39 -0400 (0:00:00.503) 0:02:40.638 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:40 -0400 (0:00:01.078) 0:02:41.716 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:40 -0400 (0:00:00.122) 0:02:41.839 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:40 -0400 (0:00:00.124) 0:02:41.963 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:40 -0400 (0:00:00.131) 0:02:42.095 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:41 -0400 (0:00:00.098) 0:02:42.193 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 04 October 2024 10:04:41 -0400 (0:00:00.508) 0:02:42.702 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:41 -0400 (0:00:00.309) 0:02:43.012 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:42 -0400 (0:00:00.379) 0:02:43.391 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:42 -0400 (0:00:00.174) 0:02:43.566 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:42 -0400 (0:00:00.151) 0:02:43.718 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:42 -0400 (0:00:00.106) 0:02:43.824 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:43 -0400 (0:00:00.944) 0:02:44.769 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:45 -0400 (0:00:01.391) 0:02:46.161 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:45 -0400 (0:00:00.131) 0:02:46.292 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:45 -0400 (0:00:00.103) 0:02:46.395 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:45 -0400 (0:00:00.118) 0:02:46.514 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:45 -0400 (0:00:00.111) 0:02:46.626 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:45 -0400 (0:00:00.184) 0:02:46.811 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:45 -0400 (0:00:00.135) 0:02:46.946 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:45 -0400 (0:00:00.124) 0:02:47.071 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:46 -0400 (0:00:00.193) 0:02:47.264 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:46 -0400 (0:00:00.120) 0:02:47.384 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:46 -0400 (0:00:00.122) 0:02:47.507 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:46 -0400 (0:00:00.114) 0:02:47.622 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:46 -0400 (0:00:00.113) 0:02:47.735 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:46 -0400 (0:00:00.107) 0:02:47.843 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:47 -0400 (0:00:00.555) 0:02:48.399 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15920kd1Ggx/tmpkVHJWH" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:47 -0400 (0:00:00.442) 0:02:48.841 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:48 -0400 (0:00:00.713) 0:02:49.555 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:48 -0400 (0:00:00.120) 0:02:49.675 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:48 -0400 (0:00:00.133) 0:02:49.809 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:48 -0400 (0:00:00.101) 0:02:49.910 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:48 -0400 (0:00:00.089) 0:02:50.000 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:04:49 -0400 (0:00:00.375) 0:02:50.375 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 04 October 2024 10:04:49 -0400 (0:00:00.204) 0:02:50.580 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:49 -0400 (0:00:00.248) 0:02:50.828 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:49 -0400 (0:00:00.248) 0:02:51.076 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:50 -0400 (0:00:00.125) 0:02:51.201 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:50 -0400 (0:00:00.073) 0:02:51.275 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:50 -0400 (0:00:00.068) 0:02:51.343 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:51 -0400 (0:00:01.015) 0:02:52.359 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:52 -0400 (0:00:01.769) 0:02:54.128 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:53 -0400 (0:00:00.124) 0:02:54.253 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:53 -0400 (0:00:00.119) 0:02:54.372 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:53 -0400 (0:00:00.114) 0:02:54.487 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:53 -0400 (0:00:00.114) 0:02:54.602 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:53 -0400 (0:00:00.114) 0:02:54.716 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:53 -0400 (0:00:00.156) 0:02:54.873 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:53 -0400 (0:00:00.096) 0:02:54.969 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:53 -0400 (0:00:00.169) 0:02:55.139 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:54 -0400 (0:00:00.119) 0:02:55.258 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:54 -0400 (0:00:00.138) 0:02:55.396 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:54 -0400 (0:00:00.124) 0:02:55.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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:54 -0400 (0:00:00.110) 0:02:55.631 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:54 -0400 (0:00:00.121) 0:02:55.753 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:55 -0400 (0:00:00.719) 0:02:56.472 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15920kd1Ggx/tmpzGE0m7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:55 -0400 (0:00:00.447) 0:02:56.919 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:56 -0400 (0:00:00.711) 0:02:57.630 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:56 -0400 (0:00:00.090) 0:02:57.721 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:56 -0400 (0:00:00.084) 0:02:57.806 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:56 -0400 (0:00:00.077) 0:02:57.883 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:56 -0400 (0:00:00.071) 0:02:57.954 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:04:57 -0400 (0:00:00.392) 0:02:58.347 ******** included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 04 October 2024 10:04:57 -0400 (0:00:00.216) 0:02:58.563 ******** included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:04:57 -0400 (0:00:00.147) 0:02:58.710 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:04:57 -0400 (0:00:00.091) 0:02:58.802 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:04:58 -0400 (0:00:00.368) 0:02:59.171 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:04:58 -0400 (0:00:00.098) 0:02:59.270 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020854", "end": "2024-10-04 10:04:58.409425", "rc": 1, "start": "2024-10-04 10:04:58.388571" } 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:04:58 -0400 (0:00:00.420) 0:02:59.690 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:04:58 -0400 (0:00:00.103) 0:02:59.794 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:04:58 -0400 (0:00:00.093) 0:02:59.888 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:04:58 -0400 (0:00:00.128) 0:03:00.016 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:04:58 -0400 (0:00:00.085) 0:03:00.102 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 04 October 2024 10:04:59 -0400 (0:00:00.070) 0:03:00.173 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 04 October 2024 10:04:59 -0400 (0:00:00.087) 0:03:00.261 ******** [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.623918", "end": "2024-10-04 10:05:00.019836", "rc": 0, "start": "2024-10-04 10:04:59.395918" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 04 October 2024 10:05:00 -0400 (0:00:01.000) 0:03:01.261 ******** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 04 October 2024 10:05:00 -0400 (0:00:00.073) 0:03:01.335 ******** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:05:00 -0400 (0:00:00.072) 0:03:01.408 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:05:00 -0400 (0:00:00.092) 0:03:01.500 ******** 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:05:00 -0400 (0:00:00.107) 0:03:01.608 ******** included: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:05:00 -0400 (0:00:00.241) 0:03:01.850 ******** 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.044944", "end": "2024-10-04 10:05:01.041279", "rc": 0, "start": "2024-10-04 10:05:00.996335" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Friday 04 October 2024 10:05:01 -0400 (0:00:00.427) 0:03:02.278 ******** 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.007315", "end": "2024-10-04 10:05:01.385823", "rc": 0, "start": "2024-10-04 10:05:01.378508" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:d1:6a:d8:11 brd ff:ff:ff:ff:ff:ff inet 10.31.15.208/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 3246sec preferred_lft 3246sec inet6 fe80::8ff:d1ff:fe6a:d811/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 3e:c3:b5:69:65:5a brd ff:ff:ff:ff:ff:ff 33: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether a6:39:11:b2:08:27 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.208 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-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Friday 04 October 2024 10:05:01 -0400 (0:00:00.386) 0:03:02.664 ******** 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.591595", "end": "2024-10-04 10:05:02.474733", "rc": 0, "start": "2024-10-04 10:05:01.883138" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 739 0 --:--:-- --:--:-- --:--:-- 740 % 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 1838 0 --:--:-- --:--:-- --:--:-- 1841 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=338 changed=14 unreachable=0 failed=0 skipped=284 rescued=0 ignored=10 Friday 04 October 2024 10:05:02 -0400 (0:00:01.088) 0:03:03.752 ******** =============================================================================== Get NM profile info ----------------------------------------------------- 5.72s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 fedora.linux_system_roles.network : Check which packages are installed --- 1.81s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-BjV/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-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.40s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.38s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install yum-utils package ----------------------------------------------- 1.35s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.35s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.31s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.27s /tmp/collections-BjV/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21