Skip to content

Commit

Permalink
Dpdk: check for kernel errors after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgov committed Feb 4, 2025
1 parent 401be52 commit a58b410
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions microsoft/testsuites/dpdk/dpdkutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ def verify_dpdk_build(
assert_that(tx_pps).described_as(
f"TX-PPS ({tx_pps}) should have been greater than 2^20 (~1m) PPS."
).is_greater_than(2**20)

node.tools[Dmesg].check_kernel_errors(force_run=True)
return test_kit


Expand Down Expand Up @@ -618,7 +618,7 @@ def verify_dpdk_send_receive(
assert_that(snd_tx_pps).described_as(
"Throughput for SEND was below the correct order of magnitude"
).is_greater_than(2**20)

node.tools[Dmesg].check_kernel_errors(force_run=True)
return sender, receiver


Expand Down Expand Up @@ -1065,6 +1065,7 @@ def verify_dpdk_l3fwd_ntttcp_tcp(
"Verify netvsc was used over failsafe, check netvsc init was succesful "
"and the DPDK port IDs were correct."
).is_greater_than(1)
node.tools[Dmesg].check_kernel_errors(force_run=True)


def create_l3fwd_rules_files(
Expand Down

0 comments on commit a58b410

Please sign in to comment.