From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1D6A946EC0 for ; Wed, 10 Sep 2025 21:50:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1898740659; Wed, 10 Sep 2025 21:50:54 +0200 (CEST) Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mails.dpdk.org (Postfix) with ESMTP id 5E44640659 for ; Wed, 10 Sep 2025 21:50:52 +0200 (CEST) Received: from loongson.cn (unknown [10.40.64.71]) by gateway (Coremail) with SMTP id _____8BxmdGY1sFol_IIAA--.19350S3; Thu, 11 Sep 2025 03:50:49 +0800 (CST) Received: from localhost.localdomain (unknown [10.40.64.71]) by front1 (Coremail) with SMTP id qMiowJCxXMGY1sFo3peMAA--.92S3; Thu, 11 Sep 2025 03:50:48 +0800 (CST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.15.2/8.15.2) with ESMTPS id 58AJEFYn3345525 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 11 Sep 2025 03:14:15 +0800 Received: (from root@localhost) by localhost.localdomain (8.15.2/8.15.2/Submit) id 58AJEFBS3345524; Thu, 11 Sep 2025 03:14:15 +0800 Date: Thu, 11 Sep 2025 03:14:15 +0800 From: qemudev@loongson.cn Message-Id: <202509101914.58AJEFBS3345524@localhost.localdomain> Content-Type: text/plain; charset="utf-8" Subject: |WARNING| pw156568 [PATCH v1 1/1] dts: update testsuite docs In-Reply-To: <20250910194259.1027220-2-paul.szczepanek@arm.com> References: <20250910194259.1027220-2-paul.szczepanek@arm.com> To: test-report@dpdk.org Cc: Paul Szczepanek , zhoumin@loongson.cn X-CM-TRANSID: qMiowJCxXMGY1sFo3peMAA--.92S3 X-CM-SenderInfo: pthp3vthy6z05rqj20fqof0/1tbiAgEBD2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daVFxhVjvjDU0xZFpf9x07UEiihUUUUU= X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: loongarch-compilation Test-Status: WARNING http://dpdk.org/patch/156568 _apply patch failure_ Submitter: Paul Szczepanek Date: Wed, 10 Sep 2025 20:42:59 +0100 DPDK git baseline: Repo:dpdk Branch: main CommitID: f41d2db45d8a23c3315929c190d098154732a1ce Apply patch set 156568 failed: Checking patch dts/tests/TestSuite_blocklist.py... error: while searching for: class TestBlocklist(TestSuite): """DPDK device blocklisting test suite.""" def verify_blocklisted_ports(self, ports_to_block: list[Port]) -> None: """Runs testpmd with the given ports blocklisted and verifies the ports.""" with TestPmd(allowed_ports=[], blocked_ports=ports_to_block) as testpmd: allowlisted_ports = {port.device_name for port in testpmd.show_port_info_all()} error: patch failed: dts/tests/TestSuite_blocklist.py:19 error: dts/tests/TestSuite_blocklist.py: patch does not apply Checking patch dts/tests/TestSuite_checksum_offload.py... Hunk #1 succeeded at 47 (offset -2 lines). error: while searching for: f"Packet was {'dropped' if should_receive else 'received'}", ) def send_packet_and_verify_checksum( self, packet: Packet, good_L4: bool, good_IP: bool, testpmd: TestPmd, id: int ) -> None: """Send packet and verify verbose output matches expected output. error: patch failed: dts/tests/TestSuite_checksum_offload.py:70 error: dts/tests/TestSuite_checksum_offload.py: patch does not apply Checking patch dts/tests/TestSuite_dual_vlan.py... error: while searching for: for pkt in recv: self.verify( self.pkt_payload_contains_layers(pkt, *expected_layers), f"Received packet ({pkt.summary()}) did not match the expected sequence of layers " f"{expected_layers} with options {options}.", ) def configure_testpmd(self, shell: TestPmd, options: TestCaseOptions, add: bool) -> None: """Configure VLAN functions in testpmd based on `options`. Args: error: patch failed: dts/tests/TestSuite_dual_vlan.py:148 error: dts/tests/TestSuite_dual_vlan.py: patch does not apply Checking patch dts/tests/TestSuite_dynamic_config.py... Hunk #1 succeeded at 46 (offset -5 lines). error: while searching for: f"Packet was {'dropped' if should_receive else 'received'}", ) def disable_promisc_setup(self, testpmd: TestPmd, port_id: int) -> TestPmd: """Sets up testpmd shell config for cases where promisc mode is disabled. Args: error: patch failed: dts/tests/TestSuite_dynamic_config.py:71 error: dts/tests/TestSuite_dynamic_config.py: patch does not apply Checking patch dts/tests/TestSuite_dynamic_queue_conf.py... Hunk #1 succeeded at 65 (offset -1 lines). error: while searching for: testpmd.start_port_queue(port_id, queue_id, is_rx_testing) testpmd.start() self.send_packets_with_different_addresses(self.number_of_packets_to_send) forwarding_stats = testpmd.stop() for queue_id in queues_to_config: self.verify( self.port_queue_in_stats(port_id, is_rx_testing, queue_id, forwarding_stats), f"Modified queue {queue_id} on port {port_id} failed to receive traffic after" "being started again.", ) return wrap @requires_nic_capability(NicCapability.PHYSICAL_FUNCTION) error: patch failed: dts/tests/TestSuite_dynamic_queue_conf.py:106 error: dts/tests/TestSuite_dynamic_queue_conf.py: patch does not apply Checking patch dts/tests/TestSuite_hello_world.py... error: while searching for: """EAL confidence test. Steps: Start testpmd session and check status. Verify: The testpmd session throws no errors. """ with TestPmd() as testpmd: testpmd.start() error: patch failed: dts/tests/TestSuite_hello_world.py:29 error: dts/tests/TestSuite_hello_world.py: patch does not apply Checking patch dts/tests/TestSuite_l2fwd.py... Hunk #1 succeeded at 40 (offset -4 lines). Checking patch dts/tests/TestSuite_mac_filter.py... Hunk #1 succeeded at 42 (offset -3 lines). error: while searching for: added to the PMD. Packets should either be received or not received depending on the properties applied to the PMD at any given time. Test: * Start TestPMD without promiscuous mode. * Send a packet with the port's default mac address. (Should receive) * Send a packet with fake mac address. (Should not receive) * Add fake mac address to the PMD's address pool. * Send a packet with the fake mac address to the PMD. (Should receive) * Remove the fake mac address from the PMD's address pool. * Send a packet with the fake mac address to the PMD. (Should not receive) """ with TestPmd() as testpmd: testpmd.set_promisc(0, enable=False) error: patch failed: dts/tests/TestSuite_mac_filter.py:96 error: dts/tests/TestSuite_mac_filter.py: patch does not apply Checking patch dts/tests/TestSuite_mtu.py... Hunk #1 succeeded at 39 (offset -3 lines). Hunk #2 succeeded at 55 (offset -3 lines). error: while searching for: else: self.verify(not found, "Received packet.") def assess_mtu_boundary(self, testpmd_shell: TestPmd, mtu: int) -> None: """Sets the new MTU and verifies packets at the set boundary. Ensure that packets smaller than or equal to a set MTU will be received and packets larger error: patch failed: dts/tests/TestSuite_mtu.py:86 error: dts/tests/TestSuite_mtu.py: patch does not apply Checking patch dts/tests/TestSuite_packet_capture.py... error: while searching for: """Test dumpcap on Rx and Tx interfaces. Steps: * Start up testpmd shell. * Start up dpdk-dumpcap with the default values. * Send packets. Verify: * The expected packets are the same as the Rx packets. * The Tx packets are the same as the packets received from Scapy. """ with TestPmd() as testpmd: testpmd.start() error: patch failed: dts/tests/TestSuite_packet_capture.py:154 error: dts/tests/TestSuite_packet_capture.py: patch does not apply Checking patch dts/tests/TestSuite_pmd_buffer_scatter.py... Hunk #1 succeeded at 62 (offset -3 lines). Hunk #2 succeeded at 96 (offset -3 lines). Hunk #3 succeeded at 121 (offset -3 lines). error: while searching for: @requires_nic_capability(NicCapability.SCATTERED_RX_ENABLED) @func_test def scatter_mbuf_2048(self) -> None: """Run the :meth:`pmd_scatter` test with `mb_size` set to 2048.""" self.pmd_scatter(mb_size=2048) @requires_nic_capability(NicCapability.RX_OFFLOAD_SCATTER) @func_test def scatter_mbuf_2048_with_offload(self) -> None: """Run the :meth:`pmd_scatter` test with `mb_size` set to 2048 and rx_scatter offload.""" self.pmd_scatter(mb_size=2048, enable_offload=True) def tear_down_suite(self) -> None: """Tear down the test suite. error: patch failed: dts/tests/TestSuite_pmd_buffer_scatter.py:135 error: dts/tests/TestSuite_pmd_buffer_scatter.py: patch does not apply Checking patch dts/tests/TestSuite_port_control.py... Hunk #1 succeeded at 23 (offset -5 lines). error: while searching for: """Start all ports and send a small number of packets. Steps: Start all ports Start forwarding in MAC mode Send 100 generic packets to the SUT Verify: Check that all the packets sent are sniffed on the TG receive port. """ with TestPmd(forward_mode=SimpleForwardingModes.mac) as testpmd: testpmd.start_all_ports() testpmd.start() self.send_packets_and_verify() @func_test def stop_ports(self) -> None: """Stop all ports, then start all ports, amd then send a small number of packets. Steps: Stop all ports Start all ports Start forwarding in MAC mode Send 100 generic packets to the SUT Verify: Check that stopping the testpmd ports brings down their links Check that all the packets sent are sniffed on the TG receive port. """ with TestPmd(forward_mode=SimpleForwardingModes.mac) as testpmd: testpmd.stop_all_ports() error: patch failed: dts/tests/TestSuite_port_control.py:61 error: dts/tests/TestSuite_port_control.py: patch does not apply Checking patch dts/tests/TestSuite_port_restart_config_persistency.py... error: while searching for: class TestPortRestartConfigPersistency(TestSuite): """Port config persistency test suite.""" def restart_port_and_verify(self, id: int, testpmd: TestPmd, changed_value: str) -> None: """Fetch port config, restart and verify persistency.""" testpmd.start_all_ports() testpmd.wait_link_status_up(port_id=id, timeout=10) error: patch failed: dts/tests/TestSuite_port_restart_config_persistency.py:25 error: dts/tests/TestSuite_port_restart_config_persistency.py: patch does not apply Checking patch dts/tests/TestSuite_port_stats.py... Hunk #1 succeeded at 55 (offset -1 lines). Hunk #2 succeeded at 63 (offset -1 lines). error: while searching for: testpmd command `show port info all`. Steps: Start testpmd in MAC forwarding mode and set verbose mode to 3 (Rx and Tx). Start packet forwarding and then clear all port statistics. Send a packet, then stop packet forwarding and collect the port stats. Verify: Parse verbose info from stopping packet forwarding and verify values in port stats. """ with TestPmd(forward_mode=SimpleForwardingModes.mac) as testpmd: testpmd.set_verbose(3) testpmd.start() testpmd.clear_port_stats_all() self.send_packet_and_capture(self.send_pkt) port_stats_all, forwarding_info = testpmd.show_port_stats_all() verbose_information = TestPmd.extract_verbose_output(forwarding_info) # Gather information from irrelevant packets sent/ received on the same port. rx_irr_bytes, rx_irr_pakts, tx_irr_bytes, tx_irr_pakts = self.extract_noise_information( verbose_information ) recv_relevant_packets = port_stats_all[self.recv_port].rx_packets - rx_irr_pakts error: patch failed: dts/tests/TestSuite_port_stats.py:131 error: dts/tests/TestSuite_port_stats.py: patch does not apply Checking patch dts/tests/TestSuite_promisc_support.py... Hunk #1 succeeded at 28 (offset -3 lines). Checking patch dts/tests/TestSuite_queue_start_stop.py... Hunk #1 succeeded at 36 (offset -6 lines). error: while searching for: """Rx queue start stop test. Steps: Launch testpmd, stop Rx queue 0 on port 0. Stop testpmd, start Rx queue 0 on port 0, start testpmd. Verify: Send a packet on port 0 after Rx queue is stopped, ensure it is not received. Send a packet on port 0 after Rx queue is started, ensure it is received. """ with TestPmd() as testpmd: testpmd.set_forward_mode(SimpleForwardingModes.mac) testpmd.stop_port_queue(0, 0, True) testpmd.start() self.send_packet_and_verify(should_receive=False) testpmd.stop() testpmd.start_port_queue(0, 0, True) testpmd.start() self.send_packet_and_verify(should_receive=True) @func_test def tx_queue_start_stop(self) -> None: """Tx queue start stop test. Steps: Launch testpmd, stop Tx queue 0 on port 0. Stop testpmd, start Tx queue 0 on port 0, start testpmd. Verify: Send a packet on port 0 after Tx queue is stopped, ensure it is not received. Send a packet on port 0 after Tx queue is started, ensure it is received. """ with TestPmd() as testpmd: testpmd.set_forward_mode(SimpleForwardingModes.mac) testpmd.stop_port_queue(1, 0, False) testpmd.start() self.send_packet_and_verify(should_receive=False) testpmd.stop() testpmd.start_port_queue(1, 0, False) testpmd.start() self.send_packet_and_verify(should_receive=True) @func_test def rx_queue_deferred_start(self) -> None: """Rx queue deferred start stop test. Steps: Stop all ports, enable deferred start mode on port 0 Rx queue 0, start all ports. Launch testpmd, send a packet. Stop testpmd, start port 0 Rx queue 0. Start testpmd, send a packet. Verify: Send a packet on port 0 after deferred start is set, ensure it is not received. Send a packet on port 0 after Rx queue 0 is started, ensure it is received. """ with TestPmd() as testpmd: testpmd.set_forward_mode(SimpleForwardingModes.mac) error: patch failed: dts/tests/TestSuite_queue_start_stop.py:63 error: dts/tests/TestSuite_queue_start_stop.py: patch does not apply Checking patch dts/tests/TestSuite_rte_flow.py... Hunk #1 succeeded at 45 (offset -4 lines). Hunk #2 succeeded at 95 (offset -4 lines). error: while searching for: f"Packet was {'dropped' if should_receive else 'received'}", ) def send_packet_and_verify_queue( self, packet: Packet, test_queue: int, testpmd: TestPmd ) -> None: """Send packet and verify queue stats show packet was received. error: patch failed: dts/tests/TestSuite_rte_flow.py:128 error: dts/tests/TestSuite_rte_flow.py: patch does not apply Checking patch dts/tests/TestSuite_smoke_tests.py... Hunk #1 succeeded at 56 (offset -3 lines). Hunk #2 succeeded at 77 (offset -3 lines). error: while searching for: Test that the devices configured in the test run configuration are found in testpmd. Test: List all devices found in testpmd and verify the configured devices are among them. """ with TestPmd() as testpmd: dev_list = [str(x) for x in testpmd.get_devices()] error: patch failed: dts/tests/TestSuite_smoke_tests.py:104 error: dts/tests/TestSuite_smoke_tests.py: patch does not apply Checking patch dts/tests/TestSuite_softnic.py... error: while searching for: """Softnic test. Steps: Start Testpmd with a softnic vdev using the provided config files. Testpmd forwarding is disabled, instead configure softnic to forward packets from port 0 to port 1 of the physical device. Send generated packets from the TG. Verify: The packets that are received are the same as the packets sent. """ with TestPmd( vdevs=[VirtualDevice(f"net_softnic0,firmware={self.cli_file},cpu_id=1,conn_port=8086")], error: patch failed: dts/tests/TestSuite_softnic.py:82 error: dts/tests/TestSuite_softnic.py: patch does not apply Checking patch dts/tests/TestSuite_uni_pkt.py... Hunk #1 succeeded at 40 (offset -1 lines). error: while searching for: return False return True def send_packet_and_verify_flags( self, expected_flag: RtePTypes, packet: Packet, testpmd: TestPmd ) -> None: """Sends a packet to the DUT and verifies the verbose ptype flags.""" self.send_packet_and_capture(packet=packet) verbose_output = testpmd.extract_verbose_output(testpmd.stop()) valid = self.check_for_matching_packet(output=verbose_output, flags=expected_flag) self.verify(valid, f"Packet type flag did not match the expected flag: {expected_flag}.") def setup_session( self, testpmd: TestPmd, expected_flags: list[RtePTypes], packet_list=list[Packet] ) -> None: """Sets the forwarding and verbose mode of each test case interactive shell session.""" testpmd.set_forward_mode(SimpleForwardingModes.rxonly) testpmd.set_verbose(level=1) for i in range(0, len(packet_list)): self.send_packet_and_verify_flags( expected_flag=expected_flags[i], packet=packet_list[i], testpmd=testpmd ) error: patch failed: dts/tests/TestSuite_uni_pkt.py:51 error: dts/tests/TestSuite_uni_pkt.py: patch does not apply Checking patch dts/tests/TestSuite_vlan.py... Hunk #1 succeeded at 38 (offset -6 lines). Hunk #2 succeeded at 77 (offset -6 lines). error: while searching for: "The received tag did not match the expected tag", ) def vlan_setup(self, testpmd: TestPmd, port_id: int, filtered_id: int) -> None: """Setup method for all test cases. Args: error: patch failed: dts/tests/TestSuite_vlan.py:110 error: dts/tests/TestSuite_vlan.py: patch does not apply