ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_vlan_mtu_initscripts.yml *************************************** 2 plays in /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tests_vlan_mtu_initscripts.yml PLAY [Run playbook 'playbooks/tests_vlan_mtu.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tests_vlan_mtu_initscripts.yml:5 Wednesday 14 August 2024 19:03:53 -0400 (0:00:00.023) 0:00:00.023 ****** ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tests_vlan_mtu_initscripts.yml:8 Wednesday 14 August 2024 19:03:54 -0400 (0:00:01.011) 0:00:01.034 ****** included: /tmp/collections-72D/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] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 14 August 2024 19:03:54 -0400 (0:00:00.035) 0:00:01.070 ****** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 14 August 2024 19:03:55 -0400 (0:00:00.558) 0:00:01.629 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 14 August 2024 19:03:55 -0400 (0:00:00.577) 0:00:02.206 ****** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 14 August 2024 19:03:55 -0400 (0:00:00.059) 0:00:02.266 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 14 August 2024 19:03:55 -0400 (0:00:00.043) 0:00:02.309 ****** included: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 14 August 2024 19:03:56 -0400 (0:00:00.075) 0:00:02.384 ****** ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 14 August 2024 19:03:56 -0400 (0:00:00.531) 0:00:02.916 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 14 August 2024 19:03:56 -0400 (0:00:00.021) 0:00:02.937 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 14 August 2024 19:03:56 -0400 (0:00:00.029) 0:00:02.966 ****** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.241822", "end": "2024-08-14 19:03:57.157338", "rc": 0, "start": "2024-08-14 19:03:56.915516" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 14 August 2024 19:03:57 -0400 (0:00:00.604) 0:00:03.571 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tests_vlan_mtu_initscripts.yml:10 Wednesday 14 August 2024 19:03:57 -0400 (0:00:00.021) 0:00:03.592 ****** ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_vlan_mtu.yml:3 Wednesday 14 August 2024 19:03:57 -0400 (0:00:00.026) 0:00:03.618 ****** ok: [managed_node1] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_vlan_mtu.yml:10 Wednesday 14 August 2024 19:03:57 -0400 (0:00:00.656) 0:00:04.275 ****** included: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 19:03:57 -0400 (0:00:00.058) 0:00:04.334 ****** included: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 19:03:58 -0400 (0:00:00.038) 0:00:04.372 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002983", "end": "2024-08-14 19:03:58.386827", "rc": 0, "start": "2024-08-14 19:03:58.383844" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 19:03:58 -0400 (0:00:00.424) 0:00:04.796 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 19:03:58 -0400 (0:00:00.027) 0:00:04.824 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_vlan_mtu.yml:12 Wednesday 14 August 2024 19:03:58 -0400 (0:00:00.022) 0:00:04.847 ****** included: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 19:03:58 -0400 (0:00:00.048) 0:00:04.895 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 19:03:58 -0400 (0:00:00.021) 0:00:04.917 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 19:03:58 -0400 (0:00:00.019) 0:00:04.936 ****** included: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 19:03:58 -0400 (0:00:00.028) 0:00:04.965 ****** included: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 19:03:58 -0400 (0:00:00.026) 0:00:04.991 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003014", "end": "2024-08-14 19:03:58.945154", "rc": 0, "start": "2024-08-14 19:03:58.942140" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 19:03:58 -0400 (0:00:00.363) 0:00:05.355 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 19:03:59 -0400 (0:00:00.024) 0:00:05.380 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 19:03:59 -0400 (0:00:00.023) 0:00:05.403 ****** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 19:04:03 -0400 (0:00:03.970) 0:00:09.373 ****** ok: [managed_node1] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "lsr101", "type", "veth", "peer", "name", "peerlsr101" ], "delta": "0:00:00.011200", "end": "2024-08-14 19:04:03.403372", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-08-14 19:04:03.392172" } ok: [managed_node1] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.003308", "end": "2024-08-14 19:04:03.801112", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-08-14 19:04:03.797804" } ok: [managed_node1] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.003727", "end": "2024-08-14 19:04:04.194021", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-08-14 19:04:04.190294" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 19:04:04 -0400 (0:00:01.231) 0:00:10.605 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.023167", "end": "2024-08-14 19:04:04.585531", "rc": 0, "start": "2024-08-14 19:04:04.562364" } TASK [Delete veth interface lsr101] ******************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 19:04:04 -0400 (0:00:00.421) 0:00:11.026 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 19:04:04 -0400 (0:00:00.039) 0:00:11.066 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 19:04:04 -0400 (0:00:00.026) 0:00:11.093 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 19:04:04 -0400 (0:00:00.075) 0:00:11.169 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 19:04:04 -0400 (0:00:00.023) 0:00:11.192 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_vlan_mtu.yml:16 Wednesday 14 August 2024 19:04:04 -0400 (0:00:00.022) 0:00:11.214 ****** included: /tmp/collections-72D/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'] ******************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 August 2024 19:04:04 -0400 (0:00:00.044) 0:00:11.259 ****** included: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface lsr101] ******************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 19:04:04 -0400 (0:00:00.029) 0:00:11.288 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723676643.3958127, "block_size": 4096, "blocks": 0, "ctime": 1723676643.3958127, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37597, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101", "lnk_target": "../../devices/virtual/net/lsr101", "mode": "0777", "mtime": 1723676643.3958127, "nlink": 1, "path": "/sys/class/net/lsr101", "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 - 'lsr101'] ************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 August 2024 19:04:05 -0400 (0:00:00.407) 0:00:11.696 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure the MTU for a vlan interface without autoconnect.] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_vlan_mtu.yml:18 Wednesday 14 August 2024 19:04:05 -0400 (0:00:00.056) 0:00:11.753 ****** ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 19:04:05 -0400 (0:00:00.022) 0:00:11.775 ****** included: /tmp/collections-72D/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] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 19:04:05 -0400 (0:00:00.044) 0:00:11.819 ****** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 19:04:05 -0400 (0:00:00.025) 0:00:11.845 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 19:04:05 -0400 (0:00:00.023) 0:00:11.869 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 19:04:05 -0400 (0:00:00.020) 0:00:11.890 ****** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 19:04:07 -0400 (0:00:01.743) 0:00:13.633 ****** 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] ************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 19:04:09 -0400 (0:00:01.947) 0:00:15.581 ****** 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] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 19:04:09 -0400 (0:00:00.073) 0:00:15.655 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 19:04:09 -0400 (0:00:00.046) 0:00:15.701 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 19:04:09 -0400 (0:00:00.064) 0:00:15.766 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 19:04:09 -0400 (0:00:00.068) 0:00:15.834 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 19:04:09 -0400 (0:00:00.094) 0:00:15.929 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 19:04:09 -0400 (0:00:00.074) 0:00:16.004 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 19:04:09 -0400 (0:00:00.081) 0:00:16.085 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 19:04:09 -0400 (0:00:00.129) 0:00:16.215 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 19:04:09 -0400 (0:00:00.071) 0:00:16.287 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 19:04:09 -0400 (0:00:00.063) 0:00:16.350 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 19:04:10 -0400 (0:00:00.076) 0:00:16.426 ****** 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] ***** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 19:04:10 -0400 (0:00:00.070) 0:00:16.497 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 19:04:10 -0400 (0:00:00.088) 0:00:16.585 ****** 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] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 19:04:11 -0400 (0:00:01.002) 0:00:17.588 ****** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-52081tmfj_jch/tmp9stwnlop" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 19:04:11 -0400 (0:00:00.439) 0:00:18.028 ****** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101' [006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90' [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified) [008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', 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"' [009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active) [010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', 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] ********** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 19:04:12 -0400 (0:00:01.175) 0:00:19.204 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 19:04:12 -0400 (0:00:00.075) 0:00:19.280 ****** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', 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\"'", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', 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] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 19:04:12 -0400 (0:00:00.054) 0:00:19.334 ****** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'\n[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)\n[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', 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[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)\n[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', 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": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', 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\"'", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', 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] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 19:04:13 -0400 (0:00:00.055) 0:00:19.389 ****** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 19:04:13 -0400 (0:00:00.046) 0:00:19.436 ****** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_vlan_mtu.yml:46 Wednesday 14 August 2024 19:04:13 -0400 (0:00:00.615) 0:00:20.051 ****** included: /tmp/collections-72D/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'] ******************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 August 2024 19:04:13 -0400 (0:00:00.127) 0:00:20.179 ****** included: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface lsr101.90] **************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 19:04:13 -0400 (0:00:00.161) 0:00:20.340 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723676652.6398752, "block_size": 4096, "blocks": 0, "ctime": 1723676652.6398752, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37890, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101.90", "lnk_target": "../../devices/virtual/net/lsr101.90", "mode": "0777", "mtime": 1723676652.6398752, "nlink": 1, "path": "/sys/class/net/lsr101.90", "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 - 'lsr101.90'] ********************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 August 2024 19:04:14 -0400 (0:00:00.454) 0:00:20.795 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_vlan_mtu.yml:50 Wednesday 14 August 2024 19:04:14 -0400 (0:00:00.091) 0:00:20.886 ****** included: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 included: /tmp/collections-72D/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'] ********************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 August 2024 19:04:14 -0400 (0:00:00.189) 0:00:21.076 ****** included: /tmp/collections-72D/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] ************ task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 August 2024 19:04:14 -0400 (0:00:00.097) 0:00:21.173 ****** 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] ******************************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 August 2024 19:04:14 -0400 (0:00:00.075) 0:00:21.248 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723676652.5076535, "block_size": 4096, "blocks": 8, "ctime": 1723676652.488654, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723676652.488654, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 136, "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] ******************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 August 2024 19:04:15 -0400 (0:00:00.441) 0:00:21.690 ****** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 August 2024 19:04:15 -0400 (0:00:00.058) 0:00:21.748 ****** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.020992", "end": "2024-08-14 19:04:15.747886", "rc": 1, "start": "2024-08-14 19:04:15.726894" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 August 2024 19:04:15 -0400 (0:00:00.432) 0:00:22.181 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101] ************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 August 2024 19:04:15 -0400 (0:00:00.044) 0:00:22.225 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.002898", "end": "2024-08-14 19:04:16.207045", "rc": 0, "start": "2024-08-14 19:04:16.204147" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 August 2024 19:04:16 -0400 (0:00:00.490) 0:00:22.716 ****** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 August 2024 19:04:16 -0400 (0:00:00.095) 0:00:22.812 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.002818", "end": "2024-08-14 19:04:16.830348", "rc": 0, "start": "2024-08-14 19:04:16.827530" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 August 2024 19:04:16 -0400 (0:00:00.456) 0:00:23.268 ****** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 August 2024 19:04:16 -0400 (0:00:00.065) 0:00:23.334 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 August 2024 19:04:17 -0400 (0:00:00.047) 0:00:23.381 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 August 2024 19:04:17 -0400 (0:00:00.062) 0:00:23.443 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 August 2024 19:04:17 -0400 (0:00:00.046) 0:00:23.490 ****** included: /tmp/collections-72D/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] ************ task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 August 2024 19:04:17 -0400 (0:00:00.094) 0:00:23.585 ****** 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] ******************************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 August 2024 19:04:17 -0400 (0:00:00.048) 0:00:23.633 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723676652.6076515, "block_size": 4096, "blocks": 8, "ctime": 1723676652.488654, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723676652.488654, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 166, "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] ******************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 August 2024 19:04:17 -0400 (0:00:00.390) 0:00:24.024 ****** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 August 2024 19:04:17 -0400 (0:00:00.044) 0:00:24.068 ****** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.020681", "end": "2024-08-14 19:04:18.067019", "rc": 1, "start": "2024-08-14 19:04:18.046338" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 August 2024 19:04:18 -0400 (0:00:00.488) 0:00:24.556 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101.90] ********************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 August 2024 19:04:18 -0400 (0:00:00.071) 0:00:24.628 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.002922", "end": "2024-08-14 19:04:18.722744", "rc": 0, "start": "2024-08-14 19:04:18.719822" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 August 2024 19:04:18 -0400 (0:00:00.559) 0:00:25.187 ****** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-lsr101.90] ************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 August 2024 19:04:18 -0400 (0:00:00.084) 0:00:25.271 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.002904", "end": "2024-08-14 19:04:19.362639", "rc": 0, "start": "2024-08-14 19:04:19.359735" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 August 2024 19:04:19 -0400 (0:00:00.623) 0:00:25.895 ****** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101.90'] ************************ task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 August 2024 19:04:19 -0400 (0:00:00.092) 0:00:25.988 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101.90'] ******* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 August 2024 19:04:19 -0400 (0:00:00.073) 0:00:26.062 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 August 2024 19:04:19 -0400 (0:00:00.061) 0:00:26.123 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_vlan_mtu.yml:58 Wednesday 14 August 2024 19:04:19 -0400 (0:00:00.054) 0:00:26.178 ****** ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 19:04:19 -0400 (0:00:00.043) 0:00:26.222 ****** included: /tmp/collections-72D/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] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 19:04:19 -0400 (0:00:00.076) 0:00:26.299 ****** 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] *********** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 19:04:20 -0400 (0:00:00.065) 0:00:26.364 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 19:04:20 -0400 (0:00:00.077) 0:00:26.442 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 19:04:20 -0400 (0:00:00.113) 0:00:26.555 ****** 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] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 19:04:21 -0400 (0:00:01.765) 0:00:28.320 ****** 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] ************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 19:04:23 -0400 (0:00:01.634) 0:00:29.955 ****** 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] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 19:04:23 -0400 (0:00:00.081) 0:00:30.036 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 19:04:23 -0400 (0:00:00.051) 0:00:30.087 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 19:04:23 -0400 (0:00:00.054) 0:00:30.141 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 19:04:23 -0400 (0:00:00.058) 0:00:30.200 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 19:04:23 -0400 (0:00:00.052) 0:00:30.252 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 19:04:23 -0400 (0:00:00.080) 0:00:30.332 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 19:04:24 -0400 (0:00:00.056) 0:00:30.388 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 19:04:24 -0400 (0:00:00.154) 0:00:30.543 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 19:04:24 -0400 (0:00:00.067) 0:00:30.611 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 19:04:24 -0400 (0:00:00.127) 0:00:30.738 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 19:04:24 -0400 (0:00:00.121) 0:00:30.860 ****** 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] ***** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 19:04:24 -0400 (0:00:00.069) 0:00:30.930 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 19:04:24 -0400 (0:00:00.086) 0:00:31.017 ****** 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] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 19:04:25 -0400 (0:00:00.666) 0:00:31.683 ****** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-52081tmfj_jch/tmpy4xku3ce" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 19:04:25 -0400 (0:00:00.473) 0:00:32.156 ****** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active) [006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active [008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101' [009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 19:04:26 -0400 (0:00:00.881) 0:00:33.038 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 19:04:26 -0400 (0:00:00.085) 0:00:33.124 ****** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 19:04:26 -0400 (0:00:00.101) 0:00:33.225 ****** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)\n[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active\n[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'\n[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'\n", "stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 19:04:26 -0400 (0:00:00.080) 0:00:33.306 ****** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 19:04:27 -0400 (0:00:00.091) 0:00:33.398 ****** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_vlan_mtu.yml:73 Wednesday 14 August 2024 19:04:27 -0400 (0:00:00.392) 0:00:33.791 ****** included: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 19:04:27 -0400 (0:00:00.092) 0:00:33.883 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 19:04:27 -0400 (0:00:00.056) 0:00:33.940 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 19:04:27 -0400 (0:00:00.042) 0:00:33.983 ****** included: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 19:04:27 -0400 (0:00:00.068) 0:00:34.051 ****** included: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 19:04:27 -0400 (0:00:00.067) 0:00:34.118 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004212", "end": "2024-08-14 19:04:29.097203", "rc": 0, "start": "2024-08-14 19:04:28.092991" } STDOUT: bonding_masters eth0 lo lsr101 lsr101.90 peerlsr101 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 19:04:29 -0400 (0:00:01.455) 0:00:35.574 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "lsr101", "lsr101.90", "peerlsr101" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 19:04:29 -0400 (0:00:00.047) 0:00:35.621 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'lsr101.90', 'peerlsr101'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 19:04:29 -0400 (0:00:00.042) 0:00:35.664 ****** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 19:04:32 -0400 (0:00:03.310) 0:00:38.975 ****** skipping: [managed_node1] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add lsr101 type veth peer name peerlsr101", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerlsr101 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set lsr101 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 19:04:32 -0400 (0:00:00.107) 0:00:39.082 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 19:04:32 -0400 (0:00:00.084) 0:00:39.167 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.011752", "end": "2024-08-14 19:04:33.174630", "rc": 0, "start": "2024-08-14 19:04:33.162878" } TASK [Create dummy interface lsr101] ******************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 19:04:33 -0400 (0:00:00.509) 0:00:39.676 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 19:04:33 -0400 (0:00:00.098) 0:00:39.775 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 19:04:33 -0400 (0:00:00.094) 0:00:39.869 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 19:04:33 -0400 (0:00:00.109) 0:00:39.979 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_vlan_mtu.yml:77 Wednesday 14 August 2024 19:04:33 -0400 (0:00:00.076) 0:00:40.055 ****** included: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 August 2024 19:04:33 -0400 (0:00:00.190) 0:00:40.246 ****** 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.008594", "end": "2024-08-14 19:04:34.248793", "rc": 0, "start": "2024-08-14 19:04:34.240199" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:01:03:53:9c:c9 brd ff:ff:ff:ff:ff:ff inet 10.31.9.166/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3550sec preferred_lft 3550sec inet6 fe80::1001:3ff:fe53:9cc9/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.166 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.166 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] ************************************* task path: /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 August 2024 19:04:34 -0400 (0:00:00.434) 0:00:40.680 ****** 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.265315", "end": "2024-08-14 19:04:34.910454", "rc": 0, "start": "2024-08-14 19:04:34.645139" } STDOUT: CHECK DNS AND CONNECTIVITY 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:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 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 11296 0 --:--:-- --:--:-- --:--:-- 11296 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1372 0 --:--:-- --:--:-- --:--:-- 1372 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=91 changed=2 unreachable=0 failed=0 skipped=55 rescued=0 ignored=2 Wednesday 14 August 2024 19:04:34 -0400 (0:00:00.637) 0:00:41.318 ****** =============================================================================== Install iproute --------------------------------------------------------- 3.97s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.31s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.95s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.46s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Create veth interface lsr101 -------------------------------------------- 1.23s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.18s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Gathering Facts --------------------------------------------------------- 1.01s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tests_vlan_mtu_initscripts.yml:5 fedora.linux_system_roles.network : Enable network service -------------- 1.00s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.88s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Enable network service -------------- 0.67s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Gathering Facts --------------------------------------------------------- 0.66s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_vlan_mtu.yml:3 Verify DNS and network connectivity ------------------------------------- 0.64s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Get the fingerprint comment in ifcfg-lsr101.90 -------------------------- 0.62s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.62s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Enable EPEL 8 ----------------------------------------------------------- 0.60s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Check if system is ostree ----------------------------------------------- 0.58s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Get the ansible_managed comment in ifcfg-lsr101.90 ---------------------- 0.56s /tmp/collections-72D/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49