[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_ethernet.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:02:24 -0400 (0:00:00.007) 0:00:00.007 *********** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Monday 22 July 2024 12:02:27 -0400 (0:00:02.613) 0:00:02.620 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/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:02:27 -0400 (0:00:00.019) 0:00:02.639 *********** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Monday 22 July 2024 12:02:28 -0400 (0:00:01.852) 0:00:04.492 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Monday 22 July 2024 12:02:29 -0400 (0:00:00.448) 0:00:04.940 *********** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Monday 22 July 2024 12:02:29 -0400 (0:00:00.022) 0:00:04.962 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Monday 22 July 2024 12:02:29 -0400 (0:00:00.013) 0:00:04.976 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** Monday 22 July 2024 12:02:29 -0400 (0:00:00.027) 0:00:05.003 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** Monday 22 July 2024 12:02:29 -0400 (0:00:00.012) 0:00:05.016 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Monday 22 July 2024 12:02:29 -0400 (0:00:00.012) 0:00:05.028 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Monday 22 July 2024 12:02:29 -0400 (0:00:00.014) 0:00:05.043 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Monday 22 July 2024 12:02:29 -0400 (0:00:00.011) 0:00:05.054 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Monday 22 July 2024 12:02:29 -0400 (0:00:00.014) 0:00:05.069 *********** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for showing the network provider] *********************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:02:29 -0400 (0:00:00.027) 0:00:05.096 *********** ok: [managed_node1] TASK [Show inside ethernet tests] ********************************************** Monday 22 July 2024 12:02:31 -0400 (0:00:02.273) 0:00:07.370 *********** ok: [managed_node1] => {} MSG: Inside ethernet tests TASK [Show network_provider] *************************************************** Monday 22 July 2024 12:02:31 -0400 (0:00:00.016) 0:00:07.387 *********** ok: [managed_node1] => { "network_provider": "nm" } PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:02:31 -0400 (0:00:00.028) 0:00:07.415 *********** ok: [managed_node1] TASK [Set type=veth and interface=lsr27] *************************************** Monday 22 July 2024 12:02:34 -0400 (0:00:02.433) 0:00:09.848 *********** ok: [managed_node1] => { "ansible_facts": { "interface": "lsr27", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** Monday 22 July 2024 12:02:34 -0400 (0:00:00.019) 0:00:09.868 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/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:02:34 -0400 (0:00:00.034) 0:00:09.903 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/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:02:34 -0400 (0:00:00.018) 0:00:09.921 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003378", "end": "2024-07-22 12:02:34.757533", "rc": 0, "start": "2024-07-22 12:02:34.754155" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:02:34 -0400 (0:00:00.456) 0:00:10.377 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:02:34 -0400 (0:00:00.017) 0:00:10.395 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** Monday 22 July 2024 12:02:34 -0400 (0:00:00.018) 0:00:10.413 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Monday 22 July 2024 12:02:34 -0400 (0:00:00.026) 0:00:10.439 *********** 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"]] ********************************* Monday 22 July 2024 12:02:34 -0400 (0:00:00.014) 0:00:10.454 *********** 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'] ********************************** Monday 22 July 2024 12:02:34 -0400 (0:00:00.013) 0:00:10.467 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/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:02:34 -0400 (0:00:00.019) 0:00:10.486 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/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:02:34 -0400 (0:00:00.019) 0:00:10.506 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003424", "end": "2024-07-22 12:02:35.255115", "rc": 0, "start": "2024-07-22 12:02:35.251691" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:02:35 -0400 (0:00:00.369) 0:00:10.876 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:02:35 -0400 (0:00:00.019) 0:00:10.895 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* Monday 22 July 2024 12:02:35 -0400 (0:00:00.019) 0:00:10.914 *********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr27] ********************************************* Monday 22 July 2024 12:02:36 -0400 (0:00:01.417) 0:00:12.332 *********** ok: [managed_node1] => (item=ip link add lsr27 type veth peer name peerlsr27) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "lsr27", "type", "veth", "peer", "name", "peerlsr27" ], "delta": "0:00:00.007638", "end": "2024-07-22 12:02:37.089245", "item": "ip link add lsr27 type veth peer name peerlsr27", "rc": 0, "start": "2024-07-22 12:02:37.081607" } ok: [managed_node1] => (item=ip link set peerlsr27 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr27", "up" ], "delta": "0:00:00.003982", "end": "2024-07-22 12:02:37.497596", "item": "ip link set peerlsr27 up", "rc": 0, "start": "2024-07-22 12:02:37.493614" } ok: [managed_node1] => (item=ip link set lsr27 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr27", "up" ], "delta": "0:00:00.004537", "end": "2024-07-22 12:02:37.848938", "item": "ip link set lsr27 up", "rc": 0, "start": "2024-07-22 12:02:37.844401" } TASK [Set up veth as managed by NetworkManager] ******************************** Monday 22 July 2024 12:02:37 -0400 (0:00:01.134) 0:00:13.466 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr27", "managed", "true" ], "delta": "0:00:00.019816", "end": "2024-07-22 12:02:38.224216", "rc": 0, "start": "2024-07-22 12:02:38.204400" } TASK [Delete veth interface lsr27] ********************************************* Monday 22 July 2024 12:02:38 -0400 (0:00:00.380) 0:00:13.846 *********** 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 lsr27] ******************************************** Monday 22 July 2024 12:02:38 -0400 (0:00:00.015) 0:00:13.862 *********** 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 lsr27] ******************************************** Monday 22 July 2024 12:02:38 -0400 (0:00:00.014) 0:00:13.876 *********** 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 lsr27] ********************************************** Monday 22 July 2024 12:02:38 -0400 (0:00:00.015) 0:00:13.891 *********** 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 lsr27] ********************************************** Monday 22 July 2024 12:02:38 -0400 (0:00:00.013) 0:00:13.905 *********** 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'] **************************** Monday 22 July 2024 12:02:38 -0400 (0:00:00.013) 0:00:13.919 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Monday 22 July 2024 12:02:38 -0400 (0:00:00.020) 0:00:13.939 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface lsr27] ******************************************** Monday 22 July 2024 12:02:38 -0400 (0:00:00.018) 0:00:13.957 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721664157.085711, "block_size": 4096, "blocks": 0, "ctime": 1721664157.085711, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 41852, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr27", "lnk_target": "../../devices/virtual/net/lsr27", "mode": "0777", "mtime": 1721664157.085711, "nlink": 1, "path": "/sys/class/net/lsr27", "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 - 'lsr27'] ************************** Monday 22 July 2024 12:02:38 -0400 (0:00:00.365) 0:00:14.323 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Test static interface up] ************************************************ TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:02:38 -0400 (0:00:00.035) 0:00:14.359 *********** ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:02:41 -0400 (0:00:02.257) 0:00:16.616 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/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:02:41 -0400 (0:00:00.025) 0:00:16.642 *********** 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:02:41 -0400 (0:00:00.021) 0:00:16.664 *********** 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:02:41 -0400 (0:00:00.019) 0:00:16.683 *********** 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:02:41 -0400 (0:00:00.019) 0:00:16.702 *********** 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:02:43 -0400 (0:00:02.632) 0:00:19.335 *********** 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:02:44 -0400 (0:00:01.156) 0:00:20.492 *********** 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:02:44 -0400 (0:00:00.038) 0:00:20.531 *********** 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:02:45 -0400 (0:00:00.036) 0:00:20.567 *********** 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:02:45 -0400 (0:00:00.038) 0:00:20.606 *********** 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:02:45 -0400 (0:00:00.075) 0:00:20.681 *********** 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:02:45 -0400 (0:00:00.041) 0:00:20.722 *********** 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:02:45 -0400 (0:00:00.055) 0:00:20.777 *********** 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:02:45 -0400 (0:00:00.080) 0:00:20.858 *********** 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:02:45 -0400 (0:00:00.039) 0:00:20.898 *********** 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:02:45 -0400 (0:00:00.039) 0:00:20.938 *********** 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:02:45 -0400 (0:00:00.047) 0:00:20.985 *********** 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:02:46 -0400 (0:00:00.795) 0:00:21.780 *********** 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:02:46 -0400 (0:00:00.051) 0:00:21.832 *********** 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:02:46 -0400 (0:00:00.033) 0:00:21.865 *********** 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:02:46 -0400 (0:00:00.035) 0:00:21.900 *********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'lsr27': add connection lsr27, 3883573e-89fd-4413-8a83-f046c9fefe8e [004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, 3883573e-89fd-4413-8a83-f046c9fefe8e (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:02:47 -0400 (0:00:00.910) 0:00:22.810 *********** 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:02:47 -0400 (0:00:00.042) 0:00:22.853 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add connection lsr27, 3883573e-89fd-4413-8a83-f046c9fefe8e", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, 3883573e-89fd-4413-8a83-f046c9fefe8e (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:02:47 -0400 (0:00:00.037) 0:00:22.890 *********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "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, 'lsr27': add connection lsr27, 3883573e-89fd-4413-8a83-f046c9fefe8e\n[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, 3883573e-89fd-4413-8a83-f046c9fefe8e (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add connection lsr27, 3883573e-89fd-4413-8a83-f046c9fefe8e", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, 3883573e-89fd-4413-8a83-f046c9fefe8e (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:02:47 -0400 (0:00:00.039) 0:00:22.930 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:02:47 -0400 (0:00:00.042) 0:00:22.973 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_output_in_stderr_without_warnings.yml'] ********* Monday 22 July 2024 12:02:47 -0400 (0:00:00.556) 0:00:23.530 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_output_in_stderr_without_warnings.yml for managed_node1 TASK [Assert that warnings is empty] ******************************************* Monday 22 July 2024 12:02:48 -0400 (0:00:00.057) 0:00:23.587 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that there is output in stderr] *********************************** Monday 22 July 2024 12:02:48 -0400 (0:00:00.037) 0:00:23.624 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Play for cleaning up the test device and the connection profile] ********* TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:02:48 -0400 (0:00:00.126) 0:00:23.751 *********** ok: [managed_node1] TASK [Show network_provider] *************************************************** Monday 22 July 2024 12:02:50 -0400 (0:00:02.459) 0:00:26.210 *********** ok: [managed_node1] => { "network_provider": "nm" } PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:02:50 -0400 (0:00:00.159) 0:00:26.370 *********** ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:02:53 -0400 (0:00:02.342) 0:00:28.713 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/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:02:53 -0400 (0:00:00.061) 0:00:28.774 *********** 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:02:53 -0400 (0:00:00.051) 0:00:28.825 *********** 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:02:53 -0400 (0:00:00.043) 0:00:28.869 *********** 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:02:53 -0400 (0:00:00.038) 0:00:28.908 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Monday 22 July 2024 12:02:55 -0400 (0:00:02.430) 0:00:31.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 : Print network provider] ************** Monday 22 July 2024 12:02:56 -0400 (0:00:00.933) 0:00:32.271 *********** 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:02:56 -0400 (0:00:00.036) 0:00:32.307 *********** 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:02:56 -0400 (0:00:00.068) 0:00:32.376 *********** 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:02:56 -0400 (0:00:00.039) 0:00:32.416 *********** 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:02:56 -0400 (0:00:00.051) 0:00:32.467 *********** 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:02:56 -0400 (0:00:00.039) 0:00:32.507 *********** 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:02:56 -0400 (0:00:00.050) 0:00:32.557 *********** 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:02:57 -0400 (0:00:00.084) 0:00:32.641 *********** 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:02:57 -0400 (0:00:00.039) 0:00:32.680 *********** 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:02:57 -0400 (0:00:00.041) 0:00:32.722 *********** 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:02:57 -0400 (0:00:00.050) 0:00:32.772 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Monday 22 July 2024 12:02:57 -0400 (0:00:00.599) 0:00:33.372 *********** 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:02:57 -0400 (0:00:00.052) 0:00:33.425 *********** 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:02:57 -0400 (0:00:00.032) 0:00:33.457 *********** 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:02:57 -0400 (0:00:00.036) 0:00:33.493 *********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr27", "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:02:58 -0400 (0:00:00.617) 0:00:34.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:02:58 -0400 (0:00:00.037) 0:00:34.149 *********** 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:02:58 -0400 (0:00:00.036) 0:00:34.186 *********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr27", "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:02:58 -0400 (0:00:00.070) 0:00:34.257 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:02:58 -0400 (0:00:00.038) 0:00:34.295 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:02:59 -0400 (0:00:00.479) 0:00:34.775 *********** ok: [managed_node1] TASK [Include the task 'delete_interface.yml'] ********************************* Monday 22 July 2024 12:03:01 -0400 (0:00:02.440) 0:00:37.216 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** Monday 22 July 2024 12:03:01 -0400 (0:00:00.056) 0:00:37.272 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr27" ], "delta": "0:00:00.014862", "end": "2024-07-22 12:03:02.031641", "rc": 0, "start": "2024-07-22 12:03:02.016779" } PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:03:02 -0400 (0:00:00.532) 0:00:37.804 *********** ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:03:04 -0400 (0:00:02.371) 0:00:40.175 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/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:03:04 -0400 (0:00:00.062) 0:00:40.238 *********** 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:03:04 -0400 (0:00:00.052) 0:00:40.291 *********** 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:03:04 -0400 (0:00:00.040) 0:00:40.332 *********** 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:03:04 -0400 (0:00:00.040) 0:00:40.373 *********** 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:03:07 -0400 (0:00:02.600) 0:00:42.973 *********** 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:03:08 -0400 (0:00:00.932) 0:00:43.906 *********** 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:03:08 -0400 (0:00:00.037) 0:00:43.943 *********** 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:03:08 -0400 (0:00:00.070) 0:00:44.014 *********** 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:03:08 -0400 (0:00:00.042) 0:00:44.056 *********** 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:03:08 -0400 (0:00:00.052) 0:00:44.109 *********** 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:03:08 -0400 (0:00:00.043) 0:00:44.152 *********** 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:03:08 -0400 (0:00:00.050) 0:00:44.202 *********** 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:03:08 -0400 (0:00:00.084) 0:00:44.287 *********** 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:03:08 -0400 (0:00:00.039) 0:00:44.326 *********** 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:03:08 -0400 (0:00:00.040) 0:00:44.367 *********** 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:03:08 -0400 (0:00:00.051) 0:00:44.419 *********** 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:03:09 -0400 (0:00:00.605) 0:00:45.025 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Monday 22 July 2024 12:03:09 -0400 (0:00:00.051) 0:00:45.076 *********** 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:03:09 -0400 (0:00:00.032) 0:00:45.109 *********** 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:03:09 -0400 (0:00:00.034) 0:00:45.144 *********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr27", "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:03:10 -0400 (0:00:00.580) 0:00:45.725 *********** 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:03:10 -0400 (0:00:00.037) 0:00:45.762 *********** 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:03:10 -0400 (0:00:00.038) 0:00:45.801 *********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr27", "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:03:10 -0400 (0:00:00.072) 0:00:45.873 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:03:10 -0400 (0:00:00.038) 0:00:45.912 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:03:10 -0400 (0:00:00.483) 0:00:46.396 *********** ok: [managed_node1] TASK [Include the task 'assert_profile_absent.yml'] **************************** Monday 22 July 2024 12:03:13 -0400 (0:00:02.276) 0:00:48.672 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* Monday 22 July 2024 12:03:13 -0400 (0:00:00.058) 0:00:48.730 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/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:03:13 -0400 (0:00:00.062) 0:00:48.793 *********** 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:03:13 -0400 (0:00:00.034) 0:00:48.828 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:03:13 -0400 (0:00:00.410) 0:00:49.238 *********** 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:03:13 -0400 (0:00:00.036) 0:00:49.275 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr27 | grep /etc", "delta": "0:00:00.020047", "end": "2024-07-22 12:03:14.035163", "rc": 1, "start": "2024-07-22 12:03:14.015116" } 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:03:14 -0400 (0:00:00.396) 0:00:49.671 *********** 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-lsr27] ************************** Monday 22 July 2024 12:03:14 -0400 (0:00:00.037) 0:00:49.708 *********** 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-lsr27] *********************** Monday 22 July 2024 12:03:14 -0400 (0:00:00.036) 0:00:49.745 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr27] ****************************** Monday 22 July 2024 12:03:14 -0400 (0:00:00.033) 0:00:49.778 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr27] *************************** Monday 22 July 2024 12:03:14 -0400 (0:00:00.037) 0:00:49.816 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'lsr27'] ***************************** Monday 22 July 2024 12:03:14 -0400 (0:00:00.035) 0:00:49.851 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_device_absent.yml'] ***************************** Monday 22 July 2024 12:03:14 -0400 (0:00:00.036) 0:00:49.888 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Monday 22 July 2024 12:03:14 -0400 (0:00:00.056) 0:00:49.945 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface lsr27] ******************************************** Monday 22 July 2024 12:03:14 -0400 (0:00:00.059) 0:00:50.004 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'lsr27'] *************************** Monday 22 July 2024 12:03:14 -0400 (0:00:00.380) 0:00:50.384 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Verify that cleanup restored state to default] *************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:03:14 -0400 (0:00:00.156) 0:00:50.540 *********** ok: [managed_node1] TASK [Verify network state restored to default] ******************************** Monday 22 July 2024 12:03:17 -0400 (0:00:02.375) 0:00:52.916 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** Monday 22 July 2024 12:03:17 -0400 (0:00:00.060) 0:00:52.976 *********** 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.008976", "end": "2024-07-22 12:03:17.731564", "rc": 0, "start": "2024-07-22 12:03:17.722588" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:ae:97:c6:fa:25 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.9.23/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3483sec preferred_lft 3483sec inet6 fe80::10ae:97ff:fec6:fa25/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.23 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.23 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* Monday 22 July 2024 12:03:17 -0400 (0:00:00.392) 0:00:53.368 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node1 : ok=82 changed=3 unreachable=0 failed=0 skipped=71 rescued=0 ignored=1 Monday 22 July 2024 12:03:17 -0400 (0:00:00.105) 0:00:53.473 *********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.63s Gathering Facts --------------------------------------------------------- 2.61s fedora.linux_system_roles.network : Check which services are running ---- 2.60s Gathering Facts --------------------------------------------------------- 2.46s Gathering Facts --------------------------------------------------------- 2.44s Gathering Facts --------------------------------------------------------- 2.43s fedora.linux_system_roles.network : Check which services are running ---- 2.43s Gathering Facts --------------------------------------------------------- 2.38s Gathering Facts --------------------------------------------------------- 2.37s Gathering Facts --------------------------------------------------------- 2.34s Gathering Facts --------------------------------------------------------- 2.28s Gathering Facts --------------------------------------------------------- 2.27s Gathering Facts --------------------------------------------------------- 2.26s Gather the minimum subset of ansible_facts required by the network role test --- 1.85s Install iproute --------------------------------------------------------- 1.42s fedora.linux_system_roles.network : Check which packages are installed --- 1.16s Create veth interface lsr27 --------------------------------------------- 1.13s fedora.linux_system_roles.network : Check which packages are installed --- 0.93s fedora.linux_system_roles.network : Check which packages are installed --- 0.93s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.91s