[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_bridge.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:39:46 -0400 (0:00:00.008) 0:00:00.008 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Saturday 06 July 2024 06:39:47 -0400 (0:00:01.092) 0:00:01.100 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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] *** Saturday 06 July 2024 06:39:47 -0400 (0:00:00.018) 0:00:01.119 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 06:39:48 -0400 (0:00:00.525) 0:00:01.645 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 06:39:48 -0400 (0:00:00.461) 0:00:02.106 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Saturday 06 July 2024 06:39:48 -0400 (0:00:00.023) 0:00:02.130 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Saturday 06 July 2024 06:39:48 -0400 (0:00:00.014) 0:00:02.144 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** Saturday 06 July 2024 06:39:48 -0400 (0:00:00.038) 0:00:02.182 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** Saturday 06 July 2024 06:39:49 -0400 (0:00:00.455) 0:00:02.638 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Saturday 06 July 2024 06:39:49 -0400 (0:00:00.015) 0:00:02.653 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Saturday 06 July 2024 06:39:49 -0400 (0:00:00.015) 0:00:02.668 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.244387", "end": "2024-07-06 06:39:49.802063", "rc": 0, "start": "2024-07-06 06:39:49.557676" } TASK [Enable EPEL 6] *********************************************************** Saturday 06 July 2024 06:39:49 -0400 (0:00:00.600) 0:00:03.268 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** Saturday 06 July 2024 06:39:49 -0400 (0:00:00.015) 0:00:03.284 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:39:49 -0400 (0:00:00.026) 0:00:03.311 ********* ok: [managed_node1] TASK [Set interface=LSR-TST-br31] ********************************************** Saturday 06 July 2024 06:39:50 -0400 (0:00:00.793) 0:00:04.104 ********* ok: [managed_node1] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:39:50 -0400 (0:00:00.031) 0:00:04.136 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:39:50 -0400 (0:00:00.032) 0:00:04.168 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:39:50 -0400 (0:00:00.033) 0:00:04.202 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003317", "end": "2024-07-06 06:39:51.110296", "rc": 0, "start": "2024-07-06 06:39:51.106979" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:39:51 -0400 (0:00:00.374) 0:00:04.577 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:39:51 -0400 (0:00:00.032) 0:00:04.610 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** Saturday 06 July 2024 06:39:51 -0400 (0:00:00.031) 0:00:04.641 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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'] ******************************* Saturday 06 July 2024 06:39:51 -0400 (0:00:00.033) 0:00:04.675 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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] ************************************* Saturday 06 July 2024 06:39:51 -0400 (0:00:00.036) 0:00:04.712 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** Saturday 06 July 2024 06:39:51 -0400 (0:00:00.367) 0:00:05.079 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:39:51 -0400 (0:00:00.048) 0:00:05.128 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:39:52 -0400 (0:00:00.787) 0:00:05.915 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:39:52 -0400 (0:00:00.039) 0:00:05.954 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Saturday 06 July 2024 06:39:52 -0400 (0:00:00.031) 0:00:05.986 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:39:52 -0400 (0:00:00.031) 0:00:06.018 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:39:52 -0400 (0:00:00.032) 0:00:06.050 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Saturday 06 July 2024 06:39:54 -0400 (0:00:01.789) 0:00:07.839 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Saturday 06 July 2024 06:39:56 -0400 (0:00:01.797) 0:00:09.637 ********* 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] *** Saturday 06 July 2024 06:39:56 -0400 (0:00:00.048) 0:00:09.686 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Saturday 06 July 2024 06:39:56 -0400 (0:00:00.047) 0:00:09.733 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:39:56 -0400 (0:00:00.048) 0:00:09.782 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:39:56 -0400 (0:00:00.058) 0:00:09.841 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:39:56 -0400 (0:00:00.047) 0:00:09.888 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:39:56 -0400 (0:00:00.056) 0:00:09.945 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Saturday 06 July 2024 06:39:56 -0400 (0:00:00.089) 0:00:10.034 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 06:39:56 -0400 (0:00:00.072) 0:00:10.106 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:39:56 -0400 (0:00:00.049) 0:00:10.156 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:39:56 -0400 (0:00:00.056) 0:00:10.213 ********* 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] ***** Saturday 06 July 2024 06:39:56 -0400 (0:00:00.051) 0:00:10.265 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:39:56 -0400 (0:00:00.046) 0:00:10.311 ********* 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] *** Saturday 06 July 2024 06:39:57 -0400 (0:00:00.797) 0:00:11.108 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-180288lq1qvvl/tmped_ooxyc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:39:58 -0400 (0:00:00.395) 0:00:11.504 ********* 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] ********** Saturday 06 July 2024 06:40:01 -0400 (0:00:02.950) 0:00:14.454 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:40:01 -0400 (0:00:00.049) 0:00:14.503 ********* 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] *** Saturday 06 July 2024 06:40:01 -0400 (0:00:00.051) 0:00:14.555 ********* 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] *** Saturday 06 July 2024 06:40:01 -0400 (0:00:00.050) 0:00:14.605 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:40:01 -0400 (0:00:00.048) 0:00:14.654 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:40:01 -0400 (0:00:00.611) 0:00:15.266 ********* ok: [managed_node1] TASK [Include the task 'tasks/assert_device_present.yml'] ********************** Saturday 06 July 2024 06:40:02 -0400 (0:00:00.880) 0:00:16.146 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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'] ******************************* Saturday 06 July 2024 06:40:02 -0400 (0:00:00.065) 0:00:16.211 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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] ************************************* Saturday 06 July 2024 06:40:02 -0400 (0:00:00.066) 0:00:16.278 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262398.8512228, "block_size": 4096, "blocks": 0, "ctime": 1720262398.8512228, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 45416, "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": 1720262398.8512228, "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'] ******************* Saturday 06 July 2024 06:40:03 -0400 (0:00:00.388) 0:00:16.666 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Run the tasklist tasks/assert_profile_present.yml] *********************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:40:03 -0400 (0:00:00.126) 0:00:16.793 ********* ok: [managed_node1] TASK [Include the task 'tasks/assert_profile_present.yml'] ********************* Saturday 06 July 2024 06:40:04 -0400 (0:00:00.900) 0:00:17.693 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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'] ********************************* Saturday 06 July 2024 06:40:04 -0400 (0:00:00.068) 0:00:17.762 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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] ************ Saturday 06 July 2024 06:40:04 -0400 (0:00:00.073) 0:00:17.835 ********* 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] ******************************************************* Saturday 06 July 2024 06:40:04 -0400 (0:00:00.048) 0:00:17.884 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262398.691207, "block_size": 4096, "blocks": 8, "ctime": 1720262398.6722074, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720262398.6722074, "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] ******************** Saturday 06 July 2024 06:40:04 -0400 (0:00:00.381) 0:00:18.266 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:40:04 -0400 (0:00:00.049) 0:00:18.315 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.018237", "end": "2024-07-06 06:40:05.230115", "rc": 1, "start": "2024-07-06 06:40:05.211878" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 06:40:05 -0400 (0:00:00.397) 0:00:18.713 ********* 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-LSR-TST-br31] ******************* Saturday 06 July 2024 06:40:05 -0400 (0:00:00.046) 0:00:18.760 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:01.004061", "end": "2024-07-06 06:40:06.665222", "rc": 0, "start": "2024-07-06 06:40:05.661161" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** Saturday 06 July 2024 06:40:06 -0400 (0:00:01.391) 0:00:20.151 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** Saturday 06 July 2024 06:40:06 -0400 (0:00:00.054) 0:00:20.206 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:01.004107", "end": "2024-07-06 06:40:08.113089", "rc": 0, "start": "2024-07-06 06:40:07.108982" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** Saturday 06 July 2024 06:40:08 -0400 (0:00:01.391) 0:00:21.598 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'LSR-TST-br31'] ********************* Saturday 06 July 2024 06:40:08 -0400 (0:00:00.054) 0:00:21.652 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'LSR-TST-br31'] **** Saturday 06 July 2024 06:40:08 -0400 (0:00:00.051) 0:00:21.704 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in LSR-TST-br31] ********** Saturday 06 July 2024 06:40:08 -0400 (0:00:00.054) 0:00:21.758 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:40:08 -0400 (0:00:00.157) 0:00:21.916 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:40:09 -0400 (0:00:00.863) 0:00:22.780 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:40:09 -0400 (0:00:00.070) 0:00:22.850 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Saturday 06 July 2024 06:40:09 -0400 (0:00:00.054) 0:00:22.905 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:40:09 -0400 (0:00:00.048) 0:00:22.953 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:40:09 -0400 (0:00:00.050) 0:00:23.004 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Saturday 06 July 2024 06:40:11 -0400 (0:00:01.728) 0:00:24.732 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Saturday 06 July 2024 06:40:12 -0400 (0:00:01.608) 0:00:26.340 ********* 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] *** Saturday 06 July 2024 06:40:12 -0400 (0:00:00.050) 0:00:26.390 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Saturday 06 July 2024 06:40:13 -0400 (0:00:00.049) 0:00:26.439 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:40:13 -0400 (0:00:00.049) 0:00:26.489 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:40:13 -0400 (0:00:00.059) 0:00:26.548 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:40:13 -0400 (0:00:00.046) 0:00:26.595 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:40:13 -0400 (0:00:00.058) 0:00:26.653 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Saturday 06 July 2024 06:40:13 -0400 (0:00:00.090) 0:00:26.744 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 06:40:13 -0400 (0:00:00.051) 0:00:26.796 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:40:13 -0400 (0:00:00.049) 0:00:26.845 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:40:13 -0400 (0:00:00.057) 0:00:26.902 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Saturday 06 July 2024 06:40:13 -0400 (0:00:00.052) 0:00:26.955 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:40:13 -0400 (0:00:00.046) 0:00:27.001 ********* 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] *** Saturday 06 July 2024 06:40:14 -0400 (0:00:00.579) 0:00:27.580 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-180288lq1qvvl/tmpb3tcxpld" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:40:14 -0400 (0:00:00.390) 0:00:27.971 ********* 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] ********** Saturday 06 July 2024 06:40:15 -0400 (0:00:00.531) 0:00:28.503 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:40:15 -0400 (0:00:00.050) 0:00:28.553 ********* 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] *** Saturday 06 July 2024 06:40:15 -0400 (0:00:00.122) 0:00:28.675 ********* 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] *** Saturday 06 July 2024 06:40:15 -0400 (0:00:00.051) 0:00:28.727 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:40:15 -0400 (0:00:00.049) 0:00:28.776 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:40:15 -0400 (0:00:00.476) 0:00:29.253 ********* ok: [managed_node1] TASK [Include the task 'delete_interface.yml'] ********************************* Saturday 06 July 2024 06:40:16 -0400 (0:00:00.860) 0:00:30.113 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** Saturday 06 July 2024 06:40:16 -0400 (0:00:00.064) 0:00:30.178 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.019023", "end": "2024-07-06 06:40:17.097725", "rc": 0, "start": "2024-07-06 06:40:17.078702" } PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:40:17 -0400 (0:00:00.514) 0:00:30.692 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:40:18 -0400 (0:00:00.841) 0:00:31.533 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:40:18 -0400 (0:00:00.071) 0:00:31.605 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Saturday 06 July 2024 06:40:18 -0400 (0:00:00.053) 0:00:31.658 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:40:18 -0400 (0:00:00.052) 0:00:31.711 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:40:18 -0400 (0:00:00.050) 0:00:31.761 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Saturday 06 July 2024 06:40:20 -0400 (0:00:01.712) 0:00:33.474 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Saturday 06 July 2024 06:40:21 -0400 (0:00:01.552) 0:00:35.027 ********* 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] *** Saturday 06 July 2024 06:40:21 -0400 (0:00:00.050) 0:00:35.077 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Saturday 06 July 2024 06:40:21 -0400 (0:00:00.125) 0:00:35.202 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:40:21 -0400 (0:00:00.052) 0:00:35.255 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:40:21 -0400 (0:00:00.061) 0:00:35.316 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:40:21 -0400 (0:00:00.048) 0:00:35.365 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:40:22 -0400 (0:00:00.058) 0:00:35.423 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Saturday 06 July 2024 06:40:22 -0400 (0:00:00.090) 0:00:35.514 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 06:40:22 -0400 (0:00:00.052) 0:00:35.567 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:40:22 -0400 (0:00:00.050) 0:00:35.617 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:40:22 -0400 (0:00:00.057) 0:00:35.675 ********* 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] ***** Saturday 06 July 2024 06:40:22 -0400 (0:00:00.052) 0:00:35.727 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:40:22 -0400 (0:00:00.046) 0:00:35.774 ********* 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] *** Saturday 06 July 2024 06:40:22 -0400 (0:00:00.585) 0:00:36.359 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-180288lq1qvvl/tmpfiqouunt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:40:23 -0400 (0:00:00.399) 0:00:36.759 ********* 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] ********** Saturday 06 July 2024 06:40:23 -0400 (0:00:00.501) 0:00:37.260 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:40:23 -0400 (0:00:00.049) 0:00:37.310 ********* 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] *** Saturday 06 July 2024 06:40:23 -0400 (0:00:00.053) 0:00:37.363 ********* 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] *** Saturday 06 July 2024 06:40:24 -0400 (0:00:00.081) 0:00:37.444 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:40:24 -0400 (0:00:00.049) 0:00:37.494 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:40:24 -0400 (0:00:00.483) 0:00:37.978 ********* ok: [managed_node1] TASK [Include the task 'tasks/assert_profile_absent.yml'] ********************** Saturday 06 July 2024 06:40:25 -0400 (0:00:00.856) 0:00:38.834 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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'] ********************************* Saturday 06 July 2024 06:40:25 -0400 (0:00:00.066) 0:00:38.900 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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] ************ Saturday 06 July 2024 06:40:25 -0400 (0:00:00.073) 0:00:38.974 ********* 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] ******************************************************* Saturday 06 July 2024 06:40:25 -0400 (0:00:00.050) 0:00:39.024 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 06:40:25 -0400 (0:00:00.381) 0:00:39.406 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:40:26 -0400 (0:00:00.117) 0:00:39.523 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.018287", "end": "2024-07-06 06:40:26.443687", "rc": 1, "start": "2024-07-06 06:40:26.425400" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 06:40:26 -0400 (0:00:00.403) 0:00:39.927 ********* 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-LSR-TST-br31] ******************* Saturday 06 July 2024 06:40:26 -0400 (0:00:00.048) 0:00:39.975 ********* 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-LSR-TST-br31] **************** Saturday 06 July 2024 06:40:26 -0400 (0:00:00.051) 0:00:40.026 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** Saturday 06 July 2024 06:40:26 -0400 (0:00:00.048) 0:00:40.075 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** Saturday 06 July 2024 06:40:26 -0400 (0:00:00.047) 0:00:40.123 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'LSR-TST-br31'] ********************** Saturday 06 July 2024 06:40:26 -0400 (0:00:00.050) 0:00:40.173 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Run the tasklist tasks/assert_device_absent.yml] ************************* TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:40:26 -0400 (0:00:00.128) 0:00:40.302 ********* ok: [managed_node1] TASK [Include the task 'tasks/assert_device_absent.yml'] *********************** Saturday 06 July 2024 06:40:27 -0400 (0:00:00.848) 0:00:41.151 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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'] ******************************* Saturday 06 July 2024 06:40:27 -0400 (0:00:00.096) 0:00:41.247 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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] ************************************* Saturday 06 July 2024 06:40:27 -0400 (0:00:00.068) 0:00:41.315 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** Saturday 06 July 2024 06:40:28 -0400 (0:00:00.387) 0:00:41.703 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Verify that cleanup restored state to default] *************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:40:28 -0400 (0:00:00.126) 0:00:41.830 ********* ok: [managed_node1] TASK [Verify network state restored to default] ******************************** Saturday 06 July 2024 06:40:29 -0400 (0:00:00.846) 0:00:42.676 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** Saturday 06 July 2024 06:40:29 -0400 (0:00:00.068) 0:00:42.745 ********* 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.008624", "end": "2024-07-06 06:40:29.651512", "rc": 0, "start": "2024-07-06 06:40:29.642888" } 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 0e:7d:9f:bb:ea:ff brd ff:ff:ff:ff:ff:ff inet 10.31.41.199/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2797sec preferred_lft 2797sec inet6 fe80::c7d:9fff:febb:eaff/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.199 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.199 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] ************************************* Saturday 06 July 2024 06:40:29 -0400 (0:00:00.389) 0:00:43.134 ********* 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.281122", "end": "2024-07-06 06:40:30.320419", "rc": 0, "start": "2024-07-06 06:40:30.039297" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 5169 0 --:--:-- --:--:-- --:--:-- 5169 % 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 1462 0 --:--:-- --:--:-- --:--:-- 1462 PLAY RECAP ********************************************************************* managed_node1 : ok=91 changed=2 unreachable=0 failed=0 skipped=59 rescued=0 ignored=2 Saturday 06 July 2024 06:40:30 -0400 (0:00:00.755) 0:00:43.889 ********* =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 2.95s fedora.linux_system_roles.network : Check which packages are installed --- 1.80s fedora.linux_system_roles.network : Check which services are running ---- 1.79s fedora.linux_system_roles.network : Check which services are running ---- 1.73s fedora.linux_system_roles.network : Check which services are running ---- 1.71s fedora.linux_system_roles.network : Check which packages are installed --- 1.61s fedora.linux_system_roles.network : Check which packages are installed --- 1.55s Get the fingerprint comment in ifcfg-LSR-TST-br31 ----------------------- 1.39s Get the ansible_managed comment in ifcfg-LSR-TST-br31 ------------------- 1.39s Gathering Facts --------------------------------------------------------- 1.09s Gathering Facts --------------------------------------------------------- 0.90s Gathering Facts --------------------------------------------------------- 0.88s Gathering Facts --------------------------------------------------------- 0.86s Gathering Facts --------------------------------------------------------- 0.86s Gathering Facts --------------------------------------------------------- 0.86s Gathering Facts --------------------------------------------------------- 0.85s Gathering Facts --------------------------------------------------------- 0.85s Gathering Facts --------------------------------------------------------- 0.84s fedora.linux_system_roles.network : Enable network service -------------- 0.80s Gathering Facts --------------------------------------------------------- 0.79s