[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 [Test change indication on repeat run] ************************************ TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:33:44 -0400 (0:00:00.008) 0:00:00.008 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 06:33:45 -0400 (0:00:01.095) 0:00:01.104 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 06:33:46 -0400 (0:00:00.453) 0:00:01.558 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:33:46 -0400 (0:00:00.022) 0:00:01.580 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Saturday 06 July 2024 06:33:46 -0400 (0:00:00.025) 0:00:01.606 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 06:33:46 -0400 (0:00:00.015) 0:00:01.621 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:33:46 -0400 (0:00:00.013) 0:00:01.635 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:33:46 -0400 (0:00:00.019) 0:00:01.654 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:33:46 -0400 (0:00:00.018) 0:00:01.673 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003434", "end": "2024-07-06 06:33:46.860069", "rc": 0, "start": "2024-07-06 06:33:46.856635" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:33:46 -0400 (0:00:00.462) 0:00:02.135 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:33:46 -0400 (0:00:00.018) 0:00:02.154 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:33:46 -0400 (0:00:00.017) 0:00:02.172 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Saturday 06 July 2024 06:33:47 -0400 (0:00:01.038) 0:00:03.210 ********* ok: [managed_node1] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.010727", "end": "2024-07-06 06:33:48.307906", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-07-06 06:33:48.297179" } ok: [managed_node1] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003692", "end": "2024-07-06 06:33:48.678941", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-07-06 06:33:48.675249" } ok: [managed_node1] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.006931", "end": "2024-07-06 06:33:49.030676", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-07-06 06:33:49.023745" } TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:33:49 -0400 (0:00:01.097) 0:00:04.307 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.022478", "end": "2024-07-06 06:33:49.411281", "rc": 0, "start": "2024-07-06 06:33:49.388803" } TASK [Delete veth interface testnic1] ****************************************** Saturday 06 July 2024 06:33:49 -0400 (0:00:00.380) 0:00:04.688 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** Saturday 06 July 2024 06:33:49 -0400 (0:00:00.013) 0:00:04.701 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Saturday 06 July 2024 06:33:49 -0400 (0:00:00.013) 0:00:04.715 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Saturday 06 July 2024 06:33:49 -0400 (0:00:00.013) 0:00:04.728 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Saturday 06 July 2024 06:33:49 -0400 (0:00:00.013) 0:00:04.742 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** Saturday 06 July 2024 06:33:49 -0400 (0:00:00.012) 0:00:04.755 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:33:49 -0400 (0:00:00.018) 0:00:04.773 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface testnic1] ***************************************** Saturday 06 July 2024 06:33:49 -0400 (0:00:00.017) 0:00:04.790 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262028.3009844, "block_size": 4096, "blocks": 0, "ctime": 1720262028.3009844, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38783, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1720262028.3009844, "nlink": 1, "path": "/sys/class/net/testnic1", "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 - 'testnic1'] *********************** Saturday 06 July 2024 06:33:49 -0400 (0:00:00.359) 0:00:05.150 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:33:49 -0400 (0:00:00.018) 0:00:05.169 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:33:49 -0400 (0:00:00.041) 0:00:05.211 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/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] *** Saturday 06 July 2024 06:33:50 -0400 (0:00:00.028) 0:00:05.239 ********* 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] *********** Saturday 06 July 2024 06:33:50 -0400 (0:00:00.022) 0:00:05.261 ********* 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] *** Saturday 06 July 2024 06:33:50 -0400 (0:00:00.018) 0:00:05.280 ********* 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] **** Saturday 06 July 2024 06:33:50 -0400 (0:00:00.019) 0:00:05.299 ********* 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] *** Saturday 06 July 2024 06:33:51 -0400 (0:00:01.809) 0:00:07.108 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Saturday 06 July 2024 06:33:53 -0400 (0:00:01.128) 0:00:08.237 ********* 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] *** Saturday 06 July 2024 06:33:53 -0400 (0:00:00.044) 0:00:08.281 ********* 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] *** Saturday 06 July 2024 06:33:53 -0400 (0:00:00.038) 0:00:08.320 ********* 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] *** Saturday 06 July 2024 06:33:53 -0400 (0:00:00.037) 0:00:08.357 ********* 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] *** Saturday 06 July 2024 06:33:53 -0400 (0:00:00.054) 0:00:08.412 ********* 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] *** Saturday 06 July 2024 06:33:53 -0400 (0:00:00.040) 0:00:08.452 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:33:53 -0400 (0:00:00.049) 0:00:08.502 ********* 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] *** Saturday 06 July 2024 06:33:53 -0400 (0:00:00.092) 0:00:08.595 ********* 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] *** Saturday 06 July 2024 06:33:53 -0400 (0:00:00.037) 0:00:08.633 ********* 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] *** Saturday 06 July 2024 06:33:53 -0400 (0:00:00.038) 0:00:08.672 ********* 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] ***** Saturday 06 July 2024 06:33:53 -0400 (0:00:00.050) 0:00:08.723 ********* 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] ***** Saturday 06 July 2024 06:33:54 -0400 (0:00:00.903) 0:00:09.627 ********* 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] ************** Saturday 06 July 2024 06:33:54 -0400 (0:00:00.058) 0:00:09.685 ********* 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] *** Saturday 06 July 2024 06:33:54 -0400 (0:00:00.040) 0:00:09.726 ********* 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] *** Saturday 06 July 2024 06:33:54 -0400 (0:00:00.041) 0:00:09.768 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:33:55 -0400 (0:00:00.793) 0:00:10.562 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:33:55 -0400 (0:00:00.037) 0:00:10.599 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:33:55 -0400 (0:00:00.038) 0:00:10.637 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:33:55 -0400 (0:00:00.037) 0:00:10.675 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:33:55 -0400 (0:00:00.038) 0:00:10.713 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** Saturday 06 July 2024 06:33:55 -0400 (0:00:00.487) 0:00:11.200 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:33:56 -0400 (0:00:00.040) 0:00:11.241 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:33:56 -0400 (0:00:00.088) 0:00:11.330 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/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] *** Saturday 06 July 2024 06:33:56 -0400 (0:00:00.063) 0:00:11.394 ********* 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] *********** Saturday 06 July 2024 06:33:56 -0400 (0:00:00.047) 0:00:11.442 ********* 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] *** Saturday 06 July 2024 06:33:56 -0400 (0:00:00.038) 0:00:11.480 ********* 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] **** Saturday 06 July 2024 06:33:56 -0400 (0:00:00.072) 0:00:11.553 ********* 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] *** Saturday 06 July 2024 06:33:58 -0400 (0:00:01.727) 0:00:13.281 ********* 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] ************** Saturday 06 July 2024 06:33:58 -0400 (0:00:00.900) 0:00:14.182 ********* 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] *** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.047) 0:00:14.229 ********* 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] *** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.039) 0:00:14.268 ********* 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] *** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.040) 0:00:14.309 ********* 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] *** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.055) 0:00:14.364 ********* 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] *** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.044) 0:00:14.409 ********* 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] ******************** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.052) 0:00:14.461 ********* 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] *** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.092) 0:00:14.554 ********* 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] *** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.040) 0:00:14.594 ********* 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] *** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.039) 0:00:14.634 ********* 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] ***** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.056) 0:00:14.690 ********* 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] ***** Saturday 06 July 2024 06:34:00 -0400 (0:00:00.610) 0:00:15.301 ********* 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] ************** Saturday 06 July 2024 06:34:00 -0400 (0:00:00.060) 0:00:15.361 ********* 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] *** Saturday 06 July 2024 06:34:00 -0400 (0:00:00.083) 0:00:15.445 ********* 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] *** Saturday 06 July 2024 06:34:00 -0400 (0:00:00.041) 0:00:15.487 ********* ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:34:00 -0400 (0:00:00.575) 0:00:16.062 ********* 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] *** Saturday 06 July 2024 06:34:00 -0400 (0:00:00.038) 0:00:16.101 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:34:00 -0400 (0:00:00.039) 0:00:16.140 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:34:00 -0400 (0:00:00.040) 0:00:16.181 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:34:00 -0400 (0:00:00.039) 0:00:16.220 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** Saturday 06 July 2024 06:34:01 -0400 (0:00:00.394) 0:00:16.615 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:34:01 -0400 (0:00:00.042) 0:00:16.657 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:34:01 -0400 (0:00:00.076) 0:00:16.734 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/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] *** Saturday 06 July 2024 06:34:01 -0400 (0:00:00.066) 0:00:16.800 ********* 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] *********** Saturday 06 July 2024 06:34:01 -0400 (0:00:00.047) 0:00:16.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] *** Saturday 06 July 2024 06:34:01 -0400 (0:00:00.039) 0:00:16.888 ********* 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] **** Saturday 06 July 2024 06:34:01 -0400 (0:00:00.038) 0:00:16.926 ********* 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] *** Saturday 06 July 2024 06:34:03 -0400 (0:00:01.710) 0:00:18.637 ********* 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] ************** Saturday 06 July 2024 06:34:04 -0400 (0:00:00.966) 0:00:19.603 ********* 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] *** Saturday 06 July 2024 06:34:04 -0400 (0:00:00.046) 0:00:19.650 ********* 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] *** Saturday 06 July 2024 06:34:04 -0400 (0:00:00.038) 0:00:19.688 ********* 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] *** Saturday 06 July 2024 06:34:04 -0400 (0:00:00.038) 0:00:19.727 ********* 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] *** Saturday 06 July 2024 06:34:04 -0400 (0:00:00.053) 0:00:19.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] *** Saturday 06 July 2024 06:34:04 -0400 (0:00:00.040) 0:00:19.822 ********* 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] ******************** Saturday 06 July 2024 06:34:04 -0400 (0:00:00.052) 0:00:19.875 ********* 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] *** Saturday 06 July 2024 06:34:04 -0400 (0:00:00.094) 0:00:19.969 ********* 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] *** Saturday 06 July 2024 06:34:04 -0400 (0:00:00.039) 0:00:20.008 ********* 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] *** Saturday 06 July 2024 06:34:04 -0400 (0:00:00.038) 0:00:20.047 ********* 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] ***** Saturday 06 July 2024 06:34:04 -0400 (0:00:00.053) 0:00:20.100 ********* 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] ***** Saturday 06 July 2024 06:34:05 -0400 (0:00:00.608) 0:00:20.708 ********* 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] ************** Saturday 06 July 2024 06:34:05 -0400 (0:00:00.059) 0:00:20.767 ********* 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] *** Saturday 06 July 2024 06:34:05 -0400 (0:00:00.042) 0:00:20.810 ********* 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] *** Saturday 06 July 2024 06:34:05 -0400 (0:00:00.041) 0:00:20.852 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:34:06 -0400 (0:00:00.647) 0:00:21.499 ********* 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] *** Saturday 06 July 2024 06:34:06 -0400 (0:00:00.071) 0:00:21.571 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:34:06 -0400 (0:00:00.037) 0:00:21.609 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:34:06 -0400 (0:00:00.039) 0:00:21.648 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:34:06 -0400 (0:00:00.039) 0:00:21.687 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** Saturday 06 July 2024 06:34:06 -0400 (0:00:00.392) 0:00:22.080 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:34:06 -0400 (0:00:00.043) 0:00:22.123 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:34:06 -0400 (0:00:00.090) 0:00:22.214 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/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] *** Saturday 06 July 2024 06:34:07 -0400 (0:00:00.063) 0:00:22.278 ********* 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] *********** Saturday 06 July 2024 06:34:07 -0400 (0:00:00.047) 0:00:22.325 ********* 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] *** Saturday 06 July 2024 06:34:07 -0400 (0:00:00.039) 0:00:22.364 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:34:07 -0400 (0:00:00.039) 0:00:22.404 ********* 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] *** Saturday 06 July 2024 06:34:08 -0400 (0:00:01.743) 0:00:24.148 ********* 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] ************** Saturday 06 July 2024 06:34:09 -0400 (0:00:00.930) 0:00:25.078 ********* 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] *** Saturday 06 July 2024 06:34:09 -0400 (0:00:00.116) 0:00:25.194 ********* 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] *** Saturday 06 July 2024 06:34:10 -0400 (0:00:00.039) 0:00:25.234 ********* 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] *** Saturday 06 July 2024 06:34:10 -0400 (0:00:00.037) 0:00:25.272 ********* 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] *** Saturday 06 July 2024 06:34:10 -0400 (0:00:00.053) 0:00:25.325 ********* 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] *** Saturday 06 July 2024 06:34:10 -0400 (0:00:00.039) 0:00:25.365 ********* 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] ******************** Saturday 06 July 2024 06:34:10 -0400 (0:00:00.053) 0:00:25.418 ********* 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] *** Saturday 06 July 2024 06:34:10 -0400 (0:00:00.090) 0:00:25.509 ********* 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] *** Saturday 06 July 2024 06:34:10 -0400 (0:00:00.038) 0:00:25.547 ********* 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] *** Saturday 06 July 2024 06:34:10 -0400 (0:00:00.039) 0:00:25.586 ********* 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] ***** Saturday 06 July 2024 06:34:10 -0400 (0:00:00.049) 0:00:25.636 ********* 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] ***** Saturday 06 July 2024 06:34:11 -0400 (0:00:00.599) 0:00:26.236 ********* 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] ************** Saturday 06 July 2024 06:34:11 -0400 (0:00:00.059) 0:00:26.295 ********* 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] *** Saturday 06 July 2024 06:34:11 -0400 (0:00:00.040) 0:00:26.336 ********* 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] *** Saturday 06 July 2024 06:34:11 -0400 (0:00:00.041) 0:00:26.378 ********* ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:34:11 -0400 (0:00:00.567) 0:00:26.945 ********* 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] *** Saturday 06 July 2024 06:34:11 -0400 (0:00:00.038) 0:00:26.984 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:34:11 -0400 (0:00:00.038) 0:00:27.023 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 9af290d3-eb86-4cd0-8da4-11186b7ab92a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:34:11 -0400 (0:00:00.038) 0:00:27.061 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:34:11 -0400 (0:00:00.074) 0:00:27.135 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** Saturday 06 July 2024 06:34:12 -0400 (0:00:00.388) 0:00:27.524 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:34:12 -0400 (0:00:00.041) 0:00:27.565 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:34:12 -0400 (0:00:00.074) 0:00:27.639 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/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] *** Saturday 06 July 2024 06:34:12 -0400 (0:00:00.064) 0:00:27.703 ********* 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] *********** Saturday 06 July 2024 06:34:12 -0400 (0:00:00.047) 0:00:27.751 ********* 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] *** Saturday 06 July 2024 06:34:12 -0400 (0:00:00.038) 0:00:27.789 ********* 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] **** Saturday 06 July 2024 06:34:12 -0400 (0:00:00.039) 0:00:27.829 ********* 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] *** Saturday 06 July 2024 06:34:14 -0400 (0:00:01.668) 0:00:29.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 : Print network provider] ************** Saturday 06 July 2024 06:34:15 -0400 (0:00:00.885) 0:00:30.383 ********* 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] *** Saturday 06 July 2024 06:34:15 -0400 (0:00:00.043) 0:00:30.427 ********* 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] *** Saturday 06 July 2024 06:34:15 -0400 (0:00:00.037) 0:00:30.465 ********* 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] *** Saturday 06 July 2024 06:34:15 -0400 (0:00:00.037) 0:00:30.503 ********* 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] *** Saturday 06 July 2024 06:34:15 -0400 (0:00:00.124) 0:00:30.627 ********* 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] *** Saturday 06 July 2024 06:34:15 -0400 (0:00:00.041) 0:00:30.668 ********* 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] ******************** Saturday 06 July 2024 06:34:15 -0400 (0:00:00.048) 0:00:30.717 ********* 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] *** Saturday 06 July 2024 06:34:15 -0400 (0:00:00.091) 0:00:30.808 ********* 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] *** Saturday 06 July 2024 06:34:15 -0400 (0:00:00.038) 0:00:30.847 ********* 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] *** Saturday 06 July 2024 06:34:15 -0400 (0:00:00.040) 0:00:30.887 ********* 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] ***** Saturday 06 July 2024 06:34:15 -0400 (0:00:00.050) 0:00:30.938 ********* 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] ***** Saturday 06 July 2024 06:34:16 -0400 (0:00:00.595) 0:00:31.533 ********* 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] ************** Saturday 06 July 2024 06:34:16 -0400 (0:00:00.061) 0:00:31.595 ********* 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] *** Saturday 06 July 2024 06:34:16 -0400 (0:00:00.042) 0:00:31.638 ********* 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] *** Saturday 06 July 2024 06:34:16 -0400 (0:00:00.041) 0:00:31.679 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "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] ********** Saturday 06 July 2024 06:34:17 -0400 (0:00:00.638) 0:00:32.318 ********* 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] *** Saturday 06 July 2024 06:34:17 -0400 (0:00:00.038) 0:00:32.356 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:34:17 -0400 (0:00:00.039) 0:00:32.396 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "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] *** Saturday 06 July 2024 06:34:17 -0400 (0:00:00.037) 0:00:32.434 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:34:17 -0400 (0:00:00.038) 0:00:32.472 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:34:17 -0400 (0:00:00.390) 0:00:32.863 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Saturday 06 July 2024 06:34:17 -0400 (0:00:00.102) 0:00:32.965 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 06:34:17 -0400 (0:00:00.033) 0:00:32.998 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:34:17 -0400 (0:00:00.033) 0:00:33.032 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:34:17 -0400 (0:00:00.056) 0:00:33.089 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:34:17 -0400 (0:00:00.054) 0:00:33.143 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003348", "end": "2024-07-06 06:34:18.228934", "rc": 0, "start": "2024-07-06 06:34:18.225586" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:34:18 -0400 (0:00:00.379) 0:00:33.522 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:34:18 -0400 (0:00:00.036) 0:00:33.559 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:34:18 -0400 (0:00:00.036) 0:00:33.596 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Saturday 06 July 2024 06:34:19 -0400 (0:00:00.917) 0:00:34.513 ********* skipping: [managed_node1] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:34:19 -0400 (0:00:00.045) 0:00:34.558 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** Saturday 06 July 2024 06:34:19 -0400 (0:00:00.033) 0:00:34.592 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.010887", "end": "2024-07-06 06:34:19.688213", "rc": 0, "start": "2024-07-06 06:34:19.677326" } TASK [Create dummy interface testnic1] ***************************************** Saturday 06 July 2024 06:34:19 -0400 (0:00:00.398) 0:00:34.990 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Saturday 06 July 2024 06:34:19 -0400 (0:00:00.034) 0:00:35.025 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Saturday 06 July 2024 06:34:19 -0400 (0:00:00.033) 0:00:35.058 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Saturday 06 July 2024 06:34:19 -0400 (0:00:00.033) 0:00:35.092 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node1 : ok=78 changed=3 unreachable=0 failed=0 skipped=100 rescued=0 ignored=0 Saturday 06 July 2024 06:34:19 -0400 (0:00:00.122) 0:00:35.215 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.81s 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.71s fedora.linux_system_roles.network : Check which services are running ---- 1.67s fedora.linux_system_roles.network : Check which packages are installed --- 1.13s Create veth interface testnic1 ------------------------------------------ 1.10s Gathering Facts --------------------------------------------------------- 1.10s Install iproute --------------------------------------------------------- 1.04s fedora.linux_system_roles.network : Check which packages are installed --- 0.97s fedora.linux_system_roles.network : Check which packages are installed --- 0.93s Install iproute --------------------------------------------------------- 0.92s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.90s fedora.linux_system_roles.network : Check which packages are installed --- 0.90s fedora.linux_system_roles.network : Check which packages are installed --- 0.89s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.79s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.65s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.64s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.61s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.61s