Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10817

Openshift 4.1 + FMP: Unexpected response (403 Forbidden), to the authorization request. Missing header:[Location]!

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • fuse-7.5-ER1
    • fuse-7.4-GA
    • Fuse on Openshift
    • None
    • Fuse 7.5 Sprint 52 - Bug fix

      1. Unzip and go to fabric8-maven-sample-zero-config
        mvn -s /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/src/test/resources/settings-public.xml -Dfabric8.imagePullPolicy=Always  -Dkubernetes.auth.basic.username=admin -Dkubernetes.auth.basic.password=admin -Dkubernetes.master=https://cluster:6443 -Dkubernetes.trust.certificates=true -Dkubernetes.auth.tryKubeConfig=false -Dkubernetes.auth.tryServiceAccount=false -Dfabric8.namespace=llowinge -Dfabric8.deploy.createExternalUrls=true -Dfabric8.generator.fromMode=docker -Dfabric8.generator.from=registry.access.redhat.com/fuse7/fuse-java-openshift:1.2-6 -e --batch-mode  clean install
        

        Note: use your settings.xml + your ocp 4.1 cluster

      See error

      [11/06/19 12:29:44] ~/R/x/x/t/t/m/fabric8-maven-sample-zero-config ❯❯❯ mvn -s /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/src/test/resources/settings-public.xml -Dfabric8.imagePullPolicy=Always  -Dkubernetes.auth.basic.username=admin -Dkubernetes.auth.basic.password=admin -Dkubernetes.master=https://cluster:6443 -Dkubernetes.trust.certificates=true -Dkubernetes.auth.tryKubeConfig=false -Dkubernetes.auth.tryServiceAccount=false -Dfabric8.namespace=llowinge -Dfabric8.deploy.createExternalUrls=true -Dfabric8.generator.fromMode=docker -Dfabric8.generator.from=registry.access.redhat.com/fuse7/fuse-java-openshift:1.2-6 -e --batch-mode  clean install
      [INFO] Error stacktraces are turned on.
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------< io.fabric8:fabric8-maven-sample-zero-config >-------------
      [INFO] Building fabric8-maven-sample-zero-config 3.1.0-SNAPSHOT
      [INFO] --------------------------------[ jar ]---------------------------------
      [INFO]
      [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ fabric8-maven-sample-zero-config ---
      [INFO] Deleting /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target
      [INFO]
      [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ fabric8-maven-sample-zero-config ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/src/main/resources
      [INFO]
      [INFO] --- fabric8-maven-plugin:7.4.0.fuse-740024:resource (default) @ fabric8-maven-sample-zero-config ---
      [INFO] F8: Running in OpenShift mode
      [INFO] F8: Using docker image name of namespace: llowinge
      [INFO] F8: Running generator spring-boot
      [INFO] F8: spring-boot: Using ImageStreamTag 'fuse-java-openshift:1.2-6' from namespace 'fuse7' as builder image
      [INFO] F8: fmp-controller: Adding a default Deployment
      [INFO] F8: fmp-service: Adding a default service 'fabric8-maven-sample-zero-config' with ports [8080]
      [INFO] F8: spring-boot-health-check: Adding readiness probe on port 8080, path='/health', scheme='HTTP', with initial delay 10 seconds
      [INFO] F8: spring-boot-health-check: Adding liveness probe on port 8080, path='/health', scheme='HTTP', with initial delay 180 seconds
      [INFO] F8: f8-service-discovery: Using first mentioned service port '8080'
      [INFO] F8: fmp-revision-history: Adding revision history limit to 2
      [INFO] F8: f8-icon: Adding icon for deployment
      [INFO] F8: f8-icon: Adding icon for service
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes/META-INF/fabric8/openshift/fabric8-maven-sample-zero-config-route.yml resource
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes/META-INF/fabric8/openshift/fabric8-maven-sample-zero-config-deploymentconfig.yml resource
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes/META-INF/fabric8/openshift/fabric8-maven-sample-zero-config-svc.yml resource
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes/META-INF/fabric8/kubernetes/fabric8-maven-sample-zero-config-deployment.yml resource
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes/META-INF/fabric8/kubernetes/fabric8-maven-sample-zero-config-svc.yml resource
      [INFO]
      [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ fabric8-maven-sample-zero-config ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 2 source files to /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes
      [INFO]
      [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ fabric8-maven-sample-zero-config ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/src/test/resources
      [INFO]
      [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ fabric8-maven-sample-zero-config ---
      [INFO] No sources to compile
      [INFO]
      [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ fabric8-maven-sample-zero-config ---
      [INFO] No tests to run.
      [INFO]
      [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ fabric8-maven-sample-zero-config ---
      [INFO] Building jar: /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/fabric8-maven-sample-zero-config-3.1.0-SNAPSHOT.jar
      [INFO]
      [INFO] --- spring-boot-maven-plugin:7.4.0.fuse-740024:repackage (default) @ fabric8-maven-sample-zero-config ---
      [INFO]
      [INFO] --- fabric8-maven-plugin:7.4.0.fuse-740024:build (default) @ fabric8-maven-sample-zero-config ---
      [INFO] F8: Using OpenShift build with strategy S2I
      [INFO] F8: Running generator spring-boot
      [INFO] F8: spring-boot: Using ImageStreamTag 'fuse-java-openshift:1.2-6' from namespace 'fuse7' as builder image
      [INFO] Copying files to /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/docker/fabric8-maven-sample-zero-config/latest/build/maven
      [INFO] Building tar: /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/docker/fabric8-maven-sample-zero-config/latest/tmp/docker-build.tar
      [INFO] F8: [fabric8-maven-sample-zero-config:latest] "spring-boot": Created docker source tar /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/docker/fabric8-maven-sample-zero-config/latest/tmp/docker-build.tar
      [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: 6.240 s
      [INFO] Finished at: 2019-06-11T12:29:51+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.jboss.redhat-fuse:fabric8-maven-plugin:7.4.0.fuse-740024:build (default) on project fabric8-maven-sample-zero-config: Failed to execute the build: Unable to build the image using the OpenShift build service: Unexpected response (403 Forbidden), to the authorization request. Missing header:[Location]! -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.redhat-fuse:fabric8-maven-plugin:7.4.0.fuse-740024:build (default) on project fabric8-maven-sample-zero-config: 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:259)
          at io.fabric8.maven.docker.BuildMojo.executeInternal (BuildMojo.java:44)
          at io.fabric8.maven.plugin.mojo.build.BuildMojo.executeInternal (BuildMojo.java:236)
          at io.fabric8.maven.docker.AbstractDockerMojo.execute (AbstractDockerMojo.java:222)
          at io.fabric8.maven.plugin.mojo.build.BuildMojo.execute (BuildMojo.java:207)
          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:132)
          at io.fabric8.maven.plugin.mojo.build.BuildMojo.buildAndTag (BuildMojo.java:256)
          at io.fabric8.maven.docker.BuildMojo.executeInternal (BuildMojo.java:44)
          at io.fabric8.maven.plugin.mojo.build.BuildMojo.executeInternal (BuildMojo.java:236)
          at io.fabric8.maven.docker.AbstractDockerMojo.execute (AbstractDockerMojo.java:222)
          at io.fabric8.maven.plugin.mojo.build.BuildMojo.execute (BuildMojo.java:207)
          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: Unexpected response (403 Forbidden), to the authorization request. Missing header:[Location]!
          at io.fabric8.openshift.client.internal.OpenShiftOAuthInterceptor.authorize (OpenShiftOAuthInterceptor.java:120)
          at io.fabric8.openshift.client.internal.OpenShiftOAuthInterceptor.intercept (OpenShiftOAuthInterceptor.java:75)
          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:379)
          at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse (OperationSupport.java:344)
          at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleGet (OperationSupport.java:313)
          at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleGet (OperationSupport.java:296)
          at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleGet (BaseOperation.java:780)
          at io.fabric8.kubernetes.client.dsl.base.BaseOperation.getMandatory (BaseOperation.java:196)
          at io.fabric8.kubernetes.client.dsl.base.BaseOperation.get (BaseOperation.java:163)
          at io.fabric8.maven.core.service.openshift.OpenshiftBuildService.updateOrCreateBuildConfig (OpenshiftBuildService.java:203)
          at io.fabric8.maven.core.service.openshift.OpenshiftBuildService.build (OpenshiftBuildService.java:116)
          at io.fabric8.maven.plugin.mojo.build.BuildMojo.buildAndTag (BuildMojo.java:256)
          at io.fabric8.maven.docker.BuildMojo.executeInternal (BuildMojo.java:44)
          at io.fabric8.maven.plugin.mojo.build.BuildMojo.executeInternal (BuildMojo.java:236)
          at io.fabric8.maven.docker.AbstractDockerMojo.execute (AbstractDockerMojo.java:222)
          at io.fabric8.maven.plugin.mojo.build.BuildMojo.execute (BuildMojo.java:207)
          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)
      

      But with token it works

      [11/06/19 13:28:19] ~/R/x/x/t/t/m/fabric8-maven-sample-zero-config ❯❯❯ mvn -s /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/src/test/resources/settings-public.xml -Dfabric8.imagePullPolicy=Always  -Dkubernetes.auth.basic.username=admin -Dkubernetes.auth.token=$(oc whoami -t) -Dkubernetes.master=https://cluster:6443 -Dkubernetes.trust.certificates=true -Dkubernetes.auth.tryKubeConfig=false -Dkubernetes.auth.tryServiceAccount=false -Dfabric8.namespace=testik -Dfabric8.deploy.createExternalUrls=true -Dfabric8.generator.fromMode=docker -Dfabric8.generator.from=registry.access.redhat.com/fuse7/fuse-java-openshift:1.2-6 -e --batch-mode  clean install
      [INFO] Error stacktraces are turned on.
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------< io.fabric8:fabric8-maven-sample-zero-config >-------------
      [INFO] Building fabric8-maven-sample-zero-config 3.1.0-SNAPSHOT
      [INFO] --------------------------------[ jar ]---------------------------------
      [INFO]
      [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ fabric8-maven-sample-zero-config ---
      [INFO] Deleting /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target
      [INFO]
      [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ fabric8-maven-sample-zero-config ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/src/main/resources
      [INFO]
      [INFO] --- fabric8-maven-plugin:7.4.0.fuse-740024:resource (default) @ fabric8-maven-sample-zero-config ---
      [INFO] F8: Running in OpenShift mode
      [INFO] F8: Using docker image name of namespace: testik
      [INFO] F8: Running generator spring-boot
      [INFO] F8: spring-boot: Using Docker image registry.access.redhat.com/fuse7/fuse-java-openshift:1.2-6 as base / builder
      [INFO] F8: fmp-controller: Adding a default Deployment
      [INFO] F8: fmp-service: Adding a default service 'fabric8-maven-sample-zero-config' with ports [8080]
      [INFO] F8: spring-boot-health-check: Adding readiness probe on port 8080, path='/health', scheme='HTTP', with initial delay 10 seconds
      [INFO] F8: spring-boot-health-check: Adding liveness probe on port 8080, path='/health', scheme='HTTP', with initial delay 180 seconds
      [INFO] F8: f8-service-discovery: Using first mentioned service port '8080'
      [INFO] F8: fmp-revision-history: Adding revision history limit to 2
      [INFO] F8: f8-icon: Adding icon for deployment
      [INFO] F8: f8-icon: Adding icon for service
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes/META-INF/fabric8/openshift/fabric8-maven-sample-zero-config-route.yml resource
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes/META-INF/fabric8/openshift/fabric8-maven-sample-zero-config-deploymentconfig.yml resource
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes/META-INF/fabric8/openshift/fabric8-maven-sample-zero-config-svc.yml resource
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes/META-INF/fabric8/kubernetes/fabric8-maven-sample-zero-config-deployment.yml resource
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes/META-INF/fabric8/kubernetes/fabric8-maven-sample-zero-config-svc.yml resource
      [INFO]
      [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ fabric8-maven-sample-zero-config ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 2 source files to /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes
      [INFO]
      [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ fabric8-maven-sample-zero-config ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/src/test/resources
      [INFO]
      [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ fabric8-maven-sample-zero-config ---
      [INFO] No sources to compile
      [INFO]
      [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ fabric8-maven-sample-zero-config ---
      [INFO] No tests to run.
      [INFO]
      [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ fabric8-maven-sample-zero-config ---
      [INFO] Building jar: /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/fabric8-maven-sample-zero-config-3.1.0-SNAPSHOT.jar
      [INFO]
      [INFO] --- spring-boot-maven-plugin:7.4.0.fuse-740024:repackage (default) @ fabric8-maven-sample-zero-config ---
      [INFO]
      [INFO] --- fabric8-maven-plugin:7.4.0.fuse-740024:build (default) @ fabric8-maven-sample-zero-config ---
      [INFO] F8: Using OpenShift build with strategy S2I
      [INFO] F8: Running generator spring-boot
      [INFO] F8: spring-boot: Using Docker image registry.access.redhat.com/fuse7/fuse-java-openshift:1.2-6 as base / builder
      [INFO] Copying files to /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/docker/fabric8-maven-sample-zero-config/latest/build/maven
      [INFO] Building tar: /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/docker/fabric8-maven-sample-zero-config/latest/tmp/docker-build.tar
      [INFO] F8: [fabric8-maven-sample-zero-config:latest] "spring-boot": Created docker source tar /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/docker/fabric8-maven-sample-zero-config/latest/tmp/docker-build.tar
      [INFO] F8: Updating BuildServiceConfig fabric8-maven-sample-zero-config-s2i for Source strategy
      [INFO] F8: Adding to ImageStream fabric8-maven-sample-zero-config
      [INFO] F8: Starting Build fabric8-maven-sample-zero-config-s2i
      [INFO] F8: Waiting for build fabric8-maven-sample-zero-config-s2i-1 to complete...
      [INFO] F8: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"container \"sti-build\" in pod \"fabric8-maven-sample-zero-config-s2i-1-build\" is waiting to start: PodInitializing","reason":"BadRequest","code":400}
      [INFO] F8: Build fabric8-maven-sample-zero-config-s2i-1 Complete
      [WARNING] Executor didn't terminate in time after shutdown in close(), killing it in: io.fabric8.kubernetes.client.dsl.internal.WatchHTTPManager@4f204c14
      [INFO] F8: Found tag on ImageStream fabric8-maven-sample-zero-config tag: sha256:672fc275d520539ad786f61b71fa28336b1404d0d9d88a6f27cdfe60bf2c563b
      [INFO] F8: ImageStream fabric8-maven-sample-zero-config written to /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/fabric8-maven-sample-zero-config-is.yml
      [INFO]
      [INFO] --- maven-install-plugin:2.4:install (default-install) @ fabric8-maven-sample-zero-config ---
      [INFO] Installing /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/fabric8-maven-sample-zero-config-3.1.0-SNAPSHOT.jar to /Users/llowinge/.m2/repository/io/fabric8/fabric8-maven-sample-zero-config/3.1.0-SNAPSHOT/fabric8-maven-sample-zero-config-3.1.0-SNAPSHOT.jar
      [INFO] Installing /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/pom.xml to /Users/llowinge/.m2/repository/io/fabric8/fabric8-maven-sample-zero-config/3.1.0-SNAPSHOT/fabric8-maven-sample-zero-config-3.1.0-SNAPSHOT.pom
      [INFO] Installing /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes/META-INF/fabric8/openshift.yml to /Users/llowinge/.m2/repository/io/fabric8/fabric8-maven-sample-zero-config/3.1.0-SNAPSHOT/fabric8-maven-sample-zero-config-3.1.0-SNAPSHOT-openshift.yml
      [INFO] Installing /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes/META-INF/fabric8/openshift.json to /Users/llowinge/.m2/repository/io/fabric8/fabric8-maven-sample-zero-config/3.1.0-SNAPSHOT/fabric8-maven-sample-zero-config-3.1.0-SNAPSHOT-openshift.json
      [INFO] Installing /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes/META-INF/fabric8/kubernetes.yml to /Users/llowinge/.m2/repository/io/fabric8/fabric8-maven-sample-zero-config/3.1.0-SNAPSHOT/fabric8-maven-sample-zero-config-3.1.0-SNAPSHOT-kubernetes.yml
      [INFO] Installing /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/classes/META-INF/fabric8/kubernetes.json to /Users/llowinge/.m2/repository/io/fabric8/fabric8-maven-sample-zero-config/3.1.0-SNAPSHOT/fabric8-maven-sample-zero-config-3.1.0-SNAPSHOT-kubernetes.json
      [INFO] Installing /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/mvn/fabric8-maven-sample-zero-config/target/fabric8-maven-sample-zero-config-is.yml to /Users/llowinge/.m2/repository/io/fabric8/fabric8-maven-sample-zero-config/3.1.0-SNAPSHOT/fabric8-maven-sample-zero-config-3.1.0-SNAPSHOT-is.yml
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 01:21 min
      [INFO] Finished at: 2019-06-11T13:29:42+02:00
      [INFO] ------------------------------------------------------------------------
      

              rnetuka@redhat.com Radovan Netuka
              llowinge@redhat.com Lukas Lowinger
              Lukas Lowinger Lukas Lowinger
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: