[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 nm as provider] *********** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:58:29 -0400 (0:00:00.007) 0:00:00.007 *********** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Monday 22 July 2024 11:58:32 -0400 (0:00:02.661) 0:00:02.668 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** Monday 22 July 2024 11:58:32 -0400 (0:00:00.017) 0:00:02.686 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** Monday 22 July 2024 11:58:32 -0400 (0:00:00.019) 0:00:02.705 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Monday 22 July 2024 11:58:32 -0400 (0:00:00.459) 0:00:03.164 *********** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Monday 22 July 2024 11:58:32 -0400 (0:00:00.021) 0:00:03.186 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Monday 22 July 2024 11:58:32 -0400 (0:00:00.014) 0:00:03.201 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** Monday 22 July 2024 11:58:32 -0400 (0:00:00.029) 0:00:03.231 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** Monday 22 July 2024 11:58:32 -0400 (0:00:00.012) 0:00:03.244 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Monday 22 July 2024 11:58:32 -0400 (0:00:00.011) 0:00:03.256 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Monday 22 July 2024 11:58:32 -0400 (0:00:00.013) 0:00:03.270 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Monday 22 July 2024 11:58:32 -0400 (0:00:00.011) 0:00:03.281 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Monday 22 July 2024 11:58:32 -0400 (0:00:00.011) 0:00:03.293 *********** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:58:32 -0400 (0:00:00.025) 0:00:03.318 *********** ok: [managed_node1] TASK [Set interface=LSR-TST-br31] ********************************************** Monday 22 July 2024 11:58:35 -0400 (0:00:02.358) 0:00:05.676 *********** ok: [managed_node1] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** Monday 22 July 2024 11:58:35 -0400 (0:00:00.016) 0:00:05.693 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Monday 22 July 2024 11:58:35 -0400 (0:00:00.016) 0:00:05.710 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Monday 22 July 2024 11:58:35 -0400 (0:00:00.017) 0:00:05.728 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003353", "end": "2024-07-22 11:58:35.495074", "rc": 0, "start": "2024-07-22 11:58:35.491721" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 11:58:35 -0400 (0:00:00.444) 0:00:06.172 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 11:58:35 -0400 (0:00:00.017) 0:00:06.189 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** Monday 22 July 2024 11:58:35 -0400 (0:00:00.018) 0:00:06.208 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Monday 22 July 2024 11:58:35 -0400 (0:00:00.017) 0:00:06.225 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface LSR-TST-br31] ************************************* Monday 22 July 2024 11:58:35 -0400 (0:00:00.016) 0:00:06.242 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** Monday 22 July 2024 11:58:35 -0400 (0:00:00.362) 0:00:06.605 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:58:36 -0400 (0:00:00.034) 0:00:06.639 *********** ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 11:58:38 -0400 (0:00:02.277) 0:00:08.917 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Monday 22 July 2024 11:58:38 -0400 (0:00:00.022) 0:00:08.939 *********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Monday 22 July 2024 11:58:38 -0400 (0:00:00.022) 0:00:08.962 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Monday 22 July 2024 11:58:38 -0400 (0:00:00.016) 0:00:08.979 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Monday 22 July 2024 11:58:38 -0400 (0:00:00.017) 0:00:08.996 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Monday 22 July 2024 11:58:40 -0400 (0:00:02.509) 0:00:11.506 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Monday 22 July 2024 11:58:42 -0400 (0:00:01.151) 0:00:12.657 *********** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Monday 22 July 2024 11:58:42 -0400 (0:00:00.038) 0:00:12.696 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Monday 22 July 2024 11:58:42 -0400 (0:00:00.035) 0:00:12.732 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Monday 22 July 2024 11:58:42 -0400 (0:00:00.038) 0:00:12.771 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Monday 22 July 2024 11:58:42 -0400 (0:00:00.050) 0:00:12.822 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 11:58:42 -0400 (0:00:00.036) 0:00:12.858 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Monday 22 July 2024 11:58:42 -0400 (0:00:00.051) 0:00:12.910 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Monday 22 July 2024 11:58:42 -0400 (0:00:00.106) 0:00:13.016 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 11:58:42 -0400 (0:00:00.038) 0:00:13.054 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 11:58:42 -0400 (0:00:00.039) 0:00:13.093 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Monday 22 July 2024 11:58:42 -0400 (0:00:00.051) 0:00:13.145 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Monday 22 July 2024 11:58:43 -0400 (0:00:00.787) 0:00:13.932 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Monday 22 July 2024 11:58:43 -0400 (0:00:00.053) 0:00:13.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 : Ensure initscripts network file dependency is present] *** Monday 22 July 2024 11:58:43 -0400 (0:00:00.033) 0:00:14.019 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Monday 22 July 2024 11:58:43 -0400 (0:00:00.031) 0:00:14.050 *********** 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": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 2c7e5761-7284-4a0b-b3bc-a0e0d402fd81 [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 2c7e5761-7284-4a0b-b3bc-a0e0d402fd81 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 11:58:44 -0400 (0:00:00.767) 0:00:14.817 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 11:58:44 -0400 (0:00:00.040) 0:00:14.858 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 2c7e5761-7284-4a0b-b3bc-a0e0d402fd81", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 2c7e5761-7284-4a0b-b3bc-a0e0d402fd81 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 11:58:44 -0400 (0:00:00.034) 0:00:14.892 *********** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 2c7e5761-7284-4a0b-b3bc-a0e0d402fd81\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 2c7e5761-7284-4a0b-b3bc-a0e0d402fd81 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 2c7e5761-7284-4a0b-b3bc-a0e0d402fd81", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 2c7e5761-7284-4a0b-b3bc-a0e0d402fd81 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 11:58:44 -0400 (0:00:00.038) 0:00:14.931 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 11:58:44 -0400 (0:00:00.038) 0:00:14.969 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:58:44 -0400 (0:00:00.587) 0:00:15.557 *********** ok: [managed_node1] TASK [Include the task 'tasks/assert_device_present.yml'] ********************** Monday 22 July 2024 11:58:47 -0400 (0:00:02.422) 0:00:17.979 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Monday 22 July 2024 11:58:47 -0400 (0:00:00.055) 0:00:18.034 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface LSR-TST-br31] ************************************* Monday 22 July 2024 11:58:47 -0400 (0:00:00.057) 0:00:18.092 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721663924.044104, "block_size": 4096, "blocks": 0, "ctime": 1721663924.044104, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 40431, "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": 1721663924.044104, "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'] ******************* Monday 22 July 2024 11:58:47 -0400 (0:00:00.377) 0:00:18.469 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Run the tasklist tasks/assert_profile_present.yml] *********************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:58:47 -0400 (0:00:00.122) 0:00:18.592 *********** ok: [managed_node1] TASK [Include the task 'tasks/assert_profile_present.yml'] ********************* Monday 22 July 2024 11:58:50 -0400 (0:00:02.387) 0:00:20.979 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/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'] ********************************* Monday 22 July 2024 11:58:50 -0400 (0:00:00.057) 0:00:21.037 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Monday 22 July 2024 11:58:50 -0400 (0:00:00.061) 0:00:21.099 *********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Monday 22 July 2024 11:58:50 -0400 (0:00:00.035) 0:00:21.134 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 11:58:50 -0400 (0:00:00.385) 0:00:21.520 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 11:58:50 -0400 (0:00:00.032) 0:00:21.553 *********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.019261", "end": "2024-07-22 11:58:51.261195", "rc": 0, "start": "2024-07-22 11:58:51.241934" } STDOUT: LSR-TST-br31 /etc/NetworkManager/system-connections/LSR-TST-br31.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 11:58:51 -0400 (0:00:00.402) 0:00:21.956 *********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* Monday 22 July 2024 11:58:51 -0400 (0:00:00.040) 0:00:21.996 *********** 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] **************** Monday 22 July 2024 11:58:51 -0400 (0:00:00.033) 0:00:22.029 *********** 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] *********************** Monday 22 July 2024 11:58:51 -0400 (0:00:00.034) 0:00:22.064 *********** 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] ******************** Monday 22 July 2024 11:58:51 -0400 (0:00:00.033) 0:00:22.098 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'LSR-TST-br31'] ********************* Monday 22 July 2024 11:58:51 -0400 (0:00:00.034) 0:00:22.133 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'LSR-TST-br31'] **** Monday 22 July 2024 11:58:51 -0400 (0:00:00.038) 0:00:22.171 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in LSR-TST-br31] ********** Monday 22 July 2024 11:58:51 -0400 (0:00:00.068) 0:00:22.239 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:58:51 -0400 (0:00:00.127) 0:00:22.367 *********** ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 11:58:54 -0400 (0:00:02.345) 0:00:24.713 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Monday 22 July 2024 11:58:54 -0400 (0:00:00.061) 0:00:24.774 *********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Monday 22 July 2024 11:58:54 -0400 (0:00:00.046) 0:00:24.821 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Monday 22 July 2024 11:58:54 -0400 (0:00:00.038) 0:00:24.859 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Monday 22 July 2024 11:58:54 -0400 (0:00:00.039) 0:00:24.899 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Monday 22 July 2024 11:58:56 -0400 (0:00:02.452) 0:00:27.352 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Monday 22 July 2024 11:58:57 -0400 (0:00:00.986) 0:00:28.338 *********** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Monday 22 July 2024 11:58:57 -0400 (0:00:00.038) 0:00:28.376 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Monday 22 July 2024 11:58:57 -0400 (0:00:00.038) 0:00:28.415 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Monday 22 July 2024 11:58:57 -0400 (0:00:00.036) 0:00:28.451 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Monday 22 July 2024 11:58:57 -0400 (0:00:00.051) 0:00:28.502 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 11:58:57 -0400 (0:00:00.038) 0:00:28.541 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Monday 22 July 2024 11:58:57 -0400 (0:00:00.050) 0:00:28.592 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Monday 22 July 2024 11:58:58 -0400 (0:00:00.078) 0:00:28.671 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 11:58:58 -0400 (0:00:00.038) 0:00:28.710 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 11:58:58 -0400 (0:00:00.036) 0:00:28.746 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Monday 22 July 2024 11:58:58 -0400 (0:00:00.048) 0:00:28.795 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Monday 22 July 2024 11:58:58 -0400 (0:00:00.597) 0:00:29.392 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Monday 22 July 2024 11:58:58 -0400 (0:00:00.050) 0:00:29.443 *********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Monday 22 July 2024 11:58:58 -0400 (0:00:00.034) 0:00:29.477 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Monday 22 July 2024 11:58:58 -0400 (0:00:00.033) 0:00:29.510 *********** changed: [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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 11:58:59 -0400 (0:00:00.695) 0:00:30.206 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 11:58:59 -0400 (0:00:00.040) 0:00:30.246 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 11:58:59 -0400 (0:00:00.038) 0:00:30.285 *********** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 11:58:59 -0400 (0:00:00.037) 0:00:30.322 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 11:58:59 -0400 (0:00:00.040) 0:00:30.363 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:59:00 -0400 (0:00:00.483) 0:00:30.846 *********** ok: [managed_node1] TASK [Include the task 'delete_interface.yml'] ********************************* Monday 22 July 2024 11:59:02 -0400 (0:00:02.369) 0:00:33.215 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** Monday 22 July 2024 11:59:02 -0400 (0:00:00.056) 0:00:33.271 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.008133", "end": "2024-07-22 11:59:02.976997", "rc": 1, "start": "2024-07-22 11:59:02.968864" } STDERR: Cannot find device "LSR-TST-br31" MSG: non-zero return code ...ignoring PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:59:03 -0400 (0:00:00.516) 0:00:33.787 *********** ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 11:59:05 -0400 (0:00:02.423) 0:00:36.211 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Monday 22 July 2024 11:59:05 -0400 (0:00:00.060) 0:00:36.271 *********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Monday 22 July 2024 11:59:05 -0400 (0:00:00.045) 0:00:36.317 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Monday 22 July 2024 11:59:05 -0400 (0:00:00.038) 0:00:36.356 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Monday 22 July 2024 11:59:05 -0400 (0:00:00.038) 0:00:36.395 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Monday 22 July 2024 11:59:08 -0400 (0:00:02.525) 0:00:38.920 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Monday 22 July 2024 11:59:09 -0400 (0:00:01.002) 0:00:39.923 *********** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Monday 22 July 2024 11:59:09 -0400 (0:00:00.038) 0:00:39.961 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Monday 22 July 2024 11:59:09 -0400 (0:00:00.039) 0:00:40.000 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Monday 22 July 2024 11:59:09 -0400 (0:00:00.035) 0:00:40.036 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Monday 22 July 2024 11:59:09 -0400 (0:00:00.052) 0:00:40.089 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 11:59:09 -0400 (0:00:00.038) 0:00:40.128 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Monday 22 July 2024 11:59:09 -0400 (0:00:00.048) 0:00:40.176 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Monday 22 July 2024 11:59:09 -0400 (0:00:00.081) 0:00:40.258 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 11:59:09 -0400 (0:00:00.038) 0:00:40.297 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 11:59:09 -0400 (0:00:00.037) 0:00:40.335 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Monday 22 July 2024 11:59:09 -0400 (0:00:00.049) 0:00:40.384 *********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Monday 22 July 2024 11:59:10 -0400 (0:00:00.596) 0:00:40.980 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Monday 22 July 2024 11:59:10 -0400 (0:00:00.051) 0:00:41.031 *********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Monday 22 July 2024 11:59:10 -0400 (0:00:00.032) 0:00:41.064 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Monday 22 July 2024 11:59:10 -0400 (0:00:00.033) 0:00:41.097 *********** 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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 11:59:11 -0400 (0:00:00.645) 0:00:41.742 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 11:59:11 -0400 (0:00:00.074) 0:00:41.817 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 11:59:11 -0400 (0:00:00.038) 0:00:41.855 *********** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 11:59:11 -0400 (0:00:00.035) 0:00:41.891 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 11:59:11 -0400 (0:00:00.040) 0:00:41.931 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:59:11 -0400 (0:00:00.474) 0:00:42.405 *********** ok: [managed_node1] TASK [Include the task 'tasks/assert_profile_absent.yml'] ********************** Monday 22 July 2024 11:59:14 -0400 (0:00:02.308) 0:00:44.713 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* Monday 22 July 2024 11:59:14 -0400 (0:00:00.055) 0:00:44.768 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Monday 22 July 2024 11:59:14 -0400 (0:00:00.089) 0:00:44.858 *********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Monday 22 July 2024 11:59:14 -0400 (0:00:00.035) 0:00:44.894 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 11:59:14 -0400 (0:00:00.385) 0:00:45.279 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 11:59:14 -0400 (0:00:00.034) 0:00:45.314 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.017786", "end": "2024-07-22 11:59:15.026456", "rc": 1, "start": "2024-07-22 11:59:15.008670" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 11:59:15 -0400 (0:00:00.406) 0:00:45.720 *********** 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] ******************* Monday 22 July 2024 11:59:15 -0400 (0:00:00.037) 0:00:45.757 *********** 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] **************** Monday 22 July 2024 11:59:15 -0400 (0:00:00.033) 0:00:45.791 *********** 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] *********************** Monday 22 July 2024 11:59:15 -0400 (0:00:00.034) 0:00:45.826 *********** 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] ******************** Monday 22 July 2024 11:59:15 -0400 (0:00:00.033) 0:00:45.859 *********** 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'] ********************** Monday 22 July 2024 11:59:15 -0400 (0:00:00.033) 0:00:45.893 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Run the tasklist tasks/assert_device_absent.yml] ************************* TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:59:15 -0400 (0:00:00.119) 0:00:46.012 *********** ok: [managed_node1] TASK [Include the task 'tasks/assert_device_absent.yml'] *********************** Monday 22 July 2024 11:59:17 -0400 (0:00:02.470) 0:00:48.483 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Monday 22 July 2024 11:59:17 -0400 (0:00:00.056) 0:00:48.539 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface LSR-TST-br31] ************************************* Monday 22 July 2024 11:59:17 -0400 (0:00:00.055) 0:00:48.595 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** Monday 22 July 2024 11:59:18 -0400 (0:00:00.381) 0:00:48.977 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Verify that cleanup restored state to default] *************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:59:18 -0400 (0:00:00.119) 0:00:49.096 *********** ok: [managed_node1] TASK [Verify network state restored to default] ******************************** Monday 22 July 2024 11:59:20 -0400 (0:00:02.373) 0:00:51.470 *********** included: /var/ARTIFACTS/work-generalsjtn4yqr/plans/general/tree/tmp.1OUfUsO7d0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** Monday 22 July 2024 11:59:20 -0400 (0:00:00.056) 0:00:51.526 *********** 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.011428", "end": "2024-07-22 11:59:21.225522", "rc": 0, "start": "2024-07-22 11:59:21.214094" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:ae:97:c6:fa:25 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.9.23/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3437sec preferred_lft 3437sec inet6 fe80::10ae:97ff:fec6:fa25/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.23 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.23 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* Monday 22 July 2024 11:59:21 -0400 (0:00:00.421) 0:00:51.948 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node1 : ok=80 changed=3 unreachable=0 failed=0 skipped=70 rescued=0 ignored=2 Monday 22 July 2024 11:59:21 -0400 (0:00:00.099) 0:00:52.048 *********** =============================================================================== Gathering Facts --------------------------------------------------------- 2.66s fedora.linux_system_roles.network : Check which services are running ---- 2.53s fedora.linux_system_roles.network : Check which services are running ---- 2.51s Gathering Facts --------------------------------------------------------- 2.47s fedora.linux_system_roles.network : Check which services are running ---- 2.45s Gathering Facts --------------------------------------------------------- 2.42s Gathering Facts --------------------------------------------------------- 2.42s Gathering Facts --------------------------------------------------------- 2.39s Gathering Facts --------------------------------------------------------- 2.37s Gathering Facts --------------------------------------------------------- 2.37s Gathering Facts --------------------------------------------------------- 2.36s Gathering Facts --------------------------------------------------------- 2.35s Gathering Facts --------------------------------------------------------- 2.31s Gathering Facts --------------------------------------------------------- 2.28s fedora.linux_system_roles.network : Check which packages are installed --- 1.15s fedora.linux_system_roles.network : Check which packages are installed --- 1.00s fedora.linux_system_roles.network : Check which packages are installed --- 0.99s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.79s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.77s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.70s