airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marlon Pierce <marpi...@iu.edu>
Subject Question about experiment->errors list in API
Date Mon, 18 Aug 2014 15:53:56 GMT
I'm sending garbage inputs as part of PGA-based job submission to 
Airavata in order to display more error information. I notice the array 
size (for Amber and NWChem use cases, at least) is [2], and the value of 
ErrorDetails->actualErrorMessage for both array elements is the same (" 
Data for the output parameter 'NWChem_Execution_Log' was not found", for 
example).

Why is the size of the returned errors list [2]? Why are the two array 
elements nearly identical? See below for a full var_dump.

Note the error message is expected (no output would have been generated).

Marlon

var_dump($experiment->errors):

array(2) { [0]=> 
object(Airavata\Model\Workspace\Experiment\ErrorDetails)#30 (9) { 
["errorID"]=> string(4) "8903" ["creationTime"]=> int(1408376455323) 
["actualErrorMessage"]=> string(66) "Data for the output parameter 
'NWChem_Execution_Log' was not found" ["userFriendlyMessage"]=> NULL 
["errorCategory"]=> int(0) ["transientOrPersistent"]=> bool(false) 
["correctiveAction"]=> int(1) ["actionableGroup"]=> int(2) 
["rootCauseErrorIdList"]=> NULL } [1]=> 
object(Airavata\Model\Workspace\Experiment\ErrorDetails)#31 (9) { 
["errorID"]=> string(4) "8904" ["creationTime"]=> int(1408376455323) 
["actualErrorMessage"]=> string(66) "Data for the output parameter 
'NWChem_Execution_Log' was not found" ["userFriendlyMessage"]=> NULL 
["errorCategory"]=> int(0) ["transientOrPersistent"]=> bool(false) 
["correctiveAction"]=> int(1) ["actionableGroup"]=> int(2) 
["rootCauseErrorIdList"]=> NULL } }


Mime
View raw message