El 4/9/24 a las 8:38, Pierre Gruet escribió:
I tried to build the package with GRUB_CMDLINE_LINUX="nr_cpus=1" as you 
suggested, and I got an error I had not met before:

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.134 s 
<<< FAILURE! - in org.apache.sshd.common.forward.PortForwardingTest
[ERROR] 
testRemoteForwardingSecondTimeInSameSession(org.apache.sshd.common.forward.PortForwardingTest)
  Time elapsed: 0.131 s  <<< ERROR!
com.jcraft.jsch.JSchException: remote port forwarding failed for listen port 
36491
         at com.jcraft.jsch.Session._setPortForwardingR(Session.java:2195)
         at com.jcraft.jsch.Session.setPortForwardingR(Session.java:1952)
[...]

Am I correct in assuming this is also the one you encountered?

That's the one I found on single-CPU systems, yes, but now that I look at my
build logs in a more detailed way, I also get a different error
on machines with 2 CPUs:

java.lang.AssertionError: No SSH_MSG_DEBUG
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.assertTrue(Assert.java:42)
        at org.junit.Assert.assertNotNull(Assert.java:713)
        at 
org.apache.sshd.common.kex.extension.StrictKexTest.testConnectionClosedIfSupriousPacketInKex(StrictKexTest.java:163)
        at 
org.apache.sshd.common.kex.extension.StrictKexTest.connectionClosedIfSpuriousPacketFromServerInKex(StrictKexTest.java:134)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[...]

For reference, I'm putting all my failed build logs so far here:

https://people.debian.org/~sanvila/build-logs/libmina-sshd-java/

Thanks.

Reply via email to