[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] ********************************************************* Monday 22 July 2024 12:10:25 -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'] ************************************ Monday 22 July 2024 12:10:26 -0400 (0:00:01.087) 0:00:01.095 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:10:26 -0400 (0:00:00.017) 0:00:01.113 *********** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Monday 22 July 2024 12:10:27 -0400 (0:00:00.490) 0:00:01.603 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Monday 22 July 2024 12:10:27 -0400 (0:00:00.424) 0:00:02.028 *********** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Monday 22 July 2024 12:10:27 -0400 (0:00:00.021) 0:00:02.049 *********** 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'] ************************************** Monday 22 July 2024 12:10:27 -0400 (0:00:00.014) 0:00:02.064 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 9] *********************************************************** Monday 22 July 2024 12:10:27 -0400 (0:00:00.028) 0:00:02.093 *********** 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] *********************************************** Monday 22 July 2024 12:10:27 -0400 (0:00:00.013) 0:00:02.106 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Monday 22 July 2024 12:10:27 -0400 (0:00:00.011) 0:00:02.118 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Monday 22 July 2024 12:10:27 -0400 (0:00:00.015) 0:00:02.133 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Monday 22 July 2024 12:10:27 -0400 (0:00:00.012) 0:00:02.146 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Monday 22 July 2024 12:10:27 -0400 (0:00:00.013) 0:00:02.159 *********** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:10:27 -0400 (0:00:00.029) 0:00:02.189 *********** ok: [managed_node1] TASK [Show playbook name] ****************************************************** Monday 22 July 2024 12:10:28 -0400 (0:00:00.766) 0:00:02.955 *********** ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** Monday 22 July 2024 12:10:28 -0400 (0:00:00.018) 0:00:02.973 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile] ******************************************** Monday 22 July 2024 12:10:28 -0400 (0:00:00.025) 0:00:02.999 *********** ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** Monday 22 July 2024 12:10:28 -0400 (0:00:00.016) 0:00:03.015 *********** 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'] ********************************** Monday 22 July 2024 12:10:28 -0400 (0:00:00.051) 0:00:03.067 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Monday 22 July 2024 12:10:28 -0400 (0:00:00.022) 0:00:03.089 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Monday 22 July 2024 12:10:28 -0400 (0:00:00.018) 0:00:03.108 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003145", "end": "2024-07-22 12:10:29.001535", "rc": 0, "start": "2024-07-22 12:10:28.998390" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:10:29 -0400 (0:00:00.430) 0:00:03.538 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:10:29 -0400 (0:00:00.018) 0:00:03.556 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Monday 22 July 2024 12:10:29 -0400 (0:00:00.018) 0:00:03.574 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ************************************** Monday 22 July 2024 12:10:29 -0400 (0:00:00.028) 0:00:03.603 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007062", "end": "2024-07-22 12:10:29.410952", "rc": 1, "start": "2024-07-22 12:10:29.403890" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* Monday 22 July 2024 12:10:29 -0400 (0:00:00.343) 0:00:03.946 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Monday 22 July 2024 12:10:29 -0400 (0:00:00.019) 0:00:03.966 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Monday 22 July 2024 12:10:29 -0400 (0:00:00.333) 0:00:04.299 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** Monday 22 July 2024 12:10:29 -0400 (0:00:00.017) 0:00:04.317 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] **************************************************** Monday 22 July 2024 12:10:29 -0400 (0:00:00.025) 0:00:04.343 *********** included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:10:29 -0400 (0:00:00.042) 0:00:04.385 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:10:29 -0400 (0:00:00.033) 0:00:04.419 *********** 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] *********** Monday 22 July 2024 12:10:29 -0400 (0:00:00.020) 0:00:04.440 *********** 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] *** Monday 22 July 2024 12:10:29 -0400 (0:00:00.019) 0:00:04.459 *********** 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] **** Monday 22 July 2024 12:10:29 -0400 (0:00:00.023) 0:00:04.482 *********** 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] *** Monday 22 July 2024 12:10:32 -0400 (0:00:02.668) 0:00:07.150 *********** 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] ************** Monday 22 July 2024 12:10:33 -0400 (0:00:01.058) 0:00:08.209 *********** 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] *** Monday 22 July 2024 12:10:33 -0400 (0:00:00.032) 0:00:08.242 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:10:33 -0400 (0:00:00.037) 0:00:08.279 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:10:33 -0400 (0:00:00.037) 0:00:08.317 *********** 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] *** Monday 22 July 2024 12:10:33 -0400 (0:00:00.048) 0:00:08.366 *********** 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] *** Monday 22 July 2024 12:10:33 -0400 (0:00:00.037) 0:00:08.403 *********** 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] ******************** Monday 22 July 2024 12:10:33 -0400 (0:00:00.045) 0:00:08.448 *********** 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] *** Monday 22 July 2024 12:10:34 -0400 (0:00:00.078) 0:00:08.526 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:10:34 -0400 (0:00:00.037) 0:00:08.564 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:10:34 -0400 (0:00:00.060) 0:00:08.625 *********** 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] ***** Monday 22 July 2024 12:10:34 -0400 (0:00:00.048) 0:00:08.673 *********** 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] ***** Monday 22 July 2024 12:10:34 -0400 (0:00:00.748) 0:00:09.422 *********** 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] ************** Monday 22 July 2024 12:10:34 -0400 (0:00:00.052) 0:00:09.474 *********** 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] *** Monday 22 July 2024 12:10:35 -0400 (0:00:00.033) 0:00:09.508 *********** 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] *** Monday 22 July 2024 12:10:35 -0400 (0:00:00.029) 0:00:09.537 *********** 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, b7d310cf-49ec-421d-b9d7-bd0b51875b1b TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:10:35 -0400 (0:00:00.719) 0:00:10.257 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:10:35 -0400 (0:00:00.038) 0:00:10.295 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b7d310cf-49ec-421d-b9d7-bd0b51875b1b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:10:35 -0400 (0:00:00.034) 0:00:10.329 *********** 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, b7d310cf-49ec-421d-b9d7-bd0b51875b1b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b7d310cf-49ec-421d-b9d7-bd0b51875b1b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:10:35 -0400 (0:00:00.037) 0:00:10.367 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:10:35 -0400 (0:00:00.037) 0:00:10.405 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Monday 22 July 2024 12:10:36 -0400 (0:00:00.444) 0:00:10.849 *********** 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, b7d310cf-49ec-421d-b9d7-bd0b51875b1b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b7d310cf-49ec-421d-b9d7-bd0b51875b1b" ] } } TASK [Asserts] ***************************************************************** Monday 22 July 2024 12:10:36 -0400 (0:00:00.038) 0:00:10.887 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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'] ********************************* Monday 22 July 2024 12:10:36 -0400 (0:00:00.061) 0:00:10.949 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ************ Monday 22 July 2024 12:10:36 -0400 (0:00:00.061) 0:00:11.010 *********** 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] ******************************************************* Monday 22 July 2024 12:10:36 -0400 (0:00:00.067) 0:00:11.078 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:10:36 -0400 (0:00:00.355) 0:00:11.433 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 12:10:36 -0400 (0:00:00.031) 0:00:11.465 *********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020438", "end": "2024-07-22 12:10:37.285204", "rc": 0, "start": "2024-07-22 12:10:37.264766" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 12:10:37 -0400 (0:00:00.373) 0:00:11.838 *********** 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] ************************ Monday 22 July 2024 12:10:37 -0400 (0:00:00.035) 0:00:11.874 *********** 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] ********************* Monday 22 July 2024 12:10:37 -0400 (0:00:00.034) 0:00:11.908 *********** 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] **************************** Monday 22 July 2024 12:10:37 -0400 (0:00:00.032) 0:00:11.940 *********** 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] ************************* Monday 22 July 2024 12:10:37 -0400 (0:00:00.034) 0:00:11.974 *********** 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'] ************************** Monday 22 July 2024 12:10:37 -0400 (0:00:00.033) 0:00:12.007 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* Monday 22 July 2024 12:10:37 -0400 (0:00:00.036) 0:00:12.044 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** Monday 22 July 2024 12:10:37 -0400 (0:00:00.036) 0:00:12.081 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Monday 22 July 2024 12:10:37 -0400 (0:00:00.036) 0:00:12.118 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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'] ******************************* Monday 22 July 2024 12:10:37 -0400 (0:00:00.067) 0:00:12.185 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Monday 22 July 2024 12:10:37 -0400 (0:00:00.052) 0:00:12.238 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721664635.6528163, "block_size": 4096, "blocks": 0, "ctime": 1721664635.6528163, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49290, "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": 1721664635.6528163, "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'] ************************ Monday 22 July 2024 12:10:38 -0400 (0:00:00.350) 0:00:12.589 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** Monday 22 July 2024 12:10:38 -0400 (0:00:00.035) 0:00:12.624 *********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** Monday 22 July 2024 12:10:38 -0400 (0:00:00.069) 0:00:12.693 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ********************************************** Monday 22 July 2024 12:10:38 -0400 (0:00:00.061) 0:00:12.755 *********** 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.070725", "end": "2024-07-22 12:10:38.629065", "rc": 1, "start": "2024-07-22 12:10:38.558340" } STDOUT: Connection 'statebr' (b7d310cf-49ec-421d-b9d7-bd0b51875b1b) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** Monday 22 July 2024 12:10:38 -0400 (0:00:00.426) 0:00:13.182 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ************************ Monday 22 July 2024 12:10:38 -0400 (0:00:00.056) 0:00:13.239 *********** ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** Monday 22 July 2024 12:10:38 -0400 (0:00:00.035) 0:00:13.275 *********** 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'] ********************************** Monday 22 July 2024 12:10:38 -0400 (0:00:00.071) 0:00:13.346 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Monday 22 July 2024 12:10:38 -0400 (0:00:00.054) 0:00:13.401 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Monday 22 July 2024 12:10:38 -0400 (0:00:00.050) 0:00:13.451 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002904", "end": "2024-07-22 12:10:39.255190", "rc": 0, "start": "2024-07-22 12:10:39.252286" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:10:39 -0400 (0:00:00.355) 0:00:13.806 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:10:39 -0400 (0:00:00.034) 0:00:13.841 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Monday 22 July 2024 12:10:39 -0400 (0:00:00.034) 0:00:13.876 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ************************************** Monday 22 July 2024 12:10:39 -0400 (0:00:00.060) 0:00:13.936 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006397", "end": "2024-07-22 12:10:39.746530", "rc": 1, "start": "2024-07-22 12:10:39.740133" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* Monday 22 July 2024 12:10:39 -0400 (0:00:00.364) 0:00:14.301 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Monday 22 July 2024 12:10:39 -0400 (0:00:00.082) 0:00:14.384 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Monday 22 July 2024 12:10:40 -0400 (0:00:00.353) 0:00:14.738 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** Monday 22 July 2024 12:10:40 -0400 (0:00:00.036) 0:00:14.774 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] **************************************************** Monday 22 July 2024 12:10:40 -0400 (0:00:00.058) 0:00:14.833 *********** included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:10:40 -0400 (0:00:00.076) 0:00:14.910 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:10:40 -0400 (0:00:00.064) 0:00:14.974 *********** 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] *********** Monday 22 July 2024 12:10:40 -0400 (0:00:00.044) 0:00:15.019 *********** 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] *** Monday 22 July 2024 12:10:40 -0400 (0:00:00.037) 0:00:15.056 *********** 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] **** Monday 22 July 2024 12:10:40 -0400 (0:00:00.039) 0:00:15.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 : Check which packages are installed] *** Monday 22 July 2024 12:10:42 -0400 (0:00:01.550) 0:00:16.646 *********** 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] ************** Monday 22 July 2024 12:10:43 -0400 (0:00:00.930) 0:00:17.576 *********** 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] *** Monday 22 July 2024 12:10:43 -0400 (0:00:00.036) 0:00:17.613 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:10:43 -0400 (0:00:00.036) 0:00:17.650 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:10:43 -0400 (0:00:00.038) 0:00:17.688 *********** 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] *** Monday 22 July 2024 12:10:43 -0400 (0:00:00.051) 0:00:17.740 *********** 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] *** Monday 22 July 2024 12:10:43 -0400 (0:00:00.039) 0:00:17.780 *********** 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] ******************** Monday 22 July 2024 12:10:43 -0400 (0:00:00.045) 0:00:17.825 *********** 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] *** Monday 22 July 2024 12:10:43 -0400 (0:00:00.080) 0:00:17.906 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:10:43 -0400 (0:00:00.034) 0:00:17.940 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:10:43 -0400 (0:00:00.040) 0:00:17.981 *********** 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] ***** Monday 22 July 2024 12:10:43 -0400 (0:00:00.047) 0:00:18.028 *********** 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] ***** Monday 22 July 2024 12:10:44 -0400 (0:00:00.545) 0:00:18.574 *********** 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] ************** Monday 22 July 2024 12:10:44 -0400 (0:00:00.046) 0:00:18.621 *********** 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] *** Monday 22 July 2024 12:10:44 -0400 (0:00:00.029) 0:00:18.651 *********** 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] *** Monday 22 July 2024 12:10:44 -0400 (0:00:00.033) 0:00:18.684 *********** 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, 769d5c8b-df27-40ae-a38b-ddb916b16109 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:10:44 -0400 (0:00:00.523) 0:00:19.208 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:10:44 -0400 (0:00:00.037) 0:00:19.246 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 769d5c8b-df27-40ae-a38b-ddb916b16109" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:10:44 -0400 (0:00:00.038) 0:00:19.284 *********** 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, 769d5c8b-df27-40ae-a38b-ddb916b16109\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 769d5c8b-df27-40ae-a38b-ddb916b16109" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:10:44 -0400 (0:00:00.034) 0:00:19.319 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:10:44 -0400 (0:00:00.076) 0:00:19.395 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Monday 22 July 2024 12:10:45 -0400 (0:00:00.371) 0:00:19.767 *********** 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, 769d5c8b-df27-40ae-a38b-ddb916b16109\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 769d5c8b-df27-40ae-a38b-ddb916b16109" ] } } TASK [Asserts] ***************************************************************** Monday 22 July 2024 12:10:45 -0400 (0:00:00.037) 0:00:19.804 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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'] ******************************* Monday 22 July 2024 12:10:45 -0400 (0:00:00.065) 0:00:19.870 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Monday 22 July 2024 12:10:45 -0400 (0:00:00.052) 0:00:19.922 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Monday 22 July 2024 12:10:45 -0400 (0:00:00.352) 0:00:20.275 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Monday 22 July 2024 12:10:45 -0400 (0:00:00.036) 0:00:20.311 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ************ Monday 22 July 2024 12:10:45 -0400 (0:00:00.057) 0:00:20.369 *********** 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] ******************************************************* Monday 22 July 2024 12:10:45 -0400 (0:00:00.033) 0:00:20.403 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:10:46 -0400 (0:00:00.352) 0:00:20.756 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 12:10:46 -0400 (0:00:00.033) 0:00:20.789 *********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022485", "end": "2024-07-22 12:10:46.617255", "rc": 0, "start": "2024-07-22 12:10:46.594770" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 12:10:46 -0400 (0:00:00.385) 0:00:21.175 *********** 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] ************************ Monday 22 July 2024 12:10:46 -0400 (0:00:00.037) 0:00:21.212 *********** 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] ********************* Monday 22 July 2024 12:10:46 -0400 (0:00:00.030) 0:00:21.243 *********** 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] **************************** Monday 22 July 2024 12:10:46 -0400 (0:00:00.069) 0:00:21.312 *********** 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] ************************* Monday 22 July 2024 12:10:46 -0400 (0:00:00.033) 0:00:21.346 *********** 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'] ************************** Monday 22 July 2024 12:10:46 -0400 (0:00:00.033) 0:00:21.380 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* Monday 22 July 2024 12:10:46 -0400 (0:00:00.038) 0:00:21.418 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** Monday 22 July 2024 12:10:46 -0400 (0:00:00.037) 0:00:21.455 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Monday 22 July 2024 12:10:47 -0400 (0:00:00.036) 0:00:21.492 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ Monday 22 July 2024 12:10:47 -0400 (0:00:00.035) 0:00:21.528 *********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** Monday 22 July 2024 12:10:47 -0400 (0:00:00.036) 0:00:21.565 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ********************************************** Monday 22 July 2024 12:10:47 -0400 (0:00:00.062) 0:00:21.627 *********** 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.042503", "end": "2024-07-22 12:10:47.470547", "rc": 1, "start": "2024-07-22 12:10:47.428044" } STDOUT: Connection 'statebr' (769d5c8b-df27-40ae-a38b-ddb916b16109) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** Monday 22 July 2024 12:10:47 -0400 (0:00:00.396) 0:00:22.024 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can activate an existing profile] ******************************** Monday 22 July 2024 12:10:47 -0400 (0:00:00.056) 0:00:22.080 *********** ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** Monday 22 July 2024 12:10:47 -0400 (0:00:00.035) 0:00:22.116 *********** 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'] ********************************** Monday 22 July 2024 12:10:47 -0400 (0:00:00.068) 0:00:22.184 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Monday 22 July 2024 12:10:47 -0400 (0:00:00.056) 0:00:22.240 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Monday 22 July 2024 12:10:47 -0400 (0:00:00.085) 0:00:22.326 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003186", "end": "2024-07-22 12:10:48.133252", "rc": 0, "start": "2024-07-22 12:10:48.130066" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:10:48 -0400 (0:00:00.359) 0:00:22.686 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:10:48 -0400 (0:00:00.035) 0:00:22.722 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Monday 22 July 2024 12:10:48 -0400 (0:00:00.034) 0:00:22.757 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] **************************************************** Monday 22 July 2024 12:10:48 -0400 (0:00:00.057) 0:00:22.814 *********** included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:10:48 -0400 (0:00:00.071) 0:00:22.886 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:10:48 -0400 (0:00:00.064) 0:00:22.950 *********** 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] *********** Monday 22 July 2024 12:10:48 -0400 (0:00:00.043) 0:00:22.994 *********** 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] *** Monday 22 July 2024 12:10:48 -0400 (0:00:00.038) 0:00:23.032 *********** 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] **** Monday 22 July 2024 12:10:48 -0400 (0:00:00.037) 0:00:23.070 *********** 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] *** Monday 22 July 2024 12:10:50 -0400 (0:00:01.571) 0:00:24.641 *********** 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] ************** Monday 22 July 2024 12:10:51 -0400 (0:00:00.848) 0:00:25.490 *********** 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] *** Monday 22 July 2024 12:10:51 -0400 (0:00:00.069) 0:00:25.559 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:10:51 -0400 (0:00:00.036) 0:00:25.596 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:10:51 -0400 (0:00:00.034) 0:00:25.631 *********** 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] *** Monday 22 July 2024 12:10:51 -0400 (0:00:00.048) 0:00:25.679 *********** 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] *** Monday 22 July 2024 12:10:51 -0400 (0:00:00.039) 0:00:25.718 *********** 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] ******************** Monday 22 July 2024 12:10:51 -0400 (0:00:00.043) 0:00:25.761 *********** 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] *** Monday 22 July 2024 12:10:51 -0400 (0:00:00.074) 0:00:25.836 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:10:51 -0400 (0:00:00.034) 0:00:25.871 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:10:51 -0400 (0:00:00.034) 0:00:25.906 *********** 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] ***** Monday 22 July 2024 12:10:51 -0400 (0:00:00.048) 0:00:25.955 *********** 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] ***** Monday 22 July 2024 12:10:52 -0400 (0:00:00.540) 0:00:26.495 *********** 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] ************** Monday 22 July 2024 12:10:52 -0400 (0:00:00.044) 0:00:26.540 *********** 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] *** Monday 22 July 2024 12:10:52 -0400 (0:00:00.031) 0:00:26.571 *********** 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] *** Monday 22 July 2024 12:10:52 -0400 (0:00:00.028) 0:00:26.600 *********** 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, 2cf1e920-c3a0-438d-a400-036f94afc674 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:10:52 -0400 (0:00:00.558) 0:00:27.159 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:10:52 -0400 (0:00:00.037) 0:00:27.197 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2cf1e920-c3a0-438d-a400-036f94afc674" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:10:52 -0400 (0:00:00.037) 0:00:27.234 *********** 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, 2cf1e920-c3a0-438d-a400-036f94afc674\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2cf1e920-c3a0-438d-a400-036f94afc674" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:10:52 -0400 (0:00:00.036) 0:00:27.270 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:10:52 -0400 (0:00:00.033) 0:00:27.304 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Monday 22 July 2024 12:10:53 -0400 (0:00:00.404) 0:00:27.709 *********** 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, 2cf1e920-c3a0-438d-a400-036f94afc674\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2cf1e920-c3a0-438d-a400-036f94afc674" ] } } TASK [Test] ******************************************************************** Monday 22 July 2024 12:10:53 -0400 (0:00:00.036) 0:00:27.746 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] **************************************************** Monday 22 July 2024 12:10:53 -0400 (0:00:00.054) 0:00:27.801 *********** included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:10:53 -0400 (0:00:00.071) 0:00:27.872 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:10:53 -0400 (0:00:00.063) 0:00:27.935 *********** 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] *********** Monday 22 July 2024 12:10:53 -0400 (0:00:00.046) 0:00:27.981 *********** 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] *** Monday 22 July 2024 12:10:53 -0400 (0:00:00.034) 0:00:28.016 *********** 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] **** Monday 22 July 2024 12:10:53 -0400 (0:00:00.035) 0:00:28.051 *********** 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] *** Monday 22 July 2024 12:10:55 -0400 (0:00:01.549) 0:00:29.600 *********** 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] ************** Monday 22 July 2024 12:10:55 -0400 (0:00:00.843) 0:00:30.443 *********** 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] *** Monday 22 July 2024 12:10:55 -0400 (0:00:00.033) 0:00:30.477 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:10:56 -0400 (0:00:00.069) 0:00:30.546 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:10:56 -0400 (0:00:00.036) 0:00:30.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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Monday 22 July 2024 12:10:56 -0400 (0:00:00.051) 0:00:30.634 *********** 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] *** Monday 22 July 2024 12:10:56 -0400 (0:00:00.036) 0:00:30.670 *********** 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] ******************** Monday 22 July 2024 12:10:56 -0400 (0:00:00.045) 0:00:30.716 *********** 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] *** Monday 22 July 2024 12:10:56 -0400 (0:00:00.074) 0:00:30.790 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:10:56 -0400 (0:00:00.036) 0:00:30.826 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:10:56 -0400 (0:00:00.034) 0:00:30.861 *********** 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] ***** Monday 22 July 2024 12:10:56 -0400 (0:00:00.046) 0:00:30.908 *********** 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] ***** Monday 22 July 2024 12:10:56 -0400 (0:00:00.544) 0:00:31.452 *********** 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] ************** Monday 22 July 2024 12:10:57 -0400 (0:00:00.047) 0:00:31.499 *********** 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] *** Monday 22 July 2024 12:10:57 -0400 (0:00:00.032) 0:00:31.531 *********** 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] *** Monday 22 July 2024 12:10:57 -0400 (0:00:00.035) 0:00:31.567 *********** 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, 2cf1e920-c3a0-438d-a400-036f94afc674 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:10:57 -0400 (0:00:00.506) 0:00:32.073 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:10:57 -0400 (0:00:00.035) 0:00:32.108 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2cf1e920-c3a0-438d-a400-036f94afc674 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:10:57 -0400 (0:00:00.036) 0:00:32.145 *********** 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, 2cf1e920-c3a0-438d-a400-036f94afc674 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2cf1e920-c3a0-438d-a400-036f94afc674 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:10:57 -0400 (0:00:00.033) 0:00:32.178 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:10:57 -0400 (0:00:00.036) 0:00:32.215 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Monday 22 July 2024 12:10:58 -0400 (0:00:00.406) 0:00:32.622 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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'] ******************************* Monday 22 July 2024 12:10:58 -0400 (0:00:00.065) 0:00:32.687 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Monday 22 July 2024 12:10:58 -0400 (0:00:00.052) 0:00:32.740 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721664652.552564, "block_size": 4096, "blocks": 0, "ctime": 1721664652.552564, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49421, "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": 1721664652.552564, "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'] ************************ Monday 22 July 2024 12:10:58 -0400 (0:00:00.349) 0:00:33.090 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Monday 22 July 2024 12:10:58 -0400 (0:00:00.036) 0:00:33.127 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ************ Monday 22 July 2024 12:10:58 -0400 (0:00:00.056) 0:00:33.183 *********** 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] ******************************************************* Monday 22 July 2024 12:10:58 -0400 (0:00:00.035) 0:00:33.218 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:10:59 -0400 (0:00:00.357) 0:00:33.575 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 12:10:59 -0400 (0:00:00.030) 0:00:33.606 *********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024022", "end": "2024-07-22 12:10:59.430152", "rc": 0, "start": "2024-07-22 12:10:59.406130" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 12:10:59 -0400 (0:00:00.377) 0:00:33.983 *********** 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] ************************ Monday 22 July 2024 12:10:59 -0400 (0:00:00.036) 0:00:34.020 *********** 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] ********************* Monday 22 July 2024 12:10:59 -0400 (0:00:00.033) 0:00:34.054 *********** 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] **************************** Monday 22 July 2024 12:10:59 -0400 (0:00:00.030) 0:00:34.084 *********** 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] ************************* Monday 22 July 2024 12:10:59 -0400 (0:00:00.032) 0:00:34.117 *********** 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'] ************************** Monday 22 July 2024 12:10:59 -0400 (0:00:00.029) 0:00:34.147 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* Monday 22 July 2024 12:10:59 -0400 (0:00:00.068) 0:00:34.215 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** Monday 22 July 2024 12:10:59 -0400 (0:00:00.038) 0:00:34.254 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Monday 22 July 2024 12:10:59 -0400 (0:00:00.035) 0:00:34.289 *********** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** Monday 22 July 2024 12:10:59 -0400 (0:00:00.035) 0:00:34.325 *********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** Monday 22 July 2024 12:10:59 -0400 (0:00:00.036) 0:00:34.361 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ********************************************** Monday 22 July 2024 12:10:59 -0400 (0:00:00.062) 0:00:34.423 *********** 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.064729", "end": "2024-07-22 12:11:00.288725", "rc": 1, "start": "2024-07-22 12:11:00.223996" } STDOUT: Connection 'statebr' (2cf1e920-c3a0-438d-a400-036f94afc674) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** Monday 22 July 2024 12:11:00 -0400 (0:00:00.418) 0:00:34.842 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *********** Monday 22 July 2024 12:11:00 -0400 (0:00:00.059) 0:00:34.902 *********** ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** Monday 22 July 2024 12:11:00 -0400 (0:00:00.033) 0:00:34.936 *********** 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'] ********************************** Monday 22 July 2024 12:11:00 -0400 (0:00:00.069) 0:00:35.005 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Monday 22 July 2024 12:11:00 -0400 (0:00:00.051) 0:00:35.056 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Monday 22 July 2024 12:11:00 -0400 (0:00:00.051) 0:00:35.108 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003057", "end": "2024-07-22 12:11:00.911821", "rc": 0, "start": "2024-07-22 12:11:00.908764" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:11:00 -0400 (0:00:00.358) 0:00:35.466 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:11:01 -0400 (0:00:00.068) 0:00:35.535 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Monday 22 July 2024 12:11:01 -0400 (0:00:00.036) 0:00:35.571 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] **************************************************** Monday 22 July 2024 12:11:01 -0400 (0:00:00.062) 0:00:35.634 *********** included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:11:01 -0400 (0:00:00.071) 0:00:35.705 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:11:01 -0400 (0:00:00.064) 0:00:35.770 *********** 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] *********** Monday 22 July 2024 12:11:01 -0400 (0:00:00.047) 0:00:35.817 *********** 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] *** Monday 22 July 2024 12:11:01 -0400 (0:00:00.036) 0:00:35.854 *********** 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] **** Monday 22 July 2024 12:11:01 -0400 (0:00:00.036) 0:00:35.891 *********** 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] *** Monday 22 July 2024 12:11:02 -0400 (0:00:01.589) 0:00:37.480 *********** 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] ************** Monday 22 July 2024 12:11:03 -0400 (0:00:00.854) 0:00:38.335 *********** 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] *** Monday 22 July 2024 12:11:03 -0400 (0:00:00.036) 0:00:38.372 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:03 -0400 (0:00:00.035) 0:00:38.407 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:03 -0400 (0:00:00.037) 0:00:38.445 *********** 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] *** Monday 22 July 2024 12:11:04 -0400 (0:00:00.130) 0:00:38.575 *********** 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] *** Monday 22 July 2024 12:11:04 -0400 (0:00:00.040) 0:00:38.616 *********** 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] ******************** Monday 22 July 2024 12:11:04 -0400 (0:00:00.046) 0:00:38.662 *********** 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] *** Monday 22 July 2024 12:11:04 -0400 (0:00:00.079) 0:00:38.741 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:11:04 -0400 (0:00:00.035) 0:00:38.776 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:11:04 -0400 (0:00:00.038) 0:00:38.815 *********** 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] ***** Monday 22 July 2024 12:11:04 -0400 (0:00:00.046) 0:00:38.861 *********** 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] ***** Monday 22 July 2024 12:11:04 -0400 (0:00:00.540) 0:00:39.402 *********** 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] ************** Monday 22 July 2024 12:11:04 -0400 (0:00:00.051) 0:00:39.453 *********** 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] *** Monday 22 July 2024 12:11:04 -0400 (0:00:00.032) 0:00:39.485 *********** 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] *** Monday 22 July 2024 12:11:05 -0400 (0:00:00.032) 0:00:39.518 *********** 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, 3b92fcbb-7259-44e8-8f83-5ab3ea925d33 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:11:05 -0400 (0:00:00.560) 0:00:40.079 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:11:05 -0400 (0:00:00.036) 0:00:40.116 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b92fcbb-7259-44e8-8f83-5ab3ea925d33" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:11:05 -0400 (0:00:00.035) 0:00:40.151 *********** 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, 3b92fcbb-7259-44e8-8f83-5ab3ea925d33\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b92fcbb-7259-44e8-8f83-5ab3ea925d33" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:11:05 -0400 (0:00:00.037) 0:00:40.188 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:11:05 -0400 (0:00:00.039) 0:00:40.228 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Monday 22 July 2024 12:11:06 -0400 (0:00:00.363) 0:00:40.592 *********** 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, 3b92fcbb-7259-44e8-8f83-5ab3ea925d33\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b92fcbb-7259-44e8-8f83-5ab3ea925d33" ] } } TASK [Include network role] **************************************************** Monday 22 July 2024 12:11:06 -0400 (0:00:00.074) 0:00:40.666 *********** included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:11:06 -0400 (0:00:00.072) 0:00:40.739 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:11:06 -0400 (0:00:00.065) 0:00:40.805 *********** 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] *********** Monday 22 July 2024 12:11:06 -0400 (0:00:00.046) 0:00:40.852 *********** 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] *** Monday 22 July 2024 12:11:06 -0400 (0:00:00.037) 0:00:40.890 *********** 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] **** Monday 22 July 2024 12:11:06 -0400 (0:00:00.035) 0:00:40.925 *********** 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] *** Monday 22 July 2024 12:11:08 -0400 (0:00:01.567) 0:00:42.493 *********** 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] ************** Monday 22 July 2024 12:11:08 -0400 (0:00:00.858) 0:00:43.351 *********** 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] *** Monday 22 July 2024 12:11:08 -0400 (0:00:00.035) 0:00:43.387 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:08 -0400 (0:00:00.036) 0:00:43.423 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:08 -0400 (0:00:00.036) 0:00:43.460 *********** 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] *** Monday 22 July 2024 12:11:09 -0400 (0:00:00.050) 0:00:43.511 *********** 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] *** Monday 22 July 2024 12:11:09 -0400 (0:00:00.041) 0:00:43.552 *********** 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] ******************** Monday 22 July 2024 12:11:09 -0400 (0:00:00.086) 0:00:43.639 *********** 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] *** Monday 22 July 2024 12:11:09 -0400 (0:00:00.079) 0:00:43.719 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:11:09 -0400 (0:00:00.038) 0:00:43.758 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:11:09 -0400 (0:00:00.039) 0:00:43.797 *********** 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] ***** Monday 22 July 2024 12:11:09 -0400 (0:00:00.049) 0:00:43.846 *********** 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] ***** Monday 22 July 2024 12:11:09 -0400 (0:00:00.542) 0:00:44.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] ************** Monday 22 July 2024 12:11:09 -0400 (0:00:00.049) 0:00:44.438 *********** 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] *** Monday 22 July 2024 12:11:09 -0400 (0:00:00.031) 0:00:44.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] *** Monday 22 July 2024 12:11:10 -0400 (0:00:00.032) 0:00:44.502 *********** 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, 3b92fcbb-7259-44e8-8f83-5ab3ea925d33 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:11:10 -0400 (0:00:00.521) 0:00:45.024 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:11:10 -0400 (0:00:00.037) 0:00:45.062 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3b92fcbb-7259-44e8-8f83-5ab3ea925d33 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:11:10 -0400 (0:00:00.035) 0:00:45.098 *********** 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, 3b92fcbb-7259-44e8-8f83-5ab3ea925d33 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3b92fcbb-7259-44e8-8f83-5ab3ea925d33 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:11:10 -0400 (0:00:00.035) 0:00:45.133 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:11:10 -0400 (0:00:00.036) 0:00:45.170 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** Monday 22 July 2024 12:11:11 -0400 (0:00:00.368) 0:00:45.539 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] **************************************************** Monday 22 July 2024 12:11:11 -0400 (0:00:00.059) 0:00:45.598 *********** included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:11:11 -0400 (0:00:00.107) 0:00:45.706 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:11:11 -0400 (0:00:00.065) 0:00:45.772 *********** 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] *********** Monday 22 July 2024 12:11:11 -0400 (0:00:00.046) 0:00:45.818 *********** 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] *** Monday 22 July 2024 12:11:11 -0400 (0:00:00.036) 0:00:45.855 *********** 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] **** Monday 22 July 2024 12:11:11 -0400 (0:00:00.036) 0:00:45.892 *********** 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] *** Monday 22 July 2024 12:11:12 -0400 (0:00:01.560) 0:00:47.452 *********** 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] ************** Monday 22 July 2024 12:11:13 -0400 (0:00:00.854) 0:00:48.306 *********** 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] *** Monday 22 July 2024 12:11:13 -0400 (0:00:00.036) 0:00:48.343 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:13 -0400 (0:00:00.035) 0:00:48.379 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:13 -0400 (0:00:00.039) 0:00:48.418 *********** 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] *** Monday 22 July 2024 12:11:13 -0400 (0:00:00.050) 0:00:48.469 *********** 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] *** Monday 22 July 2024 12:11:14 -0400 (0:00:00.040) 0:00:48.509 *********** 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] ******************** Monday 22 July 2024 12:11:14 -0400 (0:00:00.046) 0:00:48.556 *********** 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] *** Monday 22 July 2024 12:11:14 -0400 (0:00:00.077) 0:00:48.634 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:11:14 -0400 (0:00:00.075) 0:00:48.709 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:11:14 -0400 (0:00:00.038) 0:00:48.748 *********** 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] ***** Monday 22 July 2024 12:11:14 -0400 (0:00:00.045) 0:00:48.794 *********** 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] ***** Monday 22 July 2024 12:11:14 -0400 (0:00:00.536) 0:00:49.330 *********** 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] ************** Monday 22 July 2024 12:11:14 -0400 (0:00:00.047) 0:00:49.377 *********** 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] *** Monday 22 July 2024 12:11:14 -0400 (0:00:00.033) 0:00:49.411 *********** 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] *** Monday 22 July 2024 12:11:14 -0400 (0:00:00.030) 0:00:49.441 *********** 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] ********** Monday 22 July 2024 12:11:15 -0400 (0:00:00.556) 0:00:49.998 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:11:15 -0400 (0:00:00.035) 0:00:50.034 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:11:15 -0400 (0:00:00.037) 0:00:50.071 *********** 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] *** Monday 22 July 2024 12:11:15 -0400 (0:00:00.035) 0:00:50.107 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:11:15 -0400 (0:00:00.037) 0:00:50.144 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Monday 22 July 2024 12:11:16 -0400 (0:00:00.368) 0:00:50.513 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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'] ******************************* Monday 22 July 2024 12:11:16 -0400 (0:00:00.065) 0:00:50.578 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Monday 22 July 2024 12:11:16 -0400 (0:00:00.054) 0:00:50.633 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721664665.4790418, "block_size": 4096, "blocks": 0, "ctime": 1721664665.4790418, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49552, "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": 1721664665.4790418, "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'] ************************ Monday 22 July 2024 12:11:16 -0400 (0:00:00.403) 0:00:51.037 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Monday 22 July 2024 12:11:16 -0400 (0:00:00.036) 0:00:51.073 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ************ Monday 22 July 2024 12:11:16 -0400 (0:00:00.060) 0:00:51.133 *********** 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] ******************************************************* Monday 22 July 2024 12:11:16 -0400 (0:00:00.037) 0:00:51.171 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:11:17 -0400 (0:00:00.355) 0:00:51.527 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 12:11:17 -0400 (0:00:00.030) 0:00:51.557 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020952", "end": "2024-07-22 12:11:17.385242", "rc": 1, "start": "2024-07-22 12:11:17.364290" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 12:11:17 -0400 (0:00:00.385) 0:00:51.942 *********** 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] ************************ Monday 22 July 2024 12:11:17 -0400 (0:00:00.031) 0:00:51.973 *********** 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] ********************* Monday 22 July 2024 12:11:17 -0400 (0:00:00.032) 0:00:52.006 *********** 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] **************************** Monday 22 July 2024 12:11:17 -0400 (0:00:00.030) 0:00:52.037 *********** 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] ************************* Monday 22 July 2024 12:11:17 -0400 (0:00:00.036) 0:00:52.074 *********** 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'] *************************** Monday 22 July 2024 12:11:17 -0400 (0:00:00.031) 0:00:52.105 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Monday 22 July 2024 12:11:17 -0400 (0:00:00.032) 0:00:52.138 *********** 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'] *** Monday 22 July 2024 12:11:17 -0400 (0:00:00.036) 0:00:52.175 *********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** Monday 22 July 2024 12:11:17 -0400 (0:00:00.031) 0:00:52.207 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ********************************************** Monday 22 July 2024 12:11:17 -0400 (0:00:00.060) 0:00:52.267 *********** 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.067810", "end": "2024-07-22 12:11:18.138979", "rc": 1, "start": "2024-07-22 12:11:18.071169" } STDOUT: Connection 'statebr' (3b92fcbb-7259-44e8-8f83-5ab3ea925d33) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** Monday 22 July 2024 12:11:18 -0400 (0:00:00.425) 0:00:52.692 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ************************** Monday 22 July 2024 12:11:18 -0400 (0:00:00.092) 0:00:52.785 *********** ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** Monday 22 July 2024 12:11:18 -0400 (0:00:00.033) 0:00:52.818 *********** 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'] ********************************** Monday 22 July 2024 12:11:18 -0400 (0:00:00.069) 0:00:52.888 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Monday 22 July 2024 12:11:18 -0400 (0:00:00.049) 0:00:52.938 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Monday 22 July 2024 12:11:18 -0400 (0:00:00.050) 0:00:52.988 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003177", "end": "2024-07-22 12:11:18.793277", "rc": 0, "start": "2024-07-22 12:11:18.790100" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:11:18 -0400 (0:00:00.358) 0:00:53.346 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:11:18 -0400 (0:00:00.035) 0:00:53.381 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Monday 22 July 2024 12:11:18 -0400 (0:00:00.032) 0:00:53.414 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] **************************************************** Monday 22 July 2024 12:11:18 -0400 (0:00:00.062) 0:00:53.476 *********** included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:11:19 -0400 (0:00:00.070) 0:00:53.546 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:11:19 -0400 (0:00:00.062) 0:00:53.609 *********** 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] *********** Monday 22 July 2024 12:11:19 -0400 (0:00:00.076) 0:00:53.686 *********** 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] *** Monday 22 July 2024 12:11:19 -0400 (0:00:00.035) 0:00:53.721 *********** 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] **** Monday 22 July 2024 12:11:19 -0400 (0:00:00.037) 0:00:53.758 *********** 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] *** Monday 22 July 2024 12:11:20 -0400 (0:00:01.567) 0:00:55.325 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Monday 22 July 2024 12:11:21 -0400 (0:00:00.841) 0:00:56.167 *********** 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] *** Monday 22 July 2024 12:11:21 -0400 (0:00:00.034) 0:00:56.202 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:21 -0400 (0:00:00.036) 0:00:56.238 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:21 -0400 (0:00:00.036) 0:00:56.275 *********** 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] *** Monday 22 July 2024 12:11:21 -0400 (0:00:00.046) 0:00:56.322 *********** 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] *** Monday 22 July 2024 12:11:21 -0400 (0:00:00.035) 0:00:56.358 *********** 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] ******************** Monday 22 July 2024 12:11:21 -0400 (0:00:00.043) 0:00:56.401 *********** 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] *** Monday 22 July 2024 12:11:21 -0400 (0:00:00.073) 0:00:56.475 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:11:22 -0400 (0:00:00.037) 0:00:56.513 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:11:22 -0400 (0:00:00.034) 0:00:56.547 *********** 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] ***** Monday 22 July 2024 12:11:22 -0400 (0:00:00.044) 0:00:56.592 *********** 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] ***** Monday 22 July 2024 12:11:22 -0400 (0:00:00.540) 0:00:57.132 *********** 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] ************** Monday 22 July 2024 12:11:22 -0400 (0:00:00.096) 0:00:57.228 *********** 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] *** Monday 22 July 2024 12:11:22 -0400 (0:00:00.031) 0:00:57.260 *********** 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] *** Monday 22 July 2024 12:11:22 -0400 (0:00:00.032) 0:00:57.293 *********** 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, d6a7ee44-5086-40e8-b5ae-193cddc7ad3c TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:11:23 -0400 (0:00:00.562) 0:00:57.855 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:11:23 -0400 (0:00:00.037) 0:00:57.892 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6a7ee44-5086-40e8-b5ae-193cddc7ad3c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:11:23 -0400 (0:00:00.038) 0:00:57.931 *********** 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, d6a7ee44-5086-40e8-b5ae-193cddc7ad3c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6a7ee44-5086-40e8-b5ae-193cddc7ad3c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:11:23 -0400 (0:00:00.036) 0:00:57.967 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:11:23 -0400 (0:00:00.040) 0:00:58.008 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Monday 22 July 2024 12:11:23 -0400 (0:00:00.367) 0:00:58.376 *********** 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, d6a7ee44-5086-40e8-b5ae-193cddc7ad3c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6a7ee44-5086-40e8-b5ae-193cddc7ad3c" ] } } TASK [Include network role] **************************************************** Monday 22 July 2024 12:11:23 -0400 (0:00:00.038) 0:00:58.414 *********** included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:11:23 -0400 (0:00:00.068) 0:00:58.483 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:11:24 -0400 (0:00:00.067) 0:00:58.550 *********** 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] *********** Monday 22 July 2024 12:11:24 -0400 (0:00:00.046) 0:00:58.596 *********** 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] *** Monday 22 July 2024 12:11:24 -0400 (0:00:00.036) 0:00:58.633 *********** 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] **** Monday 22 July 2024 12:11:24 -0400 (0:00:00.036) 0:00:58.669 *********** 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] *** Monday 22 July 2024 12:11:25 -0400 (0:00:01.639) 0:01:00.309 *********** 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] ************** Monday 22 July 2024 12:11:26 -0400 (0:00:00.853) 0:01:01.162 *********** 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] *** Monday 22 July 2024 12:11:26 -0400 (0:00:00.039) 0:01:01.201 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:26 -0400 (0:00:00.037) 0:01:01.239 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:26 -0400 (0:00:00.036) 0:01:01.275 *********** 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] *** Monday 22 July 2024 12:11:26 -0400 (0:00:00.051) 0:01:01.326 *********** 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] *** Monday 22 July 2024 12:11:26 -0400 (0:00:00.039) 0:01:01.366 *********** 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] ******************** Monday 22 July 2024 12:11:26 -0400 (0:00:00.048) 0:01:01.415 *********** 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] *** Monday 22 July 2024 12:11:27 -0400 (0:00:00.074) 0:01:01.489 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:11:27 -0400 (0:00:00.037) 0:01:01.527 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:11:27 -0400 (0:00:00.035) 0:01:01.562 *********** 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] ***** Monday 22 July 2024 12:11:27 -0400 (0:00:00.050) 0:01:01.612 *********** 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] ***** Monday 22 July 2024 12:11:27 -0400 (0:00:00.557) 0:01:02.169 *********** 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] ************** Monday 22 July 2024 12:11:27 -0400 (0:00:00.046) 0:01:02.216 *********** 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] *** Monday 22 July 2024 12:11:27 -0400 (0:00:00.033) 0:01:02.250 *********** 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] *** Monday 22 July 2024 12:11:27 -0400 (0:00:00.029) 0:01:02.280 *********** 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, d6a7ee44-5086-40e8-b5ae-193cddc7ad3c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:11:28 -0400 (0:00:00.593) 0:01:02.874 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:11:28 -0400 (0:00:00.039) 0:01:02.913 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d6a7ee44-5086-40e8-b5ae-193cddc7ad3c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:11:28 -0400 (0:00:00.034) 0:01:02.948 *********** 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, d6a7ee44-5086-40e8-b5ae-193cddc7ad3c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d6a7ee44-5086-40e8-b5ae-193cddc7ad3c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:11:28 -0400 (0:00:00.038) 0:01:02.986 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:11:28 -0400 (0:00:00.038) 0:01:03.025 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** Monday 22 July 2024 12:11:28 -0400 (0:00:00.368) 0:01:03.394 *********** included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:11:28 -0400 (0:00:00.070) 0:01:03.464 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:11:29 -0400 (0:00:00.064) 0:01:03.529 *********** 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] *********** Monday 22 July 2024 12:11:29 -0400 (0:00:00.047) 0:01:03.576 *********** 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] *** Monday 22 July 2024 12:11:29 -0400 (0:00:00.035) 0:01:03.611 *********** 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] **** Monday 22 July 2024 12:11:29 -0400 (0:00:00.038) 0:01:03.650 *********** 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] *** Monday 22 July 2024 12:11:30 -0400 (0:00:01.552) 0:01:05.203 *********** 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] ************** Monday 22 July 2024 12:11:31 -0400 (0:00:00.943) 0:01:06.147 *********** 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] *** Monday 22 July 2024 12:11:31 -0400 (0:00:00.036) 0:01:06.183 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:31 -0400 (0:00:00.041) 0:01:06.224 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:31 -0400 (0:00:00.036) 0:01:06.261 *********** 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] *** Monday 22 July 2024 12:11:31 -0400 (0:00:00.050) 0:01:06.311 *********** 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] *** Monday 22 July 2024 12:11:31 -0400 (0:00:00.040) 0:01:06.351 *********** 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] ******************** Monday 22 July 2024 12:11:31 -0400 (0:00:00.047) 0:01:06.399 *********** 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] *** Monday 22 July 2024 12:11:31 -0400 (0:00:00.076) 0:01:06.475 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:11:32 -0400 (0:00:00.039) 0:01:06.515 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:11:32 -0400 (0:00:00.036) 0:01:06.551 *********** 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] ***** Monday 22 July 2024 12:11:32 -0400 (0:00:00.048) 0:01:06.600 *********** 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] ***** Monday 22 July 2024 12:11:32 -0400 (0:00:00.554) 0:01:07.154 *********** 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] ************** Monday 22 July 2024 12:11:32 -0400 (0:00:00.051) 0:01:07.206 *********** 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] *** Monday 22 July 2024 12:11:32 -0400 (0:00:00.032) 0:01:07.239 *********** 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] *** Monday 22 July 2024 12:11:32 -0400 (0:00:00.030) 0:01:07.269 *********** 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] ********** Monday 22 July 2024 12:11:33 -0400 (0:00:00.548) 0:01:07.818 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:11:33 -0400 (0:00:00.036) 0:01:07.854 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:11:33 -0400 (0:00:00.037) 0:01:07.892 *********** 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] *** Monday 22 July 2024 12:11:33 -0400 (0:00:00.036) 0:01:07.929 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:11:33 -0400 (0:00:00.128) 0:01:08.057 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** Monday 22 July 2024 12:11:33 -0400 (0:00:00.364) 0:01:08.422 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] **************************************************** Monday 22 July 2024 12:11:33 -0400 (0:00:00.062) 0:01:08.484 *********** included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:11:34 -0400 (0:00:00.070) 0:01:08.555 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:11:34 -0400 (0:00:00.067) 0:01:08.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] *********** Monday 22 July 2024 12:11:34 -0400 (0:00:00.046) 0:01:08.669 *********** 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] *** Monday 22 July 2024 12:11:34 -0400 (0:00:00.036) 0:01:08.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] **** Monday 22 July 2024 12:11:34 -0400 (0:00:00.039) 0:01:08.744 *********** 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] *** Monday 22 July 2024 12:11:35 -0400 (0:00:01.566) 0:01:10.310 *********** 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] ************** Monday 22 July 2024 12:11:36 -0400 (0:00:00.844) 0:01:11.155 *********** 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] *** Monday 22 July 2024 12:11:36 -0400 (0:00:00.037) 0:01:11.193 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:36 -0400 (0:00:00.071) 0:01:11.264 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:36 -0400 (0:00:00.036) 0:01:11.301 *********** 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] *** Monday 22 July 2024 12:11:36 -0400 (0:00:00.047) 0:01:11.349 *********** 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] *** Monday 22 July 2024 12:11:36 -0400 (0:00:00.039) 0:01:11.388 *********** 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] ******************** Monday 22 July 2024 12:11:36 -0400 (0:00:00.044) 0:01:11.432 *********** 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] *** Monday 22 July 2024 12:11:37 -0400 (0:00:00.074) 0:01:11.507 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:11:37 -0400 (0:00:00.035) 0:01:11.542 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:11:37 -0400 (0:00:00.034) 0:01:11.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 : Enable and start NetworkManager] ***** Monday 22 July 2024 12:11:37 -0400 (0:00:00.047) 0:01:11.625 *********** 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] ***** Monday 22 July 2024 12:11:37 -0400 (0:00:00.538) 0:01:12.163 *********** 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] ************** Monday 22 July 2024 12:11:37 -0400 (0:00:00.046) 0:01:12.209 *********** 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] *** Monday 22 July 2024 12:11:37 -0400 (0:00:00.030) 0:01:12.240 *********** 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] *** Monday 22 July 2024 12:11:37 -0400 (0:00:00.031) 0:01:12.272 *********** 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] ********** Monday 22 July 2024 12:11:38 -0400 (0:00:00.588) 0:01:12.860 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:11:38 -0400 (0:00:00.035) 0:01:12.895 *********** 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] *** Monday 22 July 2024 12:11:38 -0400 (0:00:00.036) 0:01:12.932 *********** 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] *** Monday 22 July 2024 12:11:38 -0400 (0:00:00.034) 0:01:12.966 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:11:38 -0400 (0:00:00.034) 0:01:13.001 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Monday 22 July 2024 12:11:38 -0400 (0:00:00.405) 0:01:13.407 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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'] ********************************* Monday 22 July 2024 12:11:38 -0400 (0:00:00.062) 0:01:13.469 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ************ Monday 22 July 2024 12:11:39 -0400 (0:00:00.058) 0:01:13.528 *********** 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] ******************************************************* Monday 22 July 2024 12:11:39 -0400 (0:00:00.033) 0:01:13.562 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:11:39 -0400 (0:00:00.346) 0:01:13.908 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 12:11:39 -0400 (0:00:00.032) 0:01:13.941 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019158", "end": "2024-07-22 12:11:39.760482", "rc": 1, "start": "2024-07-22 12:11:39.741324" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 12:11:39 -0400 (0:00:00.370) 0:01:14.311 *********** 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] ************************ Monday 22 July 2024 12:11:39 -0400 (0:00:00.032) 0:01:14.344 *********** 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] ********************* Monday 22 July 2024 12:11:39 -0400 (0:00:00.031) 0:01:14.376 *********** 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] **************************** Monday 22 July 2024 12:11:39 -0400 (0:00:00.031) 0:01:14.407 *********** 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] ************************* Monday 22 July 2024 12:11:39 -0400 (0:00:00.034) 0:01:14.441 *********** 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'] *************************** Monday 22 July 2024 12:11:39 -0400 (0:00:00.031) 0:01:14.473 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Monday 22 July 2024 12:11:40 -0400 (0:00:00.035) 0:01:14.508 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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'] ******************************* Monday 22 July 2024 12:11:40 -0400 (0:00:00.068) 0:01:14.577 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Monday 22 July 2024 12:11:40 -0400 (0:00:00.089) 0:01:14.667 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Monday 22 July 2024 12:11:40 -0400 (0:00:00.350) 0:01:15.018 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** Monday 22 July 2024 12:11:40 -0400 (0:00:00.037) 0:01:15.055 *********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** Monday 22 July 2024 12:11:40 -0400 (0:00:00.034) 0:01:15.089 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ********************************************** Monday 22 July 2024 12:11:40 -0400 (0:00:00.060) 0:01:15.149 *********** 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.042450", "end": "2024-07-22 12:11:40.986336", "rc": 1, "start": "2024-07-22 12:11:40.943886" } 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'] ***************************************** Monday 22 July 2024 12:11:41 -0400 (0:00:00.388) 0:01:15.538 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] **** Monday 22 July 2024 12:11:41 -0400 (0:00:00.056) 0:01:15.595 *********** ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** Monday 22 July 2024 12:11:41 -0400 (0:00:00.035) 0:01:15.630 *********** 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'] ********************************** Monday 22 July 2024 12:11:41 -0400 (0:00:00.068) 0:01:15.699 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Monday 22 July 2024 12:11:41 -0400 (0:00:00.053) 0:01:15.752 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Monday 22 July 2024 12:11:41 -0400 (0:00:00.047) 0:01:15.800 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003224", "end": "2024-07-22 12:11:41.605028", "rc": 0, "start": "2024-07-22 12:11:41.601804" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:11:41 -0400 (0:00:00.356) 0:01:16.157 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:11:41 -0400 (0:00:00.035) 0:01:16.192 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Monday 22 July 2024 12:11:41 -0400 (0:00:00.070) 0:01:16.263 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] **************************************************** Monday 22 July 2024 12:11:41 -0400 (0:00:00.065) 0:01:16.328 *********** included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:11:41 -0400 (0:00:00.068) 0:01:16.397 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:11:41 -0400 (0:00:00.063) 0:01:16.461 *********** 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] *********** Monday 22 July 2024 12:11:42 -0400 (0:00:00.044) 0:01:16.505 *********** 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] *** Monday 22 July 2024 12:11:42 -0400 (0:00:00.037) 0:01:16.543 *********** 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] **** Monday 22 July 2024 12:11:42 -0400 (0:00:00.034) 0:01:16.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 : Check which packages are installed] *** Monday 22 July 2024 12:11:43 -0400 (0:00:01.567) 0:01:18.144 *********** 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] ************** Monday 22 July 2024 12:11:44 -0400 (0:00:00.848) 0:01:18.993 *********** 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] *** Monday 22 July 2024 12:11:44 -0400 (0:00:00.034) 0:01:19.028 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:44 -0400 (0:00:00.035) 0:01:19.064 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:44 -0400 (0:00:00.034) 0:01:19.098 *********** 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] *** Monday 22 July 2024 12:11:44 -0400 (0:00:00.089) 0:01:19.188 *********** 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] *** Monday 22 July 2024 12:11:44 -0400 (0:00:00.037) 0:01:19.226 *********** 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] ******************** Monday 22 July 2024 12:11:44 -0400 (0:00:00.045) 0:01:19.271 *********** 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] *** Monday 22 July 2024 12:11:44 -0400 (0:00:00.076) 0:01:19.348 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:11:44 -0400 (0:00:00.036) 0:01:19.384 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:11:44 -0400 (0:00:00.037) 0:01:19.422 *********** 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] ***** Monday 22 July 2024 12:11:44 -0400 (0:00:00.049) 0:01:19.471 *********** 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] ***** Monday 22 July 2024 12:11:45 -0400 (0:00:00.553) 0:01:20.025 *********** 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] ************** Monday 22 July 2024 12:11:45 -0400 (0:00:00.046) 0:01:20.071 *********** 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] *** Monday 22 July 2024 12:11:45 -0400 (0:00:00.030) 0:01:20.102 *********** 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] *** Monday 22 July 2024 12:11:45 -0400 (0:00:00.031) 0:01:20.134 *********** 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, bc9d923e-aa3d-45c9-8e79-f411cbd7b05a TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:11:46 -0400 (0:00:00.556) 0:01:20.690 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:11:46 -0400 (0:00:00.037) 0:01:20.727 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc9d923e-aa3d-45c9-8e79-f411cbd7b05a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:11:46 -0400 (0:00:00.033) 0:01:20.761 *********** 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, bc9d923e-aa3d-45c9-8e79-f411cbd7b05a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc9d923e-aa3d-45c9-8e79-f411cbd7b05a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:11:46 -0400 (0:00:00.037) 0:01:20.798 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:11:46 -0400 (0:00:00.035) 0:01:20.833 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Monday 22 July 2024 12:11:46 -0400 (0:00:00.374) 0:01:21.208 *********** 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, bc9d923e-aa3d-45c9-8e79-f411cbd7b05a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc9d923e-aa3d-45c9-8e79-f411cbd7b05a" ] } } TASK [Include network role] **************************************************** Monday 22 July 2024 12:11:46 -0400 (0:00:00.034) 0:01:21.242 *********** included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:11:46 -0400 (0:00:00.109) 0:01:21.352 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:11:46 -0400 (0:00:00.063) 0:01:21.415 *********** 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] *********** Monday 22 July 2024 12:11:46 -0400 (0:00:00.045) 0:01:21.461 *********** 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] *** Monday 22 July 2024 12:11:47 -0400 (0:00:00.033) 0:01:21.495 *********** 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] **** Monday 22 July 2024 12:11:47 -0400 (0:00:00.035) 0:01:21.530 *********** 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] *** Monday 22 July 2024 12:11:48 -0400 (0:00:01.541) 0:01:23.072 *********** 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] ************** Monday 22 July 2024 12:11:49 -0400 (0:00:00.848) 0:01:23.921 *********** 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] *** Monday 22 July 2024 12:11:49 -0400 (0:00:00.034) 0:01:23.955 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:49 -0400 (0:00:00.037) 0:01:23.992 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:49 -0400 (0:00:00.034) 0:01:24.027 *********** 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] *** Monday 22 July 2024 12:11:49 -0400 (0:00:00.048) 0:01:24.076 *********** 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] *** Monday 22 July 2024 12:11:49 -0400 (0:00:00.039) 0:01:24.115 *********** 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] ******************** Monday 22 July 2024 12:11:49 -0400 (0:00:00.043) 0:01:24.159 *********** 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] *** Monday 22 July 2024 12:11:49 -0400 (0:00:00.115) 0:01:24.274 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:11:49 -0400 (0:00:00.035) 0:01:24.310 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:11:49 -0400 (0:00:00.036) 0:01:24.347 *********** 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] ***** Monday 22 July 2024 12:11:49 -0400 (0:00:00.046) 0:01:24.394 *********** 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] ***** Monday 22 July 2024 12:11:50 -0400 (0:00:00.543) 0:01:24.937 *********** 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] ************** Monday 22 July 2024 12:11:50 -0400 (0:00:00.050) 0:01:24.988 *********** 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] *** Monday 22 July 2024 12:11:50 -0400 (0:00:00.030) 0:01:25.018 *********** 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] *** Monday 22 July 2024 12:11:50 -0400 (0:00:00.032) 0:01:25.051 *********** 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, bc9d923e-aa3d-45c9-8e79-f411cbd7b05a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:11:51 -0400 (0:00:00.510) 0:01:25.562 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:11:51 -0400 (0:00:00.036) 0:01:25.598 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bc9d923e-aa3d-45c9-8e79-f411cbd7b05a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:11:51 -0400 (0:00:00.035) 0:01:25.634 *********** 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, bc9d923e-aa3d-45c9-8e79-f411cbd7b05a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bc9d923e-aa3d-45c9-8e79-f411cbd7b05a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:11:51 -0400 (0:00:00.036) 0:01:25.670 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:11:51 -0400 (0:00:00.037) 0:01:25.708 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** Monday 22 July 2024 12:11:51 -0400 (0:00:00.378) 0:01:26.086 *********** included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:11:51 -0400 (0:00:00.070) 0:01:26.156 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:11:51 -0400 (0:00:00.100) 0:01:26.257 *********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Monday 22 July 2024 12:11:51 -0400 (0:00:00.043) 0:01:26.301 *********** 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] *** Monday 22 July 2024 12:11:51 -0400 (0:00:00.038) 0:01:26.339 *********** 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] **** Monday 22 July 2024 12:11:51 -0400 (0:00:00.036) 0:01:26.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 : Check which packages are installed] *** Monday 22 July 2024 12:11:53 -0400 (0:00:01.561) 0:01:27.937 *********** 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] ************** Monday 22 July 2024 12:11:54 -0400 (0:00:00.843) 0:01:28.781 *********** 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] *** Monday 22 July 2024 12:11:54 -0400 (0:00:00.034) 0:01:28.816 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:54 -0400 (0:00:00.036) 0:01:28.852 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:54 -0400 (0:00:00.035) 0:01:28.888 *********** 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] *** Monday 22 July 2024 12:11:54 -0400 (0:00:00.047) 0:01:28.935 *********** 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] *** Monday 22 July 2024 12:11:54 -0400 (0:00:00.036) 0:01:28.971 *********** 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] ******************** Monday 22 July 2024 12:11:54 -0400 (0:00:00.050) 0:01:29.022 *********** 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] *** Monday 22 July 2024 12:11:54 -0400 (0:00:00.075) 0:01:29.097 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:11:54 -0400 (0:00:00.037) 0:01:29.134 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:11:54 -0400 (0:00:00.035) 0:01:29.170 *********** 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] ***** Monday 22 July 2024 12:11:54 -0400 (0:00:00.045) 0:01:29.215 *********** 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] ***** Monday 22 July 2024 12:11:55 -0400 (0:00:00.623) 0:01:29.839 *********** 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] ************** Monday 22 July 2024 12:11:55 -0400 (0:00:00.047) 0:01:29.886 *********** 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] *** Monday 22 July 2024 12:11:55 -0400 (0:00:00.033) 0:01:29.920 *********** 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] *** Monday 22 July 2024 12:11:55 -0400 (0:00:00.031) 0:01:29.951 *********** 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] ********** Monday 22 July 2024 12:11:56 -0400 (0:00:00.589) 0:01:30.540 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:11:56 -0400 (0:00:00.038) 0:01:30.579 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:11:56 -0400 (0:00:00.033) 0:01:30.613 *********** 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] *** Monday 22 July 2024 12:11:56 -0400 (0:00:00.038) 0:01:30.651 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:11:56 -0400 (0:00:00.036) 0:01:30.688 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** Monday 22 July 2024 12:11:56 -0400 (0:00:00.366) 0:01:31.054 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] **************************************************** Monday 22 July 2024 12:11:56 -0400 (0:00:00.058) 0:01:31.113 *********** included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:11:56 -0400 (0:00:00.070) 0:01:31.183 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] *** Monday 22 July 2024 12:11:56 -0400 (0:00:00.062) 0:01:31.245 *********** 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] *********** Monday 22 July 2024 12:11:56 -0400 (0:00:00.043) 0:01:31.289 *********** 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] *** Monday 22 July 2024 12:11:56 -0400 (0:00:00.075) 0:01:31.364 *********** 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] **** Monday 22 July 2024 12:11:56 -0400 (0:00:00.036) 0:01:31.400 *********** 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] *** Monday 22 July 2024 12:11:58 -0400 (0:00:01.560) 0:01:32.961 *********** 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] ************** Monday 22 July 2024 12:11:59 -0400 (0:00:00.845) 0:01:33.807 *********** 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] *** Monday 22 July 2024 12:11:59 -0400 (0:00:00.034) 0:01:33.842 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:59 -0400 (0:00:00.037) 0:01:33.879 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Monday 22 July 2024 12:11:59 -0400 (0:00:00.033) 0:01:33.913 *********** 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] *** Monday 22 July 2024 12:11:59 -0400 (0:00:00.050) 0:01:33.964 *********** 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] *** Monday 22 July 2024 12:11:59 -0400 (0:00:00.038) 0:01:34.002 *********** 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] ******************** Monday 22 July 2024 12:11:59 -0400 (0:00:00.052) 0:01:34.054 *********** 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] *** Monday 22 July 2024 12:11:59 -0400 (0:00:00.074) 0:01:34.129 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:11:59 -0400 (0:00:00.039) 0:01:34.168 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:11:59 -0400 (0:00:00.036) 0:01:34.204 *********** 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] ***** Monday 22 July 2024 12:11:59 -0400 (0:00:00.045) 0:01:34.250 *********** 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] ***** Monday 22 July 2024 12:12:00 -0400 (0:00:00.542) 0:01:34.792 *********** 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] ************** Monday 22 July 2024 12:12:00 -0400 (0:00:00.047) 0:01:34.840 *********** 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] *** Monday 22 July 2024 12:12:00 -0400 (0:00:00.072) 0:01:34.912 *********** 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] *** Monday 22 July 2024 12:12:00 -0400 (0:00:00.035) 0:01:34.948 *********** 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] ********** Monday 22 July 2024 12:12:00 -0400 (0:00:00.527) 0:01:35.475 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:12:01 -0400 (0:00:00.036) 0:01:35.512 *********** 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] *** Monday 22 July 2024 12:12:01 -0400 (0:00:00.036) 0:01:35.549 *********** 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] *** Monday 22 July 2024 12:12:01 -0400 (0:00:00.034) 0:01:35.583 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:12:01 -0400 (0:00:00.037) 0:01:35.621 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Monday 22 July 2024 12:12:01 -0400 (0:00:00.367) 0:01:35.989 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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'] ********************************* Monday 22 July 2024 12:12:01 -0400 (0:00:00.065) 0:01:36.054 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ************ Monday 22 July 2024 12:12:01 -0400 (0:00:00.058) 0:01:36.113 *********** 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] ******************************************************* Monday 22 July 2024 12:12:01 -0400 (0:00:00.033) 0:01:36.146 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:12:02 -0400 (0:00:00.360) 0:01:36.507 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 12:12:02 -0400 (0:00:00.030) 0:01:36.538 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019413", "end": "2024-07-22 12:12:02.360739", "rc": 1, "start": "2024-07-22 12:12:02.341326" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 12:12:02 -0400 (0:00:00.379) 0:01:36.917 *********** 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] ************************ Monday 22 July 2024 12:12:02 -0400 (0:00:00.033) 0:01:36.951 *********** 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] ********************* Monday 22 July 2024 12:12:02 -0400 (0:00:00.071) 0:01:37.023 *********** 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] **************************** Monday 22 July 2024 12:12:02 -0400 (0:00:00.034) 0:01:37.057 *********** 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] ************************* Monday 22 July 2024 12:12:02 -0400 (0:00:00.031) 0:01:37.089 *********** 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'] *************************** Monday 22 July 2024 12:12:02 -0400 (0:00:00.035) 0:01:37.124 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** Monday 22 July 2024 12:12:02 -0400 (0:00:00.032) 0:01:37.157 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.298360", "end": "2024-07-22 12:12:03.255602", "rc": 0, "start": "2024-07-22 12:12:02.957242" } STDOUT: NetworkManager-1.48.2-2.el9 TASK [Store NetworkManager version] ******************************************** Monday 22 July 2024 12:12:03 -0400 (0:00:00.651) 0:01:37.808 *********** ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* Monday 22 July 2024 12:12:03 -0400 (0:00:00.034) 0:01:37.843 *********** ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" } TASK [Conditional asserts] ***************************************************** Monday 22 July 2024 12:12:03 -0400 (0:00:00.033) 0:01:37.877 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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'] ******************************* Monday 22 July 2024 12:12:03 -0400 (0:00:00.071) 0:01:37.949 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Monday 22 July 2024 12:12:03 -0400 (0:00:00.050) 0:01:38.000 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Monday 22 July 2024 12:12:03 -0400 (0:00:00.352) 0:01:38.352 *********** 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'] *** Monday 22 July 2024 12:12:03 -0400 (0:00:00.036) 0:01:38.389 *********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** Monday 22 July 2024 12:12:03 -0400 (0:00:00.032) 0:01:38.421 *********** included: /var/ARTIFACTS/work-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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-generala6wx5rxe/plans/general/tree/tmp.DPQdUb0Jq3/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] ********************************************** Monday 22 July 2024 12:12:04 -0400 (0:00:00.068) 0:01:38.490 *********** 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.040085", "end": "2024-07-22 12:12:04.328996", "rc": 1, "start": "2024-07-22 12:12:04.288911" } 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] **************************************************** Monday 22 July 2024 12:12:04 -0400 (0:00:00.390) 0:01:38.880 *********** 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.007980", "end": "2024-07-22 12:12:04.690219", "rc": 0, "start": "2024-07-22 12:12:04.682239" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:e5:f3:7b:5b brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.13.55/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2415sec preferred_lft 2415sec inet6 fe80::8ff:e5ff:fef3:7b5b/64 scope link valid_lft forever preferred_lft forever 84: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 1a:e6:d6:8d:6c:17 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.12.1 dev eth0 proto dhcp src 10.31.13.55 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.55 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] ************************************* Monday 22 July 2024 12:12:04 -0400 (0:00:00.402) 0:01:39.282 *********** 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.270434", "end": "2024-07-22 12:12:05.360829", "rc": 0, "start": "2024-07-22 12:12:05.090395" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.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 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 1349 0 --:--:-- --:--:-- --:--:-- 1349 % 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 13857 0 --:--:-- --:--:-- --:--:-- 14550 PLAY RECAP ********************************************************************* managed_node1 : ok=334 changed=10 unreachable=0 failed=0 skipped=297 rescued=0 ignored=11 Monday 22 July 2024 12:12:05 -0400 (0:00:00.686) 0:01:39.969 *********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.67s fedora.linux_system_roles.network : Check which services are running ---- 1.64s fedora.linux_system_roles.network : Check which services are running ---- 1.59s fedora.linux_system_roles.network : Check which services are running ---- 1.57s fedora.linux_system_roles.network : Check which services are running ---- 1.57s fedora.linux_system_roles.network : Check which services are running ---- 1.57s fedora.linux_system_roles.network : Check which services are running ---- 1.57s fedora.linux_system_roles.network : Check which services are running ---- 1.57s fedora.linux_system_roles.network : Check which services are running ---- 1.56s fedora.linux_system_roles.network : Check which services are running ---- 1.56s fedora.linux_system_roles.network : Check which services are running ---- 1.56s fedora.linux_system_roles.network : Check which services are running ---- 1.55s fedora.linux_system_roles.network : Check which services are running ---- 1.55s fedora.linux_system_roles.network : Check which services are running ---- 1.55s fedora.linux_system_roles.network : Check which services are running ---- 1.54s Gathering Facts --------------------------------------------------------- 1.09s fedora.linux_system_roles.network : Check which packages are installed --- 1.06s fedora.linux_system_roles.network : Check which packages are installed --- 0.94s fedora.linux_system_roles.network : Check which packages are installed --- 0.93s fedora.linux_system_roles.network : Check which packages are installed --- 0.86s