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

Quickstarts are using old image streams

    XMLWordPrintable

Details

    • build7
    • Hide
      mvn -s target/customized-settings.xml -B -DarchetypeGroupId=org.jboss.fuse.fis.archetypes -DarchetypeArtifactId=spring-boot-camel-config-archetype -DarchetypeVersion=2.2.0.fuse-sb2-770014-redhat-00001 -DgroupId=com.redhat.xpaas.qe -DartifactId=spring-boot-camel-config-archetype -Dversion=1.0-SNAPSHOT -Dpackage=com.redhat.xpaas.qe archetype:generate
      
      Show
      mvn -s target/customized-settings.xml -B -DarchetypeGroupId=org.jboss.fuse.fis.archetypes -DarchetypeArtifactId=spring-boot-camel-config-archetype -DarchetypeVersion=2.2.0.fuse-sb2-770014-redhat-00001 -DgroupId=com.redhat.xpaas.qe -DartifactId=spring-boot-camel-config-archetype -Dversion=1.0-SNAPSHOT -Dpackage=com.redhat.xpaas.qe archetype:generate

    Description

      Taking eg.

      <archetype>
      <groupId>org.jboss.fuse.fis.archetypes</groupId>
      <artifactId>spring-boot-camel-config-archetype</artifactId>
      <version>2.2.0.fuse-sb2-770014-redhat-00001</version>
      <description>Spring Boot Camel route configured using Kubernetes ConfigMaps and Secrets</description>
      </archetype>
      

      Error

      Error resolving ImageStreamTag fuse7-java-openshift:1.6
      
      bin/mvn -s /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/src/test/resources/settings-public.xml -Dfabric8.imagePullPolicy=Always -Popenshift -Dkubeconfig=/Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/oc/config3138622801298425500/oc.config -e --batch-mode -Dmaven.repo.local=/Users/llowinge/Redhat/xpaas/xpaas-qe/gitignore/artifacts clean fabric8:deploy
      [INFO] Error stacktraces are turned on.
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------< com.redhat.xpaas.qe:spring-boot-camel-config >------------
      [INFO] Building Fabric8 :: Quickstarts :: Spring Boot :: Camel Config 1.0-SNAPSHOT
      [INFO] --------------------------------[ jar ]---------------------------------
      [INFO]
      [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ spring-boot-camel-config ---
      [INFO]
      [INFO] >>> fabric8-maven-plugin:7.7.0.fuse-sb2-770008-redhat-00001:deploy (default-cli) > install @ spring-boot-camel-config >>>
      [INFO]
      [INFO] --- project-sources-maven-plugin:1.0:archive (project-sources-archive) @ spring-boot-camel-config ---
      [INFO] Building tar: /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/target/spring-boot-camel-config-1.0-SNAPSHOT-project-sources.tar.gz
      [INFO]
      [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ spring-boot-camel-config ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 4 resources
      [INFO]
      [INFO] --- fabric8-maven-plugin:7.7.0.fuse-sb2-770008-redhat-00001:resource (default) @ spring-boot-camel-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.6 as base / builder
      [INFO] F8: using resource templates from /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/src/main/fabric8
      [INFO] F8: fmp-service: Adding a default service 'spring-boot-camel-config' with ports [8080]
      [INFO] F8: spring-boot-health-check: Adding readiness probe on port 8081, path='/actuator/health', scheme='HTTP', with initial delay 10 seconds
      [INFO] F8: spring-boot-health-check: Adding liveness probe on port 8081, path='/actuator/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/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/target/classes/META-INF/fabric8/openshift/spring-boot-camel-config-route.yml resource
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/target/classes/META-INF/fabric8/openshift/spring-boot-camel-config-svc.yml resource
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/target/classes/META-INF/fabric8/openshift/spring-boot-camel-config-deploymentconfig.yml resource
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/target/classes/META-INF/fabric8/openshift/qs-camel-config-rolebinding.yml resource
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/target/classes/META-INF/fabric8/openshift/qs-camel-config-sa.yml resource
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/target/classes/META-INF/fabric8/kubernetes/spring-boot-camel-config-svc.yml resource
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/target/classes/META-INF/fabric8/kubernetes/spring-boot-camel-config-deployment.yml resource
      [INFO] F8: validating /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/target/classes/META-INF/fabric8/kubernetes/qs-camel-config-sa.yml resource
      [INFO]
      [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ spring-boot-camel-config ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 2 source files to /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/target/classes
      [INFO]
      [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ spring-boot-camel-config ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 2 resources
      [INFO]
      [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ spring-boot-camel-config ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 1 source file to /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/target/test-classes
      [INFO]
      [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ spring-boot-camel-config ---
      [INFO]
      [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ spring-boot-camel-config ---
      [INFO] Building jar: /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/target/spring-boot-camel-config-1.0-SNAPSHOT.jar
      [INFO]
      [INFO] --- spring-boot-maven-plugin:7.7.0.fuse-sb2-770008-redhat-00001:repackage (default) @ spring-boot-camel-config ---
      [INFO] Replacing main artifact with repackaged archive
      [INFO]
      [INFO] --- fabric8-maven-plugin:7.7.0.fuse-sb2-770008-redhat-00001:build (default) @ spring-boot-camel-config ---
      [INFO] F8: Using OpenShift build with strategy S2I
      [INFO] F8: Running generator spring-boot
      [INFO] F8: spring-boot: Using ImageStreamTag 'fuse7-java-openshift:1.6' from namespace 'openshift' as builder image
      [INFO] Copying files to /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/target/docker/spring-boot-camel-config/latest/build/maven
      [INFO] Building tar: /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/target/docker/spring-boot-camel-config/latest/tmp/docker-build.tar
      [INFO] F8: [spring-boot-camel-config:latest] "spring-boot": Created docker source tar /Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/tmp/spring-boot-camel-config4728939746897212425/spring-boot-camel-config/target/docker/spring-boot-camel-config/latest/tmp/docker-build.tar
      [INFO] F8: Creating BuildServiceConfig spring-boot-camel-config-s2i for Source build
      [INFO] F8: Creating ImageStream spring-boot-camel-config
      [INFO] F8: Starting Build spring-boot-camel-config-s2i
      [ERROR] F8: OpenShift Error: [422 Failure] [Invalid] Error resolving ImageStreamTag fuse7-java-openshift:1.6 in namespace openshift: unable to find latest tagged image
      [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:  14.007 s
      [INFO] Finished at: 2020-06-18T16:53:20+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.jboss.redhat-fuse:fabric8-maven-plugin:7.7.0.fuse-sb2-770008-redhat-00001:build (default) on project spring-boot-camel-config: Failed to execute the build: Unable to build the image using the OpenShift build service: Failure executing: POST at: https://10.0.152.163:8443/apis/build.openshift.io/v1/namespaces/llowinge/buildconfigs/spring-boot-camel-config-s2i/instantiatebinary?commit=. Message: Error resolving ImageStreamTag fuse7-java-openshift:1.6 in namespace openshift: unable to find latest tagged image. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=from, message=Error resolving ImageStreamTag fuse7-java-openshift:1.6 in namespace openshift: unable to find latest tagged image, reason=null, additionalProperties={})], group=null, kind=ImageStreamTag, name=fuse7-java-openshift:1.6, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Error resolving ImageStreamTag fuse7-java-openshift:1.6 in namespace openshift: unable to find latest tagged image, metadata=ListMeta(_continue=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Invalid, status=Failure, additionalProperties={}). -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.redhat-fuse:fabric8-maven-plugin:7.7.0.fuse-sb2-770008-redhat-00001:build (default) on project spring-boot-camel-config: Failed to execute the build
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:355)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:200)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          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:956)
          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:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to execute the build
          at io.fabric8.maven.plugin.mojo.build.BuildMojo.buildAndTag (BuildMojo.java:278)
          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:210)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:355)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:200)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          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:956)
          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:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      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:125)
          at io.fabric8.maven.plugin.mojo.build.BuildMojo.buildAndTag (BuildMojo.java:275)
          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:210)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:355)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:200)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          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:956)
          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:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://10.0.152.163:8443/apis/build.openshift.io/v1/namespaces/llowinge/buildconfigs/spring-boot-camel-config-s2i/instantiatebinary?commit=. Message: Error resolving ImageStreamTag fuse7-java-openshift:1.6 in namespace openshift: unable to find latest tagged image. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=from, message=Error resolving ImageStreamTag fuse7-java-openshift:1.6 in namespace openshift: unable to find latest tagged image, reason=null, additionalProperties={})], group=null, kind=ImageStreamTag, name=fuse7-java-openshift:1.6, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Error resolving ImageStreamTag fuse7-java-openshift:1.6 in namespace openshift: unable to find latest tagged image, metadata=ListMeta(_continue=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Invalid, status=Failure, additionalProperties={}).
          at io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure (OperationSupport.java:476)
          at io.fabric8.kubernetes.client.dsl.base.OperationSupport.assertResponseCode (OperationSupport.java:415)
          at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse (OperationSupport.java:381)
          at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse (OperationSupport.java:360)
          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:458)
          at io.fabric8.maven.core.service.openshift.OpenshiftBuildService.build (OpenshiftBuildService.java:110)
          at io.fabric8.maven.plugin.mojo.build.BuildMojo.buildAndTag (BuildMojo.java:275)
          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:210)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:355)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:200)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          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:956)
          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:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      [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
      
      	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:1359)
      	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:1241)
      	at com.redhat.xpaas.fuse.old.maven.MavenUtil.executeGoals(MavenUtil.java:63)
      	at com.redhat.xpaas.fuse.old.maven.Fabric8MavenWrapper.executeGoals(Fabric8MavenWrapper.java:297)
      	at com.redhat.xpaas.fuse.archetypes.AbstractArchetypeTest.lambda$deployFabricQuickstart$17(AbstractArchetypeTest.java:637)
      	at com.redhat.xpaas.fuse.build.PreBuildBuilder.runWithLocalRepoSet(PreBuildBuilder.java:218)
      	at com.redhat.xpaas.fuse.build.PreBuildBuilder.runWithGlobalLocalRepoSet(PreBuildBuilder.java:203)
      	at com.redhat.xpaas.fuse.archetypes.AbstractArchetypeTest.deployFabricQuickstart(AbstractArchetypeTest.java:640)
      	at com.redhat.xpaas.fuse.archetypes.AbstractArchetypeTest.deployFabricArchetype(AbstractArchetypeTest.java:699)
      	at com.redhat.xpaas.fuse.archetypes.fabric.SpringBootCamelConfigFabricTest.deploy(SpringBootCamelConfigFabricTest.java:27)
      	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.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:628)
      	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:117)
      	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.lambda$invokeBeforeAllMethods$9(ClassTestDescriptor.java:376)
      	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.invokeBeforeAllMethods(ClassTestDescriptor.java:375)
      	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.before(ClassTestDescriptor.java:201)
      	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.before(ClassTestDescriptor.java:77)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:132)
      	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
      	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
      	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
      	at java.util.ArrayList.forEach(ArrayList.java:1257)
      	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
      	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
      	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
      	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
      	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
      	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
      	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
      	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
      	at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
      	at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
      	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
      	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
      	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142)
      	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
      	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      
      [WARNING] ForkStarter IOException: 373 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
      374 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
      374 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/target/test-classes/logback.xml]
      375 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
      375 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/Users/llowinge/.m2/repository/link/bek/tools/issue-keeper-base/2.5.0/issue-keeper-base-2.5.0.jar!/logback.xml]
      375 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/Users/llowinge/Redhat/xpaas/xpaas-qe/test-fuse/target/test-classes/logback.xml]
      468 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
      482 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
      489 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [consoleAppender]
      520 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
      561 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.classic.AsyncAppender]
      562 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [asyncConsoleAppender]
      567 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [consoleAppender] to ch.qos.logback.classic.AsyncAppender[asyncConsoleAppender]
      567 |-INFO in ch.qos.logback.classic.AsyncAppender[asyncConsoleAppender] - Attaching appender named [consoleAppender] to AsyncAppender.
      567 |-INFO in ch.qos.logback.classic.AsyncAppender[asyncConsoleAppender] - Setting discardingThreshold to 60
      567 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
      569 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [testAppender]
      571 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
      572 |-INFO in ch.qos.logback.core.FileAppender[testAppender] - File property is set to [log/test.log]
      573 |-INF
      

      It was found on OCP 3, please check also SB1 fabric8 maven plugin if there is correct version of imagestream. We will add specific test for it, because we usually use different namespace for holding imagestreams for testing.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: