@@ -1325,7 +1325,7 @@ def run_dpdk_symmetric_mp(
1325
1325
f"{ str (symmetric_mp_path )} -l 1 --proc-type auto "
1326
1326
f"{ symmetric_mp_args } --proc-id 0"
1327
1327
),
1328
- timeout = 630 ,
1328
+ timeout = 330 ,
1329
1329
signal = SIGINT ,
1330
1330
kill_timeout = 30 ,
1331
1331
)
@@ -1339,7 +1339,7 @@ def run_dpdk_symmetric_mp(
1339
1339
f"{ str (symmetric_mp_path )} -l 2 --proc-type secondary "
1340
1340
f"{ symmetric_mp_args } --proc-id 1"
1341
1341
),
1342
- timeout = 600 ,
1342
+ timeout = 300 ,
1343
1343
signal = SIGINT ,
1344
1344
kill_timeout = 35 ,
1345
1345
)
@@ -1351,35 +1351,34 @@ def run_dpdk_symmetric_mp(
1351
1351
enable = False , wait = False , reset_connections = False
1352
1352
)
1353
1353
1354
- # wait for the RTE_DEV_EVENT_REMOVE message
1355
- primary .wait_output (
1356
- "HN_DRIVER: netvsc_hotadd_callback(): "
1357
- "Device notification type=1" # RTE_DEV_EVENT_REMOVE
1358
- ) # relying on compiler defaults here, not great.
1354
+ # wait for the RTE_DEV_EVENT_REMOVE message
1355
+ primary .wait_output (
1356
+ "HN_DRIVER: netvsc_hotadd_callback(): "
1357
+ "Device notification type=1" # RTE_DEV_EVENT_REMOVE
1358
+ ) # relying on compiler defaults here, not great.
1359
1359
1360
- if trigger_rescind :
1361
1360
# turn SRIOV on
1362
1361
node .features [NetworkInterface ].switch_sriov (
1363
1362
enable = True , wait = False , reset_connections = False
1364
1363
)
1365
1364
1366
- # wait for the RTE_DEV_EVENT_ADD message
1367
- primary .wait_output (
1368
- (
1369
- "HN_DRIVER: netvsc_hotadd_callback(): "
1370
- "Device notification type=0" # RTE_DEV_EVENT_ADD
1371
- ),
1372
- delta_only = True ,
1373
- ) # relying on compiler defaults here, not great.
1374
- primary .wait_output (
1375
- (
1376
- "HN_DRIVER: netvsc_hotplug_retry(): Found matching MAC address, "
1377
- f"adding device { test_nics [0 ].pci_device_name } "
1378
- f"network name { test_nics [0 ].lower } "
1379
- f"args mac={ test_nics [0 ].mac_addr } ,mac={ test_nics [1 ].mac_addr } "
1380
- ),
1381
- delta_only = True ,
1382
- ) # relying on compiler defaults here, not great.
1365
+ # wait for the RTE_DEV_EVENT_ADD message
1366
+ primary .wait_output (
1367
+ (
1368
+ "HN_DRIVER: netvsc_hotadd_callback(): "
1369
+ "Device notification type=0" # RTE_DEV_EVENT_ADD
1370
+ ),
1371
+ delta_only = True ,
1372
+ ) # relying on compiler defaults here, not great.
1373
+ primary .wait_output (
1374
+ (
1375
+ "HN_DRIVER: netvsc_hotplug_retry(): Found matching MAC address, "
1376
+ f"adding device { test_nics [0 ].pci_device_name } "
1377
+ f"network name { test_nics [0 ].lower } "
1378
+ f"args mac={ test_nics [0 ].mac_addr } ,mac={ test_nics [1 ].mac_addr } "
1379
+ ),
1380
+ delta_only = True ,
1381
+ ) # relying on compiler defaults here, not great.
1383
1382
1384
1383
ping .ping_async (
1385
1384
target = test_nics [0 ].ip_addr ,
@@ -1392,8 +1391,8 @@ def run_dpdk_symmetric_mp(
1392
1391
count = 100 ,
1393
1392
ignore_error = True ,
1394
1393
)
1395
-
1396
- # # check the exit codes
1394
+ test_kit . dmesg . check_kernel_errors ( force_run = True )
1395
+ # check the exit codes
1397
1396
secondary_result = secondary .wait_result (
1398
1397
expected_exit_code = 0 ,
1399
1398
expected_exit_code_failure_message = (
0 commit comments