[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. No config file found; using defaults running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:15:40 -0400 (0:00:00.007) 0:00:00.007 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Thursday 25 July 2024 07:15:41 -0400 (0:00:01.124) 0:00:01.132 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:15:41 -0400 (0:00:00.019) 0:00:01.151 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Thursday 25 July 2024 07:15:42 -0400 (0:00:00.524) 0:00:01.676 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Thursday 25 July 2024 07:15:42 -0400 (0:00:00.446) 0:00:02.122 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Thursday 25 July 2024 07:15:42 -0400 (0:00:00.021) 0:00:02.144 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Thursday 25 July 2024 07:15:42 -0400 (0:00:00.013) 0:00:02.158 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 9] *********************************************************** Thursday 25 July 2024 07:15:42 -0400 (0:00:00.029) 0:00:02.187 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** Thursday 25 July 2024 07:15:42 -0400 (0:00:00.014) 0:00:02.202 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Thursday 25 July 2024 07:15:42 -0400 (0:00:00.013) 0:00:02.215 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Thursday 25 July 2024 07:15:42 -0400 (0:00:00.015) 0:00:02.231 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Thursday 25 July 2024 07:15:42 -0400 (0:00:00.013) 0:00:02.245 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Thursday 25 July 2024 07:15:42 -0400 (0:00:00.013) 0:00:02.258 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:15:42 -0400 (0:00:00.026) 0:00:02.284 ********* ok: [managed_node1] TASK [Show playbook name] ****************************************************** Thursday 25 July 2024 07:15:43 -0400 (0:00:00.806) 0:00:03.091 ********* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** Thursday 25 July 2024 07:15:43 -0400 (0:00:00.016) 0:00:03.107 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile] ******************************************** Thursday 25 July 2024 07:15:43 -0400 (0:00:00.025) 0:00:03.133 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** Thursday 25 July 2024 07:15:43 -0400 (0:00:00.016) 0:00:03.149 ********* 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": true, "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'] ********************************** Thursday 25 July 2024 07:15:43 -0400 (0:00:00.053) 0:00:03.202 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 07:15:43 -0400 (0:00:00.020) 0:00:03.222 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 07:15:43 -0400 (0:00:00.020) 0:00:03.243 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003470", "end": "2024-07-25 07:15:44.264078", "rc": 0, "start": "2024-07-25 07:15:44.260608" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:15:44 -0400 (0:00:00.453) 0:00:03.697 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:15:44 -0400 (0:00:00.018) 0:00:03.715 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Thursday 25 July 2024 07:15:44 -0400 (0:00:00.017) 0:00:03.732 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** Thursday 25 July 2024 07:15:44 -0400 (0:00:00.028) 0:00:03.761 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007946", "end": "2024-07-25 07:15:44.698139", "rc": 1, "start": "2024-07-25 07:15:44.690193" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:15:44 -0400 (0:00:00.368) 0:00:04.130 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Thursday 25 July 2024 07:15:44 -0400 (0:00:00.018) 0:00:04.148 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Thursday 25 July 2024 07:15:45 -0400 (0:00:00.353) 0:00:04.502 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** Thursday 25 July 2024 07:15:45 -0400 (0:00:00.018) 0:00:04.520 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:15:45 -0400 (0:00:00.026) 0:00:04.547 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:15:45 -0400 (0:00:00.041) 0:00:04.588 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:15:45 -0400 (0:00:00.033) 0:00:04.622 ********* 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] *********** Thursday 25 July 2024 07:15:45 -0400 (0:00:00.022) 0:00:04.644 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:15:45 -0400 (0:00:00.020) 0:00:04.665 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:15:45 -0400 (0:00:00.019) 0:00:04.684 ********* 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] *** Thursday 25 July 2024 07:15:47 -0400 (0:00:01.823) 0:00:06.508 ********* 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] ************** Thursday 25 July 2024 07:15:48 -0400 (0:00:01.119) 0:00:07.627 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.034) 0:00:07.662 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.029) 0:00:07.692 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.030) 0:00:07.722 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.034) 0:00:07.757 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "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] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.047) 0:00:07.805 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.035) 0:00:07.841 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.043) 0:00:07.885 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.074) 0:00:07.960 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.059) 0:00:08.019 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.030) 0:00:08.050 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.044) 0:00:08.095 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:15:49 -0400 (0:00:00.788) 0:00:08.883 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:15:49 -0400 (0:00:00.046) 0:00:08.930 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:15:49 -0400 (0:00:00.030) 0:00:08.961 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:15:49 -0400 (0:00:00.030) 0:00:08.991 ********* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9e2cddd0-d49b-4e13-920a-2dcf1357a29b TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.754) 0:00:09.745 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.030) 0:00:09.776 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9e2cddd0-d49b-4e13-920a-2dcf1357a29b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.034) 0:00:09.811 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9e2cddd0-d49b-4e13-920a-2dcf1357a29b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9e2cddd0-d49b-4e13-920a-2dcf1357a29b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.035) 0:00:09.846 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.029) 0:00:09.876 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Thursday 25 July 2024 07:15:50 -0400 (0:00:00.467) 0:00:10.343 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9e2cddd0-d49b-4e13-920a-2dcf1357a29b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9e2cddd0-d49b-4e13-920a-2dcf1357a29b" ] } } TASK [Asserts] ***************************************************************** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.036) 0:00:10.380 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:15:51 -0400 (0:00:00.057) 0:00:10.438 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] ************ Thursday 25 July 2024 07:15:51 -0400 (0:00:00.085) 0:00:10.523 ********* 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] ******************************************************* Thursday 25 July 2024 07:15:51 -0400 (0:00:00.034) 0:00:10.558 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:15:51 -0400 (0:00:00.371) 0:00:10.929 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:15:51 -0400 (0:00:00.031) 0:00:10.960 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023844", "end": "2024-07-25 07:15:51.913235", "rc": 0, "start": "2024-07-25 07:15:51.889391" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 07:15:51 -0400 (0:00:00.402) 0:00:11.362 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ Thursday 25 July 2024 07:15:52 -0400 (0:00:00.036) 0:00:11.399 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Thursday 25 July 2024 07:15:52 -0400 (0:00:00.031) 0:00:11.431 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.033) 0:00:11.464 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Thursday 25 July 2024 07:15:52 -0400 (0:00:00.033) 0:00:11.497 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.030) 0:00:11.528 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* Thursday 25 July 2024 07:15:52 -0400 (0:00:00.038) 0:00:11.566 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.035) 0:00:11.602 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.037) 0:00:11.639 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:15:52 -0400 (0:00:00.066) 0:00:11.705 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.052) 0:00:11.757 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721906150.2380352, "block_size": 4096, "blocks": 0, "ctime": 1721906150.2380352, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49145, "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": 1721906150.2380352, "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'] ************************ Thursday 25 July 2024 07:15:52 -0400 (0:00:00.379) 0:00:12.137 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.067) 0:00:12.205 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.032) 0:00:12.238 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.060) 0:00:12.298 ********* 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.078972", "end": "2024-07-25 07:15:53.314344", "rc": 1, "start": "2024-07-25 07:15:53.235372" } STDOUT: Connection 'statebr' (9e2cddd0-d49b-4e13-920a-2dcf1357a29b) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** Thursday 25 July 2024 07:15:53 -0400 (0:00:00.462) 0:00:12.761 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] ************************ Thursday 25 July 2024 07:15:53 -0400 (0:00:00.054) 0:00:12.815 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** Thursday 25 July 2024 07:15:53 -0400 (0:00:00.032) 0:00:12.848 ********* 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'] ********************************** Thursday 25 July 2024 07:15:53 -0400 (0:00:00.067) 0:00:12.916 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 07:15:53 -0400 (0:00:00.048) 0:00:12.964 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 07:15:53 -0400 (0:00:00.049) 0:00:13.013 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003474", "end": "2024-07-25 07:15:53.946138", "rc": 0, "start": "2024-07-25 07:15:53.942664" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:15:54 -0400 (0:00:00.381) 0:00:13.395 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:15:54 -0400 (0:00:00.035) 0:00:13.431 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Thursday 25 July 2024 07:15:54 -0400 (0:00:00.036) 0:00:13.467 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** Thursday 25 July 2024 07:15:54 -0400 (0:00:00.062) 0:00:13.529 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006395", "end": "2024-07-25 07:15:54.467160", "rc": 1, "start": "2024-07-25 07:15:54.460765" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:15:54 -0400 (0:00:00.416) 0:00:13.946 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Thursday 25 July 2024 07:15:54 -0400 (0:00:00.050) 0:00:13.996 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Thursday 25 July 2024 07:15:54 -0400 (0:00:00.377) 0:00:14.374 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.034) 0:00:14.408 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.056) 0:00:14.465 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.066) 0:00:14.531 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.060) 0:00:14.592 ********* 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] *********** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.044) 0:00:14.636 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.033) 0:00:14.670 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.033) 0:00:14.704 ********* 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] *** Thursday 25 July 2024 07:15:57 -0400 (0:00:01.746) 0:00:16.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] ************** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.994) 0:00:17.445 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.036) 0:00:17.481 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.031) 0:00:17.513 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.029) 0:00:17.542 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.035) 0:00:17.577 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "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] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.048) 0:00:17.626 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.037) 0:00:17.664 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.044) 0:00:17.709 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.074) 0:00:17.783 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.030) 0:00:17.813 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.029) 0:00:17.843 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.046) 0:00:17.889 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:15:59 -0400 (0:00:00.580) 0:00:18.470 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:15:59 -0400 (0:00:00.046) 0:00:18.517 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:15:59 -0400 (0:00:00.028) 0:00:18.546 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:15:59 -0400 (0:00:00.031) 0:00:18.577 ********* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0ffed1c3-bbf0-4c6f-a802-ecfd228dd351 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:15:59 -0400 (0:00:00.593) 0:00:19.171 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:15:59 -0400 (0:00:00.028) 0:00:19.200 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0ffed1c3-bbf0-4c6f-a802-ecfd228dd351" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:15:59 -0400 (0:00:00.065) 0:00:19.265 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0ffed1c3-bbf0-4c6f-a802-ecfd228dd351\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0ffed1c3-bbf0-4c6f-a802-ecfd228dd351" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:15:59 -0400 (0:00:00.036) 0:00:19.301 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:15:59 -0400 (0:00:00.030) 0:00:19.331 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Thursday 25 July 2024 07:16:00 -0400 (0:00:00.388) 0:00:19.720 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0ffed1c3-bbf0-4c6f-a802-ecfd228dd351\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0ffed1c3-bbf0-4c6f-a802-ecfd228dd351" ] } } TASK [Asserts] ***************************************************************** Thursday 25 July 2024 07:16:00 -0400 (0:00:00.036) 0:00:19.756 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:16:00 -0400 (0:00:00.062) 0:00:19.819 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Thursday 25 July 2024 07:16:00 -0400 (0:00:00.048) 0:00:19.867 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Thursday 25 July 2024 07:16:00 -0400 (0:00:00.375) 0:00:20.243 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:16:00 -0400 (0:00:00.035) 0:00:20.278 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] ************ Thursday 25 July 2024 07:16:00 -0400 (0:00:00.055) 0:00:20.334 ********* 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] ******************************************************* Thursday 25 July 2024 07:16:00 -0400 (0:00:00.034) 0:00:20.369 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:16:01 -0400 (0:00:00.375) 0:00:20.745 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:16:01 -0400 (0:00:00.032) 0:00:20.777 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023369", "end": "2024-07-25 07:16:01.732431", "rc": 0, "start": "2024-07-25 07:16:01.709062" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 07:16:01 -0400 (0:00:00.403) 0:00:21.181 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ Thursday 25 July 2024 07:16:01 -0400 (0:00:00.072) 0:00:21.254 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Thursday 25 July 2024 07:16:01 -0400 (0:00:00.031) 0:00:21.286 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Thursday 25 July 2024 07:16:01 -0400 (0:00:00.033) 0:00:21.320 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Thursday 25 July 2024 07:16:01 -0400 (0:00:00.033) 0:00:21.354 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** Thursday 25 July 2024 07:16:02 -0400 (0:00:00.032) 0:00:21.386 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* Thursday 25 July 2024 07:16:02 -0400 (0:00:00.039) 0:00:21.426 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** Thursday 25 July 2024 07:16:02 -0400 (0:00:00.035) 0:00:21.461 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Thursday 25 July 2024 07:16:02 -0400 (0:00:00.036) 0:00:21.498 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ Thursday 25 July 2024 07:16:02 -0400 (0:00:00.036) 0:00:21.535 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** Thursday 25 July 2024 07:16:02 -0400 (0:00:00.034) 0:00:21.569 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Thursday 25 July 2024 07:16:02 -0400 (0:00:00.059) 0:00:21.629 ********* 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.047697", "end": "2024-07-25 07:16:02.603492", "rc": 1, "start": "2024-07-25 07:16:02.555795" } STDOUT: Connection 'statebr' (0ffed1c3-bbf0-4c6f-a802-ecfd228dd351) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** Thursday 25 July 2024 07:16:02 -0400 (0:00:00.421) 0:00:22.050 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can activate an existing profile] ******************************** Thursday 25 July 2024 07:16:02 -0400 (0:00:00.054) 0:00:22.104 ********* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** Thursday 25 July 2024 07:16:02 -0400 (0:00:00.035) 0:00:22.140 ********* 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'] ********************************** Thursday 25 July 2024 07:16:02 -0400 (0:00:00.066) 0:00:22.207 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 07:16:02 -0400 (0:00:00.091) 0:00:22.298 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 07:16:02 -0400 (0:00:00.048) 0:00:22.347 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003428", "end": "2024-07-25 07:16:03.281085", "rc": 0, "start": "2024-07-25 07:16:03.277657" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:16:03 -0400 (0:00:00.383) 0:00:22.730 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:16:03 -0400 (0:00:00.034) 0:00:22.765 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Thursday 25 July 2024 07:16:03 -0400 (0:00:00.033) 0:00:22.799 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:16:03 -0400 (0:00:00.054) 0:00:22.853 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:16:03 -0400 (0:00:00.066) 0:00:22.920 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:16:03 -0400 (0:00:00.061) 0:00:22.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] *********** Thursday 25 July 2024 07:16:03 -0400 (0:00:00.044) 0:00:23.026 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:16:03 -0400 (0:00:00.037) 0:00:23.063 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:16:03 -0400 (0:00:00.033) 0:00:23.096 ********* 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] *** Thursday 25 July 2024 07:16:05 -0400 (0:00:01.788) 0:00:24.885 ********* 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] ************** Thursday 25 July 2024 07:16:06 -0400 (0:00:00.998) 0:00:25.884 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:16:06 -0400 (0:00:00.036) 0:00:25.920 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:06 -0400 (0:00:00.030) 0:00:25.951 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:06 -0400 (0:00:00.030) 0:00:25.982 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** Thursday 25 July 2024 07:16:06 -0400 (0:00:00.039) 0:00:26.021 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "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] *** Thursday 25 July 2024 07:16:06 -0400 (0:00:00.046) 0:00:26.067 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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] *** Thursday 25 July 2024 07:16:06 -0400 (0:00:00.036) 0:00:26.104 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:16:06 -0400 (0:00:00.045) 0:00:26.149 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:16:06 -0400 (0:00:00.074) 0:00:26.223 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:16:06 -0400 (0:00:00.030) 0:00:26.254 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:16:06 -0400 (0:00:00.029) 0:00:26.283 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:16:06 -0400 (0:00:00.046) 0:00:26.330 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:16:07 -0400 (0:00:00.579) 0:00:26.909 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:16:07 -0400 (0:00:00.047) 0:00:26.957 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:16:07 -0400 (0:00:00.029) 0:00:26.987 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:16:07 -0400 (0:00:00.032) 0:00:27.020 ********* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab002da5-2767-414e-ac6f-9b0c96af8660 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:16:08 -0400 (0:00:00.665) 0:00:27.685 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:16:08 -0400 (0:00:00.030) 0:00:27.716 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab002da5-2767-414e-ac6f-9b0c96af8660" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:16:08 -0400 (0:00:00.072) 0:00:27.788 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab002da5-2767-414e-ac6f-9b0c96af8660\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab002da5-2767-414e-ac6f-9b0c96af8660" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:16:08 -0400 (0:00:00.035) 0:00:27.824 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:16:08 -0400 (0:00:00.032) 0:00:27.856 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Thursday 25 July 2024 07:16:08 -0400 (0:00:00.387) 0:00:28.243 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab002da5-2767-414e-ac6f-9b0c96af8660\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab002da5-2767-414e-ac6f-9b0c96af8660" ] } } TASK [Test] ******************************************************************** Thursday 25 July 2024 07:16:08 -0400 (0:00:00.037) 0:00:28.281 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:16:08 -0400 (0:00:00.055) 0:00:28.337 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:16:09 -0400 (0:00:00.069) 0:00:28.407 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:16:09 -0400 (0:00:00.060) 0:00:28.467 ********* 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] *********** Thursday 25 July 2024 07:16:09 -0400 (0:00:00.043) 0:00:28.511 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:16:09 -0400 (0:00:00.036) 0:00:28.548 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:16:09 -0400 (0:00:00.034) 0:00:28.582 ********* 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] *** Thursday 25 July 2024 07:16:10 -0400 (0:00:01.766) 0:00:30.348 ********* 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] ************** Thursday 25 July 2024 07:16:11 -0400 (0:00:01.010) 0:00:31.359 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.036) 0:00:31.396 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.031) 0:00:31.427 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.031) 0:00:31.459 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.039) 0:00:31.499 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "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] *** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.045) 0:00:31.544 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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] *** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.038) 0:00:31.582 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.044) 0:00:31.627 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.075) 0:00:31.702 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.032) 0:00:31.735 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.029) 0:00:31.764 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.047) 0:00:31.811 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.577) 0:00:32.389 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.050) 0:00:32.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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.030) 0:00:32.470 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.031) 0:00:32.501 ********* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ab002da5-2767-414e-ac6f-9b0c96af8660 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.584) 0:00:33.086 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.031) 0:00:33.117 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ab002da5-2767-414e-ac6f-9b0c96af8660 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.073) 0:00:33.191 ********* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ab002da5-2767-414e-ac6f-9b0c96af8660 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ab002da5-2767-414e-ac6f-9b0c96af8660 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.038) 0:00:33.229 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.030) 0:00:33.259 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Thursday 25 July 2024 07:16:14 -0400 (0:00:00.385) 0:00:33.644 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:16:14 -0400 (0:00:00.062) 0:00:33.707 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Thursday 25 July 2024 07:16:14 -0400 (0:00:00.052) 0:00:33.760 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721906168.172122, "block_size": 4096, "blocks": 0, "ctime": 1721906168.172122, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49276, "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": 1721906168.172122, "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'] ************************ Thursday 25 July 2024 07:16:14 -0400 (0:00:00.369) 0:00:34.130 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:16:14 -0400 (0:00:00.034) 0:00:34.164 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] ************ Thursday 25 July 2024 07:16:14 -0400 (0:00:00.055) 0:00:34.220 ********* 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] ******************************************************* Thursday 25 July 2024 07:16:14 -0400 (0:00:00.032) 0:00:34.252 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.374) 0:00:34.626 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.030) 0:00:34.656 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024430", "end": "2024-07-25 07:16:15.609760", "rc": 0, "start": "2024-07-25 07:16:15.585330" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.403) 0:00:35.060 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ Thursday 25 July 2024 07:16:15 -0400 (0:00:00.035) 0:00:35.095 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Thursday 25 July 2024 07:16:15 -0400 (0:00:00.068) 0:00:35.164 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.031) 0:00:35.195 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Thursday 25 July 2024 07:16:15 -0400 (0:00:00.033) 0:00:35.229 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.030) 0:00:35.259 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* Thursday 25 July 2024 07:16:15 -0400 (0:00:00.034) 0:00:35.294 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.034) 0:00:35.328 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.033) 0:00:35.362 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** Thursday 25 July 2024 07:16:16 -0400 (0:00:00.036) 0:00:35.398 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** Thursday 25 July 2024 07:16:16 -0400 (0:00:00.030) 0:00:35.429 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Thursday 25 July 2024 07:16:16 -0400 (0:00:00.055) 0:00:35.485 ********* 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.070287", "end": "2024-07-25 07:16:16.482267", "rc": 1, "start": "2024-07-25 07:16:16.411980" } STDOUT: Connection 'statebr' (ab002da5-2767-414e-ac6f-9b0c96af8660) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** Thursday 25 July 2024 07:16:16 -0400 (0:00:00.445) 0:00:35.930 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *********** Thursday 25 July 2024 07:16:16 -0400 (0:00:00.055) 0:00:35.985 ********* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** Thursday 25 July 2024 07:16:16 -0400 (0:00:00.033) 0:00:36.018 ********* 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'] ********************************** Thursday 25 July 2024 07:16:16 -0400 (0:00:00.067) 0:00:36.086 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 07:16:16 -0400 (0:00:00.050) 0:00:36.137 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 07:16:16 -0400 (0:00:00.084) 0:00:36.221 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003547", "end": "2024-07-25 07:16:17.151211", "rc": 0, "start": "2024-07-25 07:16:17.147664" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:16:17 -0400 (0:00:00.379) 0:00:36.601 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:16:17 -0400 (0:00:00.035) 0:00:36.636 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Thursday 25 July 2024 07:16:17 -0400 (0:00:00.032) 0:00:36.669 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:16:17 -0400 (0:00:00.058) 0:00:36.727 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:16:17 -0400 (0:00:00.069) 0:00:36.797 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:16:17 -0400 (0:00:00.062) 0:00:36.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] *********** Thursday 25 July 2024 07:16:17 -0400 (0:00:00.044) 0:00:36.904 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:16:17 -0400 (0:00:00.036) 0:00:36.941 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:16:17 -0400 (0:00:00.035) 0:00:36.976 ********* 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] *** Thursday 25 July 2024 07:16:19 -0400 (0:00:01.745) 0:00:38.722 ********* 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] ************** Thursday 25 July 2024 07:16:20 -0400 (0:00:01.005) 0:00:39.727 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.036) 0:00:39.764 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.030) 0:00:39.795 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.033) 0:00:39.828 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.036) 0:00:39.865 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "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] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.051) 0:00:39.916 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.039) 0:00:39.956 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.047) 0:00:40.003 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.072) 0:00:40.076 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.033) 0:00:40.109 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.030) 0:00:40.140 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.045) 0:00:40.185 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:16:21 -0400 (0:00:00.591) 0:00:40.777 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:16:21 -0400 (0:00:00.049) 0:00:40.826 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:16:21 -0400 (0:00:00.030) 0:00:40.857 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:16:21 -0400 (0:00:00.033) 0:00:40.890 ********* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 86d35eae-26bb-4881-934e-caf96ef29fbe TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:16:22 -0400 (0:00:00.598) 0:00:41.489 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:16:22 -0400 (0:00:00.031) 0:00:41.520 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 86d35eae-26bb-4881-934e-caf96ef29fbe" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:16:22 -0400 (0:00:00.035) 0:00:41.556 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 86d35eae-26bb-4881-934e-caf96ef29fbe\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 86d35eae-26bb-4881-934e-caf96ef29fbe" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:16:22 -0400 (0:00:00.082) 0:00:41.638 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:16:22 -0400 (0:00:00.032) 0:00:41.671 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Thursday 25 July 2024 07:16:22 -0400 (0:00:00.394) 0:00:42.066 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 86d35eae-26bb-4881-934e-caf96ef29fbe\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 86d35eae-26bb-4881-934e-caf96ef29fbe" ] } } TASK [Include network role] **************************************************** Thursday 25 July 2024 07:16:22 -0400 (0:00:00.036) 0:00:42.102 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:16:22 -0400 (0:00:00.073) 0:00:42.175 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:16:22 -0400 (0:00:00.065) 0:00:42.241 ********* 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] *********** Thursday 25 July 2024 07:16:22 -0400 (0:00:00.044) 0:00:42.285 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:16:22 -0400 (0:00:00.037) 0:00:42.323 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:16:22 -0400 (0:00:00.037) 0:00:42.361 ********* 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] *** Thursday 25 July 2024 07:16:24 -0400 (0:00:01.775) 0:00:44.136 ********* 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] ************** Thursday 25 July 2024 07:16:25 -0400 (0:00:00.925) 0:00:45.062 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:16:25 -0400 (0:00:00.033) 0:00:45.095 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:25 -0400 (0:00:00.070) 0:00:45.166 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:25 -0400 (0:00:00.032) 0:00:45.198 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** Thursday 25 July 2024 07:16:25 -0400 (0:00:00.037) 0:00:45.236 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "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] *** Thursday 25 July 2024 07:16:25 -0400 (0:00:00.050) 0:00:45.287 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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] *** Thursday 25 July 2024 07:16:25 -0400 (0:00:00.038) 0:00:45.325 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:16:25 -0400 (0:00:00.049) 0:00:45.375 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:16:26 -0400 (0:00:00.076) 0:00:45.451 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:16:26 -0400 (0:00:00.031) 0:00:45.483 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:16:26 -0400 (0:00:00.031) 0:00:45.514 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:16:26 -0400 (0:00:00.047) 0:00:45.562 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:16:26 -0400 (0:00:00.587) 0:00:46.150 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:16:26 -0400 (0:00:00.049) 0:00:46.199 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:16:26 -0400 (0:00:00.029) 0:00:46.229 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:16:26 -0400 (0:00:00.034) 0:00:46.263 ********* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 86d35eae-26bb-4881-934e-caf96ef29fbe skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:16:27 -0400 (0:00:00.544) 0:00:46.807 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:16:27 -0400 (0:00:00.033) 0:00:46.841 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 86d35eae-26bb-4881-934e-caf96ef29fbe skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:16:27 -0400 (0:00:00.035) 0:00:46.876 ********* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 86d35eae-26bb-4881-934e-caf96ef29fbe skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 86d35eae-26bb-4881-934e-caf96ef29fbe skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:16:27 -0400 (0:00:00.034) 0:00:46.911 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:16:27 -0400 (0:00:00.071) 0:00:46.983 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** Thursday 25 July 2024 07:16:27 -0400 (0:00:00.390) 0:00:47.373 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:16:28 -0400 (0:00:00.058) 0:00:47.431 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:16:28 -0400 (0:00:00.070) 0:00:47.501 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:16:28 -0400 (0:00:00.061) 0:00:47.563 ********* 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] *********** Thursday 25 July 2024 07:16:28 -0400 (0:00:00.044) 0:00:47.608 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:16:28 -0400 (0:00:00.035) 0:00:47.644 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:16:28 -0400 (0:00:00.037) 0:00:47.681 ********* 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] *** Thursday 25 July 2024 07:16:30 -0400 (0:00:01.729) 0:00:49.411 ********* 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] ************** Thursday 25 July 2024 07:16:30 -0400 (0:00:00.923) 0:00:50.334 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:16:30 -0400 (0:00:00.034) 0:00:50.368 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.075) 0:00:50.444 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.030) 0:00:50.475 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.039) 0:00:50.514 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "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] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.048) 0:00:50.563 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.037) 0:00:50.600 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.046) 0:00:50.647 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.075) 0:00:50.723 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.033) 0:00:50.757 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.030) 0:00:50.787 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.045) 0:00:50.833 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:16:32 -0400 (0:00:00.583) 0:00:51.417 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:16:32 -0400 (0:00:00.046) 0:00:51.463 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:16:32 -0400 (0:00:00.032) 0:00:51.496 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:16:32 -0400 (0:00:00.029) 0:00:51.525 ********* 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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:16:32 -0400 (0:00:00.588) 0:00:52.113 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:16:32 -0400 (0:00:00.030) 0:00:52.144 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:16:32 -0400 (0:00:00.035) 0:00:52.179 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:16:32 -0400 (0:00:00.037) 0:00:52.216 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:16:32 -0400 (0:00:00.029) 0:00:52.246 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Thursday 25 July 2024 07:16:33 -0400 (0:00:00.423) 0:00:52.670 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:16:33 -0400 (0:00:00.064) 0:00:52.735 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Thursday 25 July 2024 07:16:33 -0400 (0:00:00.049) 0:00:52.784 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721906181.987436, "block_size": 4096, "blocks": 0, "ctime": 1721906181.987436, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49407, "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": 1721906181.987436, "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'] ************************ Thursday 25 July 2024 07:16:33 -0400 (0:00:00.384) 0:00:53.169 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:16:33 -0400 (0:00:00.035) 0:00:53.205 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] ************ Thursday 25 July 2024 07:16:33 -0400 (0:00:00.056) 0:00:53.261 ********* 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] ******************************************************* Thursday 25 July 2024 07:16:33 -0400 (0:00:00.036) 0:00:53.298 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:16:34 -0400 (0:00:00.376) 0:00:53.674 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:16:34 -0400 (0:00:00.030) 0:00:53.705 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023883", "end": "2024-07-25 07:16:34.653813", "rc": 1, "start": "2024-07-25 07:16:34.629930" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 07:16:34 -0400 (0:00:00.398) 0:00:54.103 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ Thursday 25 July 2024 07:16:34 -0400 (0:00:00.030) 0:00:54.134 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Thursday 25 July 2024 07:16:34 -0400 (0:00:00.034) 0:00:54.169 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Thursday 25 July 2024 07:16:34 -0400 (0:00:00.030) 0:00:54.200 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Thursday 25 July 2024 07:16:34 -0400 (0:00:00.033) 0:00:54.233 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** Thursday 25 July 2024 07:16:34 -0400 (0:00:00.071) 0:00:54.304 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Thursday 25 July 2024 07:16:34 -0400 (0:00:00.037) 0:00:54.341 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** Thursday 25 July 2024 07:16:34 -0400 (0:00:00.036) 0:00:54.377 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** Thursday 25 July 2024 07:16:35 -0400 (0:00:00.034) 0:00:54.412 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Thursday 25 July 2024 07:16:35 -0400 (0:00:00.060) 0:00:54.473 ********* 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.078942", "end": "2024-07-25 07:16:35.481432", "rc": 1, "start": "2024-07-25 07:16:35.402490" } STDOUT: Connection 'statebr' (86d35eae-26bb-4881-934e-caf96ef29fbe) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** Thursday 25 July 2024 07:16:35 -0400 (0:00:00.454) 0:00:54.927 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] ************************** Thursday 25 July 2024 07:16:35 -0400 (0:00:00.055) 0:00:54.983 ********* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** Thursday 25 July 2024 07:16:35 -0400 (0:00:00.033) 0:00:55.016 ********* 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": true, "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'] ********************************** Thursday 25 July 2024 07:16:35 -0400 (0:00:00.067) 0:00:55.083 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 07:16:35 -0400 (0:00:00.050) 0:00:55.134 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 07:16:35 -0400 (0:00:00.051) 0:00:55.186 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003533", "end": "2024-07-25 07:16:36.114833", "rc": 0, "start": "2024-07-25 07:16:36.111300" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:16:36 -0400 (0:00:00.376) 0:00:55.563 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:16:36 -0400 (0:00:00.034) 0:00:55.597 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Thursday 25 July 2024 07:16:36 -0400 (0:00:00.035) 0:00:55.633 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:16:36 -0400 (0:00:00.100) 0:00:55.734 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:16:36 -0400 (0:00:00.072) 0:00:55.806 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:16:36 -0400 (0:00:00.062) 0:00:55.869 ********* 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] *********** Thursday 25 July 2024 07:16:36 -0400 (0:00:00.044) 0:00:55.913 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:16:36 -0400 (0:00:00.037) 0:00:55.951 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:16:36 -0400 (0:00:00.039) 0:00:55.990 ********* 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] *** Thursday 25 July 2024 07:16:38 -0400 (0:00:01.748) 0:00:57.738 ********* 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] ************** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.933) 0:00:58.671 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.036) 0:00:58.708 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.031) 0:00:58.739 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.031) 0:00:58.771 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.042) 0:00:58.814 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "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] *** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.096) 0:00:58.910 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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] *** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.038) 0:00:58.949 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.047) 0:00:58.997 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.075) 0:00:59.072 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.033) 0:00:59.106 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.030) 0:00:59.137 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.050) 0:00:59.187 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:16:40 -0400 (0:00:00.585) 0:00:59.773 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:16:40 -0400 (0:00:00.049) 0:00:59.822 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:16:40 -0400 (0:00:00.031) 0:00:59.854 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:16:40 -0400 (0:00:00.033) 0:00:59.888 ********* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 74e77198-abb3-46d6-b923-c7660bbf1b83 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.605) 0:01:00.493 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.033) 0:01:00.527 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 74e77198-abb3-46d6-b923-c7660bbf1b83" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.034) 0:01:00.562 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 74e77198-abb3-46d6-b923-c7660bbf1b83\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 74e77198-abb3-46d6-b923-c7660bbf1b83" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.037) 0:01:00.599 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.031) 0:01:00.630 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Thursday 25 July 2024 07:16:41 -0400 (0:00:00.387) 0:01:01.018 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 74e77198-abb3-46d6-b923-c7660bbf1b83\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 74e77198-abb3-46d6-b923-c7660bbf1b83" ] } } TASK [Include network role] **************************************************** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.033) 0:01:01.052 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.107) 0:01:01.159 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.062) 0:01:01.222 ********* 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] *********** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.046) 0:01:01.268 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.037) 0:01:01.306 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.036) 0:01:01.343 ********* 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] *** Thursday 25 July 2024 07:16:43 -0400 (0:00:01.765) 0:01:03.108 ********* 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] ************** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.921) 0:01:04.029 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.036) 0:01:04.066 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.032) 0:01:04.098 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.031) 0:01:04.130 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.037) 0:01:04.168 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "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] *** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.049) 0:01:04.218 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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] *** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.037) 0:01:04.256 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.091) 0:01:04.348 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.075) 0:01:04.424 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.032) 0:01:04.456 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.031) 0:01:04.488 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.050) 0:01:04.538 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.577) 0:01:05.116 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.045) 0:01:05.161 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.032) 0:01:05.194 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.029) 0:01:05.223 ********* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 74e77198-abb3-46d6-b923-c7660bbf1b83 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.553) 0:01:05.777 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.032) 0:01:05.810 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 74e77198-abb3-46d6-b923-c7660bbf1b83 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.035) 0:01:05.845 ********* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 74e77198-abb3-46d6-b923-c7660bbf1b83 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 74e77198-abb3-46d6-b923-c7660bbf1b83 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.036) 0:01:05.881 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.031) 0:01:05.913 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.386) 0:01:06.300 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.069) 0:01:06.370 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:16:47 -0400 (0:00:00.106) 0:01:06.476 ********* 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] *********** Thursday 25 July 2024 07:16:47 -0400 (0:00:00.045) 0:01:06.521 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:16:47 -0400 (0:00:00.035) 0:01:06.557 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:16:47 -0400 (0:00:00.035) 0:01:06.593 ********* 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] *** Thursday 25 July 2024 07:16:48 -0400 (0:00:01.782) 0:01:08.375 ********* 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] ************** Thursday 25 July 2024 07:16:49 -0400 (0:00:00.924) 0:01:09.300 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:16:49 -0400 (0:00:00.036) 0:01:09.337 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:49 -0400 (0:00:00.030) 0:01:09.367 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.034) 0:01:09.401 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.037) 0:01:09.439 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "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] *** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.049) 0:01:09.488 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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] *** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.038) 0:01:09.527 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.050) 0:01:09.577 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.075) 0:01:09.652 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.031) 0:01:09.684 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.074) 0:01:09.758 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.046) 0:01:09.805 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.577) 0:01:10.383 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:16:51 -0400 (0:00:00.046) 0:01:10.429 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:16:51 -0400 (0:00:00.031) 0:01:10.460 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:16:51 -0400 (0:00:00.034) 0:01:10.495 ********* 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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:16:51 -0400 (0:00:00.581) 0:01:11.076 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:16:51 -0400 (0:00:00.034) 0:01:11.110 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:16:51 -0400 (0:00:00.036) 0:01:11.147 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:16:51 -0400 (0:00:00.035) 0:01:11.183 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:16:51 -0400 (0:00:00.033) 0:01:11.217 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** Thursday 25 July 2024 07:16:52 -0400 (0:00:00.388) 0:01:11.605 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:16:52 -0400 (0:00:00.060) 0:01:11.665 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:16:52 -0400 (0:00:00.073) 0:01:11.739 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:16:52 -0400 (0:00:00.111) 0:01:11.851 ********* 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] *********** Thursday 25 July 2024 07:16:52 -0400 (0:00:00.044) 0:01:11.896 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:16:52 -0400 (0:00:00.041) 0:01:11.937 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:16:52 -0400 (0:00:00.039) 0:01:11.977 ********* 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] *** Thursday 25 July 2024 07:16:54 -0400 (0:00:01.777) 0:01:13.755 ********* 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] ************** Thursday 25 July 2024 07:16:55 -0400 (0:00:00.925) 0:01:14.681 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:16:55 -0400 (0:00:00.035) 0:01:14.716 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:55 -0400 (0:00:00.033) 0:01:14.750 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:16:55 -0400 (0:00:00.030) 0:01:14.780 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** Thursday 25 July 2024 07:16:55 -0400 (0:00:00.040) 0:01:14.820 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "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] *** Thursday 25 July 2024 07:16:55 -0400 (0:00:00.050) 0:01:14.871 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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] *** Thursday 25 July 2024 07:16:55 -0400 (0:00:00.040) 0:01:14.911 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:16:55 -0400 (0:00:00.048) 0:01:14.960 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:16:55 -0400 (0:00:00.075) 0:01:15.036 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:16:55 -0400 (0:00:00.032) 0:01:15.069 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:16:55 -0400 (0:00:00.034) 0:01:15.103 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:16:55 -0400 (0:00:00.091) 0:01:15.195 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:16:56 -0400 (0:00:00.579) 0:01:15.775 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:16:56 -0400 (0:00:00.045) 0:01:15.821 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:16:56 -0400 (0:00:00.031) 0:01:15.852 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:16:56 -0400 (0:00:00.032) 0:01:15.884 ********* 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": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:16:57 -0400 (0:00:00.643) 0:01:16.527 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:16:57 -0400 (0:00:00.032) 0:01:16.559 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:16:57 -0400 (0:00:00.035) 0:01:16.595 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:16:57 -0400 (0:00:00.039) 0:01:16.634 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:16:57 -0400 (0:00:00.030) 0:01:16.665 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Thursday 25 July 2024 07:16:57 -0400 (0:00:00.387) 0:01:17.052 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:16:57 -0400 (0:00:00.059) 0:01:17.112 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] ************ Thursday 25 July 2024 07:16:57 -0400 (0:00:00.056) 0:01:17.168 ********* 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] ******************************************************* Thursday 25 July 2024 07:16:57 -0400 (0:00:00.033) 0:01:17.202 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:16:58 -0400 (0:00:00.376) 0:01:17.579 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:16:58 -0400 (0:00:00.072) 0:01:17.651 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023118", "end": "2024-07-25 07:16:58.603192", "rc": 1, "start": "2024-07-25 07:16:58.580074" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 07:16:58 -0400 (0:00:00.399) 0:01:18.051 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ Thursday 25 July 2024 07:16:58 -0400 (0:00:00.034) 0:01:18.085 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Thursday 25 July 2024 07:16:58 -0400 (0:00:00.032) 0:01:18.118 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Thursday 25 July 2024 07:16:58 -0400 (0:00:00.031) 0:01:18.150 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Thursday 25 July 2024 07:16:58 -0400 (0:00:00.034) 0:01:18.184 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** Thursday 25 July 2024 07:16:58 -0400 (0:00:00.031) 0:01:18.216 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Thursday 25 July 2024 07:16:58 -0400 (0:00:00.036) 0:01:18.252 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:16:58 -0400 (0:00:00.066) 0:01:18.319 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Thursday 25 July 2024 07:16:58 -0400 (0:00:00.053) 0:01:18.372 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Thursday 25 July 2024 07:16:59 -0400 (0:00:00.378) 0:01:18.751 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** Thursday 25 July 2024 07:16:59 -0400 (0:00:00.037) 0:01:18.788 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** Thursday 25 July 2024 07:16:59 -0400 (0:00:00.033) 0:01:18.822 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Thursday 25 July 2024 07:16:59 -0400 (0:00:00.058) 0:01:18.881 ********* 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.045146", "end": "2024-07-25 07:16:59.852638", "rc": 1, "start": "2024-07-25 07:16:59.807492" } 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'] ***************************************** Thursday 25 July 2024 07:16:59 -0400 (0:00:00.420) 0:01:19.301 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] **** Thursday 25 July 2024 07:17:00 -0400 (0:00:00.101) 0:01:19.403 ********* ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** Thursday 25 July 2024 07:17:00 -0400 (0:00:00.034) 0:01:19.438 ********* 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": true, "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'] ********************************** Thursday 25 July 2024 07:17:00 -0400 (0:00:00.068) 0:01:19.506 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 07:17:00 -0400 (0:00:00.052) 0:01:19.558 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 07:17:00 -0400 (0:00:00.050) 0:01:19.608 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003436", "end": "2024-07-25 07:17:00.534011", "rc": 0, "start": "2024-07-25 07:17:00.530575" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:17:00 -0400 (0:00:00.371) 0:01:19.980 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:17:00 -0400 (0:00:00.036) 0:01:20.016 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Thursday 25 July 2024 07:17:00 -0400 (0:00:00.036) 0:01:20.053 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:17:00 -0400 (0:00:00.063) 0:01:20.116 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:17:00 -0400 (0:00:00.071) 0:01:20.188 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:17:00 -0400 (0:00:00.064) 0:01:20.252 ********* 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] *********** Thursday 25 July 2024 07:17:00 -0400 (0:00:00.043) 0:01:20.296 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:17:00 -0400 (0:00:00.084) 0:01:20.380 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:17:01 -0400 (0:00:00.039) 0:01:20.420 ********* 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] *** Thursday 25 July 2024 07:17:02 -0400 (0:00:01.764) 0:01:22.184 ********* 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] ************** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.931) 0:01:23.116 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.034) 0:01:23.151 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.033) 0:01:23.185 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.029) 0:01:23.215 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.038) 0:01:23.253 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "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] *** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.050) 0:01:23.304 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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] *** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.036) 0:01:23.340 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:17:04 -0400 (0:00:00.047) 0:01:23.388 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:17:04 -0400 (0:00:00.074) 0:01:23.462 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:17:04 -0400 (0:00:00.033) 0:01:23.496 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:17:04 -0400 (0:00:00.030) 0:01:23.527 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:17:04 -0400 (0:00:00.049) 0:01:23.577 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:17:04 -0400 (0:00:00.626) 0:01:24.203 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:17:04 -0400 (0:00:00.048) 0:01:24.252 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:17:04 -0400 (0:00:00.032) 0:01:24.285 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:17:04 -0400 (0:00:00.033) 0:01:24.318 ********* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0acdb1a6-13b8-4ebd-8ca4-95931f02fe66 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.602) 0:01:24.921 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.033) 0:01:24.954 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0acdb1a6-13b8-4ebd-8ca4-95931f02fe66" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.034) 0:01:24.989 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0acdb1a6-13b8-4ebd-8ca4-95931f02fe66\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0acdb1a6-13b8-4ebd-8ca4-95931f02fe66" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.037) 0:01:25.027 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.030) 0:01:25.057 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Thursday 25 July 2024 07:17:06 -0400 (0:00:00.399) 0:01:25.457 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0acdb1a6-13b8-4ebd-8ca4-95931f02fe66\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0acdb1a6-13b8-4ebd-8ca4-95931f02fe66" ] } } TASK [Include network role] **************************************************** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.036) 0:01:25.493 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.070) 0:01:25.563 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.061) 0:01:25.625 ********* 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] *********** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.044) 0:01:25.670 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.035) 0:01:25.705 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.080) 0:01:25.785 ********* 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] *** Thursday 25 July 2024 07:17:08 -0400 (0:00:01.749) 0:01:27.535 ********* 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] ************** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.930) 0:01:28.466 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.035) 0:01:28.501 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.031) 0:01:28.533 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.032) 0:01:28.566 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.037) 0:01:28.603 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "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] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.048) 0:01:28.652 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.042) 0:01:28.695 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.047) 0:01:28.743 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.075) 0:01:28.818 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.034) 0:01:28.852 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.030) 0:01:28.882 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.050) 0:01:28.933 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:17:10 -0400 (0:00:00.582) 0:01:29.516 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:17:10 -0400 (0:00:00.048) 0:01:29.565 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:17:10 -0400 (0:00:00.076) 0:01:29.641 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:17:10 -0400 (0:00:00.032) 0:01:29.674 ********* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0acdb1a6-13b8-4ebd-8ca4-95931f02fe66 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:17:10 -0400 (0:00:00.556) 0:01:30.230 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:17:10 -0400 (0:00:00.033) 0:01:30.264 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0acdb1a6-13b8-4ebd-8ca4-95931f02fe66 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:17:10 -0400 (0:00:00.035) 0:01:30.299 ********* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0acdb1a6-13b8-4ebd-8ca4-95931f02fe66 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0acdb1a6-13b8-4ebd-8ca4-95931f02fe66 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:17:10 -0400 (0:00:00.037) 0:01:30.336 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:17:10 -0400 (0:00:00.030) 0:01:30.366 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** Thursday 25 July 2024 07:17:11 -0400 (0:00:00.389) 0:01:30.756 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:17:11 -0400 (0:00:00.070) 0:01:30.826 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:17:11 -0400 (0:00:00.065) 0:01:30.892 ********* 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] *********** Thursday 25 July 2024 07:17:11 -0400 (0:00:00.046) 0:01:30.939 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:17:11 -0400 (0:00:00.037) 0:01:30.976 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:17:11 -0400 (0:00:00.037) 0:01:31.013 ********* 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] *** Thursday 25 July 2024 07:17:13 -0400 (0:00:01.733) 0:01:32.747 ********* 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] ************** Thursday 25 July 2024 07:17:14 -0400 (0:00:01.015) 0:01:33.763 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.036) 0:01:33.799 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.031) 0:01:33.831 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.031) 0:01:33.863 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.039) 0:01:33.902 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "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] *** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.049) 0:01:33.952 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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] *** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.038) 0:01:33.990 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.047) 0:01:34.038 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.074) 0:01:34.112 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.032) 0:01:34.144 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.034) 0:01:34.178 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.047) 0:01:34.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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:17:15 -0400 (0:00:00.578) 0:01:34.804 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:17:15 -0400 (0:00:00.045) 0:01:34.850 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:17:15 -0400 (0:00:00.032) 0:01:34.882 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:17:15 -0400 (0:00:00.030) 0:01:34.913 ********* 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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:17:16 -0400 (0:00:00.706) 0:01:35.619 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:17:16 -0400 (0:00:00.079) 0:01:35.698 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:17:16 -0400 (0:00:00.035) 0:01:35.734 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:17:16 -0400 (0:00:00.037) 0:01:35.771 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:17:16 -0400 (0:00:00.030) 0:01:35.802 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** Thursday 25 July 2024 07:17:16 -0400 (0:00:00.390) 0:01:36.192 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:17:16 -0400 (0:00:00.056) 0:01:36.249 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:17:16 -0400 (0:00:00.069) 0:01:36.318 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] *** Thursday 25 July 2024 07:17:17 -0400 (0:00:00.064) 0:01:36.383 ********* 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] *********** Thursday 25 July 2024 07:17:17 -0400 (0:00:00.044) 0:01:36.428 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:17:17 -0400 (0:00:00.037) 0:01:36.465 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:17:17 -0400 (0:00:00.034) 0:01:36.500 ********* 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] *** Thursday 25 July 2024 07:17:18 -0400 (0:00:01.786) 0:01:38.287 ********* 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] ************** Thursday 25 July 2024 07:17:19 -0400 (0:00:01.026) 0:01:39.313 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:17:19 -0400 (0:00:00.037) 0:01:39.351 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:17:19 -0400 (0:00:00.031) 0:01:39.382 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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] *** Thursday 25 July 2024 07:17:20 -0400 (0:00:00.033) 0:01:39.416 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** Thursday 25 July 2024 07:17:20 -0400 (0:00:00.036) 0:01:39.452 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "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] *** Thursday 25 July 2024 07:17:20 -0400 (0:00:00.049) 0:01:39.502 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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] *** Thursday 25 July 2024 07:17:20 -0400 (0:00:00.038) 0:01:39.540 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:17:20 -0400 (0:00:00.046) 0:01:39.587 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:17:20 -0400 (0:00:00.075) 0:01:39.662 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:17:20 -0400 (0:00:00.030) 0:01:39.693 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:17:20 -0400 (0:00:00.033) 0:01:39.726 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:17:20 -0400 (0:00:00.048) 0:01:39.774 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:17:20 -0400 (0:00:00.586) 0:01:40.361 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:17:21 -0400 (0:00:00.049) 0:01:40.410 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:17:21 -0400 (0:00:00.030) 0:01:40.440 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:17:21 -0400 (0:00:00.032) 0:01:40.473 ********* 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": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:17:21 -0400 (0:00:00.624) 0:01:41.098 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:17:21 -0400 (0:00:00.031) 0:01:41.129 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:17:21 -0400 (0:00:00.081) 0:01:41.211 ********* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:17:21 -0400 (0:00:00.037) 0:01:41.248 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:17:21 -0400 (0:00:00.031) 0:01:41.280 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Thursday 25 July 2024 07:17:22 -0400 (0:00:00.396) 0:01:41.676 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:17:22 -0400 (0:00:00.066) 0:01:41.743 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/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] ************ Thursday 25 July 2024 07:17:22 -0400 (0:00:00.057) 0:01:41.801 ********* 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] ******************************************************* Thursday 25 July 2024 07:17:22 -0400 (0:00:00.037) 0:01:41.839 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:17:22 -0400 (0:00:00.382) 0:01:42.221 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:17:22 -0400 (0:00:00.035) 0:01:42.257 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022854", "end": "2024-07-25 07:17:23.214950", "rc": 1, "start": "2024-07-25 07:17:23.192096" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 07:17:23 -0400 (0:00:00.405) 0:01:42.663 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ Thursday 25 July 2024 07:17:23 -0400 (0:00:00.034) 0:01:42.697 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Thursday 25 July 2024 07:17:23 -0400 (0:00:00.033) 0:01:42.730 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Thursday 25 July 2024 07:17:23 -0400 (0:00:00.032) 0:01:42.762 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Thursday 25 July 2024 07:17:23 -0400 (0:00:00.033) 0:01:42.796 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** Thursday 25 July 2024 07:17:23 -0400 (0:00:00.033) 0:01:42.829 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** Thursday 25 July 2024 07:17:23 -0400 (0:00:00.079) 0:01:42.908 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.336785", "end": "2024-07-25 07:17:24.170874", "rc": 0, "start": "2024-07-25 07:17:23.834089" } STDOUT: NetworkManager-1.48.2-2.el9 TASK [Store NetworkManager version] ******************************************** Thursday 25 July 2024 07:17:24 -0400 (0:00:00.710) 0:01:43.619 ********* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* Thursday 25 July 2024 07:17:24 -0400 (0:00:00.038) 0:01:43.657 ********* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" } TASK [Conditional asserts] ***************************************************** Thursday 25 July 2024 07:17:24 -0400 (0:00:00.034) 0:01:43.691 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:17:24 -0400 (0:00:00.069) 0:01:43.761 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Thursday 25 July 2024 07:17:24 -0400 (0:00:00.053) 0:01:43.815 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Thursday 25 July 2024 07:17:24 -0400 (0:00:00.380) 0:01:44.195 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** Thursday 25 July 2024 07:17:24 -0400 (0:00:00.035) 0:01:44.231 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** Thursday 25 July 2024 07:17:24 -0400 (0:00:00.036) 0:01:44.267 ********* included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) included: /var/ARTIFACTS/work-generalhtq93w0s/plans/general/tree/tmp.b4rLoXEZys/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** Thursday 25 July 2024 07:17:24 -0400 (0:00:00.064) 0:01:44.331 ********* 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.045640", "end": "2024-07-25 07:17:25.306605", "rc": 1, "start": "2024-07-25 07:17:25.260965" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** Thursday 25 July 2024 07:17:25 -0400 (0:00:00.426) 0:01:44.758 ********* 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.008915", "end": "2024-07-25 07:17:25.695616", "rc": 0, "start": "2024-07-25 07:17:25.686701" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:5a:38:4b:62:c3 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.44.76/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2376sec preferred_lft 2376sec inet6 fe80::5a:38ff:fe4b:62c3/64 scope link valid_lft forever preferred_lft forever 84: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether e2:50:d1:7b:8e:fb brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.76 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.76 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* Thursday 25 July 2024 07:17:25 -0400 (0:00:00.386) 0:01:45.145 ********* 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.104777", "end": "2024-07-25 07:17:26.182353", "rc": 0, "start": "2024-07-25 07:17:26.077576" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600: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 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 10892 0 --:--:-- --:--:-- --:--:-- 10892 % 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 6191 0 --:--:-- --:--:-- --:--:-- 6191 PLAY RECAP ********************************************************************* managed_node1 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 Thursday 25 July 2024 07:17:26 -0400 (0:00:00.537) 0:01:45.682 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.82s fedora.linux_system_roles.network : Check which services are running ---- 1.79s fedora.linux_system_roles.network : Check which services are running ---- 1.79s fedora.linux_system_roles.network : Check which services are running ---- 1.78s fedora.linux_system_roles.network : Check which services are running ---- 1.78s fedora.linux_system_roles.network : Check which services are running ---- 1.78s fedora.linux_system_roles.network : Check which services are running ---- 1.77s fedora.linux_system_roles.network : Check which services are running ---- 1.77s fedora.linux_system_roles.network : Check which services are running ---- 1.76s fedora.linux_system_roles.network : Check which services are running ---- 1.75s fedora.linux_system_roles.network : Check which services are running ---- 1.75s fedora.linux_system_roles.network : Check which services are running ---- 1.75s fedora.linux_system_roles.network : Check which services are running ---- 1.75s fedora.linux_system_roles.network : Check which services are running ---- 1.73s fedora.linux_system_roles.network : Check which services are running ---- 1.73s Gathering Facts --------------------------------------------------------- 1.12s fedora.linux_system_roles.network : Check which packages are installed --- 1.12s fedora.linux_system_roles.network : Check which packages are installed --- 1.03s fedora.linux_system_roles.network : Check which packages are installed --- 1.02s fedora.linux_system_roles.network : Check which packages are installed --- 1.01s