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

FMP points to 1.3.1 tag instead of 1.3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • fuse-7.3.1
    • fuse-7.3.1
    • Fuse on Openshift
    • None
    • % %

      Eg. https://github.com/jboss-fuse/application-templates/blob/application-templates-2.1.fuse-731012/quickstarts/eap-camel-amq-template.json#L65
      eg. https://github.com/jboss-fuse/application-templates/blob/application-templates-2.1.fuse-731012/fis-image-streams.json#L326
      .....

      I'm not sure, if we will re-use 1.3 tag for 7.3.1, or we will use 1.3.1 (which FMP already uses - as it is set by pipeline).

      Error:

      [INFO] --- fabric8-maven-plugin:7.3.1.fuse-731003-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.3.1' from namespace 'openshift' as builder image
      [INFO] Copying files to /mnt/hudson_workspace/workspace/fis-7.3-xpaasqe-default/xpaas-qe/test-fuse/tmp/spring-boot-camel-config596900836842250638/spring-boot-camel-config/target/docker/spring-boot-camel-config/latest/build/maven
      [INFO] Building tar: /mnt/hudson_workspace/workspace/fis-7.3-xpaasqe-default/xpaas-qe/test-fuse/tmp/spring-boot-camel-config596900836842250638/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 /mnt/hudson_workspace/workspace/fis-7.3-xpaasqe-default/xpaas-qe/test-fuse/tmp/spring-boot-camel-config596900836842250638/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.3.1 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: 18.756 s
      [INFO] Finished at: 2019-06-03T13:57:11-04:00
      [INFO] Final Memory: 67M/368M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.jboss.redhat-fuse:fabric8-maven-plugin:7.3.1.fuse-731003-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.150.83:8443/apis/build.openshift.io/v1/namespaces/quickstarts-automated/buildconfigs/spring-boot-camel-config-s2i/instantiatebinary?commit=. Message: Error resolving ImageStreamTag fuse7-java-openshift:1.3.1 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.3.1 in namespace openshift: unable to find latest tagged image, reason=null, additionalProperties={})], group=null, kind=ImageStreamTag, name=fuse7-java-openshift:1.3.1, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Error resolving ImageStreamTag fuse7-java-openshift:1.3.1 in namespace openshift: unable to find latest tagged image, metadata=ListMeta(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.3.1.fuse-731003-redhat-00001:build (default) on project spring-boot-camel-config: Failed to execute the build
      

            tcunning@redhat.com Thomas Cunningham
            llowinge@redhat.com Lukas Lowinger
            Lukas Lowinger Lukas Lowinger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: