You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by Shahbaz Memon <m....@fz-juelich.de> on 2014/04/07 15:12:58 UTC

Gram or GSI-SSH working test case

Hi Devs,

Please can someone point me to a working GSI-SSH or Gram job execution test case?

Thanks,

Shahbaz


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


Re: Gram or GSI-SSH working test case

Posted by Marlon Pierce <ma...@iu.edu>.
Hi Shahbaz--

Did you find what you were looking for?

Marlon

On 4/7/14 9:38 AM, Lahiru Gunathilake wrote:
> You can use
> git/airavata/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CreateLaunchExperiment.java
> class to test gsissh support, in trunk we do not support gram.
>
> Unless you implement a monitoring mechanism and come to a conclusion about
> the state your outhandlers will not get executed.
>
>
>
>
> 2014-04-07 9:12 GMT-04:00 Shahbaz Memon <m....@fz-juelich.de>:
>
>>  Hi Devs,
>>
>>  Please can someone point me to a working GSI-SSH or Gram job execution
>> test case?
>>
>>  Thanks,
>>
>> Shahbaz
>>
>>
>>
>> ------------------------------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------------------------
>> Forschungszentrum Juelich GmbH
>> 52425 Juelich
>> Sitz der Gesellschaft: Juelich
>> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
>> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
>> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
>> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
>> Prof. Dr. Sebastian M. Schmidt
>>
>> ------------------------------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------------------------
>>
>>
>


Re: Gram or GSI-SSH working test case

Posted by Shahbaz Memon <m....@fz-juelich.de>.
Hi Marlon,

I want to run a GFac provider test case in which all the associated
entities (input/output handlers) of a provider are invoked. The good news
is I am able to run a simple provider test case (partially), wherein the
provider's input handlers are invoked, but not the output handlers. Thanks
to Raminder and Lahiru.

The test case Lahiru has mentioned is not entering the GSI-SSH's output
handlers because it is required to have job submitted through
EmbeddedGfacJobSubmitter instead of GfacImpl.

To test the minimal provider functionality it would be helpful to have a
unit test that is running through all the mandatory life cycle phases of a
provider (without requiring an external server instance).

Thanks for the replies.

Cheers,

Shahbaz



On Wed, Apr 9, 2014 at 7:11 PM, Lahiru Gunathilake <gl...@gmail.com>wrote:

> Hi Shabhaz,
>
> If you just want a unit test you can
> run GSISSHProviderTestWithMyProxyAuth.java in gfac-core/src/test/java.
>
> Before run it you need to configure it with right credentials. I am still
> working on getting gfac tests with maven.
>
> Regards
> Lahiru
>
>
> On Mon, Apr 7, 2014 at 9:38 AM, Lahiru Gunathilake <gl...@gmail.com>wrote:
>
>> You can use
>> git/airavata/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CreateLaunchExperiment.java
>> class to test gsissh support, in trunk we do not support gram.
>>
>> Unless you implement a monitoring mechanism and come to a conclusion
>> about the state your outhandlers will not get executed.
>>
>>
>>
>>
>> 2014-04-07 9:12 GMT-04:00 Shahbaz Memon <m....@fz-juelich.de>:
>>
>>  Hi Devs,
>>>
>>>  Please can someone point me to a working GSI-SSH or Gram job execution
>>> test case?
>>>
>>>  Thanks,
>>>
>>> Shahbaz
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------------------------
>>>
>>> ------------------------------------------------------------------------------------------------
>>> Forschungszentrum Juelich GmbH
>>> 52425 Juelich
>>> Sitz der Gesellschaft: Juelich
>>> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
>>> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
>>> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
>>> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
>>> Prof. Dr. Sebastian M. Schmidt
>>>
>>> ------------------------------------------------------------------------------------------------
>>>
>>> ------------------------------------------------------------------------------------------------
>>>
>>>
>>
>>
>> --
>> System Analyst Programmer
>> PTI Lab
>> Indiana University
>>
>
>
>
> --
> System Analyst Programmer
> PTI Lab
> Indiana University
>

Re: Gram or GSI-SSH working test case

Posted by Lahiru Gunathilake <gl...@gmail.com>.
Hi Shabhaz,

If you just want a unit test you can
run GSISSHProviderTestWithMyProxyAuth.java in gfac-core/src/test/java.

Before run it you need to configure it with right credentials. I am still
working on getting gfac tests with maven.

Regards
Lahiru


On Mon, Apr 7, 2014 at 9:38 AM, Lahiru Gunathilake <gl...@gmail.com>wrote:

> You can use
> git/airavata/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CreateLaunchExperiment.java
> class to test gsissh support, in trunk we do not support gram.
>
> Unless you implement a monitoring mechanism and come to a conclusion about
> the state your outhandlers will not get executed.
>
>
>
>
> 2014-04-07 9:12 GMT-04:00 Shahbaz Memon <m....@fz-juelich.de>:
>
>  Hi Devs,
>>
>>  Please can someone point me to a working GSI-SSH or Gram job execution
>> test case?
>>
>>  Thanks,
>>
>> Shahbaz
>>
>>
>>
>> ------------------------------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------------------------
>> Forschungszentrum Juelich GmbH
>> 52425 Juelich
>> Sitz der Gesellschaft: Juelich
>> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
>> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
>> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
>> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
>> Prof. Dr. Sebastian M. Schmidt
>>
>> ------------------------------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------------------------
>>
>>
>
>
> --
> System Analyst Programmer
> PTI Lab
> Indiana University
>



-- 
System Analyst Programmer
PTI Lab
Indiana University

Re: Gram or GSI-SSH working test case

Posted by Lahiru Gunathilake <gl...@gmail.com>.
You can use
git/airavata/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CreateLaunchExperiment.java
class to test gsissh support, in trunk we do not support gram.

Unless you implement a monitoring mechanism and come to a conclusion about
the state your outhandlers will not get executed.




2014-04-07 9:12 GMT-04:00 Shahbaz Memon <m....@fz-juelich.de>:

>  Hi Devs,
>
>  Please can someone point me to a working GSI-SSH or Gram job execution
> test case?
>
>  Thanks,
>
> Shahbaz
>
>
>
> ------------------------------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
>
> ------------------------------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------------------------
>
>


-- 
System Analyst Programmer
PTI Lab
Indiana University