Hi Shahbaz, So you are getting this error when you have your unicore libraries in your repo ? Can you please try building removing unicore jars and see whether this works.
I doubt about you using /~ to represent your home directory, can you again try with full qualified paths. Lahiru On Fri, Feb 8, 2013 at 1:09 PM, Shahbaz Memon <[email protected]> wrote: > Hi Lahiru, > > > Can you send us the error ? I got some errors when I run with my IDE but > > when I run in maven it works fine. > > After invoking "mvn test" on gfac-core, GramProviderTest complains > with the following trace. > > .... <log truncated> > [main] INFO utils.GramJobSubmissionListener - temp directory = > gsiftp:// > gridftp.ranger.tacc.teragrid.org:2811/~/xsede-text/t1/SimpleEcho_Fri_Feb_08_18_10_01_CET_2013_f45af2be-d7a7-4958-ab66-ecf25d3884aa > [main] INFO utils.GramJobSubmissionListener - Working directory = > gsiftp:// > gridftp.ranger.tacc.teragrid.org:2811/~/xsede-text/t1/SimpleEcho_Fri_Feb_08_18_10_01_CET_2013_f45af2be-d7a7-4958-ab66-ecf25d3884aa > [main] INFO utils.GramJobSubmissionListener - Input directory = > gsiftp:// > gridftp.ranger.tacc.teragrid.org:2811/~/xsede-text/t1/SimpleEcho_Fri_Feb_08_18_10_01_CET_2013_f45af2be-d7a7-4958-ab66-ecf25d3884aa/inputData > [main] INFO utils.GramJobSubmissionListener - Output directory = > gsiftp:// > gridftp.ranger.tacc.teragrid.org:2811/~/xsede-text/t1/SimpleEcho_Fri_Feb_08_18_10_01_CET_2013_f45af2be-d7a7-4958-ab66-ecf25d3884aa/outputData > [main] INFO external.GridFtp - Creating Directory = > gridftp.ranger.tacc.teragrid.org:2811 > =/~/xsede-text/t1/SimpleEcho_Fri_Feb_08_18_10_01_CET_2013_f45af2be-d7a7-4958-ab66-ecf25d3884aa > [main] WARN external.GridFtp - Cannot close GridFTP client connection > java.net.SocketException: Socket closed > at > java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:99) > at java.net.SocketOutputStream.write(SocketOutputStream.java:136) > at > java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) > at > java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) > at > org.globus.ftp.extended.GridFTPOutputStream.writeToken(GridFTPOutputStream.java:59) > at > org.globus.ftp.extended.GridFTPOutputStream.flush(GridFTPOutputStream.java:42) > at > org.globus.gsi.gssapi.net.GssOutputStream.flushData(GssOutputStream.java:115) > at > org.globus.gsi.gssapi.net.GssOutputStream.close(GssOutputStream.java:122) > at > org.globus.ftp.vanilla.FTPControlChannel.close(FTPControlChannel.java:267) > at org.globus.ftp.FTPClient.close(FTPClient.java:958) > at org.globus.ftp.FTPClient.close(FTPClient.java:930) > at > org.apache.airavata.gfac.external.GridFtp.makeDir(GridFtp.java:124) > at > org.apache.airavata.gfac.handler.GramDirectorySetupHandler.invoke(GramDirectorySetupHandler.java:81) > at > org.apache.airavata.gfac.GFacAPI.invokeInFlowHandlers(GFacAPI.java:131) > at org.apache.airavata.gfac.GFacAPI.schedule(GFacAPI.java:63) > at org.apache.airavata.gfac.GFacAPI.submitJob(GFacAPI.java:53) > at > org.apache.airavata.core.gfac.services.impl.GramProviderTest.testGramProvider(GramProviderTest.java:163) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) > at > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) > at > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) > at org.junit.runners.ParentRunner.run(ParentRunner.java:236) > at > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) > at > org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) > at > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74) > [main] INFO gfac-logginglistener - GFac event of type > ExecutionFailEvent received. > [main] ERROR gfac-logginglistener - Execution failed.ExecutionFailEvent > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 28.448 > sec <<< FAILURE! > > > Results : > > Tests in error: > > testGramProvider(org.apache.airavata.core.gfac.services.impl.GramProviderTest): > Error Executing a InFlow Handler > > I see no problems reaching ranger's home folder if I connect (from the > same host) with the command line interface provided by globus online. > > Thanks. > > Shahbaz > > On Fri, Feb 8, 2013 at 4:08 PM, Lahiru Gunathilake <[email protected]> > wrote: > > Hi Shabhaz, > > > > Please write to the mailing list. > > > > Can you send us the error ? I got some errors when I run with my IDE but > > when I run in maven it works fine. > > > > Regards > > Lahiru > > > > 2013/2/8 Shahbaz Memon <[email protected]> > >> > >> Hi, > >> > >> I am unable to run GramProvider test case because of cog's dependency > >> conflict with bouncycastle146. Please could you update cog-jglobus > >> patch to the bc146? > >> > >> Cheers, > >> > >> 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
