Run the ComputeServiceLive tests against DigitalOcean and there were failures 
due to the new Bouncycastle dependency.

The following are the dependencies for the project:

```bash
--- maven-dependency-plugin:2.1:tree (default-cli) @ digitalocean ---
[INFO] org.apache.jclouds.labs:digitalocean:bundle:1.8.0-SNAPSHOT
[INFO] +- org.apache.jclouds:jclouds-compute:jar:1.8.0-SNAPSHOT:compile
[INFO] |  +- org.apache.jclouds:jclouds-scriptbuilder:jar:1.8.0-SNAPSHOT:compile
[INFO] |  \- org.apache.jclouds:jclouds-core:jar:1.8.0-SNAPSHOT:compile
[INFO] |     +- javax.ws.rs:jsr311-api:jar:1.1.1:compile
[INFO] |     +- 
com.google.inject.extensions:guice-assistedinject:jar:3.0:compile
[INFO] |     +- com.google.inject:guice:jar:3.0:compile
[INFO] |     |  \- aopalliance:aopalliance:jar:1.0:compile
[INFO] |     +- org.99soft.guice:rocoto:jar:6.2:compile
[INFO] |     +- javax.inject:javax.inject:jar:1:compile
[INFO] |     +- javax.annotation:jsr250-api:jar:1.0:compile
[INFO] |     +- com.google.code.gson:gson:jar:2.2.4:compile
[INFO] |     \- com.google.guava:guava:jar:16.0:compile
[INFO] +- org.apache.jclouds.driver:jclouds-sshj:jar:1.8.0-SNAPSHOT:test
[INFO] |  +- org.apache.jclouds.driver:jclouds-slf4j:jar:1.8.0-SNAPSHOT:test
[INFO] |  |  \- org.slf4j:slf4j-api:jar:1.7.2:test
[INFO] |  +- 
org.apache.jclouds.driver:jclouds-bouncycastle:jar:1.8.0-SNAPSHOT:test
[INFO] |  |  \- org.bouncycastle:bcprov-ext-jdk15on:jar:1.49:test
[INFO] |  \- net.schmizz:sshj:jar:0.8.1:test
[INFO] +- org.apache.jclouds:jclouds-core:test-jar:tests:1.8.0-SNAPSHOT:test
[INFO] +- org.apache.jclouds:jclouds-compute:test-jar:tests:1.8.0-SNAPSHOT:test
[INFO] +- com.squareup.okhttp:mockwebserver:jar:1.3.0:test
[INFO] |  \- com.squareup.okhttp:okhttp-protocols:jar:1.3.0:test
[INFO] +- org.testng:testng:jar:6.8:test
[INFO] |  +- org.beanshell:bsh:jar:2.0b4:test
[INFO] |  +- com.beust:jcommander:jar:1.27:test
[INFO] |  \- org.yaml:snakeyaml:jar:1.6:test
[INFO] +- org.easymock:easymockclassextension:jar:3.1:test
[INFO] |  \- org.easymock:easymock:jar:3.1:test
[INFO] |     +- cglib:cglib-nodep:jar:2.2.2:test
[INFO] |     \- org.objenesis:objenesis:jar:1.2:test
[INFO] +- xmlunit:xmlunit:jar:1.3:test
[INFO] +- org.clojure:clojure:jar:1.3.0:compile
[INFO] +- org.clojure:tools.logging:jar:0.2.3:compile
[INFO] \- org.clojure:core.incubator:jar:0.1.0:compile
```

As you can see the new Bouncycastle dependency is present. The tests, though, 
present the following failures:

```bash
java.lang.NoClassDefFoundError: org/bouncycastle/openssl/EncryptionException
        at 
org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:140)
        at 
org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:38)
        at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:191)
        at org.jclouds.sshj.SshjSshClient.connect(SshjSshClient.java:221)
        at 
org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.call(RunScriptOnNodeAsInitScriptUsingSsh.java:76)
        at 
org.jclouds.compute.internal.BaseComputeService.runScriptOnNode(BaseComputeService.java:615)
        at 
org.jclouds.compute.internal.BaseComputeServiceLiveTest.createAndRunAServiceInGroup(BaseComputeServiceLiveTest.java:717)
        at 
org.jclouds.compute.internal.BaseComputeServiceLiveTest.testCreateAndRunAService(BaseComputeServiceLiveTest.java:690)
...
Caused by: java.lang.ClassNotFoundException: 
org.bouncycastle.openssl.EncryptionException
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        ... 29 more
```

It seems that there is some dependency we should add too to the `jclouds-sshj` 
driver


---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/274#issuecomment-34048337

Reply via email to