mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew C (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SSHD-213) org.apache.sshd.ScpTest fails intermittently
Date Mon, 25 Feb 2013 17:54:13 GMT

     [ https://issues.apache.org/jira/browse/SSHD-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew C updated SSHD-213:
--------------------------

    Attachment: org.apache.sshd.ScpTest-output.txt

More detailed log/trace.  It seems that the client dumps the connection after it receives
a packet for an unknown channel.
                
> org.apache.sshd.ScpTest fails intermittently
> --------------------------------------------
>
>                 Key: SSHD-213
>                 URL: https://issues.apache.org/jira/browse/SSHD-213
>             Project: MINA SSHD
>          Issue Type: Bug
>            Reporter: Andrew C
>         Attachments: org.apache.sshd.ScpTest-output.txt
>
>
> Been seeing this on and off for a while; frustratingly I've not seen any pattern behind
it:
> -------------------------------------------------------------------------------
> Test set: org.apache.sshd.ScpTest
> -------------------------------------------------------------------------------
> Tests run: 3, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 1.251 sec <<<
FAILURE!
> testWithGanymede(org.apache.sshd.ScpTest)  Time elapsed: 0.231 sec  <<< ERROR!
> java.io.IOException: Error during SCP transfer.
>         at ch.ethz.ssh2.SCPClient.put(SCPClient.java:510)
>         at ch.ethz.ssh2.SCPClient.put(SCPClient.java:466)
>         at org.apache.sshd.ScpTest.testWithGanymede(ScpTest.java:187)
>         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.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:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
> Caused by: java.io.IOException: Could not open channel (The connection is being shutdown)
>         at ch.ethz.ssh2.channel.ChannelManager.waitUntilChannelOpen(ChannelManager.java:123)
>         at ch.ethz.ssh2.channel.ChannelManager.openSessionChannel(ChannelManager.java:568)
>         at ch.ethz.ssh2.Session.<init>(Session.java:39)
>         at ch.ethz.ssh2.Connection.openSession(Connection.java:965)
>         at ch.ethz.ssh2.SCPClient.put(SCPClient.java:504)
>         ... 28 more
> I've been adding logs, the relevant call is:
>         System.out.println("copy #2");
>         scp_client.put(toBytes(props, ""), "test2.properties", "target/scp/gan");

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message