You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by Marlon Pierce <ma...@iu.edu> on 2014/08/18 17:53:56 UTC

Question about experiment->errors list in API

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 } }


Re: Question about experiment->errors list in API

Posted by Chathuri Wimalasena <ka...@gmail.com>.
This is fixed now Marlon.


On Mon, Aug 18, 2014 at 11:53 AM, Marlon Pierce <ma...@iu.edu> wrote:

>  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 } }
>
>