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

[OCP4][SB2] Boosters regression OCP3 vs OCP4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • fuse-7.5-CR1
    • Examples, Fuse on Openshift
    • None
    • % %
    • Hide

      https://github.com/jboss-fuse/fuse-springboot-circuit-breaker-booster.git
      git checkout redhat-sb2
      mvn clean install -Dfuse.bom.version=7.5.0.fuse-sb2-750029-redhat-00001 && mvn fabric8:deploy -Popenshift -Dfabric8.generator.from=foo-7-pipeline-streams/fuse7-java-openshift:1.5 -Dfabric8.generator.fromMode=istag -Dfuse.bom.version=7.5.0.fuse-sb2-750029-redhat-00001

      Show
      https://github.com/jboss-fuse/fuse-springboot-circuit-breaker-booster.git git checkout redhat-sb2 mvn clean install -Dfuse.bom.version=7.5.0.fuse-sb2-750029-redhat-00001 && mvn fabric8:deploy -Popenshift -Dfabric8.generator.from=foo-7-pipeline-streams/fuse7-java-openshift:1.5 -Dfabric8.generator.fromMode=istag -Dfuse.bom.version=7.5.0.fuse-sb2-750029-redhat-00001
    • Fuse 7.5 Sprint 54 - Interim

      Running booster with SB2 on OCP4 fails with error

      [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ name-service ---
      [INFO] Building jar: /Users/llowinge/Redhat/xpaas/boosters/fuse-springboot-circuit-breaker-booster/name-service/target/name-service-7.0.0.jar
      [INFO]
      [INFO] --- fabric8-maven-plugin:7.5.0.fuse-sb2-750029-redhat-00001:build (default) @ name-service ---
      [INFO] F8: Building Docker image in Kubernetes mode
      [INFO] F8: Running generator spring-boot
      [INFO] F8: spring-boot: Using ImageStreamTag 'fuse7-java-openshift:1.5' from namespace 'foo-7-pipeline-streams' as builder image
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary for Fuse :: Boosters :: Springboot :: Circuit Breaker 7.0.0:
      [INFO]
      [INFO] Fuse :: Boosters :: Springboot :: Circuit Breaker .. SUCCESS [  1.851 s]
      [INFO] Fuse :: Boosters :: Springboot :: Circuit Braker :: Name service FAILURE [  9.077 s]
      [INFO] Fuse :: Boosters :: Springboot :: Circuit Braker :: Greetings service SKIPPED
      [INFO] Fuse :: Boosters :: Springboot :: Circuit Braker :: Integration Tests SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  11.337 s
      [INFO] Finished at: 2019-10-29T18:21:16+01:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.jboss.redhat-fuse:fabric8-maven-plugin:7.5.0.fuse-sb2-750029-redhat-00001:build (default) on project name-service: Execution default of goal org.jboss.redhat-fuse:fabric8-maven-plugin:7.5.0.fuse-sb2-750029-redhat-00001:build failed: No <dockerHost> given, no DOCKER_HOST environment variable, no read/writable '/var/run/docker.sock' or '//./pipe/docker_engine' and no external provider like Docker machine configured -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <args> -rf :name-service
      

      The weird thing is that it thinks Kubernetes Mode, instead of Openshift.

            atarocch@redhat.com Andrea Tarocchi
            llowinge@redhat.com Lukas Lowinger
            Lukas Lowinger Lukas Lowinger
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: