brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjcorbett <>
Subject [GitHub] brooklyn-server issue #409: bump sshj to same jclouds version
Date Mon, 07 Nov 2016 16:43:51 GMT
Github user sjcorbett commented on the issue:
    I also have integration test failures on this branch:
      SshjToolIntegrationTest.testAsyncExecAbortsIfProcessFails:273 expected [false] but found
      SshjToolIntegrationTest.testAsyncExecTimesOut:234 exec took 301 seconds expected [true]
but found [false]
    In both cases the behaviour actually being tested works as expected but it fails to clean
up temporary files afterwards, blocking on this line of `SshjTool`:
    int execDeleteResult = asInt(acquire(new ShellAction(deleteTemporaryFilesCommand(), out,
err, pollTimeout)), -1)
    The tests block waiting for the channel to close:
    "main" #1 prio=5 os_prio=31 tid=0x00007fd9fc800000 nid=0x1703 waiting on condition [0x0000700000217000]
       java.lang.Thread.State: TIMED_WAITING (parking)
            at sun.misc.Unsafe.park(Native Method)
            - parking to wait for  <0x00000007b9ff5468> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
            at java.util.concurrent.locks.LockSupport.parkNanos(
            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(
            at net.schmizz.concurrent.Promise.tryRetrieve(
            at net.schmizz.concurrent.Promise.retrieve(
            at net.schmizz.concurrent.Event.await(
            at org.apache.brooklyn.util.core.internal.ssh.sshj.SshjTool$ShellAction.create(
            at org.apache.brooklyn.util.core.internal.ssh.sshj.SshjTool$ShellAction.create(
            at org.apache.brooklyn.util.core.internal.ssh.sshj.SshjTool.acquire(
            at org.apache.brooklyn.util.core.internal.ssh.sshj.SshjTool.acquire(
            at org.apache.brooklyn.util.core.internal.ssh.sshj.SshjTool$
            at org.apache.brooklyn.util.core.internal.ssh.sshj.SshjTool.execScriptAsyncAndPoll(
            at org.apache.brooklyn.util.core.internal.ssh.sshj.SshjTool.execScript(
            at org.apache.brooklyn.util.core.internal.ssh.sshj.SshjToolIntegrationTest.testAsyncExecTimesOut(
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    If you enable sshj's debug log you'll see lots of messages like:
    DEBUG net.schmizz.concurrent.Promise [main]: Awaiting <<chan#4 / close>>

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message