I've tried for a while to reproduce the issue, but I can't.
Are you building from the new tag, not the old one ?
And can you reproduce those problems easily ?
If so, could you raise the log level in src/test/resources/log4j.properties
to debug and send me the ScpTest output test files in the surefire reports ?

Guillaume

2013/7/27 Ashish <paliwalash...@gmail.com>

> Hi Guillaume,
>
> I am getting build failure. SCP Tests are failing. Using Java7, Mac and
> Maven 3.0. Am I missing something while building SSHD?
>
> Tests in error:
>   testScpNativeOnSingleFile(org.apache.sshd.ScpTest)
>   testScpNativeOnMultipleFiles(org.apache.sshd.ScpTest)
>   testScpNativeOnDirWithPattern(org.apache.sshd.ScpTest)
>   testScpNativeOnMixedDirAndFiles(org.apache.sshd.ScpTest)
>   testScpNativePreserveAttributes(org.apache.sshd.ScpTest)
>
> in the files, it shows
>
>
> -------------------------------------------------------------------------------
> Test set: org.apache.sshd.ScpTest
>
> -------------------------------------------------------------------------------
> Tests run: 9, Failures: 0, Errors: 5, Skipped: 1, Time elapsed: 3.311 sec
> <<< FAILURE!
> testScpNativeOnSingleFile(org.apache.sshd.ScpTest)  Time elapsed: 0.236 sec
>  <<< ERROR!
> org.apache.sshd.common.SshException: Already closed
> at
>
> org.apache.sshd.common.channel.ChannelOutputStream.write(ChannelOutputStream.java:71)
> at
>
> org.apache.sshd.common.channel.ChannelOutputStream.write(ChannelOutputStream.java:66)
> at org.apache.sshd.common.scp.ScpHelper.ack(ScpHelper.java:473)
> at org.apache.sshd.common.scp.ScpHelper.receiveFile(ScpHelper.java:241)
> at org.apache.sshd.common.scp.ScpHelper.receive(ScpHelper.java:117)
> at
>
> org.apache.sshd.client.scp.DefaultScpClient.download(DefaultScpClient.java:104)
> at
>
> org.apache.sshd.client.scp.DefaultScpClient.download(DefaultScpClient.java:52)
> at org.apache.sshd.ScpTest.testScpNativeOnSingleFile(ScpTest.java:159)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
> at
> org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
> at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
> at
>
> org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
> at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
> at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
> at
>
> org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
> at
>
> org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
> at
>
> org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
> at
> org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
> at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
> at
> org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
> at
>
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
> at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at
>
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
> at
>
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>
>
> On Fri, Jul 26, 2013 at 4:33 PM, Guillaume Nodet <gnodet.apa...@gmail.com
> >wrote:
>
> > I'm starting a second vote to release the 0.9.0 version of SSHD.
> >
> > Note that a few additional things have been added along with the legal
> > files fixes.
> >
> > Release notes are at:
> >
> >
> >
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310849&version=12323301
> > Staging repository is at:
> >    https://repository.apache.org/content/repositories/orgapachemina-022/
> > Distributions are available at:
> >
> >
> >
> https://repository.apache.org/content/repositories/orgapachemina-022/org/apache/sshd/apache-sshd/0.9.0/
> > Tag is available at
> >
> >
> >
> https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=tree;hb=7d10ee49efa70dbacc8be788a2724b4f56a81ff0
> >
> > This vote will be open for at least 72 hours.
> > Please review and vote.
> >
> > Cheers,
> > Guillaume
> >
> >
> > --
> > -----------------------
> > Guillaume Nodet
> > ------------------------
> > Red Hat, Open Source Integration
> >
> > Email: gno...@redhat.com
> > Web: http://fusesource.com
> > Blog: http://gnodet.blogspot.com/
> >
>
>
>
> --
> thanks
> ashish
>
> Blog: http://www.ashishpaliwal.com/blog
> My Photo Galleries: http://www.pbase.com/ashishpaliwal
>



-- 
-----------------------
Guillaume Nodet
------------------------
Red Hat, Open Source Integration

Email: gno...@redhat.com
Web: http://fusesource.com
Blog: http://gnodet.blogspot.com/

Reply via email to