File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
microsoft/testsuites/dpdk Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -531,10 +531,10 @@ def verify_dpdk_build(
531531 f"TX-PPS:{ tx_pps } from { test_nic .name } /{ test_nic .lower } :"
532532 + f"{ test_nic .pci_slot } "
533533 )
534+ node .tools [Dmesg ].check_kernel_errors (force_run = True )
534535 assert_that (tx_pps ).described_as (
535536 f"TX-PPS ({ tx_pps } ) should have been greater than 2^20 (~1m) PPS."
536537 ).is_greater_than (2 ** 20 )
537-
538538 return test_kit
539539
540540
@@ -611,6 +611,8 @@ def verify_dpdk_send_receive(
611611 log .info (f"receiver rx-pps: { rcv_rx_pps } " )
612612 log .info (f"sender tx-pps: { snd_tx_pps } " )
613613
614+ sender .dmesg .check_kernel_errors (force_run = True )
615+ receiver .dmesg .check_kernel_errors (force_run = True )
614616 # differences in NIC type throughput can lead to different snd/rcv counts
615617 assert_that (rcv_rx_pps ).described_as (
616618 "Throughput for RECEIVE was below the correct order-of-magnitude"
@@ -1056,6 +1058,7 @@ def verify_dpdk_l3fwd_ntttcp_tcp(
10561058 # NOTE: only checking 0 and < 1 now. Once we have more data
10571059 # there should be more stringest checks for each NIC type.
10581060 throughput = ntttcp_results [receiver ].throughput_in_gbps
1061+ forwarder .tools [Dmesg ].check_kernel_errors (force_run = True )
10591062 assert_that (throughput ).described_as (
10601063 "l3fwd test found 0Gbps througput. "
10611064 "Either the test or DPDK forwarding is broken."
You can’t perform that action at this time.
0 commit comments