No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_bridge.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:12 -0400 (0:00:00.017) 0:00:00.018 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Thursday 25 July 2024 07:09:13 -0400 (0:00:00.885) 0:00:00.903 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** Thursday 25 July 2024 07:09:13 -0400 (0:00:00.019) 0:00:00.923 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Thursday 25 July 2024 07:09:14 -0400 (0:00:00.505) 0:00:01.428 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Thursday 25 July 2024 07:09:14 -0400 (0:00:00.424) 0:00:01.853 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Thursday 25 July 2024 07:09:14 -0400 (0:00:00.032) 0:00:01.886 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Thursday 25 July 2024 07:09:14 -0400 (0:00:00.029) 0:00:01.916 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** Thursday 25 July 2024 07:09:14 -0400 (0:00:00.047) 0:00:01.963 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** Thursday 25 July 2024 07:09:15 -0400 (0:00:00.422) 0:00:02.386 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Thursday 25 July 2024 07:09:15 -0400 (0:00:00.017) 0:00:02.403 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Thursday 25 July 2024 07:09:15 -0400 (0:00:00.017) 0:00:02.421 ********* [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.228751", "end": "2024-07-25 07:09:15.807358", "rc": 0, "start": "2024-07-25 07:09:15.578607" } TASK [Enable EPEL 6] *********************************************************** Thursday 25 July 2024 07:09:15 -0400 (0:00:00.587) 0:00:03.008 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** Thursday 25 July 2024 07:09:15 -0400 (0:00:00.016) 0:00:03.024 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:15 -0400 (0:00:00.018) 0:00:03.043 ********* ok: [managed_node1] TASK [Set interface=LSR-TST-br31] ********************************************** Thursday 25 July 2024 07:09:16 -0400 (0:00:00.637) 0:00:03.680 ********* ok: [managed_node1] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 07:09:16 -0400 (0:00:00.018) 0:00:03.699 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 07:09:16 -0400 (0:00:00.021) 0:00:03.721 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 07:09:16 -0400 (0:00:00.023) 0:00:03.745 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.005056", "end": "2024-07-25 07:09:16.894819", "rc": 0, "start": "2024-07-25 07:09:16.889763" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:09:16 -0400 (0:00:00.347) 0:00:04.092 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:09:16 -0400 (0:00:00.020) 0:00:04.113 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** Thursday 25 July 2024 07:09:16 -0400 (0:00:00.019) 0:00:04.132 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/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'] ******************************* Thursday 25 July 2024 07:09:17 -0400 (0:00:00.023) 0:00:04.155 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface LSR-TST-br31] ************************************* Thursday 25 July 2024 07:09:17 -0400 (0:00:00.021) 0:00:04.177 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** Thursday 25 July 2024 07:09:17 -0400 (0:00:00.346) 0:00:04.524 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:17 -0400 (0:00:00.025) 0:00:04.549 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:09:18 -0400 (0:00:00.625) 0:00:05.174 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:09:18 -0400 (0:00:00.025) 0:00:05.200 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:09:18 -0400 (0:00:00.021) 0:00:05.221 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:09:18 -0400 (0:00:00.016) 0:00:05.238 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:09:18 -0400 (0:00:00.016) 0:00:05.254 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:09:19 -0400 (0:00:01.655) 0:00:06.910 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:09:21 -0400 (0:00:01.646) 0:00:08.556 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:09:21 -0400 (0:00:00.036) 0:00:08.593 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:09:21 -0400 (0:00:00.032) 0:00:08.625 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:09:21 -0400 (0:00:00.035) 0:00:08.660 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:21 -0400 (0:00:00.032) 0:00:08.693 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:21 -0400 (0:00:00.041) 0:00:08.735 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:21 -0400 (0:00:00.035) 0:00:08.770 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:09:21 -0400 (0:00:00.038) 0:00:08.809 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:09:21 -0400 (0:00:00.069) 0:00:08.878 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:09:21 -0400 (0:00:00.033) 0:00:08.911 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:21 -0400 (0:00:00.035) 0:00:08.947 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:09:21 -0400 (0:00:00.038) 0:00:08.985 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:09:21 -0400 (0:00:00.034) 0:00:09.019 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:09:21 -0400 (0:00:00.034) 0:00:09.054 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:09:22 -0400 (0:00:00.762) 0:00:09.816 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-201608bma6zp2/tmpviikoxmc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:09:23 -0400 (0:00:00.379) 0:00:10.196 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31' [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active) [005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:09:25 -0400 (0:00:02.935) 0:00:13.131 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:09:26 -0400 (0:00:00.034) 0:00:13.166 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:09:26 -0400 (0:00:00.035) 0:00:13.201 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)\n[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:09:26 -0400 (0:00:00.059) 0:00:13.260 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:09:26 -0400 (0:00:00.032) 0:00:13.293 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:26 -0400 (0:00:00.437) 0:00:13.730 ********* ok: [managed_node1] TASK [Include the task 'tasks/assert_device_present.yml'] ********************** Thursday 25 July 2024 07:09:27 -0400 (0:00:00.653) 0:00:14.384 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/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'] ******************************* Thursday 25 July 2024 07:09:27 -0400 (0:00:00.057) 0:00:14.442 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface LSR-TST-br31] ************************************* Thursday 25 July 2024 07:09:27 -0400 (0:00:00.059) 0:00:14.501 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721905763.8006015, "block_size": 4096, "blocks": 0, "ctime": 1721905763.8006015, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 45500, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LSR-TST-br31", "lnk_target": "../../devices/virtual/net/LSR-TST-br31", "mode": "0777", "mtime": 1721905763.8006015, "nlink": 1, "path": "/sys/class/net/LSR-TST-br31", "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 - 'LSR-TST-br31'] ******************* Thursday 25 July 2024 07:09:27 -0400 (0:00:00.370) 0:00:14.871 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Run the tasklist tasks/assert_profile_present.yml] *********************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:27 -0400 (0:00:00.043) 0:00:14.915 ********* ok: [managed_node1] TASK [Include the task 'tasks/assert_profile_present.yml'] ********************* Thursday 25 July 2024 07:09:28 -0400 (0:00:00.649) 0:00:15.564 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:09:28 -0400 (0:00:00.057) 0:00:15.622 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Thursday 25 July 2024 07:09:28 -0400 (0:00:00.059) 0:00:15.682 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Thursday 25 July 2024 07:09:28 -0400 (0:00:00.034) 0:00:15.716 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721905763.6419713, "block_size": 4096, "blocks": 8, "ctime": 1721905763.6409714, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301237, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721905763.6409714, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 151, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:09:28 -0400 (0:00:00.365) 0:00:16.081 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:09:28 -0400 (0:00:00.036) 0:00:16.118 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.016465", "end": "2024-07-25 07:09:29.291262", "rc": 1, "start": "2024-07-25 07:09:29.274797" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 07:09:29 -0400 (0:00:00.387) 0:00:16.506 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* Thursday 25 July 2024 07:09:29 -0400 (0:00:00.037) 0:00:16.543 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:01.003050", "end": "2024-07-25 07:09:30.703489", "rc": 0, "start": "2024-07-25 07:09:29.700439" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** Thursday 25 July 2024 07:09:30 -0400 (0:00:01.376) 0:00:17.919 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** Thursday 25 July 2024 07:09:30 -0400 (0:00:00.042) 0:00:17.962 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:01.003832", "end": "2024-07-25 07:09:32.121179", "rc": 0, "start": "2024-07-25 07:09:31.117347" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** Thursday 25 July 2024 07:09:32 -0400 (0:00:01.374) 0:00:19.337 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'LSR-TST-br31'] ********************* Thursday 25 July 2024 07:09:32 -0400 (0:00:00.046) 0:00:19.384 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'LSR-TST-br31'] **** Thursday 25 July 2024 07:09:32 -0400 (0:00:00.037) 0:00:19.422 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in LSR-TST-br31] ********** Thursday 25 July 2024 07:09:32 -0400 (0:00:00.041) 0:00:19.463 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:32 -0400 (0:00:00.045) 0:00:19.508 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:09:33 -0400 (0:00:00.656) 0:00:20.165 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:09:33 -0400 (0:00:00.057) 0:00:20.222 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:09:33 -0400 (0:00:00.042) 0:00:20.265 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:09:33 -0400 (0:00:00.033) 0:00:20.299 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:09:33 -0400 (0:00:00.034) 0:00:20.334 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:09:34 -0400 (0:00:01.563) 0:00:21.898 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:09:36 -0400 (0:00:01.455) 0:00:23.353 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:09:36 -0400 (0:00:00.037) 0:00:23.390 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:09:36 -0400 (0:00:00.034) 0:00:23.424 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:09:36 -0400 (0:00:00.034) 0:00:23.459 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:36 -0400 (0:00:00.034) 0:00:23.494 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:36 -0400 (0:00:00.042) 0:00:23.537 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:36 -0400 (0:00:00.035) 0:00:23.572 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:09:36 -0400 (0:00:00.038) 0:00:23.611 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:09:36 -0400 (0:00:00.068) 0:00:23.679 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:09:36 -0400 (0:00:00.034) 0:00:23.714 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:36 -0400 (0:00:00.064) 0:00:23.778 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:09:36 -0400 (0:00:00.041) 0:00:23.819 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:09:36 -0400 (0:00:00.033) 0:00:23.853 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:09:36 -0400 (0:00:00.036) 0:00:23.890 ********* 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 : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:09:37 -0400 (0:00:00.526) 0:00:24.416 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-201608bma6zp2/tmp3yhga2uq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:09:37 -0400 (0:00:00.375) 0:00:24.792 ********* ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:09:38 -0400 (0:00:00.488) 0:00:25.280 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:09:38 -0400 (0:00:00.034) 0:00:25.315 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:09:38 -0400 (0:00:00.036) 0:00:25.351 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active\n", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:09:38 -0400 (0:00:00.035) 0:00:25.387 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:09:38 -0400 (0:00:00.037) 0:00:25.424 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:38 -0400 (0:00:00.365) 0:00:25.790 ********* ok: [managed_node1] TASK [Include the task 'delete_interface.yml'] ********************************* Thursday 25 July 2024 07:09:39 -0400 (0:00:00.656) 0:00:26.446 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** Thursday 25 July 2024 07:09:39 -0400 (0:00:00.054) 0:00:26.500 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.018277", "end": "2024-07-25 07:09:39.676865", "rc": 0, "start": "2024-07-25 07:09:39.658588" } PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:39 -0400 (0:00:00.402) 0:00:26.903 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:09:40 -0400 (0:00:00.636) 0:00:27.539 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:09:40 -0400 (0:00:00.059) 0:00:27.598 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:09:40 -0400 (0:00:00.042) 0:00:27.640 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:09:40 -0400 (0:00:00.065) 0:00:27.706 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:09:40 -0400 (0:00:00.034) 0:00:27.740 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:09:42 -0400 (0:00:01.605) 0:00:29.346 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:09:43 -0400 (0:00:01.451) 0:00:30.798 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.036) 0:00:30.834 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.034) 0:00:30.869 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.035) 0:00:30.904 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.033) 0:00:30.938 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.040) 0:00:30.979 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.035) 0:00:31.014 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.037) 0:00:31.052 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.072) 0:00:31.125 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:09:44 -0400 (0:00:00.033) 0:00:31.159 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:44 -0400 (0:00:00.034) 0:00:31.193 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:09:44 -0400 (0:00:00.043) 0:00:31.237 ********* 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 : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:09:44 -0400 (0:00:00.034) 0:00:31.271 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:09:44 -0400 (0:00:00.035) 0:00:31.306 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:09:44 -0400 (0:00:00.532) 0:00:31.839 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-201608bma6zp2/tmp9n5f3fmh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:09:45 -0400 (0:00:00.376) 0:00:32.216 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:09:45 -0400 (0:00:00.491) 0:00:32.707 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:09:45 -0400 (0:00:00.032) 0:00:32.740 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:09:45 -0400 (0:00:00.037) 0:00:32.778 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:09:45 -0400 (0:00:00.035) 0:00:32.813 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:09:45 -0400 (0:00:00.035) 0:00:32.848 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:46 -0400 (0:00:00.363) 0:00:33.212 ********* ok: [managed_node1] TASK [Include the task 'tasks/assert_profile_absent.yml'] ********************** Thursday 25 July 2024 07:09:46 -0400 (0:00:00.644) 0:00:33.857 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/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'] ********************************* Thursday 25 July 2024 07:09:46 -0400 (0:00:00.085) 0:00:33.943 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Thursday 25 July 2024 07:09:46 -0400 (0:00:00.059) 0:00:34.003 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Thursday 25 July 2024 07:09:46 -0400 (0:00:00.036) 0:00:34.039 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:09:47 -0400 (0:00:00.365) 0:00:34.404 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:09:47 -0400 (0:00:00.036) 0:00:34.440 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.016190", "end": "2024-07-25 07:09:47.610091", "rc": 1, "start": "2024-07-25 07:09:47.593901" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 07:09:47 -0400 (0:00:00.384) 0:00:34.825 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* Thursday 25 July 2024 07:09:47 -0400 (0:00:00.037) 0:00:34.862 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** Thursday 25 July 2024 07:09:47 -0400 (0:00:00.039) 0:00:34.901 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** Thursday 25 July 2024 07:09:47 -0400 (0:00:00.035) 0:00:34.937 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** Thursday 25 July 2024 07:09:47 -0400 (0:00:00.036) 0:00:34.973 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'LSR-TST-br31'] ********************** Thursday 25 July 2024 07:09:47 -0400 (0:00:00.037) 0:00:35.011 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Run the tasklist tasks/assert_device_absent.yml] ************************* TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:47 -0400 (0:00:00.040) 0:00:35.052 ********* ok: [managed_node1] TASK [Include the task 'tasks/assert_device_absent.yml'] *********************** Thursday 25 July 2024 07:09:48 -0400 (0:00:00.651) 0:00:35.704 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/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'] ******************************* Thursday 25 July 2024 07:09:48 -0400 (0:00:00.053) 0:00:35.758 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface LSR-TST-br31] ************************************* Thursday 25 July 2024 07:09:48 -0400 (0:00:00.056) 0:00:35.815 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** Thursday 25 July 2024 07:09:49 -0400 (0:00:00.378) 0:00:36.193 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Verify that cleanup restored state to default] *************************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:49 -0400 (0:00:00.040) 0:00:36.233 ********* ok: [managed_node1] TASK [Verify network state restored to default] ******************************** Thursday 25 July 2024 07:09:49 -0400 (0:00:00.668) 0:00:36.902 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** Thursday 25 July 2024 07:09:49 -0400 (0:00:00.055) 0:00:36.958 ********* 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.007937", "end": "2024-07-25 07:09:50.116208", "rc": 0, "start": "2024-07-25 07:09:50.108271" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:37:40:5a:4f:cb brd ff:ff:ff:ff:ff:ff inet 10.31.9.254/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2861sec preferred_lft 2861sec inet6 fe80::1037:40ff:fe5a:4fcb/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.254 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.254 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* Thursday 25 July 2024 07:09:50 -0400 (0:00:00.373) 0:00:37.331 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.127367", "end": "2024-07-25 07:09:50.612694", "rc": 0, "start": "2024-07-25 07:09:50.485327" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 10517 0 --:--:-- --:--:-- --:--:-- 10517 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 3880 0 --:--:-- --:--:-- --:--:-- 3932 PLAY RECAP ********************************************************************* managed_node1 : ok=91 changed=2 unreachable=0 failed=0 skipped=62 rescued=0 ignored=2 Thursday 25 July 2024 07:09:50 -0400 (0:00:00.478) 0:00:37.810 ********* =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 2.94s fedora.linux_system_roles.network : Check which services are running ---- 1.66s fedora.linux_system_roles.network : Check which packages are installed --- 1.65s fedora.linux_system_roles.network : Check which services are running ---- 1.61s fedora.linux_system_roles.network : Check which services are running ---- 1.56s fedora.linux_system_roles.network : Check which packages are installed --- 1.46s fedora.linux_system_roles.network : Check which packages are installed --- 1.45s Get the ansible_managed comment in ifcfg-LSR-TST-br31 ------------------- 1.38s Get the fingerprint comment in ifcfg-LSR-TST-br31 ----------------------- 1.38s Gathering Facts --------------------------------------------------------- 0.89s fedora.linux_system_roles.network : Enable network service -------------- 0.76s Gathering Facts --------------------------------------------------------- 0.67s Gathering Facts --------------------------------------------------------- 0.66s Gathering Facts --------------------------------------------------------- 0.66s Gathering Facts --------------------------------------------------------- 0.65s Gathering Facts --------------------------------------------------------- 0.65s Gathering Facts --------------------------------------------------------- 0.65s Gathering Facts --------------------------------------------------------- 0.64s Gathering Facts --------------------------------------------------------- 0.64s Gathering Facts --------------------------------------------------------- 0.64s