There are 2 more errors. Am missing any configuration? The build hasn't
worked for me yet :(

Executing command: scp -d -t -- target/scp/remote/out.txt
2013-07-31 11:52:36,232 | INFO  | p/remote/out.txt | ScpCommand
          | org.apache.sshd.server.command.ScpCommand
  157 | Error in scp command
org.apache.sshd.common.SshException: Target directory
/Users/xxxxx/work/xxx/apache-sshd-0.9.0/sshd-core/target/scp/remote/out.txt
is not a directory
at org.apache.sshd.common.scp.ScpHelper.receive(ScpHelper.java:75)
at org.apache.sshd.server.command.ScpCommand.run(ScpCommand.java:140)
at java.lang.Thread.run(Thread.java:722)
2013-07-31 11:52:36,233 | INFO  | NioProcessor-346 | ChannelExec
           | org.apache.sshd.client.channel.AbstractClientChannel
   254 | Received SSH_MSG_CHANNEL_REQUEST on channel 128



xecuting command: scp -t target
2013-07-31 11:52:38,706 | INFO  | d: scp -t target | ScpCommand
          | org.apache.sshd.server.command.ScpCommand
  157 | Error in scp command
java.io.IOException: File is a directory:
/Users/xxxxx/work/xxxx/apache-sshd-0.9.0/sshd-core/target/scp
at org.apache.sshd.common.scp.ScpHelper.receiveFile(ScpHelper.java:209)
at org.apache.sshd.common.scp.ScpHelper.receive(ScpHelper.java:117)
at org.apache.sshd.server.command.ScpCommand.run(ScpCommand.java:140)
at java.lang.Thread.run(Thread.java:722)
2013-07-31 11:52:38,758 | INFO  | NioProcessor-427 | ChannelSession
          | org.apache.sshd.server.channel.ChannelSession
  445 | Executing command: scp -f target/scp



On Wed, Jul 31, 2013 at 12:05 PM, Ashish <[email protected]> wrote:

> Found the error. I tried running mvn clean install with sudo as well, but
> still fails. Anything I can do to fix this?
>
> java.io.IOException: Can not write to
> /Users/xxxxx/work/apache-sshd-0.9.0/sshd-core/target/scp/remote/out.txt
>  at org.apache.sshd.common.scp.ScpHelper.receiveFile(ScpHelper.java:206)
> at org.apache.sshd.common.scp.ScpHelper.receive(ScpHelper.java:117)
>  at org.apache.sshd.server.command.ScpCommand.run(ScpCommand.java:140)
>
>
> On Wed, Jul 31, 2013 at 11:41 AM, Ashish <[email protected]> wrote:
>
>> Downloaded it from the link provided (
>> https://repository.apache.org/content/repositories/orgapachemina-022/org/apache/sshd/apache-sshd/0.9.0/
>> )
>> Let me repeat the process again and revert back to you.
>>
>> thanks
>> ashish
>>
>>
>> On Wed, Jul 31, 2013 at 2:05 AM, Guillaume Nodet <[email protected]
>> > wrote:
>>
>>> 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 <[email protected]>
>>>
>>> > 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 <
>>> [email protected]
>>> > >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: [email protected]
>>> > > 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: [email protected]
>>> 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
>>
>
>
>
> --
> thanks
> ashish
>
> Blog: http://www.ashishpaliwal.com/blog
> My Photo Galleries: http://www.pbase.com/ashishpaliwal
>



-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

Reply via email to