This repository was archived by the owner on Nov 6, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Default build fails with UnknownHostException #2
Copy link
Copy link
Open
Description
Running io.fabric8.maven.profiles.ContainersInstallerMojoTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 31.394 sec <<< FAILURE!
testExecute(io.fabric8.maven.profiles.ContainersInstallerMojoTest) Time elapsed: 31.391 sec <<< ERROR!
org.apache.maven.plugin.MojoExecutionException: Error processing container root : Error cloning : http://gogs.vagrant.f8/gogsadmin/root.git: http://gogs.vagrant.f8/gogsadmin/root.git: cannot open git-upload-pack
at io.fabric8.maven.profiles.AbstractProfilesMojo.throwMojoException(AbstractProfilesMojo.java:123)
at io.fabric8.maven.profiles.ContainersInstallerMojo.manageContainer(ContainersInstallerMojo.java:161)
at io.fabric8.maven.profiles.ContainersInstallerMojo.execute(ContainersInstallerMojo.java:120)
at io.fabric8.maven.profiles.ContainersInstallerMojoTest.testExecute(ContainersInstallerMojoTest.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.io.IOException: Error cloning : http://gogs.vagrant.f8/gogsadmin/root.git: http://gogs.vagrant.f8/gogsadmin/root.git: cannot open git-upload-pack
at io.fabric8.profiles.containers.GitRemoteProcessor.throwException(GitRemoteProcessor.java:210)
at io.fabric8.profiles.containers.GitRemoteProcessor.process(GitRemoteProcessor.java:164)
at io.fabric8.maven.profiles.ContainersInstallerMojo.manageContainer(ContainersInstallerMojo.java:159)
... 27 more
Caused by: org.eclipse.jgit.api.errors.TransportException: http://gogs.vagrant.f8/gogsadmin/root.git: cannot open git-upload-pack
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:134)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:201)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:135)
at io.fabric8.profiles.containers.GitRemoteProcessor.process(GitRemoteProcessor.java:109)
... 28 more
Caused by: org.eclipse.jgit.errors.TransportException: http://gogs.vagrant.f8/gogsadmin/root.git: cannot open git-upload-pack
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:510)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:288)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1179)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
... 31 more
Caused by: java.net.UnknownHostException: gogs.vagrant.f8
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1148)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at org.eclipse.jgit.transport.http.JDKHttpConnection.getResponseCode(JDKHttpConnection.java:98)
at org.eclipse.jgit.util.HttpSupport.response(HttpSupport.java:190)
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:461)
... 36 more
Reactions are currently unavailable