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-Flp/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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Thursday 03 October 2024 23:56:20 -0400 (0:00:00.049) 0:00:00.049 ****** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Thursday 03 October 2024 23:56:21 -0400 (0:00:01.053) 0:00:01.103 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 03 October 2024 23:56:21 -0400 (0:00:00.183) 0:00:01.287 ****** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 03 October 2024 23:56:22 -0400 (0:00:00.519) 0:00:01.806 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 03 October 2024 23:56:22 -0400 (0:00:00.535) 0:00:02.342 ****** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 03 October 2024 23:56:22 -0400 (0:00:00.086) 0:00:02.429 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 03 October 2024 23:56:22 -0400 (0:00:00.079) 0:00:02.509 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 03 October 2024 23:56:22 -0400 (0:00:00.108) 0:00:02.617 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Thursday 03 October 2024 23:56:23 -0400 (0:00:00.482) 0:00:03.100 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Thursday 03 October 2024 23:56:24 -0400 (0:00:00.938) 0:00:04.038 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.156175", "end": "2024-10-03 23:56:24.814018", "rc": 0, "start": "2024-10-03 23:56:24.657843" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Thursday 03 October 2024 23:56:24 -0400 (0:00:00.503) 0:00:04.542 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Thursday 03 October 2024 23:56:24 -0400 (0:00:00.041) 0:00:04.583 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Thursday 03 October 2024 23:56:24 -0400 (0:00:00.034) 0:00:04.618 ****** ok: [managed-node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Thursday 03 October 2024 23:56:25 -0400 (0:00:00.037) 0:00:04.655 ****** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Thursday 03 October 2024 23:56:25 -0400 (0:00:00.735) 0:00:05.390 ****** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Thursday 03 October 2024 23:56:25 -0400 (0:00:00.069) 0:00:05.459 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:56:25 -0400 (0:00:00.122) 0:00:05.581 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:56:26 -0400 (0:00:00.089) 0:00:05.671 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:56:26 -0400 (0:00:00.133) 0:00:05.804 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:56:26 -0400 (0:00:00.120) 0:00:05.925 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:56:26 -0400 (0:00:00.095) 0:00:06.020 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003090", "end": "2024-10-03 23:56:26.728045", "rc": 0, "start": "2024-10-03 23:56:26.724955" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:56:26 -0400 (0:00:00.381) 0:00:06.401 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:56:26 -0400 (0:00:00.060) 0:00:06.462 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:56:26 -0400 (0:00:00.038) 0:00:06.500 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 03 October 2024 23:56:26 -0400 (0:00:00.077) 0:00:06.577 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008289", "end": "2024-10-03 23:56:27.328718", "rc": 1, "start": "2024-10-03 23:56:27.320429" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:56:27 -0400 (0:00:00.446) 0:00:07.024 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:56:27 -0400 (0:00:00.041) 0:00:07.065 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:56:27 -0400 (0:00:00.311) 0:00:07.377 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:56:27 -0400 (0:00:00.050) 0:00:07.428 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:56:27 -0400 (0:00:00.076) 0:00:07.504 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:56:28 -0400 (0:00:00.251) 0:00:07.756 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:56:28 -0400 (0:00:00.081) 0:00:07.838 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:56:28 -0400 (0:00:00.033) 0:00:07.871 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:56:28 -0400 (0:00:00.028) 0:00:07.900 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:56:28 -0400 (0:00:00.032) 0:00:07.932 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:56:29 -0400 (0:00:01.206) 0:00:09.138 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:56:31 -0400 (0:00:01.662) 0:00:10.801 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:56:31 -0400 (0:00:00.093) 0:00:10.895 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:56:31 -0400 (0:00:00.087) 0:00:10.983 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:56:31 -0400 (0:00:00.067) 0:00:11.050 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:56:31 -0400 (0:00:00.082) 0:00:11.133 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:56:31 -0400 (0:00:00.110) 0:00:11.243 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:56:31 -0400 (0:00:00.117) 0:00:11.361 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:56:31 -0400 (0:00:00.191) 0:00:11.553 ****** changed: [managed-node1] => { "attempts": 1, "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7.centos.2.x86_64 providing dhclient is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:56:35 -0400 (0:00:03.309) 0:00:14.862 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:56:35 -0400 (0:00:00.113) 0:00:14.975 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:56:35 -0400 (0:00:00.124) 0:00:15.100 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:56:35 -0400 (0:00:00.090) 0:00:15.190 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:56:35 -0400 (0:00:00.113) 0:00:15.304 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:56:35 -0400 (0:00:00.100) 0:00:15.405 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:56:36 -0400 (0:00:01.059) 0:00:16.464 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16028_v2LNv/tmpP2vmW_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:56:37 -0400 (0:00:00.426) 0:00:16.891 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:56:38 -0400 (0:00:01.140) 0:00:18.032 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:56:38 -0400 (0:00:00.216) 0:00:18.249 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:56:38 -0400 (0:00:00.197) 0:00:18.446 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:56:39 -0400 (0:00:00.181) 0:00:18.628 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:56:39 -0400 (0:00:00.249) 0:00:18.878 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:56:40 -0400 (0:00:01.057) 0:00:19.935 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:56:40 -0400 (0:00:00.117) 0:00:20.052 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 03 October 2024 23:56:40 -0400 (0:00:00.217) 0:00:20.270 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:56:40 -0400 (0:00:00.251) 0:00:20.522 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:56:41 -0400 (0:00:00.107) 0:00:20.630 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728014198.203228, "block_size": 4096, "blocks": 8, "ctime": 1728014198.203228, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22464, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728014198.203228, "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:56:41 -0400 (0:00:00.593) 0:00:21.223 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:56:41 -0400 (0:00:00.169) 0:00:21.392 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018642", "end": "2024-10-03 23:56:42.151809", "rc": 1, "start": "2024-10-03 23:56:42.133167" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:56:42 -0400 (0:00:00.516) 0:00:21.909 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:56:42 -0400 (0:00:00.116) 0:00:22.025 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003345", "end": "2024-10-03 23:56:42.760266", "rc": 0, "start": "2024-10-03 23:56:42.756921" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:56:42 -0400 (0:00:00.490) 0:00:22.516 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.133) 0:00:22.649 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003089", "end": "2024-10-03 23:56:43.294043", "rc": 0, "start": "2024-10-03 23:56:43.290954" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.401) 0:00:23.051 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.121) 0:00:23.173 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.105) 0:00:23.278 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.110) 0:00:23.389 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.082) 0:00:23.472 ****** skipping: [managed-node1] => (item={u'what': u'tasks/assert_device_present.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.075) 0:00:23.547 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.073) 0:00:23.621 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:56:44 -0400 (0:00:00.172) 0:00:23.794 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.033973", "end": "2024-10-03 23:56:44.440677", "rc": 1, "start": "2024-10-03 23:56:44.406704" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Thursday 03 October 2024 23:56:44 -0400 (0:00:00.416) 0:00:24.211 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:56:44 -0400 (0:00:00.235) 0:00:24.446 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:56:44 -0400 (0:00:00.073) 0:00:24.520 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:56:45 -0400 (0:00:00.131) 0:00:24.652 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:56:45 -0400 (0:00:00.208) 0:00:24.860 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:56:45 -0400 (0:00:00.188) 0:00:25.049 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003218", "end": "2024-10-03 23:56:45.737229", "rc": 0, "start": "2024-10-03 23:56:45.734011" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:56:45 -0400 (0:00:00.493) 0:00:25.543 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:56:46 -0400 (0:00:00.117) 0:00:25.660 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:56:46 -0400 (0:00:00.115) 0:00:25.775 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 03 October 2024 23:56:46 -0400 (0:00:00.389) 0:00:26.165 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006424", "end": "2024-10-03 23:56:46.967073", "rc": 1, "start": "2024-10-03 23:56:46.960649" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:56:47 -0400 (0:00:00.566) 0:00:26.731 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:56:47 -0400 (0:00:00.266) 0:00:26.997 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:56:48 -0400 (0:00:00.709) 0:00:27.706 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:56:48 -0400 (0:00:00.217) 0:00:27.924 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 03 October 2024 23:56:48 -0400 (0:00:00.203) 0:00:28.127 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:56:48 -0400 (0:00:00.271) 0:00:28.399 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:56:49 -0400 (0:00:00.254) 0:00:28.654 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:56:49 -0400 (0:00:00.137) 0:00:28.791 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:56:49 -0400 (0:00:00.119) 0:00:28.911 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:56:49 -0400 (0:00:00.103) 0:00:29.014 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:56:50 -0400 (0:00:00.955) 0:00:29.970 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:56:52 -0400 (0:00:01.765) 0:00:31.736 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:56:52 -0400 (0:00:00.113) 0:00:31.849 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:56:52 -0400 (0:00:00.097) 0:00:31.946 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:56:52 -0400 (0:00:00.080) 0:00:32.026 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:56:52 -0400 (0:00:00.101) 0:00:32.128 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:56:52 -0400 (0:00:00.111) 0:00:32.239 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:56:52 -0400 (0:00:00.127) 0:00:32.366 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:56:52 -0400 (0:00:00.105) 0:00:32.472 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:56:53 -0400 (0:00:00.163) 0:00:32.635 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:56:53 -0400 (0:00:00.112) 0:00:32.748 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:56:53 -0400 (0:00:00.086) 0:00:32.834 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:56:53 -0400 (0:00:00.117) 0:00:32.952 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:56:53 -0400 (0:00:00.110) 0:00:33.062 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:56:53 -0400 (0:00:00.094) 0:00:33.156 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:56:54 -0400 (0:00:00.522) 0:00:33.679 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16028_v2LNv/tmpne2mKf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:56:54 -0400 (0:00:00.569) 0:00:34.249 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.809) 0:00:35.059 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.221) 0:00:35.280 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.172) 0:00:35.453 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.128) 0:00:35.582 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:56:56 -0400 (0:00:00.099) 0:00:35.682 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 03 October 2024 23:56:56 -0400 (0:00:00.345) 0:00:36.027 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:56:56 -0400 (0:00:00.107) 0:00:36.135 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:56:56 -0400 (0:00:00.213) 0:00:36.348 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:56:56 -0400 (0:00:00.203) 0:00:36.552 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:56:57 -0400 (0:00:00.644) 0:00:37.197 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 03 October 2024 23:56:57 -0400 (0:00:00.114) 0:00:37.312 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:56:57 -0400 (0:00:00.314) 0:00:37.626 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:56:58 -0400 (0:00:00.212) 0:00:37.838 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728014215.2273784, "block_size": 4096, "blocks": 8, "ctime": 1728014215.2273784, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22439, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728014215.2273784, "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:56:58 -0400 (0:00:00.597) 0:00:38.436 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:56:58 -0400 (0:00:00.129) 0:00:38.566 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016908", "end": "2024-10-03 23:56:59.231141", "rc": 1, "start": "2024-10-03 23:56:59.214233" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:56:59 -0400 (0:00:00.546) 0:00:39.112 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:56:59 -0400 (0:00:00.142) 0:00:39.255 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003071", "end": "2024-10-03 23:56:59.967217", "rc": 0, "start": "2024-10-03 23:56:59.964146" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:57:00 -0400 (0:00:00.490) 0:00:39.745 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:57:00 -0400 (0:00:00.243) 0:00:39.988 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003101", "end": "2024-10-03 23:57:00.704911", "rc": 0, "start": "2024-10-03 23:57:00.701810" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:57:00 -0400 (0:00:00.457) 0:00:40.446 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 03 October 2024 23:57:00 -0400 (0:00:00.125) 0:00:40.571 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 03 October 2024 23:57:01 -0400 (0:00:00.107) 0:00:40.678 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 03 October 2024 23:57:01 -0400 (0:00:00.173) 0:00:40.852 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:57:01 -0400 (0:00:00.214) 0:00:41.067 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:57:01 -0400 (0:00:00.126) 0:00:41.193 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:57:01 -0400 (0:00:00.134) 0:00:41.327 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:57:01 -0400 (0:00:00.167) 0:00:41.494 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034437", "end": "2024-10-03 23:57:02.433740", "rc": 1, "start": "2024-10-03 23:57:02.399303" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Thursday 03 October 2024 23:57:02 -0400 (0:00:00.806) 0:00:42.301 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:57:02 -0400 (0:00:00.269) 0:00:42.571 ****** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:57:03 -0400 (0:00:00.115) 0:00:42.686 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:57:03 -0400 (0:00:00.307) 0:00:42.993 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:57:03 -0400 (0:00:00.255) 0:00:43.249 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:57:03 -0400 (0:00:00.216) 0:00:43.466 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003337", "end": "2024-10-03 23:57:04.117783", "rc": 0, "start": "2024-10-03 23:57:04.114446" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.401) 0:00:43.867 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.116) 0:00:43.984 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.139) 0:00:44.124 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.212) 0:00:44.336 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.224) 0:00:44.561 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:05 -0400 (0:00:00.285) 0:00:44.846 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:05 -0400 (0:00:00.198) 0:00:45.045 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:05 -0400 (0:00:00.154) 0:00:45.199 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:05 -0400 (0:00:00.117) 0:00:45.317 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:06 -0400 (0:00:01.142) 0:00:46.460 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:08 -0400 (0:00:01.494) 0:00:47.954 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:08 -0400 (0:00:00.139) 0:00:48.094 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:08 -0400 (0:00:00.102) 0:00:48.196 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:08 -0400 (0:00:00.091) 0:00:48.288 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:08 -0400 (0:00:00.072) 0:00:48.360 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:08 -0400 (0:00:00.118) 0:00:48.479 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:08 -0400 (0:00:00.129) 0:00:48.608 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:09 -0400 (0:00:00.130) 0:00:48.738 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:09 -0400 (0:00:00.205) 0:00:48.943 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:09 -0400 (0:00:00.144) 0:00:49.088 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:09 -0400 (0:00:00.138) 0:00:49.226 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:09 -0400 (0:00:00.213) 0:00:49.439 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:10 -0400 (0:00:00.228) 0:00:49.668 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:10 -0400 (0:00:00.160) 0:00:49.828 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:10 -0400 (0:00:00.767) 0:00:50.596 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16028_v2LNv/tmpMOlNQS" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:11 -0400 (0:00:00.513) 0:00:51.109 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:12 -0400 (0:00:00.749) 0:00:51.859 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:12 -0400 (0:00:00.124) 0:00:51.983 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:12 -0400 (0:00:00.123) 0:00:52.107 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:12 -0400 (0:00:00.124) 0:00:52.231 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:12 -0400 (0:00:00.108) 0:00:52.339 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:57:13 -0400 (0:00:00.598) 0:00:52.938 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:57:13 -0400 (0:00:00.108) 0:00:53.046 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:57:13 -0400 (0:00:00.156) 0:00:53.202 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:13 -0400 (0:00:00.230) 0:00:53.433 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:14 -0400 (0:00:00.314) 0:00:53.748 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:14 -0400 (0:00:00.145) 0:00:53.893 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:14 -0400 (0:00:00.110) 0:00:54.004 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:14 -0400 (0:00:00.112) 0:00:54.116 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:15 -0400 (0:00:00.992) 0:00:55.109 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:16 -0400 (0:00:01.400) 0:00:56.509 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:16 -0400 (0:00:00.092) 0:00:56.602 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:17 -0400 (0:00:00.069) 0:00:56.672 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:17 -0400 (0:00:00.068) 0:00:56.740 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:17 -0400 (0:00:00.069) 0:00:56.810 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:17 -0400 (0:00:00.121) 0:00:56.931 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:17 -0400 (0:00:00.077) 0:00:57.008 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:17 -0400 (0:00:00.074) 0:00:57.082 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:17 -0400 (0:00:00.118) 0:00:57.201 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:17 -0400 (0:00:00.068) 0:00:57.269 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:17 -0400 (0:00:00.069) 0:00:57.339 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:17 -0400 (0:00:00.097) 0:00:57.437 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:17 -0400 (0:00:00.110) 0:00:57.547 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:18 -0400 (0:00:00.116) 0:00:57.664 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:18 -0400 (0:00:00.676) 0:00:58.340 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16028_v2LNv/tmpajfgju" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:19 -0400 (0:00:00.467) 0:00:58.808 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.968) 0:00:59.777 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.126) 0:00:59.903 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.134) 0:01:00.037 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.133) 0:01:00.171 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.119) 0:01:00.291 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.523) 0:01:00.815 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.200) 0:01:01.015 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.358) 0:01:01.373 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728014239.9135761, "block_size": 4096, "blocks": 0, "ctime": 1728014239.9125762, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17726, "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": 1728014239.9125762, "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:57:22 -0400 (0:00:00.537) 0:01:01.911 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 03 October 2024 23:57:22 -0400 (0:00:00.102) 0:01:02.013 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:57:22 -0400 (0:00:00.215) 0:01:02.228 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:57:22 -0400 (0:00:00.109) 0:01:02.338 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728014239.759575, "block_size": 4096, "blocks": 8, "ctime": 1728014232.0975192, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22439, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728014232.0975192, "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:57:23 -0400 (0:00:00.671) 0:01:03.010 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:57:23 -0400 (0:00:00.117) 0:01:03.127 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018802", "end": "2024-10-03 23:57:23.809446", "rc": 1, "start": "2024-10-03 23:57:23.790644" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:57:23 -0400 (0:00:00.400) 0:01:03.528 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:57:23 -0400 (0:00:00.068) 0:01:03.596 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003088", "end": "2024-10-03 23:57:24.202859", "rc": 0, "start": "2024-10-03 23:57:24.199771" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:57:24 -0400 (0:00:00.328) 0:01:03.924 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:57:24 -0400 (0:00:00.117) 0:01:04.042 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003144", "end": "2024-10-03 23:57:24.819364", "rc": 0, "start": "2024-10-03 23:57:24.816220" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.604) 0:01:04.646 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.125) 0:01:04.772 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.118) 0:01:04.891 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.119) 0:01:05.010 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.115) 0:01:05.125 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.107) 0:01:05.233 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.114) 0:01:05.347 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:57:25 -0400 (0:00:00.241) 0:01:05.589 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046964", "end": "2024-10-03 23:57:26.407777", "rc": 0, "start": "2024-10-03 23:57:26.360813" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.648) 0:01:06.238 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.236) 0:01:06.474 ****** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.130) 0:01:06.604 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.204) 0:01:06.809 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.222) 0:01:07.032 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.217) 0:01:07.249 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002989", "end": "2024-10-03 23:57:27.916113", "rc": 0, "start": "2024-10-03 23:57:27.913124" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.585) 0:01:07.835 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.117) 0:01:07.953 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.092) 0:01:08.045 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.243) 0:01:08.289 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.281) 0:01:08.571 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.287) 0:01:08.859 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.140) 0:01:08.999 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.113) 0:01:09.113 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.112) 0:01:09.226 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.971) 0:01:10.197 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:31 -0400 (0:00:01.423) 0:01:11.621 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.118) 0:01:11.739 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.097) 0:01:11.837 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.095) 0:01:11.932 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.076) 0:01:12.009 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.088) 0:01:12.097 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.123) 0:01:12.221 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.111) 0:01:12.333 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.154) 0:01:12.487 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.072) 0:01:12.560 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.084) 0:01:12.645 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.116) 0:01:12.762 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.121) 0:01:12.883 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.122) 0:01:13.006 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.629) 0:01:13.635 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16028_v2LNv/tmp91qaCb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.389) 0:01:14.025 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.616) 0:01:14.641 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.115) 0:01:14.757 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.114) 0:01:14.872 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.130) 0:01:15.003 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.113) 0:01:15.116 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.389) 0:01:15.506 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.118) 0:01:15.625 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:36 -0400 (0:00:00.244) 0:01:15.869 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:36 -0400 (0:00:00.233) 0:01:16.103 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:36 -0400 (0:00:00.177) 0:01:16.280 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:36 -0400 (0:00:00.238) 0:01:16.518 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:37 -0400 (0:00:00.215) 0:01:16.733 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:38 -0400 (0:00:01.132) 0:01:17.866 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:39 -0400 (0:00:01.354) 0:01:19.220 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:39 -0400 (0:00:00.171) 0:01:19.392 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:39 -0400 (0:00:00.147) 0:01:19.540 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.121) 0:01:19.661 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.112) 0:01:19.773 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.133) 0:01:19.906 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.225) 0:01:20.132 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.166) 0:01:20.298 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.205) 0:01:20.503 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.117) 0:01:20.621 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:41 -0400 (0:00:00.171) 0:01:20.793 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:41 -0400 (0:00:00.134) 0:01:20.927 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:41 -0400 (0:00:00.138) 0:01:21.066 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:41 -0400 (0:00:00.107) 0:01:21.173 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.628) 0:01:21.801 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16028_v2LNv/tmpHhf0xI" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.605) 0:01:22.407 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:43 -0400 (0:00:01.011) 0:01:23.419 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.242) 0:01:23.662 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.197) 0:01:23.859 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.130) 0:01:23.989 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.189) 0:01:24.179 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.441) 0:01:24.621 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 03 October 2024 23:57:45 -0400 (0:00:00.211) 0:01:24.832 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:45 -0400 (0:00:00.281) 0:01:25.113 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:45 -0400 (0:00:00.282) 0:01:25.396 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:45 -0400 (0:00:00.174) 0:01:25.571 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:46 -0400 (0:00:00.101) 0:01:25.672 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:46 -0400 (0:00:00.131) 0:01:25.804 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:47 -0400 (0:00:00.888) 0:01:26.693 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:48 -0400 (0:00:01.626) 0:01:28.319 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.116) 0:01:28.436 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.126) 0:01:28.563 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.179) 0:01:28.743 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.163) 0:01:28.906 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.114) 0:01:29.021 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.156) 0:01:29.177 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.129) 0:01:29.307 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.263) 0:01:29.570 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.160) 0:01:29.730 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.113) 0:01:29.843 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.103) 0:01:29.947 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.090) 0:01:30.038 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.140) 0:01:30.179 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:51 -0400 (0:00:00.687) 0:01:30.866 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16028_v2LNv/tmpEE03M1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:51 -0400 (0:00:00.496) 0:01:31.363 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:52 -0400 (0:00:00.765) 0:01:32.128 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:52 -0400 (0:00:00.126) 0:01:32.254 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:52 -0400 (0:00:00.143) 0:01:32.397 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:52 -0400 (0:00:00.128) 0:01:32.526 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:53 -0400 (0:00:00.194) 0:01:32.720 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:57:53 -0400 (0:00:00.635) 0:01:33.356 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.364) 0:01:33.721 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.214) 0:01:33.935 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728014263.5067477, "block_size": 4096, "blocks": 0, "ctime": 1728014263.5047476, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17726, "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": 1728014263.5047476, "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.348) 0:01:34.283 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.075) 0:01:34.358 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:57:54 -0400 (0:00:00.195) 0:01:34.554 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:57:55 -0400 (0:00:00.121) 0:01:34.676 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:57:55 -0400 (0:00:00.473) 0:01:35.149 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:57:55 -0400 (0:00:00.108) 0:01:35.257 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017158", "end": "2024-10-03 23:57:55.921329", "rc": 1, "start": "2024-10-03 23:57:55.904171" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:57:56 -0400 (0:00:00.422) 0:01:35.680 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:57:56 -0400 (0:00:00.109) 0:01:35.789 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:57:56 -0400 (0:00:00.153) 0:01:35.943 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:57:56 -0400 (0:00:00.190) 0:01:36.134 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:57:56 -0400 (0:00:00.252) 0:01:36.386 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 03 October 2024 23:57:56 -0400 (0:00:00.202) 0:01:36.589 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.129) 0:01:36.719 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.198) 0:01:36.917 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.211) 0:01:37.129 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.247) 0:01:37.377 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.040429", "end": "2024-10-03 23:57:58.102751", "rc": 0, "start": "2024-10-03 23:57:58.062322" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.481) 0:01:37.858 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.173) 0:01:38.032 ****** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.093) 0:01:38.125 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.136) 0:01:38.261 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.185) 0:01:38.446 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.213) 0:01:38.659 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003037", "end": "2024-10-03 23:57:59.498966", "rc": 0, "start": "2024-10-03 23:57:59.495929" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.607) 0:01:39.267 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.147) 0:01:39.415 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.074) 0:01:39.489 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.304) 0:01:39.794 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.222) 0:01:40.016 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.241) 0:01:40.257 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.152) 0:01:40.410 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.108) 0:01:40.519 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.100) 0:01:40.619 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.979) 0:01:41.599 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:03 -0400 (0:00:01.524) 0:01:43.124 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:03 -0400 (0:00:00.084) 0:01:43.209 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:03 -0400 (0:00:00.069) 0:01:43.278 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:03 -0400 (0:00:00.082) 0:01:43.361 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:03 -0400 (0:00:00.105) 0:01:43.467 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:03 -0400 (0:00:00.099) 0:01:43.567 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.100) 0:01:43.667 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.080) 0:01:43.748 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.146) 0:01:43.895 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.115) 0:01:44.010 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.110) 0:01:44.120 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.109) 0:01:44.230 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.111) 0:01:44.341 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.132) 0:01:44.474 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:05 -0400 (0:00:00.869) 0:01:45.344 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16028_v2LNv/tmpfyvCcf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:06 -0400 (0:00:00.749) 0:01:46.093 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.992) 0:01:47.086 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.125) 0:01:47.211 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.151) 0:01:47.362 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.131) 0:01:47.494 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.103) 0:01:47.597 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:58:08 -0400 (0:00:00.366) 0:01:47.964 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:58:08 -0400 (0:00:00.102) 0:01:48.066 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:08 -0400 (0:00:00.226) 0:01:48.292 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:08 -0400 (0:00:00.251) 0:01:48.544 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:09 -0400 (0:00:00.158) 0:01:48.702 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:09 -0400 (0:00:00.109) 0:01:48.812 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:09 -0400 (0:00:00.110) 0:01:48.922 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:10 -0400 (0:00:00.879) 0:01:49.802 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:11 -0400 (0:00:01.321) 0:01:51.124 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.114) 0:01:51.238 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.109) 0:01:51.348 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.108) 0:01:51.457 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.109) 0:01:51.566 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.093) 0:01:51.660 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.109) 0:01:51.770 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.104) 0:01:51.874 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.185) 0:01:52.059 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.109) 0:01:52.169 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.107) 0:01:52.277 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.117) 0:01:52.395 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.086) 0:01:52.482 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.142) 0:01:52.624 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.533) 0:01:53.158 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16028_v2LNv/tmprZdpyK" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.396) 0:01:53.555 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:14 -0400 (0:00:00.807) 0:01:54.363 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:14 -0400 (0:00:00.107) 0:01:54.470 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:14 -0400 (0:00:00.117) 0:01:54.588 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:15 -0400 (0:00:00.133) 0:01:54.722 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:15 -0400 (0:00:00.110) 0:01:54.833 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 03 October 2024 23:58:15 -0400 (0:00:00.388) 0:01:55.221 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:15 -0400 (0:00:00.197) 0:01:55.418 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.226) 0:01:55.645 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.167) 0:01:55.812 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.136) 0:01:55.949 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.164) 0:01:56.113 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:17 -0400 (0:00:00.971) 0:01:57.085 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:19 -0400 (0:00:01.587) 0:01:58.673 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.118) 0:01:58.792 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.161) 0:01:58.953 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.170) 0:01:59.123 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.108) 0:01:59.231 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.122) 0:01:59.354 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.098) 0:01:59.452 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.099) 0:01:59.551 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.187) 0:01:59.739 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.291) 0:02:00.030 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.170) 0:02:00.201 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.142) 0:02:00.343 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.118) 0:02:00.462 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.102) 0:02:00.565 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.636) 0:02:01.202 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16028_v2LNv/tmpFkb_gT" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.536) 0:02:01.738 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.718) 0:02:02.457 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.165) 0:02:02.622 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.146) 0:02:02.768 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.115) 0:02:02.884 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.109) 0:02:02.993 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:58:24 -0400 (0:00:00.651) 0:02:03.645 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 03 October 2024 23:58:24 -0400 (0:00:00.165) 0:02:03.811 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:24 -0400 (0:00:00.186) 0:02:03.997 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:24 -0400 (0:00:00.136) 0:02:04.133 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:24 -0400 (0:00:00.091) 0:02:04.225 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:24 -0400 (0:00:00.072) 0:02:04.297 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:24 -0400 (0:00:00.121) 0:02:04.418 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:25 -0400 (0:00:00.906) 0:02:05.325 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:27 -0400 (0:00:01.551) 0:02:06.876 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.187) 0:02:07.064 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.201) 0:02:07.265 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.311) 0:02:07.577 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.166) 0:02:07.743 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.215) 0:02:07.959 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.166) 0:02:08.125 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.120) 0:02:08.246 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.151) 0:02:08.398 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.070) 0:02:08.468 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.082) 0:02:08.550 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.197) 0:02:08.748 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.129) 0:02:08.878 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.117) 0:02:08.995 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:30 -0400 (0:00:00.785) 0:02:09.780 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16028_v2LNv/tmpt9c8KS" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:30 -0400 (0:00:00.467) 0:02:10.248 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:31 -0400 (0:00:00.851) 0:02:11.099 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:31 -0400 (0:00:00.193) 0:02:11.292 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:31 -0400 (0:00:00.229) 0:02:11.522 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:32 -0400 (0:00:00.197) 0:02:11.719 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:32 -0400 (0:00:00.208) 0:02:11.928 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:58:32 -0400 (0:00:00.551) 0:02:12.479 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 03 October 2024 23:58:33 -0400 (0:00:00.163) 0:02:12.643 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:58:33 -0400 (0:00:00.160) 0:02:12.804 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:58:33 -0400 (0:00:00.163) 0:02:12.968 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:58:33 -0400 (0:00:00.513) 0:02:13.481 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:58:33 -0400 (0:00:00.067) 0:02:13.549 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017342", "end": "2024-10-03 23:58:34.174816", "rc": 1, "start": "2024-10-03 23:58:34.157474" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:58:34 -0400 (0:00:00.379) 0:02:13.929 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:58:34 -0400 (0:00:00.116) 0:02:14.045 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:58:34 -0400 (0:00:00.087) 0:02:14.133 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:58:34 -0400 (0:00:00.100) 0:02:14.233 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:58:34 -0400 (0:00:00.104) 0:02:14.337 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 03 October 2024 23:58:34 -0400 (0:00:00.201) 0:02:14.539 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.191) 0:02:14.731 ****** skipping: [managed-node1] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.187) 0:02:14.918 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.208) 0:02:15.127 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.235) 0:02:15.363 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.040655", "end": "2024-10-03 23:58:36.277735", "rc": 0, "start": "2024-10-03 23:58:36.237080" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Thursday 03 October 2024 23:58:36 -0400 (0:00:00.695) 0:02:16.058 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:58:36 -0400 (0:00:00.214) 0:02:16.273 ****** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:58:36 -0400 (0:00:00.188) 0:02:16.461 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:58:37 -0400 (0:00:00.237) 0:02:16.699 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:58:37 -0400 (0:00:00.151) 0:02:16.851 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:58:37 -0400 (0:00:00.123) 0:02:16.974 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003154", "end": "2024-10-03 23:58:37.632168", "rc": 0, "start": "2024-10-03 23:58:37.629014" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:58:37 -0400 (0:00:00.455) 0:02:17.430 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:58:37 -0400 (0:00:00.143) 0:02:17.573 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:58:38 -0400 (0:00:00.114) 0:02:17.688 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:58:38 -0400 (0:00:00.198) 0:02:17.887 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:38 -0400 (0:00:00.204) 0:02:18.091 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:38 -0400 (0:00:00.185) 0:02:18.277 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:38 -0400 (0:00:00.182) 0:02:18.459 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.229) 0:02:18.689 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.222) 0:02:18.912 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.997) 0:02:19.910 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:41 -0400 (0:00:01.315) 0:02:21.226 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.151) 0:02:21.377 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.114) 0:02:21.492 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.117) 0:02:21.609 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:42 -0400 (0:00:00.197) 0:02:21.806 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:42 -0400 (0:00:00.106) 0:02:21.913 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:42 -0400 (0:00:00.115) 0:02:22.029 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:42 -0400 (0:00:00.088) 0:02:22.117 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:42 -0400 (0:00:00.151) 0:02:22.269 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:42 -0400 (0:00:00.146) 0:02:22.415 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:42 -0400 (0:00:00.091) 0:02:22.506 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:43 -0400 (0:00:00.204) 0:02:22.711 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:43 -0400 (0:00:00.133) 0:02:22.844 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:43 -0400 (0:00:00.109) 0:02:22.954 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:43 -0400 (0:00:00.585) 0:02:23.539 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16028_v2LNv/tmpBF4aZg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:44 -0400 (0:00:00.489) 0:02:24.028 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.704) 0:02:24.733 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.114) 0:02:24.847 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.118) 0:02:24.966 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.200) 0:02:25.166 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.120) 0:02:25.286 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:58:46 -0400 (0:00:00.529) 0:02:25.815 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:58:46 -0400 (0:00:00.155) 0:02:25.971 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:46 -0400 (0:00:00.154) 0:02:26.126 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:46 -0400 (0:00:00.207) 0:02:26.334 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:46 -0400 (0:00:00.160) 0:02:26.495 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:47 -0400 (0:00:00.139) 0:02:26.635 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:47 -0400 (0:00:00.113) 0:02:26.748 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:48 -0400 (0:00:01.058) 0:02:27.807 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:49 -0400 (0:00:01.415) 0:02:29.222 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.182) 0:02:29.405 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.112) 0:02:29.517 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.090) 0:02:29.608 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:50 -0400 (0:00:00.134) 0:02:29.743 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:50 -0400 (0:00:00.109) 0:02:29.853 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:50 -0400 (0:00:00.124) 0:02:29.977 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:50 -0400 (0:00:00.120) 0:02:30.097 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:50 -0400 (0:00:00.196) 0:02:30.294 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:50 -0400 (0:00:00.123) 0:02:30.418 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:50 -0400 (0:00:00.125) 0:02:30.543 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.208) 0:02:30.752 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.122) 0:02:30.875 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.185) 0:02:31.060 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.547) 0:02:31.607 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16028_v2LNv/tmpI6QAMI" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:52 -0400 (0:00:00.387) 0:02:31.995 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:53 -0400 (0:00:00.911) 0:02:32.906 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:53 -0400 (0:00:00.162) 0:02:33.069 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:53 -0400 (0:00:00.096) 0:02:33.165 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:53 -0400 (0:00:00.077) 0:02:33.243 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:53 -0400 (0:00:00.070) 0:02:33.313 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 03 October 2024 23:58:53 -0400 (0:00:00.305) 0:02:33.619 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:54 -0400 (0:00:00.142) 0:02:33.761 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:54 -0400 (0:00:00.220) 0:02:33.982 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:54 -0400 (0:00:00.144) 0:02:34.126 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:54 -0400 (0:00:00.113) 0:02:34.239 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:54 -0400 (0:00:00.110) 0:02:34.350 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:55 -0400 (0:00:00.887) 0:02:35.238 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:57 -0400 (0:00:01.517) 0:02:36.755 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:57 -0400 (0:00:00.115) 0:02:36.871 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:57 -0400 (0:00:00.114) 0:02:36.985 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:57 -0400 (0:00:00.223) 0:02:37.209 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:57 -0400 (0:00:00.150) 0:02:37.359 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:57 -0400 (0:00:00.142) 0:02:37.501 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:57 -0400 (0:00:00.115) 0:02:37.616 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:58 -0400 (0:00:00.117) 0:02:37.734 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:58 -0400 (0:00:00.209) 0:02:37.944 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:58 -0400 (0:00:00.127) 0:02:38.071 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:58 -0400 (0:00:00.187) 0:02:38.259 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:58 -0400 (0:00:00.213) 0:02:38.472 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:59 -0400 (0:00:00.162) 0:02:38.634 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:59 -0400 (0:00:00.137) 0:02:38.772 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:59 -0400 (0:00:00.534) 0:02:39.307 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16028_v2LNv/tmpIL5E0W" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:59:00 -0400 (0:00:00.465) 0:02:39.772 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:59:00 -0400 (0:00:00.771) 0:02:40.543 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.119) 0:02:40.663 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.153) 0:02:40.816 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.127) 0:02:40.944 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.119) 0:02:41.064 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:59:01 -0400 (0:00:00.462) 0:02:41.526 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 03 October 2024 23:59:02 -0400 (0:00:00.203) 0:02:41.729 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:59:02 -0400 (0:00:00.150) 0:02:41.880 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:59:02 -0400 (0:00:00.251) 0:02:42.132 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:59:02 -0400 (0:00:00.153) 0:02:42.286 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:59:02 -0400 (0:00:00.091) 0:02:42.377 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:59:02 -0400 (0:00:00.162) 0:02:42.539 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:59:03 -0400 (0:00:00.912) 0:02:43.451 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:59:05 -0400 (0:00:01.234) 0:02:44.686 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:59:05 -0400 (0:00:00.110) 0:02:44.796 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:59:05 -0400 (0:00:00.094) 0:02:44.891 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:59:05 -0400 (0:00:00.090) 0:02:44.981 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:59:05 -0400 (0:00:00.073) 0:02:45.055 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:59:05 -0400 (0:00:00.082) 0:02:45.137 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:59:05 -0400 (0:00:00.119) 0:02:45.257 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:59:05 -0400 (0:00:00.149) 0:02:45.406 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:59:05 -0400 (0:00:00.215) 0:02:45.622 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:59:06 -0400 (0:00:00.174) 0:02:45.796 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:59:06 -0400 (0:00:00.102) 0:02:45.899 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:59:06 -0400 (0:00:00.079) 0:02:45.978 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:59:06 -0400 (0:00:00.072) 0:02:46.051 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:59:06 -0400 (0:00:00.069) 0:02:46.120 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:59:07 -0400 (0:00:00.516) 0:02:46.637 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16028_v2LNv/tmpMYo6jD" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:59:07 -0400 (0:00:00.768) 0:02:47.406 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:59:08 -0400 (0:00:00.885) 0:02:48.291 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:59:08 -0400 (0:00:00.112) 0:02:48.404 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:59:08 -0400 (0:00:00.140) 0:02:48.545 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:59:09 -0400 (0:00:00.201) 0:02:48.747 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:59:09 -0400 (0:00:00.167) 0:02:48.915 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:59:09 -0400 (0:00:00.501) 0:02:49.416 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 03 October 2024 23:59:10 -0400 (0:00:00.241) 0:02:49.658 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:59:10 -0400 (0:00:00.297) 0:02:49.956 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:59:10 -0400 (0:00:00.088) 0:02:50.044 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:59:10 -0400 (0:00:00.525) 0:02:50.570 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:59:11 -0400 (0:00:00.111) 0:02:50.681 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017853", "end": "2024-10-03 23:59:11.365128", "rc": 1, "start": "2024-10-03 23:59:11.347275" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:59:11 -0400 (0:00:00.481) 0:02:51.162 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:59:11 -0400 (0:00:00.118) 0:02:51.280 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:59:11 -0400 (0:00:00.160) 0:02:51.441 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:59:11 -0400 (0:00:00.126) 0:02:51.568 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:59:12 -0400 (0:00:00.117) 0:02:51.686 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 03 October 2024 23:59:12 -0400 (0:00:00.113) 0:02:51.799 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 03 October 2024 23:59:12 -0400 (0:00:00.102) 0:02:51.901 ****** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.592220", "end": "2024-10-03 23:59:13.094645", "rc": 0, "start": "2024-10-03 23:59:12.502425" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 03 October 2024 23:59:13 -0400 (0:00:00.919) 0:02:52.821 ****** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 03 October 2024 23:59:13 -0400 (0:00:00.084) 0:02:52.906 ****** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:59:13 -0400 (0:00:00.071) 0:02:52.977 ****** skipping: [managed-node1] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:59:13 -0400 (0:00:00.075) 0:02:53.053 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:59:13 -0400 (0:00:00.153) 0:02:53.207 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:59:13 -0400 (0:00:00.241) 0:02:53.448 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043206", "end": "2024-10-03 23:59:14.118764", "rc": 0, "start": "2024-10-03 23:59:14.075558" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Thursday 03 October 2024 23:59:14 -0400 (0:00:00.397) 0:02:53.846 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006514", "end": "2024-10-03 23:59:14.499608", "rc": 0, "start": "2024-10-03 23:59:14.493094" } 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:1b:c1:37:e9:59 brd ff:ff:ff:ff:ff:ff inet 10.31.8.32/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 2440sec preferred_lft 2440sec inet6 fe80::101b:c1ff:fe37:e959/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.8.32 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Thursday 03 October 2024 23:59:14 -0400 (0:00:00.368) 0:02:54.215 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.627210", "end": "2024-10-03 23:59:15.478559", "rc": 0, "start": "2024-10-03 23:59:14.851349" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 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 2604:1580:fe00:0:dead:beef:cafe:fed1 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 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 STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 755 0 --:--:-- --:--:-- --:--:-- 756 % 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 1424 0 --:--:-- --:--:-- --:--:-- 1426 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=338 changed=14 unreachable=0 failed=0 skipped=284 rescued=0 ignored=10 Thursday 03 October 2024 23:59:15 -0400 (0:00:00.931) 0:02:55.146 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-Flp/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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-Flp/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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/collections-Flp/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-Flp/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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.40s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.32s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.32s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.23s /tmp/collections-Flp/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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.14s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.13s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.06s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.05s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5