ansible-playbook [core 2.16.12] 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-nHO 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-nHO/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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethtool_features_initscripts.yml:5 Monday 21 October 2024 07:14:49 -0400 (0:00:00.008) 0:00:00.008 ******** ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethtool_features_initscripts.yml:8 Monday 21 October 2024 07:14:50 -0400 (0:00:01.018) 0:00:01.026 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 21 October 2024 07:14:50 -0400 (0:00:00.029) 0:00:01.055 ******** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 21 October 2024 07:14:50 -0400 (0:00:00.558) 0:00:01.613 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 21 October 2024 07:14:51 -0400 (0:00:00.514) 0:00:02.128 ******** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 21 October 2024 07:14:51 -0400 (0:00:00.031) 0:00:02.160 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 21 October 2024 07:14:51 -0400 (0:00:00.029) 0:00:02.189 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 21 October 2024 07:14:51 -0400 (0:00:00.069) 0:00:02.259 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 21 October 2024 07:14:51 -0400 (0:00:00.523) 0:00:02.782 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 21 October 2024 07:14:51 -0400 (0:00:00.022) 0:00:02.805 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 21 October 2024 07:14:51 -0400 (0:00:00.021) 0:00:02.826 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.219671", "end": "2024-10-21 07:14:52.469457", "rc": 0, "start": "2024-10-21 07:14:52.249786" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 21 October 2024 07:14:52 -0400 (0:00:00.571) 0:00:03.397 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethtool_features_initscripts.yml:10 Monday 21 October 2024 07:14:52 -0400 (0:00:00.013) 0:00:03.411 ******** ok: [managed-node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing ethtool features settings] ****************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:3 Monday 21 October 2024 07:14:52 -0400 (0:00:00.038) 0:00:03.449 ******** ok: [managed-node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:9 Monday 21 October 2024 07:14:53 -0400 (0:00:00.737) 0:00:04.186 ******** ok: [managed-node1] => {} MSG: this is: playbooks/tests_ethtool_features.yml TASK [INIT: Ethtool feeatures tests] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:15 Monday 21 October 2024 07:14:53 -0400 (0:00:00.040) 0:00:04.227 ******** ok: [managed-node1] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:18 Monday 21 October 2024 07:14:53 -0400 (0:00:00.041) 0:00:04.269 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:14:53 -0400 (0:00:00.040) 0:00:04.309 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:14:53 -0400 (0:00:00.040) 0:00:04.349 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003058", "end": "2024-10-21 07:14:53.762660", "rc": 0, "start": "2024-10-21 07:14:53.759602" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:14:53 -0400 (0:00:00.338) 0:00:04.688 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:14:53 -0400 (0:00:00.044) 0:00:04.732 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:20 Monday 21 October 2024 07:14:53 -0400 (0:00:00.045) 0:00:04.777 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Monday 21 October 2024 07:14:53 -0400 (0:00:00.050) 0:00:04.828 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Monday 21 October 2024 07:14:53 -0400 (0:00:00.036) 0:00:04.864 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Monday 21 October 2024 07:14:54 -0400 (0:00:00.033) 0:00:04.898 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:14:54 -0400 (0:00:00.040) 0:00:04.938 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:14:54 -0400 (0:00:00.038) 0:00:04.977 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003058", "end": "2024-10-21 07:14:54.414276", "rc": 0, "start": "2024-10-21 07:14:54.411218" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:14:54 -0400 (0:00:00.370) 0:00:05.347 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:14:54 -0400 (0:00:00.055) 0:00:05.402 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Monday 21 October 2024 07:14:54 -0400 (0:00:00.050) 0:00:05.453 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Monday 21 October 2024 07:14:57 -0400 (0:00:03.141) 0:00:08.595 ******** ok: [managed-node1] => (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.009851", "end": "2024-10-21 07:14:58.047554", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-10-21 07:14:58.037703" } ok: [managed-node1] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003835", "end": "2024-10-21 07:14:58.555400", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-10-21 07:14:58.551565" } ok: [managed-node1] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.003511", "end": "2024-10-21 07:14:59.113346", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-10-21 07:14:59.109835" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Monday 21 October 2024 07:14:59 -0400 (0:00:01.499) 0:00:10.095 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.018737", "end": "2024-10-21 07:14:59.583166", "rc": 0, "start": "2024-10-21 07:14:59.564429" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Monday 21 October 2024 07:14:59 -0400 (0:00:00.420) 0:00:10.515 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Monday 21 October 2024 07:14:59 -0400 (0:00:00.054) 0:00:10.569 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Monday 21 October 2024 07:14:59 -0400 (0:00:00.062) 0:00:10.632 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Monday 21 October 2024 07:14:59 -0400 (0:00:00.073) 0:00:10.706 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Monday 21 October 2024 07:14:59 -0400 (0:00:00.058) 0:00:10.764 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:24 Monday 21 October 2024 07:14:59 -0400 (0:00:00.063) 0:00:10.827 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 21 October 2024 07:15:00 -0400 (0:00:00.055) 0:00:10.882 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:15:00 -0400 (0:00:00.049) 0:00:10.932 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729509298.041075, "block_size": 4096, "blocks": 0, "ctime": 1729509298.041075, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31523, "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": 1729509298.041075, "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 21 October 2024 07:15:00 -0400 (0:00:00.420) 0:00:11.353 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:26 Monday 21 October 2024 07:15:00 -0400 (0:00:00.056) 0:00:11.410 ******** ok: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:34 Monday 21 October 2024 07:15:03 -0400 (0:00:02.810) 0:00:14.220 ******** ok: [managed-node1] => {} MSG: ################################################## TASK [Get current device features] ********************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:38 Monday 21 October 2024 07:15:03 -0400 (0:00:00.036) 0:00:14.256 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.002802", "end": "2024-10-21 07:15:03.667178", "rc": 0, "start": "2024-10-21 07:15:03.664376" } 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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:15:03 -0400 (0:00:00.335) 0:00:14.592 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:15:03 -0400 (0:00:00.047) 0:00:14.639 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:15:03 -0400 (0:00:00.037) 0:00:14.676 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:15:03 -0400 (0:00:00.037) 0:00:14.714 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:15:03 -0400 (0:00:00.039) 0:00:14.753 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:15:05 -0400 (0:00:01.635) 0:00:16.389 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:15:07 -0400 (0:00:01.810) 0:00:18.200 ******** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:15:07 -0400 (0:00:00.061) 0:00:18.261 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:15:07 -0400 (0:00:00.062) 0:00:18.324 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:15:07 -0400 (0:00:00.055) 0:00:18.379 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:15:07 -0400 (0:00:00.076) 0:00:18.456 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:15:07 -0400 (0:00:00.098) 0:00:18.554 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:15:07 -0400 (0:00:00.120) 0:00:18.675 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:15:07 -0400 (0:00:00.089) 0:00:18.765 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:15:08 -0400 (0:00:00.151) 0:00:18.917 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:15:08 -0400 (0:00:00.091) 0:00:19.009 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:15:08 -0400 (0:00:00.092) 0:00:19.102 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:15:08 -0400 (0:00:00.102) 0:00:19.204 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:15:08 -0400 (0:00:00.088) 0:00:19.293 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:15:08 -0400 (0:00:00.061) 0:00:19.355 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:15:09 -0400 (0:00:00.873) 0:00:20.228 ******** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-27138e1rn172a/tmpfopsaboa" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:15:09 -0400 (0:00:00.498) 0:00:20.727 ******** changed: [managed-node1] => { "_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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:15:11 -0400 (0:00:01.195) 0:00:21.922 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:15:11 -0400 (0:00:00.052) 0:00:21.975 ******** ok: [managed-node1] => { "__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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:15:11 -0400 (0:00:00.053) 0:00:22.029 ******** ok: [managed-node1] => { "__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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:15:11 -0400 (0:00:00.053) 0:00:22.083 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:15:11 -0400 (0:00:00.052) 0:00:22.135 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:53 Monday 21 October 2024 07:15:11 -0400 (0:00:00.541) 0:00:22.677 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.002729", "end": "2024-10-21 07:15:12.128527", "rc": 0, "start": "2024-10-21 07:15:12.125798" } 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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:57 Monday 21 October 2024 07:15:12 -0400 (0:00:00.452) 0:00:23.129 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can disable gro and tx-tcp-segmentation and enable gso.] ********* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:62 Monday 21 October 2024 07:15:12 -0400 (0:00:00.110) 0:00:23.240 ******** ok: [managed-node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:15:12 -0400 (0:00:00.063) 0:00:23.303 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:15:12 -0400 (0:00:00.092) 0:00:23.396 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:15:12 -0400 (0:00:00.062) 0:00:23.458 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:15:12 -0400 (0:00:00.086) 0:00:23.545 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:15:12 -0400 (0:00:00.084) 0:00:23.629 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:15:14 -0400 (0:00:01.603) 0:00:25.233 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:15:15 -0400 (0:00:01.455) 0:00:26.689 ******** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:15:15 -0400 (0:00:00.084) 0:00:26.773 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:15:15 -0400 (0:00:00.077) 0:00:26.851 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:15:16 -0400 (0:00:00.078) 0:00:26.930 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:15:16 -0400 (0:00:00.079) 0:00:27.009 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:15:16 -0400 (0:00:00.159) 0:00:27.169 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:15:16 -0400 (0:00:00.052) 0:00:27.221 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:15:16 -0400 (0:00:00.060) 0:00:27.281 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:15:16 -0400 (0:00:00.123) 0:00:27.405 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:15:16 -0400 (0:00:00.071) 0:00:27.477 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:15:16 -0400 (0:00:00.059) 0:00:27.537 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:15:16 -0400 (0:00:00.073) 0:00:27.611 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:15:16 -0400 (0:00:00.052) 0:00:27.663 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:15:16 -0400 (0:00:00.050) 0:00:27.713 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:15:17 -0400 (0:00:00.589) 0:00:28.302 ******** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-27138e1rn172a/tmpc0o2y3u9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:15:17 -0400 (0:00:00.429) 0:00:28.732 ******** changed: [managed-node1] => { "_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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:15:18 -0400 (0:00:00.549) 0:00:29.282 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:15:18 -0400 (0:00:00.053) 0:00:29.335 ******** ok: [managed-node1] => { "__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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:15:18 -0400 (0:00:00.054) 0:00:29.390 ******** ok: [managed-node1] => { "__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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:15:18 -0400 (0:00:00.065) 0:00:29.455 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:15:18 -0400 (0:00:00.054) 0:00:29.510 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:82 Monday 21 October 2024 07:15:19 -0400 (0:00:00.446) 0:00:29.956 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.002713", "end": "2024-10-21 07:15:19.441420", "rc": 0, "start": "2024-10-21 07:15:19.438707" } 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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:86 Monday 21 October 2024 07:15:19 -0400 (0:00:00.431) 0:00:30.388 ******** ok: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:89 Monday 21 October 2024 07:15:19 -0400 (0:00:00.056) 0:00:30.444 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can enable tx_tcp_segmentation (using underscores).] ************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:102 Monday 21 October 2024 07:15:19 -0400 (0:00:00.066) 0:00:30.511 ******** ok: [managed-node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:15:19 -0400 (0:00:00.056) 0:00:30.567 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:15:19 -0400 (0:00:00.077) 0:00:30.645 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:15:19 -0400 (0:00:00.060) 0:00:30.705 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:15:19 -0400 (0:00:00.055) 0:00:30.760 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:15:19 -0400 (0:00:00.053) 0:00:30.814 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:15:21 -0400 (0:00:01.579) 0:00:32.394 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:15:22 -0400 (0:00:01.479) 0:00:33.873 ******** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:15:23 -0400 (0:00:00.057) 0:00:33.931 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:15:23 -0400 (0:00:00.091) 0:00:34.022 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:15:23 -0400 (0:00:00.063) 0:00:34.085 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:15:23 -0400 (0:00:00.086) 0:00:34.172 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:15:23 -0400 (0:00:00.100) 0:00:34.273 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:15:23 -0400 (0:00:00.083) 0:00:34.356 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:15:23 -0400 (0:00:00.101) 0:00:34.457 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:15:23 -0400 (0:00:00.144) 0:00:34.602 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:15:23 -0400 (0:00:00.072) 0:00:34.674 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:15:23 -0400 (0:00:00.066) 0:00:34.741 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:15:23 -0400 (0:00:00.064) 0:00:34.805 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:15:23 -0400 (0:00:00.051) 0:00:34.857 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:15:24 -0400 (0:00:00.054) 0:00:34.911 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:15:24 -0400 (0:00:00.577) 0:00:35.489 ******** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-27138e1rn172a/tmpyacysvfr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:15:24 -0400 (0:00:00.389) 0:00:35.879 ******** changed: [managed-node1] => { "_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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:15:25 -0400 (0:00:00.562) 0:00:36.441 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:15:25 -0400 (0:00:00.051) 0:00:36.492 ******** ok: [managed-node1] => { "__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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:15:25 -0400 (0:00:00.052) 0:00:36.545 ******** ok: [managed-node1] => { "__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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:15:25 -0400 (0:00:00.172) 0:00:36.718 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:15:25 -0400 (0:00:00.063) 0:00:36.782 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:120 Monday 21 October 2024 07:15:26 -0400 (0:00:00.396) 0:00:37.178 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.002741", "end": "2024-10-21 07:15:26.622701", "rc": 0, "start": "2024-10-21 07:15:26.619960" } 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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:124 Monday 21 October 2024 07:15:26 -0400 (0:00:00.389) 0:00:37.568 ******** ok: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:127 Monday 21 October 2024 07:15:26 -0400 (0:00:00.054) 0:00:37.622 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [TEST: Change feature with both underscores and dashes.] ****************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:136 Monday 21 October 2024 07:15:26 -0400 (0:00:00.059) 0:00:37.682 ******** ok: [managed-node1] => {} MSG: ################################################## TASK [Configure ethtool features setting] ************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:140 Monday 21 October 2024 07:15:26 -0400 (0:00:00.067) 0:00:37.749 ******** fatal: [managed-node1]: 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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:157 Monday 21 October 2024 07:15:27 -0400 (0:00:00.471) 0:00:38.220 ******** ok: [managed-node1] => { "__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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:160 Monday 21 October 2024 07:15:27 -0400 (0:00:00.058) 0:00:38.279 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check failure] *********************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:170 Monday 21 October 2024 07:15:27 -0400 (0:00:00.054) 0:00:38.334 ******** ok: [managed-node1] => { "__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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:173 Monday 21 October 2024 07:15:27 -0400 (0:00:00.070) 0:00:38.404 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can reset features to their original value.] ********************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:177 Monday 21 October 2024 07:15:27 -0400 (0:00:00.088) 0:00:38.493 ******** ok: [managed-node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:15:27 -0400 (0:00:00.080) 0:00:38.574 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:15:27 -0400 (0:00:00.126) 0:00:38.700 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:15:27 -0400 (0:00:00.147) 0:00:38.848 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:15:28 -0400 (0:00:00.063) 0:00:38.911 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:15:28 -0400 (0:00:00.066) 0:00:38.977 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:15:29 -0400 (0:00:01.520) 0:00:40.498 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:15:31 -0400 (0:00:01.499) 0:00:41.997 ******** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:15:31 -0400 (0:00:00.059) 0:00:42.057 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:15:31 -0400 (0:00:00.055) 0:00:42.113 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:15:31 -0400 (0:00:00.067) 0:00:42.181 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:15:31 -0400 (0:00:00.052) 0:00:42.234 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:15:31 -0400 (0:00:00.061) 0:00:42.295 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:15:31 -0400 (0:00:00.054) 0:00:42.350 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:15:31 -0400 (0:00:00.061) 0:00:42.412 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:15:31 -0400 (0:00:00.087) 0:00:42.499 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:15:31 -0400 (0:00:00.055) 0:00:42.554 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:15:31 -0400 (0:00:00.090) 0:00:42.644 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:15:31 -0400 (0:00:00.061) 0:00:42.705 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:15:31 -0400 (0:00:00.070) 0:00:42.776 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:15:31 -0400 (0:00:00.080) 0:00:42.857 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:15:32 -0400 (0:00:00.562) 0:00:43.419 ******** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-27138e1rn172a/tmpzdhfgta_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:15:32 -0400 (0:00:00.442) 0:00:43.861 ******** changed: [managed-node1] => { "_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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:15:33 -0400 (0:00:00.615) 0:00:44.477 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:15:33 -0400 (0:00:00.059) 0:00:44.536 ******** ok: [managed-node1] => { "__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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:15:33 -0400 (0:00:00.062) 0:00:44.599 ******** ok: [managed-node1] => { "__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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:15:33 -0400 (0:00:00.055) 0:00:44.655 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:15:33 -0400 (0:00:00.054) 0:00:44.709 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:191 Monday 21 October 2024 07:15:34 -0400 (0:00:00.422) 0:00:45.132 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.002735", "end": "2024-10-21 07:15:34.673137", "rc": 0, "start": "2024-10-21 07:15:34.670402" } 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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:196 Monday 21 October 2024 07:15:34 -0400 (0:00:00.503) 0:00:45.635 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:15:34 -0400 (0:00:00.079) 0:00:45.715 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:15:34 -0400 (0:00:00.128) 0:00:45.843 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:15:35 -0400 (0:00:00.263) 0:00:46.107 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:15:35 -0400 (0:00:00.145) 0:00:46.252 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:15:35 -0400 (0:00:00.121) 0:00:46.374 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:15:37 -0400 (0:00:01.657) 0:00:48.032 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:15:38 -0400 (0:00:01.476) 0:00:49.508 ******** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:15:38 -0400 (0:00:00.089) 0:00:49.598 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:15:38 -0400 (0:00:00.068) 0:00:49.666 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:15:38 -0400 (0:00:00.057) 0:00:49.723 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:15:38 -0400 (0:00:00.065) 0:00:49.789 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:15:38 -0400 (0:00:00.063) 0:00:49.853 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:15:39 -0400 (0:00:00.052) 0:00:49.906 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:15:39 -0400 (0:00:00.065) 0:00:49.972 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:15:39 -0400 (0:00:00.088) 0:00:50.061 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:15:39 -0400 (0:00:00.055) 0:00:50.116 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:15:39 -0400 (0:00:00.091) 0:00:50.208 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:15:39 -0400 (0:00:00.072) 0:00:50.281 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:15:39 -0400 (0:00:00.058) 0:00:50.339 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:15:39 -0400 (0:00:00.053) 0:00:50.393 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:15:40 -0400 (0:00:00.520) 0:00:50.913 ******** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-27138e1rn172a/tmps35do7xu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:15:40 -0400 (0:00:00.384) 0:00:51.297 ******** changed: [managed-node1] => { "_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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:15:41 -0400 (0:00:00.642) 0:00:51.940 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:15:41 -0400 (0:00:00.051) 0:00:51.992 ******** ok: [managed-node1] => { "__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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:15:41 -0400 (0:00:00.059) 0:00:52.051 ******** ok: [managed-node1] => { "__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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:15:41 -0400 (0:00:00.062) 0:00:52.113 ******** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:15:41 -0400 (0:00:00.071) 0:00:52.185 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:215 Monday 21 October 2024 07:15:41 -0400 (0:00:00.398) 0:00:52.584 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Monday 21 October 2024 07:15:41 -0400 (0:00:00.132) 0:00:52.717 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Monday 21 October 2024 07:15:41 -0400 (0:00:00.079) 0:00:52.797 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Monday 21 October 2024 07:15:42 -0400 (0:00:00.092) 0:00:52.890 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:15:42 -0400 (0:00:00.269) 0:00:53.160 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:15:42 -0400 (0:00:00.120) 0:00:53.280 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002904", "end": "2024-10-21 07:15:42.743387", "rc": 0, "start": "2024-10-21 07:15:42.740483" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:15:42 -0400 (0:00:00.476) 0:00:53.757 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:15:42 -0400 (0:00:00.100) 0:00:53.857 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Monday 21 October 2024 07:15:43 -0400 (0:00:00.090) 0:00:53.948 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Monday 21 October 2024 07:15:45 -0400 (0:00:02.835) 0:00:56.784 ******** skipping: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Monday 21 October 2024 07:15:46 -0400 (0:00:00.107) 0:00:56.892 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Monday 21 October 2024 07:15:46 -0400 (0:00:00.089) 0:00:56.981 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.011801", "end": "2024-10-21 07:15:46.423951", "rc": 0, "start": "2024-10-21 07:15:46.412150" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Monday 21 October 2024 07:15:46 -0400 (0:00:00.384) 0:00:57.366 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Monday 21 October 2024 07:15:46 -0400 (0:00:00.052) 0:00:57.419 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Monday 21 October 2024 07:15:46 -0400 (0:00:00.068) 0:00:57.488 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Monday 21 October 2024 07:15:46 -0400 (0:00:00.053) 0:00:57.541 ******** skipping: [managed-node1] => { "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:219 Monday 21 October 2024 07:15:46 -0400 (0:00:00.051) 0:00:57.592 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 21 October 2024 07:15:46 -0400 (0:00:00.116) 0:00:57.709 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007752", "end": "2024-10-21 07:15:47.123353", "rc": 0, "start": "2024-10-21 07:15:47.115601" } 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:5b:f2:01:7a:99 brd ff:ff:ff:ff:ff:ff inet 10.31.11.127/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2871sec preferred_lft 2871sec inet6 fe80::105b:f2ff:fe01:7a99/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.127 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.127 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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 21 October 2024 07:15:47 -0400 (0:00:00.352) 0:00:58.062 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.203288", "end": "2024-10-21 07:15:47.679164", "rc": 0, "start": "2024-10-21 07:15:47.475876" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2132 0 --:--:-- --:--:-- --:--:-- 2132 % 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 7657 0 --:--:-- --:--:-- --:--:-- 7657 PLAY RECAP ********************************************************************* managed-node1 : ok=111 changed=5 unreachable=0 failed=0 skipped=105 rescued=1 ignored=0 Monday 21 October 2024 07:15:47 -0400 (0:00:00.673) 0:00:58.735 ******** =============================================================================== Install iproute --------------------------------------------------------- 3.14s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.84s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 2.81s /tmp/collections-nHO/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.81s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-nHO/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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Create veth interface testnic1 ------------------------------------------ 1.50s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/collections-nHO/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-nHO/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-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.20s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Gathering Facts --------------------------------------------------------- 1.02s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethtool_features_initscripts.yml:5 fedora.linux_system_roles.network : Enable network service -------------- 0.87s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Gathering Facts --------------------------------------------------------- 0.74s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_features.yml:3 Verify DNS and network connectivity ------------------------------------- 0.67s /tmp/collections-nHO/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.64s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159