Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 42A78105AE for ; Thu, 10 Apr 2014 09:15:08 +0000 (UTC) Received: (qmail 26132 invoked by uid 500); 10 Apr 2014 09:15:07 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 25987 invoked by uid 500); 10 Apr 2014 09:15:04 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 25974 invoked by uid 99); 10 Apr 2014 09:15:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2014 09:15:01 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [134.94.4.24] (HELO mailgw-k01.its.kfa-juelich.de) (134.94.4.24) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2014 09:14:54 +0000 Received: from localhost (localhost [127.0.0.1]) by mailgw-k01.its.kfa-juelich.de (Postfix) with ESMTP id C23E7E01D9 for ; Thu, 10 Apr 2014 11:14:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fz-juelich.de; h= content-type:content-type:from:from:subject:subject:message-id :date:date:references:in-reply-to:received:mime-version:received :received:received:received; s=main; t=1397121267; bh=cQ88U4TU8n gW9QnUOhN1l/AEz7/lOdNiElIhySbPSCg=; b=ezH8R5A2bV/hAH8HW+BehAwdX6 Bu5eTAIZKsadi5wSchpZ5YvaEJWh9PR9iPUEe8PF9VNAsneGcRtaRQGhmS+CWaXu ugv+MSdJR8cuYfxB4wS/65lzGuL3k/nzZ9Fz9w4Mz3dsTb+OEv+QkHz/8LaLXr+R OObR4Oz53uzPEdLp8= X-Virus-Scanned: amavisd-new at fz-juelich.de Received: from mailgw-k01.its.kfa-juelich.de ([127.0.0.1]) by localhost (mailgw-k01.its.kfa-juelich.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id af8wk-HGr3eY for ; Thu, 10 Apr 2014 11:14:27 +0200 (CEST) Received: from HUB2010-E01.ad.fz-juelich.de (hub2010-e01.its.kfa-juelich.de [134.94.4.42]) by mailgw-k01.its.kfa-juelich.de (Postfix) with ESMTPS for ; Thu, 10 Apr 2014 11:14:27 +0200 (CEST) Received: from mail-qa0-f46.google.com (209.85.216.46) by HUB2010-E01.ad.fz-juelich.de (134.94.4.42) with Microsoft SMTP Server (TLS) id 14.2.347.0; Thu, 10 Apr 2014 11:14:21 +0200 Received: by mail-qa0-f46.google.com with SMTP id i13so3553023qae.19 for ; Thu, 10 Apr 2014 02:14:19 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.224.87.132 with SMTP id w4mr19008443qal.89.1397121259761; Thu, 10 Apr 2014 02:14:19 -0700 (PDT) Received: by 10.140.89.233 with HTTP; Thu, 10 Apr 2014 02:14:19 -0700 (PDT) In-Reply-To: References: Date: Thu, 10 Apr 2014 11:14:19 +0200 Message-ID: Subject: Re: Gram or GSI-SSH working test case From: Shahbaz Memon To: Content-Type: multipart/alternative; boundary="001a1133dfb065758904f6aca44d" X-Originating-IP: [209.85.216.46] X-Virus-Checked: Checked by ClamAV on apache.org --001a1133dfb065758904f6aca44d Content-Type: text/plain; charset="ISO-8859-1" 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 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 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 : >> >> 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 > --001a1133dfb065758904f6aca44d Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Marlon,=A0

I want to run a GFac prov= ider 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 prov= ider test case (partially), wherein the provider's input handlers are i= nvoked, but not the output handlers. Thanks to Raminder and Lahiru.=A0

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).=A0

Thanks for the replies.

Cheers,

Shahbaz



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

<= div>If you just want a unit test you can run=A0GSISSHProviderTestWithMyProx= yAuth.java in gfac-core/src/test/java.

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

Regards
Lahiru


On Mo= n, Apr 7, 2014 at 9:38 AM, Lahiru Gunathilake <glahiru@gmail.com> wrote:
You can use git/airavata/ai= ravata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apach= e/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 co= nclusion about the state your outhandlers will not get executed.



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

Hi Devs,=A0

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
<= div>Indiana University



--
System Analy= st Programmer
PTI Lab
Indiana University

--001a1133dfb065758904f6aca44d--