[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:28:32 -0400 (0:00:00.006) 0:00:00.006 *********** ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Monday 22 July 2024 12:28:33 -0400 (0:00:01.110) 0:00:01.117 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:33 -0400 (0:00:00.017) 0:00:01.135 *********** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Monday 22 July 2024 12:28:33 -0400 (0:00:00.519) 0:00:01.654 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Monday 22 July 2024 12:28:34 -0400 (0:00:00.432) 0:00:02.087 *********** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Monday 22 July 2024 12:28:34 -0400 (0:00:00.022) 0:00:02.109 *********** 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:28:34 -0400 (0:00:00.014) 0:00:02.123 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** Monday 22 July 2024 12:28:34 -0400 (0:00:00.035) 0:00:02.159 *********** ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** Monday 22 July 2024 12:28:34 -0400 (0:00:00.438) 0:00:02.598 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Monday 22 July 2024 12:28:34 -0400 (0:00:00.013) 0:00:02.612 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Monday 22 July 2024 12:28:34 -0400 (0:00:00.013) 0:00:02.626 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.242985", "end": "2024-07-22 12:28:35.502862", "rc": 0, "start": "2024-07-22 12:28:35.259877" } TASK [Enable EPEL 6] *********************************************************** Monday 22 July 2024 12:28:35 -0400 (0:00:00.583) 0:00:03.210 *********** 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:28:35 -0400 (0:00:00.014) 0:00:03.224 *********** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:28:35 -0400 (0:00:00.025) 0:00:03.250 *********** ok: [managed_node1] TASK [Show playbook name] ****************************************************** Monday 22 July 2024 12:28:36 -0400 (0:00:00.779) 0:00:04.029 *********** ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** Monday 22 July 2024 12:28:36 -0400 (0:00:00.016) 0:00:04.046 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:36 -0400 (0:00:00.022) 0:00:04.068 *********** ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** Monday 22 July 2024 12:28:36 -0400 (0:00:00.015) 0:00:04.084 *********** 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:28:36 -0400 (0:00:00.048) 0:00:04.133 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:36 -0400 (0:00:00.022) 0:00:04.155 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:36 -0400 (0:00:00.017) 0:00:04.173 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003210", "end": "2024-07-22 12:28:36.809303", "rc": 0, "start": "2024-07-22 12:28:36.806093" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:28:36 -0400 (0:00:00.342) 0:00:04.516 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:28:36 -0400 (0:00:00.016) 0:00:04.532 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Monday 22 July 2024 12:28:36 -0400 (0:00:00.017) 0:00:04.550 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:36 -0400 (0:00:00.026) 0:00:04.576 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007683", "end": "2024-07-22 12:28:37.218560", "rc": 1, "start": "2024-07-22 12:28:37.210877" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* Monday 22 July 2024 12:28:37 -0400 (0:00:00.344) 0:00:04.921 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:37 -0400 (0:00:00.020) 0:00:04.941 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Monday 22 July 2024 12:28:37 -0400 (0:00:00.344) 0:00:05.286 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** Monday 22 July 2024 12:28:37 -0400 (0:00:00.017) 0:00:05.303 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:37 -0400 (0:00:00.025) 0:00:05.329 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:28:37 -0400 (0:00:00.041) 0:00:05.371 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:37 -0400 (0:00:00.030) 0:00:05.401 *********** 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:28:37 -0400 (0:00:00.029) 0:00:05.431 *********** 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:28:37 -0400 (0:00:00.017) 0:00:05.449 *********** 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:28:37 -0400 (0:00:00.018) 0:00:05.467 *********** 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:28:39 -0400 (0:00:01.838) 0:00:07.306 *********** 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:28:41 -0400 (0:00:01.684) 0:00:08.990 *********** 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:28:41 -0400 (0:00:00.034) 0:00:09.025 *********** 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:28:41 -0400 (0:00:00.034) 0:00:09.059 *********** 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:28:41 -0400 (0:00:00.037) 0:00:09.097 *********** 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:28:41 -0400 (0:00:00.053) 0:00:09.150 *********** 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:28:41 -0400 (0:00:00.046) 0:00:09.197 *********** 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:28:41 -0400 (0:00:00.049) 0:00:09.247 *********** 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:28:41 -0400 (0:00:00.081) 0:00:09.328 *********** 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:28:41 -0400 (0:00:00.061) 0:00:09.389 *********** 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:28:41 -0400 (0:00:00.035) 0:00:09.425 *********** 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:28:41 -0400 (0:00:00.051) 0:00:09.477 *********** 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:28:42 -0400 (0:00:00.777) 0:00:10.254 *********** 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:28:42 -0400 (0:00:00.053) 0:00:10.307 *********** 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:28:42 -0400 (0:00:00.031) 0:00:10.338 *********** 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:28:42 -0400 (0:00:00.029) 0:00:10.368 *********** 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, cd6dd22e-7320-4db3-a678-35d8f5ba78a6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:28:43 -0400 (0:00:00.743) 0:00:11.111 *********** 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:28:43 -0400 (0:00:00.035) 0:00:11.146 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cd6dd22e-7320-4db3-a678-35d8f5ba78a6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:28:43 -0400 (0:00:00.034) 0:00:11.181 *********** 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, cd6dd22e-7320-4db3-a678-35d8f5ba78a6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cd6dd22e-7320-4db3-a678-35d8f5ba78a6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:28:43 -0400 (0:00:00.035) 0:00:11.217 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:28:43 -0400 (0:00:00.035) 0:00:11.252 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Monday 22 July 2024 12:28:44 -0400 (0:00:00.464) 0:00:11.717 *********** 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, cd6dd22e-7320-4db3-a678-35d8f5ba78a6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cd6dd22e-7320-4db3-a678-35d8f5ba78a6" ] } } TASK [Asserts] ***************************************************************** Monday 22 July 2024 12:28:44 -0400 (0:00:00.033) 0:00:11.751 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:44 -0400 (0:00:00.091) 0:00:11.842 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:44 -0400 (0:00:00.058) 0:00:11.900 *********** 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:28:44 -0400 (0:00:00.032) 0:00:11.933 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721665723.3607862, "block_size": 4096, "blocks": 8, "ctime": 1721665723.3157861, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301238, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721665723.3157861, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:28:44 -0400 (0:00:00.363) 0:00:12.297 *********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 12:28:44 -0400 (0:00:00.034) 0:00:12.332 *********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020410", "end": "2024-07-22 12:28:44.993881", "rc": 0, "start": "2024-07-22 12:28:44.973471" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 12:28:45 -0400 (0:00:00.386) 0:00:12.718 *********** 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:28:45 -0400 (0:00:00.036) 0:00:12.755 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Monday 22 July 2024 12:28:45 -0400 (0:00:00.031) 0:00:12.786 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Monday 22 July 2024 12:28:45 -0400 (0:00:00.034) 0:00:12.820 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Monday 22 July 2024 12:28:45 -0400 (0:00:00.034) 0:00:12.855 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** Monday 22 July 2024 12:28:45 -0400 (0:00:00.030) 0:00:12.885 *********** 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:28:45 -0400 (0:00:00.035) 0:00:12.921 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** Monday 22 July 2024 12:28:45 -0400 (0:00:00.035) 0:00:12.957 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Monday 22 July 2024 12:28:45 -0400 (0:00:00.035) 0:00:12.992 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:45 -0400 (0:00:00.071) 0:00:13.064 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:45 -0400 (0:00:00.082) 0:00:13.146 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721665723.317787, "block_size": 4096, "blocks": 0, "ctime": 1721665723.317787, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62956, "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": 1721665723.317787, "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:28:45 -0400 (0:00:00.361) 0:00:13.508 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** Monday 22 July 2024 12:28:45 -0400 (0:00:00.035) 0:00:13.544 *********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** Monday 22 July 2024 12:28:45 -0400 (0:00:00.033) 0:00:13.578 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:45 -0400 (0:00:00.059) 0:00:13.637 *********** 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.061517", "end": "2024-07-22 12:28:46.339926", "rc": 1, "start": "2024-07-22 12:28:46.278409" } STDOUT: Connection 'statebr' (cd6dd22e-7320-4db3-a678-35d8f5ba78a6) 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:28:46 -0400 (0:00:00.426) 0:00:14.064 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:46 -0400 (0:00:00.055) 0:00:14.120 *********** ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** Monday 22 July 2024 12:28:46 -0400 (0:00:00.031) 0:00:14.151 *********** 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. '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:28:46 -0400 (0:00:00.064) 0:00:14.216 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:46 -0400 (0:00:00.050) 0:00:14.267 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:46 -0400 (0:00:00.048) 0:00:14.315 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003149", "end": "2024-07-22 12:28:46.959977", "rc": 0, "start": "2024-07-22 12:28:46.956828" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:28:47 -0400 (0:00:00.402) 0:00:14.718 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:28:47 -0400 (0:00:00.032) 0:00:14.750 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Monday 22 July 2024 12:28:47 -0400 (0:00:00.033) 0:00:14.784 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:47 -0400 (0:00:00.059) 0:00:14.843 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006009", "end": "2024-07-22 12:28:47.495161", "rc": 1, "start": "2024-07-22 12:28:47.489152" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* Monday 22 July 2024 12:28:47 -0400 (0:00:00.371) 0:00:15.215 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:47 -0400 (0:00:00.051) 0:00:15.266 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Monday 22 July 2024 12:28:47 -0400 (0:00:00.363) 0:00:15.630 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** Monday 22 July 2024 12:28:48 -0400 (0:00:00.032) 0:00:15.663 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:48 -0400 (0:00:00.053) 0:00:15.716 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:28:48 -0400 (0:00:00.066) 0:00:15.782 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:48 -0400 (0:00:00.060) 0:00:15.843 *********** 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:28:48 -0400 (0:00:00.089) 0:00:15.933 *********** 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:28:48 -0400 (0:00:00.035) 0:00:15.968 *********** 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:28:48 -0400 (0:00:00.038) 0:00:16.006 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Monday 22 July 2024 12:28:50 -0400 (0:00:01.731) 0:00:17.738 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Monday 22 July 2024 12:28:51 -0400 (0:00:01.470) 0:00:19.208 *********** 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:28:51 -0400 (0:00:00.035) 0:00:19.244 *********** 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:28:51 -0400 (0:00:00.037) 0:00:19.281 *********** 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:28:51 -0400 (0:00:00.033) 0:00:19.315 *********** 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:28:51 -0400 (0:00:00.054) 0:00:19.369 *********** 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:28:51 -0400 (0:00:00.045) 0:00:19.415 *********** 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:28:51 -0400 (0:00:00.052) 0:00:19.467 *********** 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:28:51 -0400 (0:00:00.081) 0:00:19.549 *********** 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:28:51 -0400 (0:00:00.037) 0:00:19.586 *********** 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:28:51 -0400 (0:00:00.034) 0:00:19.620 *********** 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:28:52 -0400 (0:00:00.095) 0:00:19.716 *********** 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:28:52 -0400 (0:00:00.560) 0:00:20.276 *********** 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:28:52 -0400 (0:00:00.053) 0:00:20.330 *********** 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:28:52 -0400 (0:00:00.032) 0:00:20.362 *********** 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:28:52 -0400 (0:00:00.030) 0:00:20.393 *********** 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, 51da7358-1795-4a2a-acdf-4259c2b58b51 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:28:53 -0400 (0:00:00.530) 0:00:20.923 *********** 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:28:53 -0400 (0:00:00.037) 0:00:20.960 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 51da7358-1795-4a2a-acdf-4259c2b58b51" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:28:53 -0400 (0:00:00.034) 0:00:20.995 *********** 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, 51da7358-1795-4a2a-acdf-4259c2b58b51\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 51da7358-1795-4a2a-acdf-4259c2b58b51" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:28:53 -0400 (0:00:00.035) 0:00:21.030 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:28:53 -0400 (0:00:00.035) 0:00:21.066 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Monday 22 July 2024 12:28:53 -0400 (0:00:00.371) 0:00:21.437 *********** 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, 51da7358-1795-4a2a-acdf-4259c2b58b51\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 51da7358-1795-4a2a-acdf-4259c2b58b51" ] } } TASK [Asserts] ***************************************************************** Monday 22 July 2024 12:28:53 -0400 (0:00:00.034) 0:00:21.472 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:53 -0400 (0:00:00.061) 0:00:21.533 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:53 -0400 (0:00:00.084) 0:00:21.618 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Monday 22 July 2024 12:28:54 -0400 (0:00:00.357) 0:00:21.975 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Monday 22 July 2024 12:28:54 -0400 (0:00:00.036) 0:00:22.011 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:54 -0400 (0:00:00.055) 0:00:22.066 *********** 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:28:54 -0400 (0:00:00.034) 0:00:22.101 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721665733.186847, "block_size": 4096, "blocks": 8, "ctime": 1721665733.186847, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301238, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721665733.186847, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:28:54 -0400 (0:00:00.363) 0:00:22.465 *********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 12:28:54 -0400 (0:00:00.034) 0:00:22.500 *********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021969", "end": "2024-07-22 12:28:55.161438", "rc": 0, "start": "2024-07-22 12:28:55.139469" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 12:28:55 -0400 (0:00:00.383) 0:00:22.883 *********** 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:28:55 -0400 (0:00:00.037) 0:00:22.920 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Monday 22 July 2024 12:28:55 -0400 (0:00:00.031) 0:00:22.952 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Monday 22 July 2024 12:28:55 -0400 (0:00:00.031) 0:00:22.983 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Monday 22 July 2024 12:28:55 -0400 (0:00:00.034) 0:00:23.018 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** Monday 22 July 2024 12:28:55 -0400 (0:00:00.031) 0:00:23.049 *********** 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:28:55 -0400 (0:00:00.037) 0:00:23.087 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** Monday 22 July 2024 12:28:55 -0400 (0:00:00.037) 0:00:23.124 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Monday 22 July 2024 12:28:55 -0400 (0:00:00.032) 0:00:23.157 *********** 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:28:55 -0400 (0:00:00.080) 0:00:23.238 *********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** Monday 22 July 2024 12:28:55 -0400 (0:00:00.034) 0:00:23.272 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:55 -0400 (0:00:00.060) 0:00:23.332 *********** 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.043777", "end": "2024-07-22 12:28:56.010624", "rc": 1, "start": "2024-07-22 12:28:55.966847" } STDOUT: Connection 'statebr' (51da7358-1795-4a2a-acdf-4259c2b58b51) 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:28:56 -0400 (0:00:00.400) 0:00:23.733 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:56 -0400 (0:00:00.052) 0:00:23.785 *********** ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** Monday 22 July 2024 12:28:56 -0400 (0:00:00.033) 0:00:23.818 *********** 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. '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:28:56 -0400 (0:00:00.065) 0:00:23.883 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:56 -0400 (0:00:00.050) 0:00:23.934 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:56 -0400 (0:00:00.049) 0:00:23.984 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003255", "end": "2024-07-22 12:28:56.624554", "rc": 0, "start": "2024-07-22 12:28:56.621299" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:28:56 -0400 (0:00:00.362) 0:00:24.346 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:28:56 -0400 (0:00:00.033) 0:00:24.380 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Monday 22 July 2024 12:28:56 -0400 (0:00:00.033) 0:00:24.414 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:56 -0400 (0:00:00.093) 0:00:24.507 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:28:56 -0400 (0:00:00.067) 0:00:24.575 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:28:56 -0400 (0:00:00.061) 0:00:24.636 *********** 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:28:57 -0400 (0:00:00.051) 0:00:24.688 *********** 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:28:57 -0400 (0:00:00.034) 0:00:24.722 *********** 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:28:57 -0400 (0:00:00.036) 0:00:24.759 *********** 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:28:58 -0400 (0:00:01.732) 0:00:26.492 *********** 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:29:00 -0400 (0:00:01.457) 0:00:27.950 *********** 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:29:00 -0400 (0:00:00.034) 0:00:27.984 *********** 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:29:00 -0400 (0:00:00.034) 0:00:28.019 *********** 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:29:00 -0400 (0:00:00.034) 0:00:28.053 *********** 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:29:00 -0400 (0:00:00.139) 0:00:28.193 *********** 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:29:00 -0400 (0:00:00.045) 0:00:28.238 *********** 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:29:00 -0400 (0:00:00.051) 0:00:28.290 *********** 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:29:00 -0400 (0:00:00.081) 0:00:28.372 *********** 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:29:00 -0400 (0:00:00.036) 0:00:28.408 *********** 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:29:00 -0400 (0:00:00.034) 0:00:28.443 *********** 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:29:00 -0400 (0:00:00.055) 0:00:28.498 *********** 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:29:01 -0400 (0:00:00.559) 0:00:29.058 *********** 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:29:01 -0400 (0:00:00.051) 0:00:29.109 *********** 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:29:01 -0400 (0:00:00.032) 0:00:29.142 *********** 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:29:01 -0400 (0:00:00.033) 0:00:29.175 *********** 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, d4b182c9-7cf2-4abc-8294-027bc4c7824f TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:29:02 -0400 (0:00:00.572) 0:00:29.748 *********** 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:29:02 -0400 (0:00:00.035) 0:00:29.784 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4b182c9-7cf2-4abc-8294-027bc4c7824f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:29:02 -0400 (0:00:00.035) 0:00:29.819 *********** 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, d4b182c9-7cf2-4abc-8294-027bc4c7824f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4b182c9-7cf2-4abc-8294-027bc4c7824f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:29:02 -0400 (0:00:00.037) 0:00:29.857 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:29:02 -0400 (0:00:00.036) 0:00:29.894 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Monday 22 July 2024 12:29:02 -0400 (0:00:00.404) 0:00:30.298 *********** 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, d4b182c9-7cf2-4abc-8294-027bc4c7824f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4b182c9-7cf2-4abc-8294-027bc4c7824f" ] } } TASK [Test] ******************************************************************** Monday 22 July 2024 12:29:02 -0400 (0:00:00.037) 0:00:30.336 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:02 -0400 (0:00:00.057) 0:00:30.393 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:29:02 -0400 (0:00:00.067) 0:00:30.460 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:02 -0400 (0:00:00.063) 0:00:30.524 *********** 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:29:02 -0400 (0:00:00.050) 0:00:30.574 *********** 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:29:02 -0400 (0:00:00.033) 0:00:30.608 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Monday 22 July 2024 12:29:02 -0400 (0:00:00.034) 0:00:30.643 *********** 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:29:04 -0400 (0:00:01.693) 0:00:32.337 *********** 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:29:06 -0400 (0:00:01.533) 0:00:33.870 *********** 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:29:06 -0400 (0:00:00.033) 0:00:33.904 *********** 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:29:06 -0400 (0:00:00.038) 0:00:33.942 *********** 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:29:06 -0400 (0:00:00.038) 0:00:33.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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Monday 22 July 2024 12:29:06 -0400 (0:00:00.054) 0:00:34.035 *********** 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:29:06 -0400 (0:00:00.042) 0:00:34.078 *********** 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:29:06 -0400 (0:00:00.055) 0:00:34.133 *********** 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:29:06 -0400 (0:00:00.081) 0:00:34.215 *********** 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:29:06 -0400 (0:00:00.035) 0:00:34.250 *********** 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:29:06 -0400 (0:00:00.037) 0:00:34.287 *********** 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:29:06 -0400 (0:00:00.050) 0:00:34.338 *********** 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:29:07 -0400 (0:00:00.552) 0:00:34.891 *********** 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:29:07 -0400 (0:00:00.055) 0:00:34.946 *********** 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:29:07 -0400 (0:00:00.028) 0:00:34.975 *********** 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:29:07 -0400 (0:00:00.032) 0:00:35.008 *********** 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, d4b182c9-7cf2-4abc-8294-027bc4c7824f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:29:07 -0400 (0:00:00.549) 0:00:35.557 *********** 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:29:07 -0400 (0:00:00.036) 0:00:35.594 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d4b182c9-7cf2-4abc-8294-027bc4c7824f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:29:08 -0400 (0:00:00.082) 0:00:35.676 *********** 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, d4b182c9-7cf2-4abc-8294-027bc4c7824f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d4b182c9-7cf2-4abc-8294-027bc4c7824f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:29:08 -0400 (0:00:00.037) 0:00:35.713 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:29:08 -0400 (0:00:00.034) 0:00:35.748 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Monday 22 July 2024 12:29:08 -0400 (0:00:00.364) 0:00:36.112 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:08 -0400 (0:00:00.060) 0:00:36.172 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:08 -0400 (0:00:00.052) 0:00:36.225 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721665741.968329, "block_size": 4096, "blocks": 0, "ctime": 1721665741.968329, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 63087, "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": 1721665741.968329, "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:29:08 -0400 (0:00:00.352) 0:00:36.577 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Monday 22 July 2024 12:29:08 -0400 (0:00:00.035) 0:00:36.612 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:09 -0400 (0:00:00.053) 0:00:36.666 *********** 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:29:09 -0400 (0:00:00.036) 0:00:36.702 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721665742.0299013, "block_size": 4096, "blocks": 8, "ctime": 1721665741.966901, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301240, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721665741.966901, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:29:09 -0400 (0:00:00.347) 0:00:37.050 *********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 12:29:09 -0400 (0:00:00.032) 0:00:37.083 *********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022019", "end": "2024-07-22 12:29:09.735544", "rc": 0, "start": "2024-07-22 12:29:09.713525" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 12:29:09 -0400 (0:00:00.408) 0:00:37.491 *********** 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:29:09 -0400 (0:00:00.036) 0:00:37.528 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Monday 22 July 2024 12:29:09 -0400 (0:00:00.031) 0:00:37.560 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Monday 22 July 2024 12:29:09 -0400 (0:00:00.033) 0:00:37.594 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Monday 22 July 2024 12:29:09 -0400 (0:00:00.031) 0:00:37.625 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** Monday 22 July 2024 12:29:09 -0400 (0:00:00.033) 0:00:37.658 *********** 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:29:10 -0400 (0:00:00.037) 0:00:37.695 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** Monday 22 July 2024 12:29:10 -0400 (0:00:00.035) 0:00:37.731 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Monday 22 July 2024 12:29:10 -0400 (0:00:00.035) 0:00:37.767 *********** 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:29:10 -0400 (0:00:00.040) 0:00:37.807 *********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** Monday 22 July 2024 12:29:10 -0400 (0:00:00.034) 0:00:37.841 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:10 -0400 (0:00:00.057) 0:00:37.899 *********** 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.058688", "end": "2024-07-22 12:29:10.592039", "rc": 1, "start": "2024-07-22 12:29:10.533351" } STDOUT: Connection 'statebr' (d4b182c9-7cf2-4abc-8294-027bc4c7824f) 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:29:10 -0400 (0:00:00.414) 0:00:38.314 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:10 -0400 (0:00:00.057) 0:00:38.371 *********** ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** Monday 22 July 2024 12:29:10 -0400 (0:00:00.032) 0:00:38.404 *********** 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. '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:29:10 -0400 (0:00:00.106) 0:00:38.511 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:10 -0400 (0:00:00.052) 0:00:38.564 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:10 -0400 (0:00:00.051) 0:00:38.615 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003181", "end": "2024-07-22 12:29:11.254579", "rc": 0, "start": "2024-07-22 12:29:11.251398" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:29:11 -0400 (0:00:00.359) 0:00:38.975 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:29:11 -0400 (0:00:00.034) 0:00:39.009 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Monday 22 July 2024 12:29:11 -0400 (0:00:00.033) 0:00:39.043 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:11 -0400 (0:00:00.058) 0:00:39.102 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:29:11 -0400 (0:00:00.069) 0:00:39.171 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:11 -0400 (0:00:00.062) 0:00:39.234 *********** 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:29:11 -0400 (0:00:00.051) 0:00:39.285 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Monday 22 July 2024 12:29:11 -0400 (0:00:00.034) 0:00:39.320 *********** 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:29:11 -0400 (0:00:00.069) 0:00:39.389 *********** 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:29:13 -0400 (0:00:01.701) 0:00:41.091 *********** 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:29:14 -0400 (0:00:01.459) 0:00:42.550 *********** 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:29:14 -0400 (0:00:00.035) 0:00:42.585 *********** 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:29:14 -0400 (0:00:00.036) 0:00:42.622 *********** 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:29:14 -0400 (0:00:00.032) 0:00:42.654 *********** 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:29:15 -0400 (0:00:00.055) 0:00:42.710 *********** 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:29:15 -0400 (0:00:00.045) 0:00:42.755 *********** 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:29:15 -0400 (0:00:00.051) 0:00:42.807 *********** 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:29:15 -0400 (0:00:00.080) 0:00:42.888 *********** 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:29:15 -0400 (0:00:00.036) 0:00:42.925 *********** 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:29:15 -0400 (0:00:00.033) 0:00:42.958 *********** 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:29:15 -0400 (0:00:00.053) 0:00:43.012 *********** 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:29:15 -0400 (0:00:00.552) 0:00:43.564 *********** 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:29:16 -0400 (0:00:00.146) 0:00:43.710 *********** 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:29:16 -0400 (0:00:00.034) 0:00:43.745 *********** 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:29:16 -0400 (0:00:00.030) 0:00:43.775 *********** 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, a817bed3-0036-4ba5-b14c-744d477334d1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:29:16 -0400 (0:00:00.567) 0:00:44.342 *********** 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:29:16 -0400 (0:00:00.039) 0:00:44.381 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a817bed3-0036-4ba5-b14c-744d477334d1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:29:16 -0400 (0:00:00.035) 0:00:44.417 *********** 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, a817bed3-0036-4ba5-b14c-744d477334d1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a817bed3-0036-4ba5-b14c-744d477334d1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:29:16 -0400 (0:00:00.035) 0:00:44.453 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:29:16 -0400 (0:00:00.039) 0:00:44.492 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Monday 22 July 2024 12:29:17 -0400 (0:00:00.376) 0:00:44.869 *********** 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, a817bed3-0036-4ba5-b14c-744d477334d1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a817bed3-0036-4ba5-b14c-744d477334d1" ] } } TASK [Include network role] **************************************************** Monday 22 July 2024 12:29:17 -0400 (0:00:00.037) 0:00:44.906 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:29:17 -0400 (0:00:00.069) 0:00:44.975 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:17 -0400 (0:00:00.063) 0:00:45.039 *********** 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:29:17 -0400 (0:00:00.049) 0:00:45.088 *********** 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:29:17 -0400 (0:00:00.073) 0:00:45.162 *********** 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:29:17 -0400 (0:00:00.036) 0:00:45.199 *********** 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:29:19 -0400 (0:00:01.715) 0:00:46.914 *********** 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:29:20 -0400 (0:00:01.456) 0:00:48.371 *********** 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:29:20 -0400 (0:00:00.035) 0:00:48.407 *********** 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:29:20 -0400 (0:00:00.035) 0:00:48.443 *********** 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:29:20 -0400 (0:00:00.034) 0:00:48.477 *********** 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:29:20 -0400 (0:00:00.054) 0:00:48.532 *********** 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:29:20 -0400 (0:00:00.044) 0:00:48.576 *********** 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:29:20 -0400 (0:00:00.053) 0:00:48.629 *********** 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:29:21 -0400 (0:00:00.081) 0:00:48.711 *********** 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:29:21 -0400 (0:00:00.038) 0:00:48.749 *********** 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:29:21 -0400 (0:00:00.035) 0:00:48.784 *********** 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:29:21 -0400 (0:00:00.097) 0:00:48.882 *********** 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:29:21 -0400 (0:00:00.561) 0:00:49.444 *********** 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:29:21 -0400 (0:00:00.056) 0:00:49.500 *********** 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:29:21 -0400 (0:00:00.033) 0:00:49.534 *********** 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:29:21 -0400 (0:00:00.029) 0:00:49.563 *********** 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, a817bed3-0036-4ba5-b14c-744d477334d1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:29:22 -0400 (0:00:00.522) 0:00:50.086 *********** 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:29:22 -0400 (0:00:00.039) 0:00:50.125 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a817bed3-0036-4ba5-b14c-744d477334d1 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:29:22 -0400 (0:00:00.034) 0:00:50.160 *********** 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, a817bed3-0036-4ba5-b14c-744d477334d1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a817bed3-0036-4ba5-b14c-744d477334d1 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:29:22 -0400 (0:00:00.038) 0:00:50.198 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:29:22 -0400 (0:00:00.038) 0:00:50.236 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** Monday 22 July 2024 12:29:22 -0400 (0:00:00.375) 0:00:50.611 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:23 -0400 (0:00:00.058) 0:00:50.670 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:29:23 -0400 (0:00:00.067) 0:00:50.737 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:23 -0400 (0:00:00.103) 0:00:50.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 : Check if system is ostree] *********** Monday 22 July 2024 12:29:23 -0400 (0:00:00.049) 0:00:50.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 : Set flag to indicate system is ostree] *** Monday 22 July 2024 12:29:23 -0400 (0:00:00.037) 0:00:50.928 *********** 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:29:23 -0400 (0:00:00.041) 0:00:50.970 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Monday 22 July 2024 12:29:25 -0400 (0:00:01.727) 0:00:52.698 *********** 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:29:26 -0400 (0:00:01.462) 0:00:54.160 *********** 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:29:26 -0400 (0:00:00.035) 0:00:54.196 *********** 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:29:26 -0400 (0:00:00.035) 0:00:54.232 *********** 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:29:26 -0400 (0:00:00.037) 0:00:54.269 *********** 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:29:26 -0400 (0:00:00.057) 0:00:54.327 *********** 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:29:26 -0400 (0:00:00.043) 0:00:54.370 *********** 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:29:26 -0400 (0:00:00.052) 0:00:54.422 *********** 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:29:26 -0400 (0:00:00.082) 0:00:54.504 *********** 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:29:26 -0400 (0:00:00.081) 0:00:54.586 *********** 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:29:26 -0400 (0:00:00.037) 0:00:54.624 *********** 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:29:27 -0400 (0:00:00.055) 0:00:54.680 *********** 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:29:27 -0400 (0:00:00.570) 0:00:55.250 *********** 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:29:27 -0400 (0:00:00.054) 0:00:55.304 *********** 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:29:27 -0400 (0:00:00.033) 0:00:55.338 *********** 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:29:27 -0400 (0:00:00.032) 0:00:55.370 *********** 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:29:28 -0400 (0:00:00.548) 0:00:55.918 *********** 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:29:28 -0400 (0:00:00.036) 0:00:55.955 *********** 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:29:28 -0400 (0:00:00.033) 0:00:55.989 *********** 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:29:28 -0400 (0:00:00.036) 0:00:56.025 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:29:28 -0400 (0:00:00.037) 0:00:56.062 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Monday 22 July 2024 12:29:28 -0400 (0:00:00.377) 0:00:56.439 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:28 -0400 (0:00:00.064) 0:00:56.504 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:28 -0400 (0:00:00.094) 0:00:56.598 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721665756.5659297, "block_size": 4096, "blocks": 0, "ctime": 1721665756.5659297, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 63218, "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": 1721665756.5659297, "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:29:29 -0400 (0:00:00.358) 0:00:56.956 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Monday 22 July 2024 12:29:29 -0400 (0:00:00.034) 0:00:56.991 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:29 -0400 (0:00:00.055) 0:00:57.047 *********** 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:29:29 -0400 (0:00:00.033) 0:00:57.081 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:29:29 -0400 (0:00:00.356) 0:00:57.437 *********** 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:29:29 -0400 (0:00:00.029) 0:00:57.467 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019661", "end": "2024-07-22 12:29:30.124110", "rc": 1, "start": "2024-07-22 12:29:30.104449" } 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:29:30 -0400 (0:00:00.378) 0:00:57.846 *********** 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:29:30 -0400 (0:00:00.033) 0:00:57.879 *********** 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:29:30 -0400 (0:00:00.031) 0:00:57.911 *********** 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:29:30 -0400 (0:00:00.032) 0:00:57.944 *********** 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:29:30 -0400 (0:00:00.033) 0:00:57.978 *********** 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:29:30 -0400 (0:00:00.031) 0:00:58.009 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Monday 22 July 2024 12:29:30 -0400 (0:00:00.035) 0:00:58.045 *********** 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:29:30 -0400 (0:00:00.044) 0:00:58.089 *********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** Monday 22 July 2024 12:29:30 -0400 (0:00:00.073) 0:00:58.163 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:30 -0400 (0:00:00.059) 0:00:58.222 *********** 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.070147", "end": "2024-07-22 12:29:30.931205", "rc": 1, "start": "2024-07-22 12:29:30.861058" } STDOUT: Connection 'statebr' (a817bed3-0036-4ba5-b14c-744d477334d1) 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:29:30 -0400 (0:00:00.433) 0:00:58.656 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:31 -0400 (0:00:00.054) 0:00:58.710 *********** ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** Monday 22 July 2024 12:29:31 -0400 (0:00:00.034) 0:00:58.745 *********** 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:29:31 -0400 (0:00:00.069) 0:00:58.814 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:31 -0400 (0:00:00.051) 0:00:58.866 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:31 -0400 (0:00:00.051) 0:00:58.917 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003272", "end": "2024-07-22 12:29:31.562595", "rc": 0, "start": "2024-07-22 12:29:31.559323" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:29:31 -0400 (0:00:00.371) 0:00:59.288 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:29:31 -0400 (0:00:00.033) 0:00:59.322 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Monday 22 July 2024 12:29:31 -0400 (0:00:00.036) 0:00:59.359 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:31 -0400 (0:00:00.061) 0:00:59.421 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:29:31 -0400 (0:00:00.105) 0:00:59.526 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:31 -0400 (0:00:00.063) 0:00:59.590 *********** 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:29:31 -0400 (0:00:00.053) 0:00:59.643 *********** 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:29:32 -0400 (0:00:00.036) 0:00:59.680 *********** 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:29:32 -0400 (0:00:00.037) 0:00:59.717 *********** 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:29:33 -0400 (0:00:01.746) 0:01:01.463 *********** 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:29:35 -0400 (0:00:01.469) 0:01:02.933 *********** 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:29:35 -0400 (0:00:00.036) 0:01:02.970 *********** 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:29:35 -0400 (0:00:00.036) 0:01:03.006 *********** 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:29:35 -0400 (0:00:00.037) 0:01:03.044 *********** 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:29:35 -0400 (0:00:00.055) 0:01:03.099 *********** 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:29:35 -0400 (0:00:00.082) 0:01:03.182 *********** 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:29:35 -0400 (0:00:00.054) 0:01:03.236 *********** 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:29:35 -0400 (0:00:00.083) 0:01:03.320 *********** 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:29:35 -0400 (0:00:00.035) 0:01:03.356 *********** 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:29:35 -0400 (0:00:00.038) 0:01:03.394 *********** 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:29:35 -0400 (0:00:00.054) 0:01:03.448 *********** 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:29:36 -0400 (0:00:00.564) 0:01:04.013 *********** 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:29:36 -0400 (0:00:00.055) 0:01:04.068 *********** 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:29:36 -0400 (0:00:00.032) 0:01:04.101 *********** 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:29:36 -0400 (0:00:00.030) 0:01:04.131 *********** 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, c94b26f9-8bba-4de0-915f-0669c3b2cfa9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:29:37 -0400 (0:00:00.582) 0:01:04.713 *********** 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:29:37 -0400 (0:00:00.035) 0:01:04.749 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c94b26f9-8bba-4de0-915f-0669c3b2cfa9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:29:37 -0400 (0:00:00.036) 0:01:04.786 *********** 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, c94b26f9-8bba-4de0-915f-0669c3b2cfa9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c94b26f9-8bba-4de0-915f-0669c3b2cfa9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:29:37 -0400 (0:00:00.035) 0:01:04.821 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:29:37 -0400 (0:00:00.034) 0:01:04.856 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Monday 22 July 2024 12:29:37 -0400 (0:00:00.414) 0:01:05.270 *********** 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, c94b26f9-8bba-4de0-915f-0669c3b2cfa9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c94b26f9-8bba-4de0-915f-0669c3b2cfa9" ] } } TASK [Include network role] **************************************************** Monday 22 July 2024 12:29:37 -0400 (0:00:00.036) 0:01:05.307 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:29:37 -0400 (0:00:00.068) 0:01:05.376 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:37 -0400 (0:00:00.063) 0:01:05.439 *********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Monday 22 July 2024 12:29:37 -0400 (0:00:00.053) 0:01:05.493 *********** 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:29:37 -0400 (0:00:00.037) 0:01:05.530 *********** 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:29:37 -0400 (0:00:00.037) 0:01:05.567 *********** 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:29:39 -0400 (0:00:01.736) 0:01:07.304 *********** 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:29:41 -0400 (0:00:01.471) 0:01:08.776 *********** 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:29:41 -0400 (0:00:00.033) 0:01:08.809 *********** 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:29:41 -0400 (0:00:00.037) 0:01:08.847 *********** 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:29:41 -0400 (0:00:00.035) 0:01:08.882 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Monday 22 July 2024 12:29:41 -0400 (0:00:00.151) 0:01:09.034 *********** 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:29:41 -0400 (0:00:00.047) 0:01:09.081 *********** 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:29:41 -0400 (0:00:00.053) 0:01:09.134 *********** 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:29:41 -0400 (0:00:00.081) 0:01:09.216 *********** 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:29:41 -0400 (0:00:00.037) 0:01:09.253 *********** 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:29:41 -0400 (0:00:00.034) 0:01:09.287 *********** 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:29:41 -0400 (0:00:00.057) 0:01:09.345 *********** 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:29:42 -0400 (0:00:00.569) 0:01:09.915 *********** 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:29:42 -0400 (0:00:00.053) 0:01:09.968 *********** 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:29:42 -0400 (0:00:00.032) 0:01:10.001 *********** 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:29:42 -0400 (0:00:00.034) 0:01:10.035 *********** 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, c94b26f9-8bba-4de0-915f-0669c3b2cfa9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:29:42 -0400 (0:00:00.519) 0:01:10.554 *********** 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:29:42 -0400 (0:00:00.034) 0:01:10.589 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c94b26f9-8bba-4de0-915f-0669c3b2cfa9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:29:42 -0400 (0:00:00.034) 0:01:10.624 *********** 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, c94b26f9-8bba-4de0-915f-0669c3b2cfa9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c94b26f9-8bba-4de0-915f-0669c3b2cfa9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:29:43 -0400 (0:00:00.038) 0:01:10.662 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:29:43 -0400 (0:00:00.038) 0:01:10.700 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** Monday 22 July 2024 12:29:43 -0400 (0:00:00.412) 0:01:11.113 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:29:43 -0400 (0:00:00.068) 0:01:11.181 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:43 -0400 (0:00:00.062) 0:01:11.244 *********** 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:29:43 -0400 (0:00:00.052) 0:01:11.296 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Monday 22 July 2024 12:29:43 -0400 (0:00:00.036) 0:01:11.333 *********** 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:29:43 -0400 (0:00:00.038) 0:01:11.372 *********** 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:29:45 -0400 (0:00:01.734) 0:01:13.107 *********** 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:29:46 -0400 (0:00:01.463) 0:01:14.571 *********** 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:29:46 -0400 (0:00:00.035) 0:01:14.606 *********** 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:29:46 -0400 (0:00:00.036) 0:01:14.642 *********** 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:29:47 -0400 (0:00:00.083) 0:01:14.726 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Monday 22 July 2024 12:29:47 -0400 (0:00:00.055) 0:01:14.781 *********** 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:29:47 -0400 (0:00:00.045) 0:01:14.827 *********** 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:29:47 -0400 (0:00:00.056) 0:01:14.883 *********** 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:29:47 -0400 (0:00:00.082) 0:01:14.966 *********** 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:29:47 -0400 (0:00:00.036) 0:01:15.002 *********** 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:29:47 -0400 (0:00:00.038) 0:01:15.040 *********** 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:29:47 -0400 (0:00:00.052) 0:01:15.093 *********** 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:29:48 -0400 (0:00:00.565) 0:01:15.658 *********** 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:29:48 -0400 (0:00:00.054) 0:01:15.713 *********** 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:29:48 -0400 (0:00:00.031) 0:01:15.745 *********** 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:29:48 -0400 (0:00:00.030) 0:01:15.775 *********** 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:29:48 -0400 (0:00:00.541) 0:01:16.317 *********** 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:29:48 -0400 (0:00:00.035) 0:01:16.352 *********** 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:29:48 -0400 (0:00:00.034) 0:01:16.387 *********** 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:29:48 -0400 (0:00:00.037) 0:01:16.424 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:29:48 -0400 (0:00:00.036) 0:01:16.460 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** Monday 22 July 2024 12:29:49 -0400 (0:00:00.418) 0:01:16.879 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:49 -0400 (0:00:00.058) 0:01:16.938 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:29:49 -0400 (0:00:00.070) 0:01:17.008 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:49 -0400 (0:00:00.062) 0:01:17.070 *********** 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:29:49 -0400 (0:00:00.051) 0:01:17.122 *********** 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:29:49 -0400 (0:00:00.036) 0:01:17.158 *********** 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:29:49 -0400 (0:00:00.036) 0:01:17.195 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Monday 22 July 2024 12:29:51 -0400 (0:00:01.714) 0:01:18.910 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Monday 22 July 2024 12:29:52 -0400 (0:00:01.509) 0:01:20.419 *********** 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:29:52 -0400 (0:00:00.081) 0:01:20.500 *********** 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:29:52 -0400 (0:00:00.036) 0:01:20.536 *********** 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:29:52 -0400 (0:00:00.037) 0:01:20.574 *********** 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:29:52 -0400 (0:00:00.055) 0:01:20.630 *********** 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:29:53 -0400 (0:00:00.045) 0:01:20.675 *********** 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:29:53 -0400 (0:00:00.056) 0:01:20.732 *********** 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:29:53 -0400 (0:00:00.081) 0:01:20.814 *********** 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:29:53 -0400 (0:00:00.037) 0:01:20.851 *********** 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:29:53 -0400 (0:00:00.039) 0:01:20.890 *********** 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:29:53 -0400 (0:00:00.053) 0:01:20.944 *********** 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:29:53 -0400 (0:00:00.560) 0:01:21.504 *********** 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:29:53 -0400 (0:00:00.053) 0:01:21.557 *********** 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:29:53 -0400 (0:00:00.031) 0:01:21.589 *********** 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:29:53 -0400 (0:00:00.033) 0:01:21.622 *********** 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:29:54 -0400 (0:00:00.596) 0:01:22.218 *********** 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:29:54 -0400 (0:00:00.037) 0:01:22.256 *********** 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:29:54 -0400 (0:00:00.035) 0:01:22.291 *********** 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:29:54 -0400 (0:00:00.077) 0:01:22.368 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:29:54 -0400 (0:00:00.039) 0:01:22.407 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Monday 22 July 2024 12:29:55 -0400 (0:00:00.371) 0:01:22.779 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:55 -0400 (0:00:00.058) 0:01:22.837 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:55 -0400 (0:00:00.057) 0:01:22.894 *********** 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:29:55 -0400 (0:00:00.032) 0:01:22.927 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:29:55 -0400 (0:00:00.354) 0:01:23.281 *********** 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:29:55 -0400 (0:00:00.033) 0:01:23.315 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018871", "end": "2024-07-22 12:29:55.968651", "rc": 1, "start": "2024-07-22 12:29:55.949780" } 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:29:56 -0400 (0:00:00.378) 0:01:23.693 *********** 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:29:56 -0400 (0:00:00.032) 0:01:23.726 *********** 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:29:56 -0400 (0:00:00.032) 0:01:23.759 *********** 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:29:56 -0400 (0:00:00.031) 0:01:23.791 *********** 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:29:56 -0400 (0:00:00.030) 0:01:23.821 *********** 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:29:56 -0400 (0:00:00.076) 0:01:23.898 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Monday 22 July 2024 12:29:56 -0400 (0:00:00.034) 0:01:23.932 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:56 -0400 (0:00:00.076) 0:01:24.009 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:56 -0400 (0:00:00.054) 0:01:24.063 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Monday 22 July 2024 12:29:56 -0400 (0:00:00.361) 0:01:24.425 *********** 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:29:56 -0400 (0:00:00.037) 0:01:24.462 *********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** Monday 22 July 2024 12:29:56 -0400 (0:00:00.033) 0:01:24.496 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:56 -0400 (0:00:00.063) 0:01:24.560 *********** 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.039215", "end": "2024-07-22 12:29:57.239031", "rc": 1, "start": "2024-07-22 12:29:57.199816" } 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:29:57 -0400 (0:00:00.402) 0:01:24.962 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:57 -0400 (0:00:00.057) 0:01:25.019 *********** 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:29:57 -0400 (0:00:00.035) 0:01:25.055 *********** 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:29:57 -0400 (0:00:00.066) 0:01:25.121 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:57 -0400 (0:00:00.100) 0:01:25.221 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:57 -0400 (0:00:00.049) 0:01:25.270 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003210", "end": "2024-07-22 12:29:57.915099", "rc": 0, "start": "2024-07-22 12:29:57.911889" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:29:57 -0400 (0:00:00.364) 0:01:25.635 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:29:58 -0400 (0:00:00.034) 0:01:25.669 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Monday 22 July 2024 12:29:58 -0400 (0:00:00.036) 0:01:25.706 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:58 -0400 (0:00:00.064) 0:01:25.771 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:29:58 -0400 (0:00:00.068) 0:01:25.839 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:29:58 -0400 (0:00:00.062) 0:01:25.902 *********** 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:29:58 -0400 (0:00:00.051) 0:01:25.953 *********** 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:29:58 -0400 (0:00:00.034) 0:01:25.987 *********** 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:29:58 -0400 (0:00:00.038) 0:01:26.025 *********** 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:30:00 -0400 (0:00:01.780) 0:01:27.806 *********** 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:30:01 -0400 (0:00:01.463) 0:01:29.269 *********** 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:30:01 -0400 (0:00:00.038) 0:01:29.308 *********** 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:30:01 -0400 (0:00:00.038) 0:01:29.346 *********** 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:30:01 -0400 (0:00:00.039) 0:01:29.385 *********** 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:30:01 -0400 (0:00:00.058) 0:01:29.444 *********** 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:30:01 -0400 (0:00:00.046) 0:01:29.490 *********** 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:30:01 -0400 (0:00:00.055) 0:01:29.546 *********** 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:30:01 -0400 (0:00:00.085) 0:01:29.632 *********** 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:30:02 -0400 (0:00:00.039) 0:01:29.672 *********** 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:30:02 -0400 (0:00:00.035) 0:01:29.708 *********** 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:30:02 -0400 (0:00:00.056) 0:01:29.764 *********** 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:30:02 -0400 (0:00:00.569) 0:01:30.334 *********** 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:30:02 -0400 (0:00:00.055) 0:01:30.389 *********** 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:30:02 -0400 (0:00:00.080) 0:01:30.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:30:02 -0400 (0:00:00.035) 0:01:30.506 *********** 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, 8acab222-59a3-4821-a8da-f270efb2849b TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:30:03 -0400 (0:00:00.577) 0:01:31.083 *********** 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:30:03 -0400 (0:00:00.041) 0:01:31.124 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8acab222-59a3-4821-a8da-f270efb2849b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:30:03 -0400 (0:00:00.039) 0:01:31.163 *********** 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, 8acab222-59a3-4821-a8da-f270efb2849b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8acab222-59a3-4821-a8da-f270efb2849b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:30:03 -0400 (0:00:00.037) 0:01:31.200 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:30:03 -0400 (0:00:00.040) 0:01:31.241 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Monday 22 July 2024 12:30:03 -0400 (0:00:00.379) 0:01:31.620 *********** 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, 8acab222-59a3-4821-a8da-f270efb2849b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8acab222-59a3-4821-a8da-f270efb2849b" ] } } TASK [Include network role] **************************************************** Monday 22 July 2024 12:30:04 -0400 (0:00:00.038) 0:01:31.659 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:30:04 -0400 (0:00:00.070) 0:01:31.729 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:30:04 -0400 (0:00:00.066) 0:01:31.795 *********** 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:30:04 -0400 (0:00:00.053) 0:01:31.848 *********** 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:30:04 -0400 (0:00:00.038) 0:01:31.887 *********** 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:30:04 -0400 (0:00:00.088) 0:01:31.975 *********** 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:30:06 -0400 (0:00:01.742) 0:01:33.718 *********** 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:30:07 -0400 (0:00:01.472) 0:01:35.190 *********** 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:30:07 -0400 (0:00:00.036) 0:01:35.227 *********** 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:30:07 -0400 (0:00:00.039) 0:01:35.266 *********** 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:30:07 -0400 (0:00:00.039) 0:01:35.305 *********** 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:30:07 -0400 (0:00:00.054) 0:01:35.360 *********** 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:30:07 -0400 (0:00:00.042) 0:01:35.402 *********** 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:30:07 -0400 (0:00:00.057) 0:01:35.460 *********** 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:30:07 -0400 (0:00:00.083) 0:01:35.544 *********** 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:30:07 -0400 (0:00:00.035) 0:01:35.579 *********** 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:30:07 -0400 (0:00:00.037) 0:01:35.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 : Enable and start NetworkManager] ***** Monday 22 July 2024 12:30:08 -0400 (0:00:00.053) 0:01:35.670 *********** 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:30:08 -0400 (0:00:00.560) 0:01:36.230 *********** 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:30:08 -0400 (0:00:00.102) 0:01:36.333 *********** 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:30:08 -0400 (0:00:00.031) 0:01:36.364 *********** 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:30:08 -0400 (0:00:00.032) 0:01:36.397 *********** 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, 8acab222-59a3-4821-a8da-f270efb2849b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:30:09 -0400 (0:00:00.520) 0:01:36.917 *********** 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:30:09 -0400 (0:00:00.036) 0:01:36.954 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8acab222-59a3-4821-a8da-f270efb2849b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:30:09 -0400 (0:00:00.036) 0:01:36.991 *********** 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, 8acab222-59a3-4821-a8da-f270efb2849b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8acab222-59a3-4821-a8da-f270efb2849b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:30:09 -0400 (0:00:00.035) 0:01:37.027 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:30:09 -0400 (0:00:00.038) 0:01:37.066 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** Monday 22 July 2024 12:30:09 -0400 (0:00:00.374) 0:01:37.440 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:30:09 -0400 (0:00:00.069) 0:01:37.510 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:30:09 -0400 (0:00:00.065) 0:01:37.576 *********** 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:30:09 -0400 (0:00:00.051) 0:01:37.627 *********** 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:30:10 -0400 (0:00:00.037) 0:01:37.665 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Monday 22 July 2024 12:30:10 -0400 (0:00:00.081) 0:01:37.746 *********** 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:30:11 -0400 (0:00:01.741) 0:01:39.488 *********** 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:30:13 -0400 (0:00:01.476) 0:01:40.965 *********** 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:30:13 -0400 (0:00:00.037) 0:01:41.002 *********** 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:30:13 -0400 (0:00:00.034) 0:01:41.037 *********** 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:30:13 -0400 (0:00:00.039) 0:01:41.077 *********** 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:30:13 -0400 (0:00:00.057) 0:01:41.134 *********** 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:30:13 -0400 (0:00:00.045) 0:01:41.180 *********** 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:30:13 -0400 (0:00:00.059) 0:01:41.240 *********** 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:30:13 -0400 (0:00:00.081) 0:01:41.322 *********** 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:30:13 -0400 (0:00:00.036) 0:01:41.358 *********** 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:30:13 -0400 (0:00:00.039) 0:01:41.398 *********** 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:30:13 -0400 (0:00:00.054) 0:01:41.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 : Enable and start wpa_supplicant] ***** Monday 22 July 2024 12:30:14 -0400 (0:00:00.563) 0:01:42.016 *********** 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:30:14 -0400 (0:00:00.168) 0:01:42.184 *********** 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:30:14 -0400 (0:00:00.033) 0:01:42.218 *********** 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:30:14 -0400 (0:00:00.030) 0:01:42.248 *********** 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:30:15 -0400 (0:00:00.601) 0:01:42.849 *********** 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:30:15 -0400 (0:00:00.039) 0:01:42.889 *********** 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:30:15 -0400 (0:00:00.037) 0:01:42.927 *********** 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:30:15 -0400 (0:00:00.037) 0:01:42.964 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:30:15 -0400 (0:00:00.039) 0:01:43.003 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** Monday 22 July 2024 12:30:15 -0400 (0:00:00.377) 0:01:43.381 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:30:15 -0400 (0:00:00.059) 0:01:43.440 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:30:15 -0400 (0:00:00.069) 0:01:43.510 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:30:15 -0400 (0:00:00.064) 0:01:43.574 *********** 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:30:16 -0400 (0:00:00.162) 0:01:43.736 *********** 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:30:16 -0400 (0:00:00.039) 0:01:43.776 *********** 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:30:16 -0400 (0:00:00.037) 0:01:43.813 *********** 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:30:17 -0400 (0:00:01.752) 0:01:45.565 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Monday 22 July 2024 12:30:19 -0400 (0:00:01.470) 0:01:47.036 *********** 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:30:19 -0400 (0:00:00.035) 0:01:47.072 *********** 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:30:19 -0400 (0:00:00.038) 0:01:47.111 *********** 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:30:19 -0400 (0:00:00.039) 0:01:47.151 *********** 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:30:19 -0400 (0:00:00.056) 0:01:47.207 *********** 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:30:19 -0400 (0:00:00.045) 0:01:47.253 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Monday 22 July 2024 12:30:19 -0400 (0:00:00.054) 0:01:47.307 *********** 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:30:19 -0400 (0:00:00.080) 0:01:47.388 *********** 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:30:19 -0400 (0:00:00.039) 0:01:47.428 *********** 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:30:19 -0400 (0:00:00.036) 0:01:47.464 *********** 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:30:19 -0400 (0:00:00.171) 0:01:47.635 *********** 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:30:20 -0400 (0:00:00.563) 0:01:48.199 *********** 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:30:20 -0400 (0:00:00.055) 0:01:48.255 *********** 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:30:20 -0400 (0:00:00.030) 0:01:48.286 *********** 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:30:20 -0400 (0:00:00.033) 0:01:48.319 *********** 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:30:21 -0400 (0:00:00.538) 0:01:48.857 *********** 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:30:21 -0400 (0:00:00.035) 0:01:48.893 *********** 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:30:21 -0400 (0:00:00.038) 0:01:48.931 *********** 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:30:21 -0400 (0:00:00.036) 0:01:48.967 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:30:21 -0400 (0:00:00.039) 0:01:49.007 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Monday 22 July 2024 12:30:21 -0400 (0:00:00.379) 0:01:49.387 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:30:21 -0400 (0:00:00.064) 0:01:49.452 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:30:21 -0400 (0:00:00.056) 0:01:49.508 *********** 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:30:21 -0400 (0:00:00.080) 0:01:49.589 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:30:22 -0400 (0:00:00.356) 0:01:49.946 *********** 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:30:22 -0400 (0:00:00.030) 0:01:49.976 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023206", "end": "2024-07-22 12:30:22.638565", "rc": 1, "start": "2024-07-22 12:30:22.615359" } 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:30:22 -0400 (0:00:00.386) 0:01:50.362 *********** 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:30:22 -0400 (0:00:00.032) 0:01:50.395 *********** 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:30:22 -0400 (0:00:00.033) 0:01:50.428 *********** 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:30:22 -0400 (0:00:00.032) 0:01:50.461 *********** 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:30:22 -0400 (0:00:00.034) 0:01:50.495 *********** 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:30:22 -0400 (0:00:00.031) 0:01:50.526 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** Monday 22 July 2024 12:30:22 -0400 (0:00:00.036) 0:01:50.563 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.889894", "end": "2024-07-22 12:30:24.085486", "rc": 0, "start": "2024-07-22 12:30:23.195592" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** Monday 22 July 2024 12:30:24 -0400 (0:00:01.247) 0:01:51.810 *********** ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* Monday 22 July 2024 12:30:24 -0400 (0:00:00.034) 0:01:51.844 *********** ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** Monday 22 July 2024 12:30:24 -0400 (0:00:00.037) 0:01:51.882 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:30:24 -0400 (0:00:00.080) 0:01:51.962 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:30:24 -0400 (0:00:00.111) 0:01:52.074 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Monday 22 July 2024 12:30:24 -0400 (0:00:00.360) 0:01:52.434 *********** 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:30:24 -0400 (0:00:00.037) 0:01:52.472 *********** 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:30:24 -0400 (0:00:00.034) 0:01:52.507 *********** included: /var/ARTIFACTS/work-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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-generaly3i9cwcr/plans/general/tree/tmp.lGaAsXqXql/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:30:24 -0400 (0:00:00.069) 0:01:52.576 *********** 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.039093", "end": "2024-07-22 12:30:25.257815", "rc": 1, "start": "2024-07-22 12:30:25.218722" } 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:30:25 -0400 (0:00:00.403) 0:01:52.980 *********** 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.008459", "end": "2024-07-22 12:30:25.627096", "rc": 0, "start": "2024-07-22 12:30:25.618637" } 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:c7:69:6a:a1 brd ff:ff:ff:ff:ff:ff inet 10.31.15.26/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3112sec preferred_lft 3112sec inet6 fe80::8ff:c7ff:fe69:6aa1/64 scope link valid_lft forever preferred_lft forever 139: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 9e:73:26:b7:ee:8f 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.15.26 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.26 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:30:25 -0400 (0:00:00.372) 0:01:53.352 *********** 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.202102", "end": "2024-07-22 12:30:26.202599", "rc": 0, "start": "2024-07-22 12:30:26.000497" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 3630 0 --:--:-- --:--:-- --:--:-- 3630 % 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 3423 0 --:--:-- --:--:-- --:--:-- 3423 PLAY RECAP ********************************************************************* managed_node1 : ok=324 changed=10 unreachable=0 failed=0 skipped=292 rescued=0 ignored=11 Monday 22 July 2024 12:30:26 -0400 (0:00:00.624) 0:01:53.977 *********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.84s fedora.linux_system_roles.network : Check which services are running ---- 1.78s fedora.linux_system_roles.network : Check which services are running ---- 1.75s fedora.linux_system_roles.network : Check which services are running ---- 1.75s fedora.linux_system_roles.network : Check which services are running ---- 1.74s fedora.linux_system_roles.network : Check which services are running ---- 1.74s fedora.linux_system_roles.network : Check which services are running ---- 1.74s fedora.linux_system_roles.network : Check which services are running ---- 1.73s fedora.linux_system_roles.network : Check which services are running ---- 1.73s fedora.linux_system_roles.network : Check which services are running ---- 1.73s fedora.linux_system_roles.network : Check which services are running ---- 1.73s fedora.linux_system_roles.network : Check which services are running ---- 1.72s fedora.linux_system_roles.network : Check which services are running ---- 1.71s fedora.linux_system_roles.network : Check which services are running ---- 1.70s fedora.linux_system_roles.network : Check which services are running ---- 1.69s fedora.linux_system_roles.network : Check which packages are installed --- 1.68s fedora.linux_system_roles.network : Check which packages are installed --- 1.53s fedora.linux_system_roles.network : Check which packages are installed --- 1.51s fedora.linux_system_roles.network : Check which packages are installed --- 1.48s fedora.linux_system_roles.network : Check which packages are installed --- 1.47s