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-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Monday 07 October 2024 08:25:50 -0400 (0:00:00.031) 0:00:00.031 ******** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Monday 07 October 2024 08:25:51 -0400 (0:00:01.139) 0:00:01.170 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 07 October 2024 08:25:51 -0400 (0:00:00.104) 0:00:01.275 ******** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 07 October 2024 08:25:52 -0400 (0:00:00.430) 0:00:01.705 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 07 October 2024 08:25:52 -0400 (0:00:00.515) 0:00:02.221 ******** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 07 October 2024 08:25:52 -0400 (0:00:00.073) 0:00:02.295 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 07 October 2024 08:25:53 -0400 (0:00:00.115) 0:00:02.410 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 07 October 2024 08:25:53 -0400 (0:00:00.224) 0:00:02.634 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 07 October 2024 08:25:53 -0400 (0:00:00.623) 0:00:03.258 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 07 October 2024 08:25:55 -0400 (0:00:01.113) 0:00:04.371 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.161659", "end": "2024-10-07 08:25:55.576783", "rc": 0, "start": "2024-10-07 08:25:55.415124" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 07 October 2024 08:25:55 -0400 (0:00:00.634) 0:00:05.006 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 07 October 2024 08:25:55 -0400 (0:00:00.034) 0:00:05.040 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Monday 07 October 2024 08:25:55 -0400 (0:00:00.038) 0:00:05.078 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 07 October 2024 08:25:55 -0400 (0:00:00.118) 0:00:05.196 ******** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 07 October 2024 08:25:56 -0400 (0:00:00.741) 0:00:05.938 ******** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 07 October 2024 08:25:56 -0400 (0:00:00.040) 0:00:05.979 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:25:56 -0400 (0:00:00.071) 0:00:06.051 ******** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:25:56 -0400 (0:00:00.044) 0:00:06.095 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:25:56 -0400 (0:00:00.148) 0:00:06.244 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:25:56 -0400 (0:00:00.085) 0:00:06.329 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:25:57 -0400 (0:00:00.053) 0:00:06.383 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004112", "end": "2024-10-07 08:25:58.338272", "rc": 0, "start": "2024-10-07 08:25:57.334160" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:25:58 -0400 (0:00:01.383) 0:00:07.766 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:25:58 -0400 (0:00:00.036) 0:00:07.803 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:25:58 -0400 (0:00:00.042) 0:00:07.846 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 07 October 2024 08:25:58 -0400 (0:00:00.091) 0:00:07.938 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006361", "end": "2024-10-07 08:25:58.852614", "rc": 1, "start": "2024-10-07 08:25:58.846253" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:25:58 -0400 (0:00:00.332) 0:00:08.270 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:25:58 -0400 (0:00:00.060) 0:00:08.331 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:25:59 -0400 (0:00:00.342) 0:00:08.673 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:25:59 -0400 (0:00:00.039) 0:00:08.712 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:25:59 -0400 (0:00:00.076) 0:00:08.788 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:25:59 -0400 (0:00:00.258) 0:00:09.047 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:25:59 -0400 (0:00:00.092) 0:00:09.140 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:25:59 -0400 (0:00:00.055) 0:00:09.196 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:25:59 -0400 (0:00:00.099) 0:00:09.295 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:00 -0400 (0:00:00.101) 0:00:09.396 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:26:01 -0400 (0:00:01.208) 0:00:10.605 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:26:02 -0400 (0:00:01.551) 0:00:12.156 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:26:02 -0400 (0:00:00.131) 0:00:12.288 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:26:03 -0400 (0:00:00.125) 0:00:12.414 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:26:03 -0400 (0:00:00.161) 0:00:12.575 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:26:03 -0400 (0:00:00.131) 0:00:12.706 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:26:03 -0400 (0:00:00.118) 0:00:12.825 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:26:03 -0400 (0:00:00.133) 0:00:12.958 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:26:03 -0400 (0:00:00.136) 0:00:13.095 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:26:07 -0400 (0:00:03.425) 0:00:16.521 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:26:07 -0400 (0:00:00.108) 0:00:16.629 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:26:07 -0400 (0:00:00.108) 0:00:16.738 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:26:07 -0400 (0:00:00.121) 0:00:16.859 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:26:07 -0400 (0:00:00.153) 0:00:17.013 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:26:07 -0400 (0:00:00.139) 0:00:17.153 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:26:09 -0400 (0:00:01.256) 0:00:18.409 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16389zIQKOQ/tmpM7w7J4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:26:09 -0400 (0:00:00.629) 0:00:19.039 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:26:10 -0400 (0:00:01.185) 0:00:20.224 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:26:11 -0400 (0:00:00.209) 0:00:20.434 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:26:11 -0400 (0:00:00.129) 0:00:20.563 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:26:11 -0400 (0:00:00.120) 0:00:20.683 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:26:11 -0400 (0:00:00.107) 0:00:20.791 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:26:12 -0400 (0:00:00.842) 0:00:21.633 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:26:12 -0400 (0:00:00.317) 0:00:21.950 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 07 October 2024 08:26:12 -0400 (0:00:00.230) 0:00:22.181 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:26:13 -0400 (0:00:00.229) 0:00:22.410 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:26:13 -0400 (0:00:00.113) 0:00:22.523 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728303970.6889203, "block_size": 4096, "blocks": 8, "ctime": 1728303970.6889203, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22461, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728303970.6889203, "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:26:13 -0400 (0:00:00.386) 0:00:22.910 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:26:13 -0400 (0:00:00.089) 0:00:23.000 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019690", "end": "2024-10-07 08:26:13.903439", "rc": 1, "start": "2024-10-07 08:26:13.883749" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:26:14 -0400 (0:00:00.391) 0:00:23.391 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:26:14 -0400 (0:00:00.124) 0:00:23.516 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003031", "end": "2024-10-07 08:26:14.448003", "rc": 0, "start": "2024-10-07 08:26:14.444972" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:26:14 -0400 (0:00:00.426) 0:00:23.942 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:26:14 -0400 (0:00:00.125) 0:00:24.067 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002992", "end": "2024-10-07 08:26:14.988563", "rc": 0, "start": "2024-10-07 08:26:14.985571" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:26:15 -0400 (0:00:00.383) 0:00:24.451 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 07 October 2024 08:26:15 -0400 (0:00:00.203) 0:00:24.654 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 07 October 2024 08:26:15 -0400 (0:00:00.131) 0:00:24.785 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 07 October 2024 08:26:15 -0400 (0:00:00.115) 0:00:24.901 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:26:15 -0400 (0:00:00.227) 0:00:25.129 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:26:15 -0400 (0:00:00.196) 0:00:25.325 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:26:16 -0400 (0:00:00.152) 0:00:25.478 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:26:16 -0400 (0:00:00.173) 0:00:25.651 ******** 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.039139", "end": "2024-10-07 08:26:16.618711", "rc": 1, "start": "2024-10-07 08:26:16.579572" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 07 October 2024 08:26:16 -0400 (0:00:00.454) 0:00:26.105 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:26:16 -0400 (0:00:00.167) 0:00:26.272 ******** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:26:16 -0400 (0:00:00.076) 0:00:26.349 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:26:17 -0400 (0:00:00.228) 0:00:26.577 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:26:17 -0400 (0:00:00.279) 0:00:26.857 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:26:17 -0400 (0:00:00.245) 0:00:27.102 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003052", "end": "2024-10-07 08:26:18.134128", "rc": 0, "start": "2024-10-07 08:26:18.131076" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:26:18 -0400 (0:00:00.583) 0:00:27.685 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:26:18 -0400 (0:00:00.146) 0:00:27.832 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:26:18 -0400 (0:00:00.151) 0:00:27.983 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 07 October 2024 08:26:18 -0400 (0:00:00.317) 0:00:28.301 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006380", "end": "2024-10-07 08:26:19.331337", "rc": 1, "start": "2024-10-07 08:26:19.324957" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:26:19 -0400 (0:00:00.512) 0:00:28.814 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:26:19 -0400 (0:00:00.248) 0:00:29.063 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:26:20 -0400 (0:00:00.400) 0:00:29.463 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:26:20 -0400 (0:00:00.200) 0:00:29.664 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 07 October 2024 08:26:20 -0400 (0:00:00.234) 0:00:29.898 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:26:20 -0400 (0:00:00.276) 0:00:30.175 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:26:21 -0400 (0:00:00.191) 0:00:30.366 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:26:21 -0400 (0:00:00.134) 0:00:30.501 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:26:21 -0400 (0:00:00.113) 0:00:30.614 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:21 -0400 (0:00:00.191) 0:00:30.806 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:26:22 -0400 (0:00:01.195) 0:00:32.002 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:26:23 -0400 (0:00:01.331) 0:00:33.333 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:26:24 -0400 (0:00:00.091) 0:00:33.425 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:26:24 -0400 (0:00:00.074) 0:00:33.499 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:26:24 -0400 (0:00:00.135) 0:00:33.635 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:26:24 -0400 (0:00:00.146) 0:00:33.781 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:26:24 -0400 (0:00:00.136) 0:00:33.917 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:26:24 -0400 (0:00:00.182) 0:00:34.100 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:26:24 -0400 (0:00:00.145) 0:00:34.246 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:26:25 -0400 (0:00:00.190) 0:00:34.436 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:26:25 -0400 (0:00:00.113) 0:00:34.549 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:26:25 -0400 (0:00:00.090) 0:00:34.640 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:26:25 -0400 (0:00:00.092) 0:00:34.732 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:26:25 -0400 (0:00:00.129) 0:00:34.862 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:26:25 -0400 (0:00:00.072) 0:00:34.934 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:26:26 -0400 (0:00:00.580) 0:00:35.515 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16389zIQKOQ/tmppWcS05" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:26:26 -0400 (0:00:00.511) 0:00:36.026 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:26:27 -0400 (0:00:00.793) 0:00:36.820 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:26:27 -0400 (0:00:00.123) 0:00:36.943 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:26:27 -0400 (0:00:00.134) 0:00:37.078 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:26:27 -0400 (0:00:00.148) 0:00:37.227 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:26:27 -0400 (0:00:00.114) 0:00:37.341 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 07 October 2024 08:26:28 -0400 (0:00:00.788) 0:00:38.130 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:26:28 -0400 (0:00:00.192) 0:00:38.323 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:26:29 -0400 (0:00:00.249) 0:00:38.572 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:26:29 -0400 (0:00:00.193) 0:00:38.766 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:26:30 -0400 (0:00:00.616) 0:00:39.383 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 07 October 2024 08:26:30 -0400 (0:00:00.222) 0:00:39.606 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:26:30 -0400 (0:00:00.243) 0:00:39.849 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:26:30 -0400 (0:00:00.140) 0:00:39.990 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728303987.2451055, "block_size": 4096, "blocks": 8, "ctime": 1728303987.2451055, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22461, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728303987.2451055, "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:26:31 -0400 (0:00:00.585) 0:00:40.576 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:26:31 -0400 (0:00:00.148) 0:00:40.724 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020897", "end": "2024-10-07 08:26:31.632427", "rc": 1, "start": "2024-10-07 08:26:31.611530" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:26:31 -0400 (0:00:00.482) 0:00:41.207 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:26:32 -0400 (0:00:00.219) 0:00:41.426 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003013", "end": "2024-10-07 08:26:32.419236", "rc": 0, "start": "2024-10-07 08:26:32.416223" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:26:32 -0400 (0:00:00.517) 0:00:41.944 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:26:32 -0400 (0:00:00.141) 0:00:42.085 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002967", "end": "2024-10-07 08:26:33.008322", "rc": 0, "start": "2024-10-07 08:26:33.005355" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:26:33 -0400 (0:00:00.524) 0:00:42.610 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 07 October 2024 08:26:33 -0400 (0:00:00.141) 0:00:42.751 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 07 October 2024 08:26:33 -0400 (0:00:00.166) 0:00:42.918 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 07 October 2024 08:26:33 -0400 (0:00:00.117) 0:00:43.035 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:26:33 -0400 (0:00:00.117) 0:00:43.153 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:26:33 -0400 (0:00:00.104) 0:00:43.257 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:26:34 -0400 (0:00:00.130) 0:00:43.388 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:26:34 -0400 (0:00:00.471) 0:00:43.860 ******** 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.039087", "end": "2024-10-07 08:26:34.844231", "rc": 1, "start": "2024-10-07 08:26:34.805144" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 07 October 2024 08:26:35 -0400 (0:00:00.560) 0:00:44.420 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:26:35 -0400 (0:00:00.251) 0:00:44.671 ******** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:26:35 -0400 (0:00:00.112) 0:00:44.784 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:26:35 -0400 (0:00:00.199) 0:00:44.984 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:26:35 -0400 (0:00:00.190) 0:00:45.175 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:26:36 -0400 (0:00:00.212) 0:00:45.387 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003259", "end": "2024-10-07 08:26:36.408136", "rc": 0, "start": "2024-10-07 08:26:36.404877" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:26:36 -0400 (0:00:00.562) 0:00:45.950 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:26:36 -0400 (0:00:00.170) 0:00:46.121 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:26:36 -0400 (0:00:00.112) 0:00:46.233 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:26:37 -0400 (0:00:00.245) 0:00:46.478 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:26:37 -0400 (0:00:00.199) 0:00:46.678 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:26:37 -0400 (0:00:00.266) 0:00:46.944 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:26:37 -0400 (0:00:00.110) 0:00:47.055 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:26:37 -0400 (0:00:00.086) 0:00:47.141 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:37 -0400 (0:00:00.107) 0:00:47.249 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:26:38 -0400 (0:00:00.949) 0:00:48.198 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:26:40 -0400 (0:00:01.331) 0:00:49.530 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:26:40 -0400 (0:00:00.188) 0:00:49.719 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:26:40 -0400 (0:00:00.190) 0:00:49.909 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:26:40 -0400 (0:00:00.146) 0:00:50.056 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:26:40 -0400 (0:00:00.247) 0:00:50.304 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:26:41 -0400 (0:00:00.105) 0:00:50.410 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:26:41 -0400 (0:00:00.120) 0:00:50.530 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:26:41 -0400 (0:00:00.123) 0:00:50.653 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:26:41 -0400 (0:00:00.166) 0:00:50.820 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:26:41 -0400 (0:00:00.095) 0:00:50.916 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:26:41 -0400 (0:00:00.074) 0:00:50.990 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:26:41 -0400 (0:00:00.102) 0:00:51.093 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:26:41 -0400 (0:00:00.126) 0:00:51.219 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:26:41 -0400 (0:00:00.117) 0:00:51.337 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:26:42 -0400 (0:00:00.723) 0:00:52.060 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16389zIQKOQ/tmpCVUsxy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:26:43 -0400 (0:00:00.602) 0:00:52.662 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:26:44 -0400 (0:00:00.820) 0:00:53.483 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:26:44 -0400 (0:00:00.080) 0:00:53.563 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:26:44 -0400 (0:00:00.106) 0:00:53.670 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:26:44 -0400 (0:00:00.121) 0:00:53.791 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:26:44 -0400 (0:00:00.123) 0:00:53.914 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:26:45 -0400 (0:00:00.607) 0:00:54.522 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:26:45 -0400 (0:00:00.124) 0:00:54.647 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:26:45 -0400 (0:00:00.182) 0:00:54.830 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:26:45 -0400 (0:00:00.155) 0:00:54.985 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:26:45 -0400 (0:00:00.270) 0:00:55.255 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:26:46 -0400 (0:00:00.234) 0:00:55.490 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:26:46 -0400 (0:00:00.159) 0:00:55.649 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:46 -0400 (0:00:00.130) 0:00:55.780 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:26:47 -0400 (0:00:00.942) 0:00:56.722 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:26:48 -0400 (0:00:01.508) 0:00:58.231 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:26:48 -0400 (0:00:00.117) 0:00:58.348 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:26:49 -0400 (0:00:00.096) 0:00:58.445 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:26:49 -0400 (0:00:00.102) 0:00:58.548 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:26:49 -0400 (0:00:00.077) 0:00:58.625 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:26:49 -0400 (0:00:00.079) 0:00:58.705 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:26:49 -0400 (0:00:00.127) 0:00:58.832 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:26:49 -0400 (0:00:00.133) 0:00:58.966 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:26:49 -0400 (0:00:00.240) 0:00:59.206 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:26:49 -0400 (0:00:00.118) 0:00:59.324 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:26:50 -0400 (0:00:00.113) 0:00:59.438 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:26:50 -0400 (0:00:00.127) 0:00:59.565 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:26:50 -0400 (0:00:00.184) 0:00:59.750 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:26:50 -0400 (0:00:00.134) 0:00:59.884 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:26:51 -0400 (0:00:00.622) 0:01:00.507 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16389zIQKOQ/tmphWAYLm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:26:51 -0400 (0:00:00.606) 0:01:01.113 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:26:52 -0400 (0:00:00.992) 0:01:02.106 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:26:52 -0400 (0:00:00.104) 0:01:02.210 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:26:52 -0400 (0:00:00.122) 0:01:02.333 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:26:53 -0400 (0:00:00.136) 0:01:02.469 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:26:53 -0400 (0:00:00.115) 0:01:02.585 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:26:53 -0400 (0:00:00.545) 0:01:03.130 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 07 October 2024 08:26:53 -0400 (0:00:00.208) 0:01:03.339 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:26:54 -0400 (0:00:00.139) 0:01:03.479 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728304012.5413885, "block_size": 4096, "blocks": 0, "ctime": 1728304012.5403886, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17657, "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": 1728304012.5403886, "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 07 October 2024 08:26:54 -0400 (0:00:00.465) 0:01:03.944 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 07 October 2024 08:26:54 -0400 (0:00:00.131) 0:01:04.076 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:26:54 -0400 (0:00:00.215) 0:01:04.291 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:26:55 -0400 (0:00:00.122) 0:01:04.414 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728304012.3873868, "block_size": 4096, "blocks": 8, "ctime": 1728304003.9742928, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22461, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728304003.9742928, "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:26:55 -0400 (0:00:00.533) 0:01:04.947 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:26:55 -0400 (0:00:00.184) 0:01:05.132 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021241", "end": "2024-10-07 08:26:56.032517", "rc": 1, "start": "2024-10-07 08:26:56.011276" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:26:56 -0400 (0:00:00.352) 0:01:05.484 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:26:56 -0400 (0:00:00.075) 0:01:05.559 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003068", "end": "2024-10-07 08:26:56.596178", "rc": 0, "start": "2024-10-07 08:26:56.593110" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:26:56 -0400 (0:00:00.578) 0:01:06.138 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:26:56 -0400 (0:00:00.173) 0:01:06.312 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003055", "end": "2024-10-07 08:26:57.245939", "rc": 0, "start": "2024-10-07 08:26:57.242884" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:26:57 -0400 (0:00:00.433) 0:01:06.746 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 07 October 2024 08:26:57 -0400 (0:00:00.141) 0:01:06.887 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 07 October 2024 08:26:57 -0400 (0:00:00.119) 0:01:07.007 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 07 October 2024 08:26:57 -0400 (0:00:00.232) 0:01:07.240 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:26:58 -0400 (0:00:00.209) 0:01:07.449 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:26:58 -0400 (0:00:00.179) 0:01:07.629 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:26:58 -0400 (0:00:00.184) 0:01:07.814 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:26:58 -0400 (0:00:00.232) 0:01:08.047 ******** 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.046421", "end": "2024-10-07 08:26:59.229760", "rc": 0, "start": "2024-10-07 08:26:59.183339" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 07 October 2024 08:26:59 -0400 (0:00:00.696) 0:01:08.743 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:26:59 -0400 (0:00:00.304) 0:01:09.048 ******** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:26:59 -0400 (0:00:00.141) 0:01:09.189 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:27:00 -0400 (0:00:00.219) 0:01:09.409 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:27:00 -0400 (0:00:00.206) 0:01:09.615 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:27:00 -0400 (0:00:00.209) 0:01:09.825 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003288", "end": "2024-10-07 08:27:00.742752", "rc": 0, "start": "2024-10-07 08:27:00.739464" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:27:01 -0400 (0:00:00.553) 0:01:10.379 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:27:01 -0400 (0:00:00.153) 0:01:10.533 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:27:01 -0400 (0:00:00.124) 0:01:10.657 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:27:01 -0400 (0:00:00.223) 0:01:10.881 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:01 -0400 (0:00:00.161) 0:01:11.043 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:01 -0400 (0:00:00.146) 0:01:11.189 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:01 -0400 (0:00:00.105) 0:01:11.295 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:02 -0400 (0:00:00.111) 0:01:11.406 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:02 -0400 (0:00:00.206) 0:01:11.613 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:03 -0400 (0:00:00.929) 0:01:12.543 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:04 -0400 (0:00:01.256) 0:01:13.799 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:04 -0400 (0:00:00.079) 0:01:13.879 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:04 -0400 (0:00:00.085) 0:01:13.964 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:04 -0400 (0:00:00.117) 0:01:14.081 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:04 -0400 (0:00:00.114) 0:01:14.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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:04 -0400 (0:00:00.121) 0:01:14.317 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:05 -0400 (0:00:00.122) 0:01:14.439 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:05 -0400 (0:00:00.189) 0:01:14.629 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:05 -0400 (0:00:00.190) 0:01:14.820 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:05 -0400 (0:00:00.116) 0:01:14.936 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:05 -0400 (0:00:00.116) 0:01:15.053 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:05 -0400 (0:00:00.120) 0:01:15.174 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:05 -0400 (0:00:00.113) 0:01:15.287 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:06 -0400 (0:00:00.089) 0:01:15.377 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:06 -0400 (0:00:00.524) 0:01:15.901 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16389zIQKOQ/tmpoaUfQf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:06 -0400 (0:00:00.426) 0:01:16.328 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:07 -0400 (0:00:00.754) 0:01:17.082 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:07 -0400 (0:00:00.224) 0:01:17.306 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:08 -0400 (0:00:00.216) 0:01:17.523 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:08 -0400 (0:00:00.199) 0:01:17.722 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:08 -0400 (0:00:00.160) 0:01:17.883 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:27:09 -0400 (0:00:00.559) 0:01:18.442 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:27:09 -0400 (0:00:00.164) 0:01:18.607 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:09 -0400 (0:00:00.280) 0:01:18.887 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:09 -0400 (0:00:00.219) 0:01:19.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 : Check if system is ostree] *********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:09 -0400 (0:00:00.102) 0:01:19.210 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:09 -0400 (0:00:00.077) 0:01:19.287 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:10 -0400 (0:00:00.114) 0:01:19.402 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:11 -0400 (0:00:00.985) 0:01:20.388 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:12 -0400 (0:00:01.560) 0:01:21.948 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:12 -0400 (0:00:00.168) 0:01:22.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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:12 -0400 (0:00:00.226) 0:01:22.343 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:13 -0400 (0:00:00.104) 0:01:22.448 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:13 -0400 (0:00:00.117) 0:01:22.565 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:13 -0400 (0:00:00.151) 0:01:22.717 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:13 -0400 (0:00:00.130) 0:01:22.848 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:13 -0400 (0:00:00.150) 0:01:22.999 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:13 -0400 (0:00:00.272) 0:01:23.271 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:14 -0400 (0:00:00.113) 0:01:23.385 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:14 -0400 (0:00:00.134) 0:01:23.520 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:14 -0400 (0:00:00.158) 0:01:23.679 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:14 -0400 (0:00:00.116) 0:01:23.796 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:14 -0400 (0:00:00.101) 0:01:23.897 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:20 -0400 (0:00:05.742) 0:01:29.640 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16389zIQKOQ/tmpKAsNdN" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:20 -0400 (0:00:00.483) 0:01:30.123 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:21 -0400 (0:00:01.220) 0:01:31.343 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:22 -0400 (0:00:00.141) 0:01:31.485 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:22 -0400 (0:00:00.147) 0:01:31.633 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:22 -0400 (0:00:00.159) 0:01:31.792 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:22 -0400 (0:00:00.168) 0:01:31.960 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:27:23 -0400 (0:00:00.423) 0:01:32.384 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 07 October 2024 08:27:23 -0400 (0:00:00.255) 0:01:32.640 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:23 -0400 (0:00:00.276) 0:01:32.916 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:24 -0400 (0:00:00.483) 0:01:33.400 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:24 -0400 (0:00:00.198) 0:01:33.599 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:24 -0400 (0:00:00.153) 0:01:33.753 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:24 -0400 (0:00:00.119) 0:01:33.872 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:25 -0400 (0:00:00.914) 0:01:34.787 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:26 -0400 (0:00:01.462) 0:01:36.249 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:27 -0400 (0:00:00.119) 0:01:36.368 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:27 -0400 (0:00:00.215) 0:01:36.584 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:27 -0400 (0:00:00.219) 0:01:36.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 DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:27 -0400 (0:00:00.316) 0:01:37.120 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:27 -0400 (0:00:00.137) 0:01:37.257 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:28 -0400 (0:00:00.120) 0:01:37.377 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:28 -0400 (0:00:00.133) 0:01:37.511 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:28 -0400 (0:00:00.317) 0:01:37.828 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:28 -0400 (0:00:00.125) 0:01:37.954 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:28 -0400 (0:00:00.114) 0:01:38.069 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:28 -0400 (0:00:00.134) 0:01:38.203 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:28 -0400 (0:00:00.132) 0:01:38.335 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:29 -0400 (0:00:00.126) 0:01:38.462 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:29 -0400 (0:00:00.656) 0:01:39.118 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16389zIQKOQ/tmpA4Md1W" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:30 -0400 (0:00:00.481) 0:01:39.600 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:30 -0400 (0:00:00.702) 0:01:40.303 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:31 -0400 (0:00:00.111) 0:01:40.414 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:31 -0400 (0:00:00.147) 0:01:40.561 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:31 -0400 (0:00:00.121) 0:01:40.682 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:31 -0400 (0:00:00.114) 0:01:40.797 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:27:31 -0400 (0:00:00.489) 0:01:41.287 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 07 October 2024 08:27:32 -0400 (0:00:00.260) 0:01:41.547 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:27:32 -0400 (0:00:00.250) 0:01:41.798 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728304041.7867148, "block_size": 4096, "blocks": 0, "ctime": 1728304041.7817147, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17657, "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": 1728304041.7817147, "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 07 October 2024 08:27:33 -0400 (0:00:00.804) 0:01:42.602 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 07 October 2024 08:27:33 -0400 (0:00:00.164) 0:01:42.766 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:27:33 -0400 (0:00:00.265) 0:01:43.032 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:27:33 -0400 (0:00:00.172) 0:01:43.205 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:27:34 -0400 (0:00:00.380) 0:01:43.585 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:27:34 -0400 (0:00:00.072) 0:01:43.658 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020262", "end": "2024-10-07 08:27:34.592351", "rc": 1, "start": "2024-10-07 08:27:34.572089" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:27:34 -0400 (0:00:00.410) 0:01:44.068 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:27:34 -0400 (0:00:00.103) 0:01:44.172 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:27:34 -0400 (0:00:00.116) 0:01:44.289 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:27:35 -0400 (0:00:00.097) 0:01:44.386 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:27:35 -0400 (0:00:00.096) 0:01:44.483 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 07 October 2024 08:27:35 -0400 (0:00:00.148) 0:01:44.631 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:27:35 -0400 (0:00:00.080) 0:01:44.712 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:27:35 -0400 (0:00:00.066) 0:01:44.779 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:27:35 -0400 (0:00:00.107) 0:01:44.887 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:27:35 -0400 (0:00:00.216) 0:01:45.103 ******** 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.046206", "end": "2024-10-07 08:27:36.104819", "rc": 0, "start": "2024-10-07 08:27:36.058613" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 07 October 2024 08:27:36 -0400 (0:00:00.624) 0:01:45.727 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:27:36 -0400 (0:00:00.345) 0:01:46.073 ******** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:27:36 -0400 (0:00:00.150) 0:01:46.223 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:27:37 -0400 (0:00:00.261) 0:01:46.484 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:27:37 -0400 (0:00:00.200) 0:01:46.685 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:27:37 -0400 (0:00:00.239) 0:01:46.924 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004226", "end": "2024-10-07 08:27:39.073897", "rc": 0, "start": "2024-10-07 08:27:38.069671" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:27:39 -0400 (0:00:01.670) 0:01:48.595 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:27:39 -0400 (0:00:00.093) 0:01:48.688 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:27:39 -0400 (0:00:00.136) 0:01:48.824 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:27:39 -0400 (0:00:00.268) 0:01:49.093 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:39 -0400 (0:00:00.202) 0:01:49.295 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:40 -0400 (0:00:00.287) 0:01:49.583 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:40 -0400 (0:00:00.133) 0:01:49.717 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:40 -0400 (0:00:00.088) 0:01:49.805 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:40 -0400 (0:00:00.071) 0:01:49.876 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:41 -0400 (0:00:00.960) 0:01:50.836 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:42 -0400 (0:00:01.423) 0:01:52.259 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:42 -0400 (0:00:00.092) 0:01:52.352 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:43 -0400 (0:00:00.110) 0:01:52.462 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:43 -0400 (0:00:00.116) 0:01:52.578 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:43 -0400 (0:00:00.111) 0:01:52.690 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:43 -0400 (0:00:00.116) 0:01:52.806 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:43 -0400 (0:00:00.128) 0:01:52.935 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:43 -0400 (0:00:00.100) 0:01:53.035 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:43 -0400 (0:00:00.182) 0:01:53.218 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:43 -0400 (0:00:00.101) 0:01:53.319 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:44 -0400 (0:00:00.113) 0:01:53.432 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:44 -0400 (0:00:00.122) 0:01:53.554 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:44 -0400 (0:00:00.114) 0:01:53.668 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:44 -0400 (0:00:00.114) 0:01:53.783 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:45 -0400 (0:00:00.660) 0:01:54.443 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16389zIQKOQ/tmpoYmd_Y" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:45 -0400 (0:00:00.425) 0:01:54.869 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:46 -0400 (0:00:00.721) 0:01:55.590 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:46 -0400 (0:00:00.115) 0:01:55.706 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:46 -0400 (0:00:00.095) 0:01:55.801 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:46 -0400 (0:00:00.098) 0:01:55.900 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:46 -0400 (0:00:00.083) 0:01:55.983 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:27:47 -0400 (0:00:00.420) 0:01:56.404 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:27:47 -0400 (0:00:00.140) 0:01:56.545 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:47 -0400 (0:00:00.234) 0:01:56.779 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:47 -0400 (0:00:00.188) 0:01:56.968 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:47 -0400 (0:00:00.148) 0:01:57.116 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:47 -0400 (0:00:00.113) 0:01:57.229 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:47 -0400 (0:00:00.115) 0:01:57.345 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:49 -0400 (0:00:01.300) 0:01:58.646 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:50 -0400 (0:00:01.548) 0:02:00.195 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:51 -0400 (0:00:00.238) 0:02:00.433 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:51 -0400 (0:00:00.135) 0:02:00.569 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:51 -0400 (0:00:00.151) 0:02:00.720 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:51 -0400 (0:00:00.100) 0:02:00.820 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:51 -0400 (0:00:00.103) 0:02:00.924 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:51 -0400 (0:00:00.117) 0:02:01.041 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:51 -0400 (0:00:00.129) 0:02:01.171 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:52 -0400 (0:00:00.205) 0:02:01.377 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:52 -0400 (0:00:00.110) 0:02:01.487 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:52 -0400 (0:00:00.128) 0:02:01.616 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:52 -0400 (0:00:00.257) 0:02:01.874 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:52 -0400 (0:00:00.136) 0:02:02.010 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:52 -0400 (0:00:00.121) 0:02:02.132 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:53 -0400 (0:00:00.769) 0:02:02.901 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16389zIQKOQ/tmpEI9D1S" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:54 -0400 (0:00:00.605) 0:02:03.507 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:55 -0400 (0:00:00.984) 0:02:04.492 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:55 -0400 (0:00:00.114) 0:02:04.607 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:55 -0400 (0:00:00.124) 0:02:04.732 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:55 -0400 (0:00:00.104) 0:02:04.836 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:55 -0400 (0:00:00.075) 0:02:04.911 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 07 October 2024 08:27:55 -0400 (0:00:00.329) 0:02:05.241 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:56 -0400 (0:00:00.153) 0:02:05.395 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:56 -0400 (0:00:00.252) 0:02:05.647 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:56 -0400 (0:00:00.327) 0:02:05.975 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:56 -0400 (0:00:00.125) 0:02:06.101 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:56 -0400 (0:00:00.104) 0:02:06.205 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:57 -0400 (0:00:01.020) 0:02:07.226 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:59 -0400 (0:00:01.723) 0:02:08.950 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:59 -0400 (0:00:00.127) 0:02:09.078 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:59 -0400 (0:00:00.160) 0:02:09.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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:59 -0400 (0:00:00.120) 0:02:09.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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:28:00 -0400 (0:00:00.098) 0:02:09.457 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:28:00 -0400 (0:00:00.103) 0:02:09.560 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:28:00 -0400 (0:00:00.157) 0:02:09.718 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:28:00 -0400 (0:00:00.129) 0:02:09.847 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:28:00 -0400 (0:00:00.437) 0:02:10.285 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:28:01 -0400 (0:00:00.122) 0:02:10.407 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:28:01 -0400 (0:00:00.114) 0:02:10.522 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:28:01 -0400 (0:00:00.142) 0:02:10.665 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:28:01 -0400 (0:00:00.113) 0:02:10.779 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:28:01 -0400 (0:00:00.120) 0:02:10.899 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:28:02 -0400 (0:00:00.838) 0:02:11.737 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16389zIQKOQ/tmpj3WI9O" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:28:02 -0400 (0:00:00.497) 0:02:12.235 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:28:03 -0400 (0:00:00.738) 0:02:12.973 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:28:03 -0400 (0:00:00.149) 0:02:13.123 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:28:03 -0400 (0:00:00.118) 0:02:13.242 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:28:04 -0400 (0:00:00.122) 0:02:13.364 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:28:04 -0400 (0:00:00.124) 0:02:13.489 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:28:04 -0400 (0:00:00.415) 0:02:13.905 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 07 October 2024 08:28:04 -0400 (0:00:00.295) 0:02:14.201 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:28:05 -0400 (0:00:00.237) 0:02:14.438 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:28:05 -0400 (0:00:00.238) 0:02:14.677 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:28:05 -0400 (0:00:00.147) 0:02:14.825 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:28:05 -0400 (0:00:00.115) 0:02:14.940 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:28:05 -0400 (0:00:00.216) 0:02:15.157 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:28:07 -0400 (0:00:01.304) 0:02:16.461 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:28:08 -0400 (0:00:01.611) 0:02:18.072 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:28:08 -0400 (0:00:00.132) 0:02:18.205 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:28:09 -0400 (0:00:00.199) 0:02:18.405 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:28:09 -0400 (0:00:00.119) 0:02:18.524 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:28:09 -0400 (0:00:00.107) 0:02:18.632 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:28:09 -0400 (0:00:00.104) 0:02:18.736 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:28:09 -0400 (0:00:00.138) 0:02:18.874 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:28:09 -0400 (0:00:00.117) 0:02:18.992 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:28:09 -0400 (0:00:00.182) 0:02:19.175 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:28:09 -0400 (0:00:00.113) 0:02:19.288 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:28:10 -0400 (0:00:00.115) 0:02:19.404 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:28:10 -0400 (0:00:00.127) 0:02:19.531 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:28:10 -0400 (0:00:00.123) 0:02:19.655 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:28:10 -0400 (0:00:00.184) 0:02:19.839 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:28:11 -0400 (0:00:00.675) 0:02:20.515 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16389zIQKOQ/tmpIVIIN6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:28:11 -0400 (0:00:00.473) 0:02:20.988 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:28:12 -0400 (0:00:00.710) 0:02:21.699 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:28:12 -0400 (0:00:00.104) 0:02:21.804 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:28:12 -0400 (0:00:00.129) 0:02:21.934 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:28:12 -0400 (0:00:00.197) 0:02:22.132 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:28:12 -0400 (0:00:00.104) 0:02:22.236 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:28:13 -0400 (0:00:00.448) 0:02:22.685 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 07 October 2024 08:28:13 -0400 (0:00:00.214) 0:02:22.899 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:28:13 -0400 (0:00:00.245) 0:02:23.144 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:28:13 -0400 (0:00:00.125) 0:02:23.270 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:28:14 -0400 (0:00:00.697) 0:02:23.968 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:28:14 -0400 (0:00:00.113) 0:02:24.081 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020000", "end": "2024-10-07 08:28:15.036025", "rc": 1, "start": "2024-10-07 08:28:15.016025" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:28:15 -0400 (0:00:00.480) 0:02:24.562 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:28:15 -0400 (0:00:00.115) 0:02:24.678 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:28:15 -0400 (0:00:00.124) 0:02:24.803 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:28:15 -0400 (0:00:00.119) 0:02:24.922 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:28:15 -0400 (0:00:00.116) 0:02:25.038 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 07 October 2024 08:28:15 -0400 (0:00:00.132) 0:02:25.171 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:28:15 -0400 (0:00:00.129) 0:02:25.300 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:28:16 -0400 (0:00:00.266) 0:02:25.567 ******** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:28:16 -0400 (0:00:00.130) 0:02:25.698 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:28:16 -0400 (0:00:00.208) 0:02:25.906 ******** 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.045108", "end": "2024-10-07 08:28:16.834762", "rc": 0, "start": "2024-10-07 08:28:16.789654" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 07 October 2024 08:28:17 -0400 (0:00:00.474) 0:02:26.381 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:28:17 -0400 (0:00:00.236) 0:02:26.617 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:28:17 -0400 (0:00:00.115) 0:02:26.733 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:28:17 -0400 (0:00:00.182) 0:02:26.915 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:28:17 -0400 (0:00:00.188) 0:02:27.104 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:28:18 -0400 (0:00:00.328) 0:02:27.433 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002963", "end": "2024-10-07 08:28:18.539551", "rc": 0, "start": "2024-10-07 08:28:18.536588" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:28:18 -0400 (0:00:00.588) 0:02:28.021 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:28:18 -0400 (0:00:00.083) 0:02:28.105 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:28:18 -0400 (0:00:00.143) 0:02:28.248 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:28:19 -0400 (0:00:00.333) 0:02:28.582 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:28:19 -0400 (0:00:00.238) 0:02:28.820 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:28:19 -0400 (0:00:00.237) 0:02:29.058 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:28:19 -0400 (0:00:00.181) 0:02:29.240 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:28:20 -0400 (0:00:00.140) 0:02:29.381 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:28:20 -0400 (0:00:00.144) 0:02:29.525 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:28:21 -0400 (0:00:01.089) 0:02:30.614 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:28:22 -0400 (0:00:01.301) 0:02:31.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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:28:22 -0400 (0:00:00.119) 0:02:32.035 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:28:22 -0400 (0:00:00.197) 0:02:32.232 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:28:22 -0400 (0:00:00.114) 0:02:32.347 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:28:23 -0400 (0:00:00.117) 0:02:32.464 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:28:23 -0400 (0:00:00.109) 0:02:32.573 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:28:23 -0400 (0:00:00.129) 0:02:32.703 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:28:23 -0400 (0:00:00.171) 0:02:32.875 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:28:23 -0400 (0:00:00.203) 0:02:33.079 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:28:23 -0400 (0:00:00.131) 0:02:33.211 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:28:24 -0400 (0:00:00.156) 0:02:33.368 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:28:24 -0400 (0:00:00.148) 0:02:33.516 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:28:24 -0400 (0:00:00.117) 0:02:33.634 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:28:24 -0400 (0:00:00.120) 0:02:33.755 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:28:25 -0400 (0:00:00.619) 0:02:34.374 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16389zIQKOQ/tmpcWcSaL" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:28:25 -0400 (0:00:00.373) 0:02:34.748 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:28:26 -0400 (0:00:00.659) 0:02:35.408 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:28:26 -0400 (0:00:00.117) 0:02:35.526 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:28:26 -0400 (0:00:00.124) 0:02:35.650 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:28:26 -0400 (0:00:00.200) 0:02:35.851 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:28:26 -0400 (0:00:00.125) 0:02:35.976 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:28:27 -0400 (0:00:00.396) 0:02:36.373 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:28:27 -0400 (0:00:00.094) 0:02:36.467 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:28:27 -0400 (0:00:00.130) 0:02:36.598 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:28:27 -0400 (0:00:00.146) 0:02:36.744 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:28:27 -0400 (0:00:00.135) 0:02:36.880 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:28:27 -0400 (0:00:00.123) 0:02:37.003 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:28:27 -0400 (0:00:00.095) 0:02:37.099 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:28:28 -0400 (0:00:00.929) 0:02:38.029 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:28:30 -0400 (0:00:01.518) 0:02:39.548 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:28:30 -0400 (0:00:00.119) 0:02:39.667 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:28:30 -0400 (0:00:00.131) 0:02:39.799 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:28:30 -0400 (0:00:00.122) 0:02:39.921 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:28:30 -0400 (0:00:00.182) 0:02:40.104 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:28:30 -0400 (0:00:00.167) 0:02:40.271 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:28:31 -0400 (0:00:00.168) 0:02:40.440 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:28:31 -0400 (0:00:00.119) 0:02:40.559 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:28:31 -0400 (0:00:00.145) 0:02:40.705 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:28:31 -0400 (0:00:00.083) 0:02:40.789 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:28:31 -0400 (0:00:00.129) 0:02:40.918 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:28:31 -0400 (0:00:00.170) 0:02:41.089 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:28:31 -0400 (0:00:00.162) 0:02:41.251 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:28:32 -0400 (0:00:00.121) 0:02:41.372 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:28:32 -0400 (0:00:00.751) 0:02:42.124 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16389zIQKOQ/tmpxKmoDM" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:28:33 -0400 (0:00:00.402) 0:02:42.526 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:28:34 -0400 (0:00:00.871) 0:02:43.398 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:28:34 -0400 (0:00:00.117) 0:02:43.515 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:28:34 -0400 (0:00:00.139) 0:02:43.654 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:28:34 -0400 (0:00:00.140) 0:02:43.794 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:28:34 -0400 (0:00:00.126) 0:02:43.921 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 07 October 2024 08:28:35 -0400 (0:00:00.522) 0:02:44.444 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:28:35 -0400 (0:00:00.237) 0:02:44.682 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:28:35 -0400 (0:00:00.246) 0:02:44.928 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:28:35 -0400 (0:00:00.148) 0:02:45.077 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:28:35 -0400 (0:00:00.088) 0:02:45.166 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:28:35 -0400 (0:00:00.091) 0:02:45.257 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:28:37 -0400 (0:00:01.205) 0:02:46.463 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:28:38 -0400 (0:00:01.405) 0:02:47.868 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:28:38 -0400 (0:00:00.126) 0:02:47.995 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:28:38 -0400 (0:00:00.120) 0:02:48.115 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:28:38 -0400 (0:00:00.139) 0:02:48.254 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:28:39 -0400 (0:00:00.184) 0:02:48.439 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:28:39 -0400 (0:00:00.129) 0:02:48.569 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:28:39 -0400 (0:00:00.163) 0:02:48.732 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:28:39 -0400 (0:00:00.123) 0:02:48.856 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:28:39 -0400 (0:00:00.303) 0:02:49.160 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:28:39 -0400 (0:00:00.128) 0:02:49.288 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:28:40 -0400 (0:00:00.139) 0:02:49.428 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:28:40 -0400 (0:00:00.185) 0:02:49.613 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:28:40 -0400 (0:00:00.117) 0:02:49.731 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:28:40 -0400 (0:00:00.122) 0:02:49.853 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:28:41 -0400 (0:00:00.610) 0:02:50.463 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16389zIQKOQ/tmpM1Br8D" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:28:41 -0400 (0:00:00.475) 0:02:50.938 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:28:42 -0400 (0:00:00.954) 0:02:51.893 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:28:42 -0400 (0:00:00.120) 0:02:52.013 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:28:42 -0400 (0:00:00.118) 0:02:52.132 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:28:42 -0400 (0:00:00.138) 0:02:52.270 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:28:43 -0400 (0:00:00.146) 0:02:52.416 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:28:43 -0400 (0:00:00.339) 0:02:52.756 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 07 October 2024 08:28:43 -0400 (0:00:00.187) 0:02:52.944 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:28:43 -0400 (0:00:00.195) 0:02:53.139 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:28:44 -0400 (0:00:00.225) 0:02:53.364 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:28:44 -0400 (0:00:00.101) 0:02:53.466 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:28:44 -0400 (0:00:00.107) 0:02:53.574 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:28:44 -0400 (0:00:00.098) 0:02:53.672 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:28:45 -0400 (0:00:00.911) 0:02:54.584 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:28:46 -0400 (0:00:01.213) 0:02:55.797 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:28:46 -0400 (0:00:00.118) 0:02:55.915 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:28:46 -0400 (0:00:00.112) 0:02:56.028 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:28:46 -0400 (0:00:00.150) 0:02:56.179 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:28:46 -0400 (0:00:00.077) 0:02:56.257 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:28:46 -0400 (0:00:00.073) 0:02:56.330 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:28:47 -0400 (0:00:00.082) 0:02:56.412 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:28:47 -0400 (0:00:00.088) 0:02:56.501 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:28:47 -0400 (0:00:00.181) 0:02:56.683 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:28:47 -0400 (0:00:00.122) 0:02:56.806 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:28:47 -0400 (0:00:00.111) 0:02:56.918 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:28:47 -0400 (0:00:00.149) 0:02:57.067 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:28:47 -0400 (0:00:00.089) 0:02:57.156 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:28:47 -0400 (0:00:00.082) 0:02:57.239 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:28:48 -0400 (0:00:00.552) 0:02:57.792 ******** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16389zIQKOQ/tmpHw7fWH" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:28:48 -0400 (0:00:00.477) 0:02:58.270 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:28:49 -0400 (0:00:00.767) 0:02:59.037 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:28:49 -0400 (0:00:00.126) 0:02:59.163 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:28:49 -0400 (0:00:00.118) 0:02:59.282 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:28:50 -0400 (0:00:00.174) 0:02:59.456 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:28:50 -0400 (0:00:00.081) 0:02:59.537 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:28:50 -0400 (0:00:00.364) 0:02:59.902 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 07 October 2024 08:28:50 -0400 (0:00:00.205) 0:03:00.108 ******** included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:28:51 -0400 (0:00:00.420) 0:03:00.528 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:28:51 -0400 (0:00:00.123) 0:03:00.652 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:28:51 -0400 (0:00:00.576) 0:03:01.228 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:28:51 -0400 (0:00:00.100) 0:03:01.328 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020738", "end": "2024-10-07 08:28:52.231257", "rc": 1, "start": "2024-10-07 08:28:52.210519" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:28:52 -0400 (0:00:00.355) 0:03:01.684 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:28:52 -0400 (0:00:00.098) 0:03:01.782 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:28:52 -0400 (0:00:00.115) 0:03:01.898 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:28:52 -0400 (0:00:00.116) 0:03:02.014 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:28:52 -0400 (0:00:00.132) 0:03:02.146 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 07 October 2024 08:28:52 -0400 (0:00:00.127) 0:03:02.273 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 07 October 2024 08:28:53 -0400 (0:00:00.156) 0:03:02.429 ******** [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.604275", "end": "2024-10-07 08:28:53.968230", "rc": 0, "start": "2024-10-07 08:28:53.363955" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 07 October 2024 08:28:54 -0400 (0:00:01.099) 0:03:03.529 ******** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 07 October 2024 08:28:54 -0400 (0:00:00.156) 0:03:03.685 ******** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:28:54 -0400 (0:00:00.281) 0:03:03.967 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:28:54 -0400 (0:00:00.212) 0:03:04.179 ******** 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:28:55 -0400 (0:00:00.199) 0:03:04.379 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:28:55 -0400 (0:00:00.362) 0:03:04.741 ******** 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.045882", "end": "2024-10-07 08:28:55.871816", "rc": 0, "start": "2024-10-07 08:28:55.825934" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 07 October 2024 08:28:55 -0400 (0:00:00.611) 0:03:05.353 ******** 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.006841", "end": "2024-10-07 08:28:56.254285", "rc": 0, "start": "2024-10-07 08:28:56.247444" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:0f:85:a9:80:c5 brd ff:ff:ff:ff:ff:ff inet 10.31.11.207/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3091sec preferred_lft 3091sec inet6 fe80::100f:85ff:fea9:80c5/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 92:71:23:2d:d8:ca brd ff:ff:ff:ff:ff:ff 24: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 8a:d4:b6:f0:26:10 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::88d4:b6ff:fef0:2610/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.207 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 07 October 2024 08:28:56 -0400 (0:00:00.411) 0:03:05.765 ******** 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.816061", "end": "2024-10-07 08:28:57.513955", "rc": 0, "start": "2024-10-07 08:28:56.697894" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 787 0 --:--:-- --:--:-- --:--:-- 786 % 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 710 0 --:--:-- --:--:-- --:--:-- 711 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=338 changed=14 unreachable=0 failed=0 skipped=284 rescued=0 ignored=10 Monday 07 October 2024 08:28:57 -0400 (0:00:01.155) 0:03:06.920 ******** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.72s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.67s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-H8T/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-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.38s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.33s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.33s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.30s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.30s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.30s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.26s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.21s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21