Add directive to clear subscription and minor fixes
Changes:
- Add clear existing subscription to prevent dump offload
- Add wait time after system dump is triggered
- Add logs for debugging purpose
Tested:
Ran successfully openpower/mpipl/test_mpipl_basic.robot
Change-Id: Ic6f85efd5320927c5bbdab97acf0f0eeee393517
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/openpower/mpipl/test_mpipl_basic.robot b/openpower/mpipl/test_mpipl_basic.robot
index 079f2ee..2aee9a6 100644
--- a/openpower/mpipl/test_mpipl_basic.robot
+++ b/openpower/mpipl/test_mpipl_basic.robot
@@ -56,6 +56,7 @@
[Documentation] Do the post test setup cleanup.
Test System Cleanup
+ Run Keyword And Ignore Error Clear All Subscriptions
Test Teardown Execution
@@ -86,13 +87,16 @@
Redfish Power On
# Trigger MPIPL
+ Log To Console Trigger System dump
${payload} = Create Dictionary
... DiagnosticDataType=OEM OEMDiagnosticDataType=System
Redfish.Post ${DUMP_URI}/Actions/LogService.CollectDiagnosticData body=&{payload}
... valid_status_codes=[${HTTP_ACCEPTED}]
+ Sleep 10s
+
Log To Console Wait for system to transition DiagnosticMode
- Wait Until Keyword Succeeds 2 min 5 sec Is Boot Progress Changed
+ Wait Until Keyword Succeeds 2 min 3 sec Is Boot Progress Changed
Log To Console Wait for system to transition path DiagnosticMode to Runtime.
Wait Until Keyword Succeeds 10 min 20 sec Is Boot Progress Runtime Matched