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

fabric8-maven-plugin - no RBAC policy matched

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: fuse-7.3
    • Fix Version/s: fuse-7.3
    • Component/s: FIS
    • Labels:
    • Environment:

      Openshift v3.11.43

    • Sprint:
      Fuse 7.3 Sprint 42 - Bug fix

      Description

      Try Fuse 7.3

      ~/R/x/x/t/s/t/r/a/s/fmp-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=10.8.245.140:8443 -Dkubernetes.trust.certificates=true -Dkubernetes.auth.tryKubeConfig=false -Dkubernetes.auth.tryServiceAccount=false -Dfabric8.namespace=llowinge -Dfabric8.deploy.createExternalUrls=true -Dfabric8.generator.fromMode=docker -e --batch-mode  clean install fabric8:resource fabric8:build fabric8:apply
      [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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-zero-config/src/main/resources
      [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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-zero-config/target/fabric8-maven-sample-zero-config-3.1.0-SNAPSHOT.jar
      [INFO] 
      [INFO] --- spring-boot-maven-plugin:7.3.0.fuse-730010:repackage (default) @ fabric8-maven-sample-zero-config ---
      [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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-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] 
      [INFO] --- fabric8-maven-plugin:7.3.0.fuse-730010:resource (default-cli) @ 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 Docker image fuse7/fuse-java-openshift:1.2 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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-zero-config/target/classes/META-INF/fabric8/kubernetes/fabric8-maven-sample-zero-config-svc.yml resource
      [INFO] 
      [INFO] --- fabric8-maven-plugin:7.3.0.fuse-730010:build (default-cli) @ 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 fuse7/fuse-java-openshift:1.2 as base / builder
      [INFO] Copying files to /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/src/test/resources/apps/spring-boot/fmp-zero-config/target/docker/fabric8-maven-sample-zero-config/latest/build/maven
      [INFO] Building tar: /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-zero-config/target/docker/fabric8-maven-sample-zero-config/latest/tmp/docker-build.tar
      [INFO] F8: Using 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-4 to complete...
      [INFO] F8: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"container \"sti-build\" in pod \"fabric8-maven-sample-zero-config-s2i-4-build\" is waiting to start: PodInitializing","reason":"BadRequest","code":400}
      [WARNING] Exec Failure: HTTP 403, Status: 403 - builds.build.openshift.io "fabric8-maven-sample-zero-config-s2i-4" is forbidden: User "system:anonymous" cannot get builds.build.openshift.io in the namespace "llowinge": no RBAC policy matched
      java.net.ProtocolException: Expected HTTP 101 response but was '403 Forbidden'
          at okhttp3.internal.ws.RealWebSocket.checkResponse (RealWebSocket.java:219)
          at okhttp3.internal.ws.RealWebSocket$2.onResponse (RealWebSocket.java:186)
          at okhttp3.RealCall$AsyncCall.execute (RealCall.java:153)
          at okhttp3.internal.NamedRunnable.run (NamedRunnable.java:32)
          at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
          at java.lang.Thread.run (Thread.java:748)
      [ERROR] F8: Failed to execute the build [Unable to build the image using the OpenShift build service]
      Exception in thread "OkHttp Dispatcher" java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$Sch[ed[l1e;d3F4umtIuNrFeOT[smk]@ 2[912m5-3-c- -r-e-j-e-c-t-e-d- -f-r-o-m- -j-a-v-a-.-u-t-i-l-.-c-o-n-c-u-r-r-e-n-t--.-S--c-h-e-d-u-l-e-d-T-h-r-e--a-d-P-o-o--l-E-x-e-c--u-t-o--r-@7
      1e49aa[Terminated, pool size = 0, active threads = 0, queued task[s= 10;,3 4cmoImNpFlOe[emd] t a[k1s; 3=1 m0B]UIL
      D FAILURE
      [k1emt(.djeafvaau:l5t4-6c)l
      i)[amt  oonk hptrtopj3e.citn t[r3n6amlf.awbsr.iRce8a-lmWaevbeSno-cskaemtp$l2e.-ozneRreo-configson[sme:( R[a1l;3W1embFaSiolcekde tt.oj aevxae:c1u8t8e) t
      he buil d: Unaabtl eo kthot tbpu3i.lRde atlhCea lilm$aAgsey nucsCianlgl .tehxee cOupteen(SRheiafltC abluli.ljda vsae:r1v5i3c)e:
       bui    ladts .obkuhitltdp.3o.pienntsehrinfatl..iNoa m"efdaRburninca8b-lmea.vruenn(N-asmaemdpRluen-nzaebrloe-.cjoanvfai:g3-2s)2
      i-4     "a ti sj afvoar.buitdidle.nc:o nUcsuerrr e"nsty.sTthem:anonymous" cannot get builds.build.openshift.io in the namespace "llowinge": no RBAC policy matched -> r[a1dmP[oHoellEpx e1c]u[omr
      .runWorkerT1h;r3ea1dmPoorogl.Eaxpeaccuhteo.rm.ajvaevna.:l1i1f4e9c)yc
      le.     Laitf ejcayvcal.euEtxielc.uctoinocnuErxrceenptt.iTohnr[amdP:o olExecu[o1r;$3W1omrFkaeirl.erdu nt(oT herxeeacduPtoeo lgEoxaelc u[o3r2.mjoarvga.:j62b4o)ss
      .r      eadth ajta-vfau.slea:nfga.bTrhirce8a-dm.arvuenn(-Tphlruegaidn.:j7a.v3a.:07.4f8u)se
      -730010:build (default-cli) 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: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: builds.build.openshift.io "fabric8-maven-sample-zero-config-s2i-4" is forbidden: User "system:anonymous" cannot get builds.build.openshift.io in the namespace "llowinge": no RBAC policy matched
          at io.fabric8.kubernetes.client.dsl.internal.WatchConnectionManager$2.onFailure (WatchConnectionManager.java:199)
          at okhttp3.internal.ws.RealWebSocket.failWebSocket (RealWebSocket.java:546)
          at okhttp3.internal.ws.RealWebSocket$2.onResponse (RealWebSocket.java:188)
          at okhttp3.RealCall$AsyncCall.execute (RealCall.java:153)
          at okhttp3.internal.NamedRunnable.run (NamedRunnable.java:32)
          at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
          at java.lang.Thread.run (Thread.java:748)
      [ERROR] 
      [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
      
      

      Change to Fuse 7.2 in parent-fis-sb

      -               <fuse.bom.version>7.3.0.fuse-730010</fuse.bom.version>
      -               <fabric8.version>3.0.11.fuse-730012</fabric8.version>
      +               <fuse.bom.version>7.2.0.fuse-720020-redhat-00001</fuse.bom.version>
      +               <fabric8.version>3.0.11.fuse-720027-redhat-00001</fabric8.version>
      

      Fuse 7.2

      ~/R/x/x/t/s/t/r/a/s/fmp-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=10.8.245.140:8443 -Dkubernetes.trust.certificates=true -Dkubernetes.auth.tryKubeConfig=false -Dkubernetes.auth.tryServiceAccount=false -Dfabric8.namespace=llowinge -Dfabric8.deploy.createExternalUrls=true -Dfabric8.generator.fromMode=docker -e --batch-mode  clean install fabric8:resource fabric8:build fabric8:apply
      [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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-zero-config/src/main/resources
      [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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-zero-config/target/fabric8-maven-sample-zero-config-3.1.0-SNAPSHOT.jar
      [INFO] 
      [INFO] --- spring-boot-maven-plugin:7.2.0.fuse-720020-redhat-00001:repackage (default) @ fabric8-maven-sample-zero-config ---
      [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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-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] 
      [INFO] --- fabric8-maven-plugin:7.2.0.fuse-720020-redhat-00001:resource (default-cli) @ 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 Docker image fuse7/fuse-java-openshift:1.2 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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-zero-config/target/classes/META-INF/fabric8/kubernetes/fabric8-maven-sample-zero-config-svc.yml resource
      [INFO] 
      [INFO] --- fabric8-maven-plugin:7.2.0.fuse-720020-redhat-00001:build (default-cli) @ 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 fuse7/fuse-java-openshift:1.2 as base / builder
      [INFO] Copying files to /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/src/test/resources/apps/spring-boot/fmp-zero-config/target/docker/fabric8-maven-sample-zero-config/latest/build/maven
      [INFO] Building tar: /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/src/test/resources/apps/spring-boot/fmp-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/src/test/resources/apps/spring-boot/fmp-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-3 to complete...
      [INFO] F8: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"container \"sti-build\" in pod \"fabric8-maven-sample-zero-config-s2i-3-build\" is waiting to start: PodInitializing","reason":"BadRequest","code":400}
      [INFO] Current reconnect backoff is 1000 milliseconds (T0)
      [INFO] Current reconnect backoff is 2000 milliseconds (T1)
      [INFO] Current reconnect backoff is 4000 milliseconds (T2)
      [INFO] Current reconnect backoff is 8000 milliseconds (T3)
      [INFO] Current reconnect backoff is 16000 milliseconds (T4)
      [INFO] Current reconnect backoff is 32000 milliseconds (T5)
      [INFO] Current reconnect backoff is 32000 milliseconds (T5)
      [INFO] Current reconnect backoff is 32000 milliseconds (T5)
      [INFO] Current reconnect backoff is 32000 milliseconds (T5)
      [INFO] F8: Build fabric8-maven-sample-zero-config-s2i-3 Complete
      [WARNING] Executor didn't terminate in time after shutdown in close(), killing it in: io.fabric8.kubernetes.client.dsl.internal.WatchHTTPManager@422a4aa1
      [INFO] F8: Found tag on ImageStream fabric8-maven-sample-zero-config tag: sha256:d472901e08af8313e63809da6e15648367cd7df7e66545d8490dc05d586a5201
      [INFO] F8: ImageStream fabric8-maven-sample-zero-config written to /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/src/test/resources/apps/spring-boot/fmp-zero-config/target/fabric8-maven-sample-zero-config-is.yml
      [INFO] 
      [INFO] --- fabric8-maven-plugin:7.2.0.fuse-720020-redhat-00001:apply (default-cli) @ fabric8-maven-sample-zero-config ---
      [INFO] F8: Using OpenShift at https://10.8.245.140:8443/ in namespace llowinge with manifest /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/src/test/resources/apps/spring-boot/fmp-zero-config/target/classes/META-INF/fabric8/openshift.yml 
      [INFO] OpenShift platform detected
      [INFO] Using project: llowinge
      [INFO] Updating a Service from openshift.yml
      [INFO] Updated Service: Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/src/test/resources/apps/spring-boot/fmp-zero-config/target/fabric8/applyJson/llowinge/service-fabric8-maven-sample-zero-config.json
      [INFO] Using project: llowinge
      [INFO] Updating DeploymentConfig from openshift.yml
      [INFO] Updated DeploymentConfig: Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/src/test/resources/apps/spring-boot/fmp-zero-config/target/fabric8/applyJson/llowinge/deploymentconfig-fabric8-maven-sample-zero-config.json
      [INFO] F8: HINT: Use the command `oc get pods -w` to watch your pods start up
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 03:44 min
      [INFO] Finished at: 2018-12-17T16:58:12+01:00
      [INFO] ------------------------------------------------------------------------
      
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  valdar Andrea Tarocchi
                  Reporter:
                  llowinge Lukáš Löwinger
                  Tester:
                  Lukáš Löwinger
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: