File tree 1 file changed +4
-1
lines changed
microsoft/testsuites/dpdk
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(
531
531
f"TX-PPS:{ tx_pps } from { test_nic .name } /{ test_nic .lower } :"
532
532
+ f"{ test_nic .pci_slot } "
533
533
)
534
+ node .tools [Dmesg ].check_kernel_errors (force_run = True )
534
535
assert_that (tx_pps ).described_as (
535
536
f"TX-PPS ({ tx_pps } ) should have been greater than 2^20 (~1m) PPS."
536
537
).is_greater_than (2 ** 20 )
537
-
538
538
return test_kit
539
539
540
540
@@ -611,6 +611,8 @@ def verify_dpdk_send_receive(
611
611
log .info (f"receiver rx-pps: { rcv_rx_pps } " )
612
612
log .info (f"sender tx-pps: { snd_tx_pps } " )
613
613
614
+ sender .dmesg .check_kernel_errors (force_run = True )
615
+ receiver .dmesg .check_kernel_errors (force_run = True )
614
616
# differences in NIC type throughput can lead to different snd/rcv counts
615
617
assert_that (rcv_rx_pps ).described_as (
616
618
"Throughput for RECEIVE was below the correct order-of-magnitude"
@@ -1056,6 +1058,7 @@ def verify_dpdk_l3fwd_ntttcp_tcp(
1056
1058
# NOTE: only checking 0 and < 1 now. Once we have more data
1057
1059
# there should be more stringest checks for each NIC type.
1058
1060
throughput = ntttcp_results [receiver ].throughput_in_gbps
1061
+ forwarder .tools [Dmesg ].check_kernel_errors (force_run = True )
1059
1062
assert_that (throughput ).described_as (
1060
1063
"l3fwd test found 0Gbps througput. "
1061
1064
"Either the test or DPDK forwarding is broken."
You can’t perform that action at this time.
0 commit comments