You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Raminderjeet Singh (JIRA)" <ji...@apache.org> on 2013/10/16 21:17:42 UTC

[jira] [Commented] (AIRAVATA-931) GSISSHProviderTest is not working

    [ https://issues.apache.org/jira/browse/AIRAVATA-931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797149#comment-13797149 ] 

Raminderjeet Singh commented on AIRAVATA-931:
---------------------------------------------

JobExecutionContext.getSecurityContext has a check to throw an exception if the security context of any type is not present. In case of GSISSHProvider security can be of 2 different type. I removed the check to move forward with testing. 

> GSISSHProviderTest is not working
> ---------------------------------
>
>                 Key: AIRAVATA-931
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-931
>             Project: Airavata
>          Issue Type: Bug
>          Components: GFac
>    Affects Versions: 0.10
>            Reporter: Raminderjeet Singh
>             Fix For: 0.10
>
>
> I updated the myproxy setting in the unit test but not able to make it to work. SSHSecurityContext.SSH_SECURITY_CONTEXT is set correctly but provider is not able to read it.
> /Users/raminder/Documents/work/projects/apache-airavata/code/trunk/modules/gfac-core/target/test-classes/gfac-config.xml
> /home/ogce/scratch//SimpleEcho_Wed_Oct_16_14_50_13_EDT_2013_37a9efe5-1f7e-44d3-82b4-97628870162e
> Attempting GSI authentication for ogce on trestles.sdsc.edu
> true
> [main] INFO  handler.AppDescriptorCheckHandler  - Invoking ApplicationDescriptorCheckHandler ...
> [main] INFO  handler.SCPDirectorySetupHandler  - Setup SSH job directorties
> [main] INFO  handler.SCPInputHandler  - Invoking SCPInputHandler
> [main] INFO  impl.GSISSHProvider  - Invoking GSISSH Provider Invoke ...
> [main] INFO  gfac-logginglistener  - GFac event of type StartExecutionEvent received.
> [main] INFO  gfac-logginglistener  - Execution has started ...
> [main] ERROR impl.GSISSHProvider  - Error submitting the job to host trestles.sdsc.edugsi not set in security context
> [main] ERROR provider.GFacProviderException  - Error submitting the job to host trestles.sdsc.edugsi not set in security context



--
This message was sent by Atlassian JIRA
(v6.1#6144)