-
Bug
-
Resolution: Won't Do
-
Major
-
fuse-7.1
-
None
-
%
-
Error
[INFO] --- fabric8-maven-plugin:7.1.0.fuse-710019-redhat-00002:build (default) @ spring-boot-camel-xml --- [INFO] F8: Using OpenShift build with strategy S2I [INFO] F8: Running generator spring-boot [INFO] F8: spring-boot: Using ImageStreamTag 'fuse7-java-openshift:1.1' from namespace 'openshift' as builder image [INFO] Copying files to /Users/llowinge/Redhat/xpaas/fabric8-quickstarts/spring-boot-camel-xml/target/docker/spring-boot-camel-xml/1.0.0.fuse-710017-redhat-00002/build/maven [INFO] Building tar: /Users/llowinge/Redhat/xpaas/fabric8-quickstarts/spring-boot-camel-xml/target/docker/spring-boot-camel-xml/1.0.0.fuse-710017-redhat-00002/tmp/docker-build.tar [INFO] F8: [spring-boot-camel-xml:1.0.0.fuse-710017-redhat-00002] "spring-boot": Created docker source tar /Users/llowinge/Redhat/xpaas/fabric8-quickstarts/spring-boot-camel-xml/target/docker/spring-boot-camel-xml/1.0.0.fuse-710017-redhat-00002/tmp/docker-build.tar [INFO] F8: Using BuildServiceConfig spring-boot-camel-xml-s2i for Source strategy [INFO] F8: Adding to ImageStream spring-boot-camel-xml [INFO] F8: Starting Build spring-boot-camel-xml-s2i [ERROR] F8: Failed to execute the build [Unable to build the image using the OpenShift build service] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 05:08 min [INFO] Finished at: 2018-09-19T10:42:38+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jboss.redhat-fuse:fabric8-maven-plugin:7.1.0.fuse-710019-redhat-00002:build (default) on project spring-boot-camel-xml: Failed to execute the build: Unable to build the image using the OpenShift build service: Can't instantiate binary build, due to error reading/writing stream. Can be caused if the output stream was closed by the server. timeout: Broken pipe (Write failed) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
With debug
[ERROR] F8: Failed to execute the build [Unable to build the image using the OpenShift build service] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 05:12 min [INFO] Finished at: 2018-09-19T11:14:02+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jboss.redhat-fuse:fabric8-maven-plugin:7.1.0.fuse-710019-redhat-00002:build (default) on project spring-boot-camel-xml: Failed to execute the build: Unable to build the image using the OpenShift build service: Can't instantiate binary build, due to error reading/writing stream. Can be caused if the output stream was closed by the server. Broken pipe (Write failed) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.redhat-fuse:fabric8-maven-plugin:7.1.0.fuse-710019-redhat-00002:build (default) on project spring-boot-camel-xml: Failed to execute the build at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to execute the build at io.fabric8.maven.plugin.mojo.build.BuildMojo.buildAndTag (BuildMojo.java:252) at io.fabric8.maven.docker.BuildMojo.executeInternal (BuildMojo.java:44) at io.fabric8.maven.plugin.mojo.build.BuildMojo.executeInternal (BuildMojo.java:229) at io.fabric8.maven.docker.AbstractDockerMojo.execute (AbstractDockerMojo.java:222) at io.fabric8.maven.plugin.mojo.build.BuildMojo.execute (BuildMojo.java:200) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: io.fabric8.maven.core.service.Fabric8ServiceException: Unable to build the image using the OpenShift build service at io.fabric8.maven.core.service.openshift.OpenshiftBuildService.build (OpenshiftBuildService.java:114) at io.fabric8.maven.plugin.mojo.build.BuildMojo.buildAndTag (BuildMojo.java:249) at io.fabric8.maven.docker.BuildMojo.executeInternal (BuildMojo.java:44) at io.fabric8.maven.plugin.mojo.build.BuildMojo.executeInternal (BuildMojo.java:229) at io.fabric8.maven.docker.AbstractDockerMojo.execute (AbstractDockerMojo.java:222) at io.fabric8.maven.plugin.mojo.build.BuildMojo.execute (BuildMojo.java:200) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Can't instantiate binary build, due to error reading/writing stream. Can be caused if the output stream was closed by the server. at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable (KubernetesClientException.java:62) at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl$1.writeTo (BuildConfigOperationsImpl.java:260) at okhttp3.internal.http.CallServerInterceptor.intercept (CallServerInterceptor.java:72) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.connection.ConnectInterceptor.intercept (ConnectInterceptor.java:45) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept (CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept (BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept (RetryAndFollowUpInterceptor.java:125) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:121) at io.fabric8.openshift.client.internal.OpenShiftOAuthInterceptor.intercept (OpenShiftOAuthInterceptor.java:66) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain (RealCall.java:200) at okhttp3.RealCall.execute (RealCall.java:77) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse (OperationSupport.java:377) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse (OperationSupport.java:359) at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl.fromInputStream (BuildConfigOperationsImpl.java:274) at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl.fromFile (BuildConfigOperationsImpl.java:231) at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl.fromFile (BuildConfigOperationsImpl.java:68) at io.fabric8.maven.core.service.openshift.OpenshiftBuildService.startBuild (OpenshiftBuildService.java:324) at io.fabric8.maven.core.service.openshift.OpenshiftBuildService.build (OpenshiftBuildService.java:104) at io.fabric8.maven.plugin.mojo.build.BuildMojo.buildAndTag (BuildMojo.java:249) at io.fabric8.maven.docker.BuildMojo.executeInternal (BuildMojo.java:44) at io.fabric8.maven.plugin.mojo.build.BuildMojo.executeInternal (BuildMojo.java:229) at io.fabric8.maven.docker.AbstractDockerMojo.execute (AbstractDockerMojo.java:222) at io.fabric8.maven.plugin.mojo.build.BuildMojo.execute (BuildMojo.java:200) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: java.net.SocketException: Broken pipe (Write failed) at java.net.SocketOutputStream.socketWrite0 (Native Method) at java.net.SocketOutputStream.socketWrite (SocketOutputStream.java:111) at java.net.SocketOutputStream.write (SocketOutputStream.java:155) at sun.security.ssl.OutputRecord.writeBuffer (OutputRecord.java:431) at sun.security.ssl.OutputRecord.write (OutputRecord.java:417) at sun.security.ssl.SSLSocketImpl.writeRecordInternal (SSLSocketImpl.java:886) at sun.security.ssl.SSLSocketImpl.writeRecord (SSLSocketImpl.java:857) at sun.security.ssl.AppOutputStream.write (AppOutputStream.java:123) at okio.Okio$1.write (Okio.java:79) at okio.AsyncTimeout$1.write (AsyncTimeout.java:180) at okio.RealBufferedSink.emitCompleteSegments (RealBufferedSink.java:171) at okio.RealBufferedSink.write (RealBufferedSink.java:41) at okhttp3.internal.http1.Http1Codec$FixedLengthSink.write (Http1Codec.java:284) at okio.ForwardingSink.write (ForwardingSink.java:35) at okhttp3.internal.http.CallServerInterceptor$CountingSink.write (CallServerInterceptor.java:134) at okio.RealBufferedSink.emitCompleteSegments (RealBufferedSink.java:171) at okio.RealBufferedSink.writeAll (RealBufferedSink.java:99) at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl$1.writeTo (BuildConfigOperationsImpl.java:258) at okhttp3.internal.http.CallServerInterceptor.intercept (CallServerInterceptor.java:72) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.connection.ConnectInterceptor.intercept (ConnectInterceptor.java:45) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept (CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept (BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept (RetryAndFollowUpInterceptor.java:125) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:121) at io.fabric8.openshift.client.internal.OpenShiftOAuthInterceptor.intercept (OpenShiftOAuthInterceptor.java:66) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain (RealCall.java:200) at okhttp3.RealCall.execute (RealCall.java:77) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse (OperationSupport.java:377) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse (OperationSupport.java:359) at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl.fromInputStream (BuildConfigOperationsImpl.java:274) at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl.fromFile (BuildConfigOperationsImpl.java:231) at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl.fromFile (BuildConfigOperationsImpl.java:68) at io.fabric8.maven.core.service.openshift.OpenshiftBuildService.startBuild (OpenshiftBuildService.java:324) at io.fabric8.maven.core.service.openshift.OpenshiftBuildService.build (OpenshiftBuildService.java:104) at io.fabric8.maven.plugin.mojo.build.BuildMojo.buildAndTag (BuildMojo.java:249) at io.fabric8.maven.docker.BuildMojo.executeInternal (BuildMojo.java:44) at io.fabric8.maven.plugin.mojo.build.BuildMojo.executeInternal (BuildMojo.java:229) at io.fabric8.maven.docker.AbstractDockerMojo.execute (AbstractDockerMojo.java:222) at io.fabric8.maven.plugin.mojo.build.BuildMojo.execute (BuildMojo.java:200) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Note that S2I from template is working fine.
- relates to
-
ENTESB-8252 S2I build fail : java.net.SocketTimeoutException: Read timed out
- Closed
-
ENTESB-9420 karaf-camel-rest-sql: Build creation stuck on "Receiving source from STDIN as archive"
- Closed
-
ENTESB-8808 Have Fabric8-maven-plugin reporting errors
- Closed