I'm trying to run the integration tests against docker running with boot2docker and a private docker registry that is running "insecurely" at port 5000.
com.bmuschko.gradle.docker.AbstractDockerRemoteApiTaskIntegrationTest > Can create and execute custom remote API task with default extension values STANDARD_OUT
21:56:30.333 [Test worker] DEBUG org.gradle.tooling.GradleConnector - Connecting from tooling API consumer version 2.3
21:56:30.401 [Connection worker] DEBUG o.g.t.i.c.l.DefaultToolingImplementationLoader - Using tooling provider from Gradle distribution 'https://services.gradle.org/distributions/gradle-2.3-bin.zip'
21:56:30.402 [Connection worker] DEBUG o.g.t.i.c.l.DefaultToolingImplementationLoader - Using tooling provider classpath: [/Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/ant-1.9.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/ant-launcher-1.9.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/asm-all-5.0.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/commons-collections-3.2.1.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/commons-io-1.4.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/commons-lang-2.6.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/dom4j-1.6.1.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/gradle-base-services-2.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/gradle-base-services-groovy-2.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/gradle-cli-2.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/gradle-core-2.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/gradle-docs-2.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/gradle-launcher-2.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/gradle-messaging-2.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/gradle-model-core-2.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/gradle-model-groovy-2.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/gradle-native-2.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/gradle-open-api-2.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/gradle-resources-2.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/gradle-tooling-api-2.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/gradle-ui-2.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/gradle-wrapper-2.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/groovy-all-2.3.9.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/guava-jdk5-17.0.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/jansi-1.2.1.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/jarjar-1.3.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/javax.inject-1.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/jaxen-1.1.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/jcip-annotations-1.0.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/jcl-over-slf4j-1.7.7.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/jna-3.2.7.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/jul-to-slf4j-1.7.7.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/kryo-2.20.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/log4j-over-slf4j-1.7.7.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/logback-classic-1.0.13.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/logback-core-1.0.13.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/minlog-1.2.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/native-platform-0.10.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/native-platform-freebsd-amd64-0.10.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/native-platform-freebsd-i386-0.10.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/native-platform-linux-amd64-0.10.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/native-platform-linux-i386-0.10.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/native-platform-osx-amd64-0.10.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/native-platform-osx-i386-0.10.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/native-platform-windows-amd64-0.10.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/native-platform-windows-i386-0.10.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/objenesis-1.2.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/reflectasm-1.07-shaded.jar, /Users/dresnick/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/lib/slf4j-api-1.7.7.jar]
21:56:30.474 [Connection worker] DEBUG o.g.t.i.provider.DefaultConnection - Tooling API provider 2.3 created.
21:56:30.717 [Connection worker] DEBUG o.g.t.i.provider.ProviderConnection - Configuring logging to level: INFO
Tooling API is using target Gradle version: 2.3.
Connected to daemon DaemonInfo{pid=69610, address=[d001bb2d-ac2c-456c-8d65-aabdd1c50532 port:62967, addresses:[/0:0:0:0:0:0:0:1, /127.94.0.1, /127.0.0.1]], idle=true, context=DefaultDaemonContext[uid=10e89661-cc52-4ca4-892b-de1bd58bcda3,javaHome=/Library/Java/JavaVirtualMachines/jdk1.7.0_72.jdk/Contents/Home,daemonRegistryDir=/Users/dresnick/.gradle/daemon,pid=69610,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]}. Dispatching request Build{id=5a8a5abe-c448-43cb-84ac-cbfcec2a875a.1, currentDir=/Users/dresnick/proj/gdp2}.
Received result DaemonCommandResult[type=CommandFailure, value=org.gradle.launcher.exec.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Build file '/Users/dresnick/proj/gdp2/build/integTest/build.gradle' line: 13
A problem occurred evaluating root project 'integTest'.] from daemon DaemonInfo{pid=69610, address=[d001bb2d-ac2c-456c-8d65-aabdd1c50532 port:62967, addresses:[/0:0:0:0:0:0:0:1, /127.94.0.1, /127.0.0.1]], idle=true, context=DefaultDaemonContext[uid=10e89661-cc52-4ca4-892b-de1bd58bcda3,javaHome=/Library/Java/JavaVirtualMachines/jdk1.7.0_72.jdk/Contents/Home,daemonRegistryDir=/Users/dresnick/.gradle/daemon,pid=69610,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]}.
com.bmuschko.gradle.docker.AbstractDockerRemoteApiTaskIntegrationTest > Can create and execute custom remote API task with default extension values FAILED
Expected no exception to be thrown, but got 'org.gradle.tooling.BuildException'
at spock.lang.Specification.noExceptionThrown(Specification.java:118)
at com.bmuschko.gradle.docker.AbstractDockerRemoteApiTaskIntegrationTest.Can create and execute custom remote API task with default extension values(AbstractDockerRemoteApiTaskIntegrationTest.groovy:27)
Caused by:
org.gradle.tooling.BuildException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.3-bin.zip'.
at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:57)
at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:57)
at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at org.gradle.tooling.internal.consumer.BlockingResultHandler.getResult(BlockingResultHandler.java:46)
at org.gradle.tooling.internal.consumer.DefaultBuildLauncher.run(DefaultBuildLauncher.java:71)
at com.bmuschko.gradle.docker.ToolingApiIntegrationTest.runTasks(ToolingApiIntegrationTest.groovy:82)
at com.bmuschko.gradle.docker.AbstractDockerRemoteApiTaskIntegrationTest.Can create and execute custom remote API task with default extension values(AbstractDockerRemoteApiTaskIntegrationTest.groovy:24)
Caused by:
org.gradle.internal.exceptions.LocationAwareException: Build file '/Users/dresnick/proj/gdp2/build/integTest/build.gradle' line: 13
A problem occurred evaluating root project 'integTest'.
Caused by:
org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'integTest'.
Caused by:
org.gradle.api.internal.MissingMethodException: Could not find method https://192.168.59.103:2376() for arguments [/Users/dresnick/.boot2docker/certs/boot2docker-vm] on root project 'integTest'.
After a while it starts slowly going through dependencies (note the timestamps below):
21:58:34.859 [Test worker] INFO o.g.i.r.t.DefaultCacheAwareExternalResourceAccessor - Found locally available resource with matching checksum: [https://repo1.maven.org/maven2/com/fasterxml/oss-parent/4/oss-parent-4.pom, /Users/dresnick/.m2/repository/com/fasterxml/oss-parent/4/oss-parent-4.pom]
21:58:36.191 [Test worker] INFO o.g.i.r.t.DefaultCacheAwareExternalResourceAccessor - Found locally available resource with matching checksum: [https://repo1.maven.org/maven2/org/glassfish/jersey/connectors/jersey-apache-connector/2.11/jersey-apache-connector-2.11.pom, /Users/dresnick/.m2/repository/org/glassfish/jersey/connectors/jersey-apache-connector/2.11/jersey-apache-connector-2.11.pom]
21:58:37.490 [Test worker] INFO o.g.i.r.t.DefaultCacheAwareExternalResourceAccessor - Found locally available resource with matching checksum: [https://repo1.maven.org/maven2/org/glassfish/jersey/connectors/project/2.11/project-2.11.pom, /Users/dresnick/.m2/repository/org/glassfish/jersey/connectors/project/2.11/project-2.11.pom]