[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. ansible-playbook [core 2.16.10] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-v2g executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_ethtool_features_initscripts.yml ******************************* 2 plays in /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethtool_features_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_features.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethtool_features_initscripts.yml:5 Tuesday 20 August 2024 10:03:00 -0400 (0:00:00.007) 0:00:00.007 ******** ok: [managed_node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethtool_features_initscripts.yml:8 Tuesday 20 August 2024 10:03:01 -0400 (0:00:01.004) 0:00:01.012 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 20 August 2024 10:03:01 -0400 (0:00:00.018) 0:00:01.030 ******** skipping: [managed_node2] => { "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] *********************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 20 August 2024 10:03:01 -0400 (0:00:00.046) 0:00:01.077 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 20 August 2024 10:03:02 -0400 (0:00:00.584) 0:00:01.661 ******** ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 20 August 2024 10:03:02 -0400 (0:00:00.030) 0:00:01.692 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 20 August 2024 10:03:02 -0400 (0:00:00.022) 0:00:01.715 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 20 August 2024 10:03:02 -0400 (0:00:00.064) 0:00:01.780 ******** ok: [managed_node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Tuesday 20 August 2024 10:03:02 -0400 (0:00:00.444) 0:00:02.224 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Tuesday 20 August 2024 10:03:02 -0400 (0:00:00.014) 0:00:02.238 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Tuesday 20 August 2024 10:03:02 -0400 (0:00:00.013) 0:00:02.252 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.222011", "end": "2024-08-20 10:03:03.379685", "rc": 0, "start": "2024-08-20 10:03:03.157674" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Tuesday 20 August 2024 10:03:03 -0400 (0:00:00.547) 0:00:02.799 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethtool_features_initscripts.yml:10 Tuesday 20 August 2024 10:03:03 -0400 (0:00:00.020) 0:00:02.820 ******** ok: [managed_node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing ethtool features settings] ****************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:3 Tuesday 20 August 2024 10:03:03 -0400 (0:00:00.050) 0:00:02.870 ******** ok: [managed_node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:9 Tuesday 20 August 2024 10:03:04 -0400 (0:00:00.820) 0:00:03.691 ******** ok: [managed_node2] => {} MSG: this is: playbooks/tests_ethtool_features.yml TASK [INIT: Ethtool feeatures tests] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:15 Tuesday 20 August 2024 10:03:04 -0400 (0:00:00.055) 0:00:03.746 ******** ok: [managed_node2] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:18 Tuesday 20 August 2024 10:03:04 -0400 (0:00:00.056) 0:00:03.803 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:03:04 -0400 (0:00:00.058) 0:00:03.861 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:03:04 -0400 (0:00:00.056) 0:00:03.918 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002965", "end": "2024-08-20 10:03:04.864369", "rc": 0, "start": "2024-08-20 10:03:04.861404" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:03:04 -0400 (0:00:00.357) 0:00:04.276 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:03:04 -0400 (0:00:00.037) 0:00:04.313 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:20 Tuesday 20 August 2024 10:03:04 -0400 (0:00:00.036) 0:00:04.349 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:03:05 -0400 (0:00:00.045) 0:00:04.395 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:03:05 -0400 (0:00:00.037) 0:00:04.432 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:03:05 -0400 (0:00:00.047) 0:00:04.480 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:03:05 -0400 (0:00:00.058) 0:00:04.539 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:03:05 -0400 (0:00:00.049) 0:00:04.588 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003006", "end": "2024-08-20 10:03:05.527606", "rc": 0, "start": "2024-08-20 10:03:05.524600" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:03:05 -0400 (0:00:00.405) 0:00:04.994 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:03:05 -0400 (0:00:00.101) 0:00:05.095 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:03:05 -0400 (0:00:00.067) 0:00:05.163 ******** ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:03:09 -0400 (0:00:03.836) 0:00:08.999 ******** ok: [managed_node2] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.011648", "end": "2024-08-20 10:03:09.978497", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-08-20 10:03:09.966849" } ok: [managed_node2] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003623", "end": "2024-08-20 10:03:10.325626", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-08-20 10:03:10.322003" } ok: [managed_node2] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.003873", "end": "2024-08-20 10:03:10.637980", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-08-20 10:03:10.634107" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:03:10 -0400 (0:00:01.052) 0:00:10.051 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.020704", "end": "2024-08-20 10:03:10.997686", "rc": 0, "start": "2024-08-20 10:03:10.976982" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:03:11 -0400 (0:00:00.359) 0:00:10.411 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:03:11 -0400 (0:00:00.036) 0:00:10.447 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:03:11 -0400 (0:00:00.035) 0:00:10.483 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:03:11 -0400 (0:00:00.036) 0:00:10.519 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:03:11 -0400 (0:00:00.035) 0:00:10.555 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:24 Tuesday 20 August 2024 10:03:11 -0400 (0:00:00.038) 0:00:10.594 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 August 2024 10:03:11 -0400 (0:00:00.057) 0:00:10.651 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:03:11 -0400 (0:00:00.072) 0:00:10.723 ******** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724162589.9702492, "block_size": 4096, "blocks": 0, "ctime": 1724162589.9702492, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31407, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1724162589.9702492, "nlink": 1, "path": "/sys/class/net/testnic1", "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 - 'testnic1'] *********************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 August 2024 10:03:11 -0400 (0:00:00.450) 0:00:11.174 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:26 Tuesday 20 August 2024 10:03:11 -0400 (0:00:00.039) 0:00:11.214 ******** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [TEST: I can create a profile without changing the ethtool features.] ***** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:34 Tuesday 20 August 2024 10:03:14 -0400 (0:00:02.907) 0:00:14.122 ******** ok: [managed_node2] => {} MSG: ################################################## TASK [Get current device features] ********************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:38 Tuesday 20 August 2024 10:03:14 -0400 (0:00:00.058) 0:00:14.180 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003126", "end": "2024-08-20 10:03:15.378447", "rc": 0, "start": "2024-08-20 10:03:15.375321" } STDOUT: Features for testnic1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: on tx-tcp-mangleid-segmentation: on tx-tcp6-segmentation: on generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-gre-csum-segmentation: on tx-ipxip4-segmentation: on tx-ipxip6-segmentation: on tx-udp_tnl-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: off [fixed] tx-tunnel-remcsum-segmentation: off [fixed] tx-sctp-segmentation: on tx-esp-segmentation: off [fixed] tx-udp-segmentation: on tx-gso-list: on rx-udp-gro-forwarding: off rx-gro-list: off tls-hw-rx-offload: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: on rx-vlan-stag-hw-parse: on rx-vlan-stag-filter: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] esp-hw-offload: off [fixed] esp-tx-csum-hw-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] tls-hw-tx-offload: off [fixed] rx-gro-hw: off [fixed] tls-hw-record: off [fixed] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:03:15 -0400 (0:00:00.611) 0:00:14.791 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:03:15 -0400 (0:00:00.072) 0:00:14.864 ******** skipping: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:03:15 -0400 (0:00:00.060) 0:00:14.925 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:03:15 -0400 (0:00:00.055) 0:00:14.980 ******** skipping: [managed_node2] => { "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] **** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:03:15 -0400 (0:00:00.061) 0:00:15.042 ******** ok: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:03:17 -0400 (0:00:01.739) 0:00:16.781 ******** ok: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:03:19 -0400 (0:00:01.762) 0:00:18.543 ******** ok: [managed_node2] => {} 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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:03:19 -0400 (0:00:00.054) 0:00:18.597 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:03:19 -0400 (0:00:00.051) 0:00:18.649 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:03:19 -0400 (0:00:00.050) 0:00:18.699 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:03:19 -0400 (0:00:00.051) 0:00:18.751 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:03:19 -0400 (0:00:00.077) 0:00:18.828 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:03:19 -0400 (0:00:00.156) 0:00:18.985 ******** skipping: [managed_node2] => { "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] ******************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:03:19 -0400 (0:00:00.095) 0:00:19.081 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:03:19 -0400 (0:00:00.150) 0:00:19.232 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:03:19 -0400 (0:00:00.083) 0:00:19.315 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:03:20 -0400 (0:00:00.079) 0:00:19.395 ******** skipping: [managed_node2] => { "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] ***** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:03:20 -0400 (0:00:00.091) 0:00:19.486 ******** skipping: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:03:20 -0400 (0:00:00.082) 0:00:19.569 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:03:20 -0400 (0:00:00.082) 0:00:19.651 ******** ok: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:03:21 -0400 (0:00:00.900) 0:00:20.551 ******** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-25096gim5jchb/tmpsj95rzwo" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:03:21 -0400 (0:00:00.405) 0:00:20.957 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': 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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:03:22 -0400 (0:00:00.723) 0:00:21.680 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:03:22 -0400 (0:00:00.063) 0:00:21.744 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': 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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:03:22 -0400 (0:00:00.080) 0:00:21.825 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': 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": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': 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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:03:22 -0400 (0:00:00.144) 0:00:21.970 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:03:22 -0400 (0:00:00.098) 0:00:22.068 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:53 Tuesday 20 August 2024 10:03:23 -0400 (0:00:00.643) 0:00:22.712 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.002963", "end": "2024-08-20 10:03:23.680712", "rc": 0, "start": "2024-08-20 10:03:23.677749" } STDOUT: Features for testnic1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: on tx-tcp-mangleid-segmentation: on tx-tcp6-segmentation: on generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-gre-csum-segmentation: on tx-ipxip4-segmentation: on tx-ipxip6-segmentation: on tx-udp_tnl-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: off [fixed] tx-tunnel-remcsum-segmentation: off [fixed] tx-sctp-segmentation: on tx-esp-segmentation: off [fixed] tx-udp-segmentation: on tx-gso-list: on rx-udp-gro-forwarding: off rx-gro-list: off tls-hw-rx-offload: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: on rx-vlan-stag-hw-parse: on rx-vlan-stag-filter: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] esp-hw-offload: off [fixed] esp-tx-csum-hw-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] tls-hw-tx-offload: off [fixed] rx-gro-hw: off [fixed] tls-hw-record: off [fixed] TASK [ASSERT: The profile does not change the ethtool features] **************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:57 Tuesday 20 August 2024 10:03:23 -0400 (0:00:00.396) 0:00:23.109 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can disable gro and tx-tcp-segmentation and enable gso.] ********* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:62 Tuesday 20 August 2024 10:03:23 -0400 (0:00:00.056) 0:00:23.165 ******** ok: [managed_node2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:03:23 -0400 (0:00:00.053) 0:00:23.219 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:03:23 -0400 (0:00:00.077) 0:00:23.297 ******** skipping: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:03:23 -0400 (0:00:00.068) 0:00:23.366 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:03:24 -0400 (0:00:00.065) 0:00:23.431 ******** skipping: [managed_node2] => { "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] **** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:03:24 -0400 (0:00:00.082) 0:00:23.514 ******** ok: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:03:25 -0400 (0:00:01.646) 0:00:25.160 ******** ok: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:03:27 -0400 (0:00:01.513) 0:00:26.674 ******** ok: [managed_node2] => {} 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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:03:27 -0400 (0:00:00.085) 0:00:26.760 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:03:27 -0400 (0:00:00.082) 0:00:26.843 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:03:27 -0400 (0:00:00.080) 0:00:26.923 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:03:27 -0400 (0:00:00.113) 0:00:27.036 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:03:27 -0400 (0:00:00.067) 0:00:27.103 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:03:27 -0400 (0:00:00.054) 0:00:27.158 ******** skipping: [managed_node2] => { "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] ******************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:03:27 -0400 (0:00:00.060) 0:00:27.219 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:03:27 -0400 (0:00:00.086) 0:00:27.305 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:03:27 -0400 (0:00:00.054) 0:00:27.359 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:03:28 -0400 (0:00:00.067) 0:00:27.427 ******** skipping: [managed_node2] => { "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] ***** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:03:28 -0400 (0:00:00.106) 0:00:27.533 ******** skipping: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:03:28 -0400 (0:00:00.080) 0:00:27.614 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:03:28 -0400 (0:00:00.083) 0:00:27.697 ******** ok: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:03:28 -0400 (0:00:00.593) 0:00:28.290 ******** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-25096gim5jchb/tmpyeq35ajt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:03:29 -0400 (0:00:00.408) 0:00:28.699 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "features": { "gro": "no", "gso": "yes", "tx-tcp-segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\ntx-tcp-segmentation: off\ntx-tcp-mangleid-segmentation: off [not requested]\n'', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nRTNETLINK answers: File exists\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:03:29 -0400 (0:00:00.592) 0:00:29.291 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:03:29 -0400 (0:00:00.067) 0:00:29.359 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: off\\ntx-tcp-mangleid-segmentation: off [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:03:30 -0400 (0:00:00.067) 0:00:29.427 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "features": { "gro": "no", "gso": "yes", "tx-tcp-segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: off\\ntx-tcp-mangleid-segmentation: off [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: off\\ntx-tcp-mangleid-segmentation: off [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:03:30 -0400 (0:00:00.055) 0:00:29.482 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:03:30 -0400 (0:00:00.065) 0:00:29.548 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:82 Tuesday 20 August 2024 10:03:30 -0400 (0:00:00.539) 0:00:30.087 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.002758", "end": "2024-08-20 10:03:31.023233", "rc": 0, "start": "2024-08-20 10:03:31.020475" } STDOUT: Features for testnic1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: off tx-tcp-ecn-segmentation: on tx-tcp-mangleid-segmentation: off [requested on] tx-tcp6-segmentation: on generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-gre-csum-segmentation: on tx-ipxip4-segmentation: on tx-ipxip6-segmentation: on tx-udp_tnl-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: off [fixed] tx-tunnel-remcsum-segmentation: off [fixed] tx-sctp-segmentation: on tx-esp-segmentation: off [fixed] tx-udp-segmentation: on tx-gso-list: on rx-udp-gro-forwarding: off rx-gro-list: off tls-hw-rx-offload: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: on rx-vlan-stag-hw-parse: on rx-vlan-stag-filter: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] esp-hw-offload: off [fixed] esp-tx-csum-hw-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] tls-hw-tx-offload: off [fixed] rx-gro-hw: off [fixed] tls-hw-record: off [fixed] TASK [Show ethtool_features] *************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:86 Tuesday 20 August 2024 10:03:31 -0400 (0:00:00.369) 0:00:30.457 ******** ok: [managed_node2] => { "ethtool_features.stdout_lines": [ "Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: off", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: off [requested on]", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "rx-udp-gro-forwarding: off", "rx-gro-list: off", "tls-hw-rx-offload: off [fixed]", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]" ] } TASK [Assert device features] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:89 Tuesday 20 August 2024 10:03:31 -0400 (0:00:00.064) 0:00:30.521 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can enable tx_tcp_segmentation (using underscores).] ************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:102 Tuesday 20 August 2024 10:03:31 -0400 (0:00:00.079) 0:00:30.600 ******** ok: [managed_node2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:03:31 -0400 (0:00:00.053) 0:00:30.653 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:03:31 -0400 (0:00:00.080) 0:00:30.734 ******** skipping: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:03:31 -0400 (0:00:00.063) 0:00:30.798 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:03:31 -0400 (0:00:00.090) 0:00:30.888 ******** skipping: [managed_node2] => { "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] **** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:03:31 -0400 (0:00:00.087) 0:00:30.976 ******** ok: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:03:33 -0400 (0:00:01.638) 0:00:32.615 ******** ok: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:03:34 -0400 (0:00:01.480) 0:00:34.095 ******** ok: [managed_node2] => {} 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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:03:34 -0400 (0:00:00.054) 0:00:34.150 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:03:34 -0400 (0:00:00.133) 0:00:34.283 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:03:34 -0400 (0:00:00.052) 0:00:34.335 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:03:35 -0400 (0:00:00.051) 0:00:34.387 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:03:35 -0400 (0:00:00.064) 0:00:34.451 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:03:35 -0400 (0:00:00.052) 0:00:34.503 ******** skipping: [managed_node2] => { "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] ******************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:03:35 -0400 (0:00:00.060) 0:00:34.564 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:03:35 -0400 (0:00:00.124) 0:00:34.688 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:03:35 -0400 (0:00:00.109) 0:00:34.797 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:03:35 -0400 (0:00:00.100) 0:00:34.898 ******** skipping: [managed_node2] => { "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] ***** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:03:35 -0400 (0:00:00.113) 0:00:35.012 ******** skipping: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:03:35 -0400 (0:00:00.068) 0:00:35.080 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:03:35 -0400 (0:00:00.060) 0:00:35.141 ******** ok: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:03:36 -0400 (0:00:00.563) 0:00:35.704 ******** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-25096gim5jchb/tmp4k1b8i4o" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:03:36 -0400 (0:00:00.456) 0:00:36.161 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "features": { "tx_tcp_segmentation": "yes" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\ntx-tcp-segmentation: on\ntx-tcp-mangleid-segmentation: on [not requested]\n'', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nRTNETLINK answers: File exists\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:03:37 -0400 (0:00:00.679) 0:00:36.840 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:03:37 -0400 (0:00:00.063) 0:00:36.903 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: on\\ntx-tcp-mangleid-segmentation: on [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:03:37 -0400 (0:00:00.097) 0:00:37.001 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "features": { "tx_tcp_segmentation": "yes" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: on\\ntx-tcp-mangleid-segmentation: on [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: on\\ntx-tcp-mangleid-segmentation: on [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:03:37 -0400 (0:00:00.055) 0:00:37.056 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:03:37 -0400 (0:00:00.054) 0:00:37.110 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:120 Tuesday 20 August 2024 10:03:38 -0400 (0:00:00.411) 0:00:37.522 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.002844", "end": "2024-08-20 10:03:38.500762", "rc": 0, "start": "2024-08-20 10:03:38.497918" } STDOUT: Features for testnic1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: on tx-tcp-mangleid-segmentation: on tx-tcp6-segmentation: on generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-gre-csum-segmentation: on tx-ipxip4-segmentation: on tx-ipxip6-segmentation: on tx-udp_tnl-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: off [fixed] tx-tunnel-remcsum-segmentation: off [fixed] tx-sctp-segmentation: on tx-esp-segmentation: off [fixed] tx-udp-segmentation: on tx-gso-list: on rx-udp-gro-forwarding: off rx-gro-list: off tls-hw-rx-offload: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: on rx-vlan-stag-hw-parse: on rx-vlan-stag-filter: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] esp-hw-offload: off [fixed] esp-tx-csum-hw-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] tls-hw-tx-offload: off [fixed] rx-gro-hw: off [fixed] tls-hw-record: off [fixed] TASK [Show ethtool_features] *************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:124 Tuesday 20 August 2024 10:03:38 -0400 (0:00:00.407) 0:00:37.930 ******** ok: [managed_node2] => { "ethtool_features.stdout_lines": [ "Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: on", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: on", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "rx-udp-gro-forwarding: off", "rx-gro-list: off", "tls-hw-rx-offload: off [fixed]", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]" ] } TASK [Assert device features] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:127 Tuesday 20 August 2024 10:03:38 -0400 (0:00:00.056) 0:00:37.987 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [TEST: Change feature with both underscores and dashes.] ****************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:136 Tuesday 20 August 2024 10:03:38 -0400 (0:00:00.056) 0:00:38.043 ******** ok: [managed_node2] => {} MSG: ################################################## TASK [Configure ethtool features setting] ************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:140 Tuesday 20 August 2024 10:03:38 -0400 (0:00:00.076) 0:00:38.119 ******** fatal: [managed_node2]: FAILED! => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ethtool": { "features": { "tx-tcp-segmentation": "no", "tx_tcp_segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: MSG: fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation' TASK [Show network_connections result] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:157 Tuesday 20 August 2024 10:03:39 -0400 (0:00:00.433) 0:00:38.553 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ethtool": { "features": { "tx-tcp-segmentation": "no", "tx_tcp_segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": true, "msg": "fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation'", "stderr": "\n", "stderr_lines": [ "" ] } } TASK [Assert the duplicate key "tx_tcp_segmentation" configuration error happened] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:160 Tuesday 20 August 2024 10:03:39 -0400 (0:00:00.087) 0:00:38.641 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Check failure] *********************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:170 Tuesday 20 August 2024 10:03:39 -0400 (0:00:00.080) 0:00:38.721 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ethtool": { "features": { "tx-tcp-segmentation": "no", "tx_tcp_segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": true, "msg": "fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation'", "stderr": "\n", "stderr_lines": [ "" ] } } TASK [Assert that the result is failure] *************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:173 Tuesday 20 August 2024 10:03:39 -0400 (0:00:00.071) 0:00:38.793 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can reset features to their original value.] ********************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:177 Tuesday 20 August 2024 10:03:39 -0400 (0:00:00.118) 0:00:38.912 ******** ok: [managed_node2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:03:39 -0400 (0:00:00.112) 0:00:39.024 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:03:39 -0400 (0:00:00.132) 0:00:39.157 ******** skipping: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:03:40 -0400 (0:00:00.217) 0:00:39.375 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:03:40 -0400 (0:00:00.098) 0:00:39.473 ******** skipping: [managed_node2] => { "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] **** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:03:40 -0400 (0:00:00.088) 0:00:39.562 ******** ok: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:03:41 -0400 (0:00:01.718) 0:00:41.280 ******** ok: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:03:43 -0400 (0:00:01.546) 0:00:42.827 ******** ok: [managed_node2] => {} 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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:03:43 -0400 (0:00:00.067) 0:00:42.895 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:03:43 -0400 (0:00:00.055) 0:00:42.950 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:03:43 -0400 (0:00:00.051) 0:00:43.002 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:03:43 -0400 (0:00:00.061) 0:00:43.064 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:03:43 -0400 (0:00:00.082) 0:00:43.147 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:03:43 -0400 (0:00:00.076) 0:00:43.223 ******** skipping: [managed_node2] => { "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] ******************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:03:43 -0400 (0:00:00.101) 0:00:43.324 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:03:44 -0400 (0:00:00.139) 0:00:43.464 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:03:44 -0400 (0:00:00.081) 0:00:43.545 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:03:44 -0400 (0:00:00.191) 0:00:43.737 ******** skipping: [managed_node2] => { "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] ***** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:03:44 -0400 (0:00:00.070) 0:00:43.807 ******** skipping: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:03:44 -0400 (0:00:00.059) 0:00:43.866 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:03:44 -0400 (0:00:00.056) 0:00:43.922 ******** ok: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:03:45 -0400 (0:00:00.546) 0:00:44.469 ******** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-25096gim5jchb/tmp5mc2l8i2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:03:45 -0400 (0:00:00.362) 0:00:44.832 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': 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.\nRTNETLINK answers: File exists\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:03:46 -0400 (0:00:00.561) 0:00:45.393 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:03:46 -0400 (0:00:00.061) 0:00:45.454 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': 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.\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:03:46 -0400 (0:00:00.066) 0:00:45.520 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': 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.\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': 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.\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:03:46 -0400 (0:00:00.060) 0:00:45.581 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:03:46 -0400 (0:00:00.051) 0:00:45.632 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:191 Tuesday 20 August 2024 10:03:46 -0400 (0:00:00.370) 0:00:46.002 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.002731", "end": "2024-08-20 10:03:46.935829", "rc": 0, "start": "2024-08-20 10:03:46.933098" } STDOUT: Features for testnic1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: on tx-tcp-mangleid-segmentation: on tx-tcp6-segmentation: on generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-gre-csum-segmentation: on tx-ipxip4-segmentation: on tx-ipxip6-segmentation: on tx-udp_tnl-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: off [fixed] tx-tunnel-remcsum-segmentation: off [fixed] tx-sctp-segmentation: on tx-esp-segmentation: off [fixed] tx-udp-segmentation: on tx-gso-list: on rx-udp-gro-forwarding: off rx-gro-list: off tls-hw-rx-offload: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: on rx-vlan-stag-hw-parse: on rx-vlan-stag-filter: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] esp-hw-offload: off [fixed] esp-tx-csum-hw-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] tls-hw-tx-offload: off [fixed] rx-gro-hw: off [fixed] tls-hw-record: off [fixed] TASK [ASSERT: The profile does not change the ethtool features] **************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:196 Tuesday 20 August 2024 10:03:46 -0400 (0:00:00.361) 0:00:46.364 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == 'nm'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:03:47 -0400 (0:00:00.051) 0:00:46.415 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:03:47 -0400 (0:00:00.121) 0:00:46.536 ******** skipping: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:03:47 -0400 (0:00:00.067) 0:00:46.604 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:03:47 -0400 (0:00:00.065) 0:00:46.669 ******** skipping: [managed_node2] => { "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] **** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:03:47 -0400 (0:00:00.076) 0:00:46.746 ******** ok: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:03:49 -0400 (0:00:01.654) 0:00:48.400 ******** ok: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:03:50 -0400 (0:00:01.476) 0:00:49.877 ******** ok: [managed_node2] => {} 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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:03:50 -0400 (0:00:00.088) 0:00:49.965 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:03:50 -0400 (0:00:00.081) 0:00:50.047 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:03:50 -0400 (0:00:00.085) 0:00:50.132 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:03:50 -0400 (0:00:00.084) 0:00:50.217 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:03:50 -0400 (0:00:00.103) 0:00:50.320 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:03:51 -0400 (0:00:00.087) 0:00:50.407 ******** skipping: [managed_node2] => { "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] ******************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:03:51 -0400 (0:00:00.096) 0:00:50.504 ******** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:03:51 -0400 (0:00:00.115) 0:00:50.619 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:03:51 -0400 (0:00:00.105) 0:00:50.725 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:03:51 -0400 (0:00:00.051) 0:00:50.777 ******** skipping: [managed_node2] => { "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] ***** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:03:51 -0400 (0:00:00.064) 0:00:50.841 ******** skipping: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:03:51 -0400 (0:00:00.052) 0:00:50.893 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:03:51 -0400 (0:00:00.050) 0:00:50.944 ******** ok: [managed_node2] => { "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-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:03:52 -0400 (0:00:00.530) 0:00:51.475 ******** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-25096gim5jchb/tmpw7qzrxm7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:03:52 -0400 (0:00:00.389) 0:00:51.864 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active) [004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': 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"' [005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:03:53 -0400 (0:00:00.599) 0:00:52.464 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:03:53 -0400 (0:00:00.054) 0:00:52.518 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': 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\"'", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:03:53 -0400 (0:00:00.055) 0:00:52.574 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)\n[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': 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[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': 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\"'", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:03:53 -0400 (0:00:00.055) 0:00:52.629 ******** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:03:53 -0400 (0:00:00.054) 0:00:52.684 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:215 Tuesday 20 August 2024 10:03:53 -0400 (0:00:00.367) 0:00:53.051 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:03:53 -0400 (0:00:00.086) 0:00:53.137 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:03:53 -0400 (0:00:00.051) 0:00:53.189 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:03:53 -0400 (0:00:00.133) 0:00:53.323 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:03:54 -0400 (0:00:00.084) 0:00:53.407 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:03:54 -0400 (0:00:00.087) 0:00:53.495 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002969", "end": "2024-08-20 10:03:54.610991", "rc": 0, "start": "2024-08-20 10:03:54.608022" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:03:54 -0400 (0:00:00.574) 0:00:54.070 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:03:54 -0400 (0:00:00.101) 0:00:54.171 ******** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:03:54 -0400 (0:00:00.086) 0:00:54.258 ******** ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:03:58 -0400 (0:00:03.232) 0:00:57.490 ******** skipping: [managed_node2] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:03:58 -0400 (0:00:00.074) 0:00:57.564 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:03:58 -0400 (0:00:00.056) 0:00:57.621 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.012061", "end": "2024-08-20 10:03:58.634569", "rc": 0, "start": "2024-08-20 10:03:58.622508" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:03:58 -0400 (0:00:00.488) 0:00:58.110 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:03:58 -0400 (0:00:00.107) 0:00:58.218 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:03:58 -0400 (0:00:00.083) 0:00:58.302 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:03:59 -0400 (0:00:00.091) 0:00:58.393 ******** skipping: [managed_node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:219 Tuesday 20 August 2024 10:03:59 -0400 (0:00:00.093) 0:00:58.486 ******** included: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node2 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Tuesday 20 August 2024 10:03:59 -0400 (0:00:00.159) 0:00:58.646 ******** ok: [managed_node2] => { "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.008034", "end": "2024-08-20 10:03:59.587743", "rc": 0, "start": "2024-08-20 10:03:59.579709" } 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:2d:95:85:e3:91 brd ff:ff:ff:ff:ff:ff inet 10.31.11.195/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3104sec preferred_lft 3104sec inet6 fe80::102d:95ff:fe85:e391/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.195 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.195 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-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Tuesday 20 August 2024 10:03:59 -0400 (0:00:00.391) 0:00:59.038 ******** ok: [managed_node2] => { "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.293055", "end": "2024-08-20 10:04:00.304302", "rc": 0, "start": "2024-08-20 10:04:00.011247" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 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 1373 0 --:--:-- --:--:-- --:--:-- 1373 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 11640 0 --:--:-- --:--:-- --:--:-- 11640 PLAY RECAP ********************************************************************* managed_node2 : ok=110 changed=5 unreachable=0 failed=0 skipped=106 rescued=1 ignored=0 Tuesday 20 August 2024 10:04:00 -0400 (0:00:00.812) 0:00:59.850 ******** =============================================================================== Install iproute --------------------------------------------------------- 3.84s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.23s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 2.91s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.76s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface testnic1 ------------------------------------------ 1.05s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 1.00s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethtool_features_initscripts.yml:5 fedora.linux_system_roles.network : Enable network service -------------- 0.90s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Gathering Facts --------------------------------------------------------- 0.82s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:3 Verify DNS and network connectivity ------------------------------------- 0.81s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.72s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.68s /tmp/collections-v2g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159