-
Notifications
You must be signed in to change notification settings - Fork 85
Description
Looks like there is an issue with quickstarts failing to fully build under 4.0.152 on GKE.
I get the following problem with the default Vert.x QS and the Spring Boot one:
The code compiles and the unit tests pass. Then before the fabric8:push, I see
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:09 min
[INFO] Finished at: 2017-09-11T16:59:20+00:00
[INFO] Final Memory: 48M/537M
[INFO] ------------------------------------------------------------------------
[Pipeline] findFiles
[Pipeline] junit
Recording test results
[Pipeline] findFiles
[Pipeline] echo
Looking for matching Build null
[Pipeline] echo
Failed to find buildName due to: java.lang.IllegalArgumentException: Name must be provided.
[Pipeline] echo
Checking sonarqube exists
[Pipeline] echo
Code validation service: sonarqube not available
[Pipeline] echo
s2i mode: false
[Pipeline] retry
[Pipeline] {
[Pipeline] sh
[tdcox_demo05t01_master-N2C2CLYCYRWQZRUKSF7YN2BAZR4DGO6J4YF5FH3KEBSL7JQP3GBQ] Running shell script
- mvn fabric8:push -Ddocker.push.registry=
This then leads to:
[INFO] F8> Running generator vertx
[INFO] F8> vertx: Using Docker image registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift as base / builder
[ERROR] F8> Cannot temporarily tag booster/booster-rest-http-vertx:1.0.1 with /booster/booster-rest-http-vertx:1.0.1 because target image already exists. Please remove this and retry.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.656 s
[INFO] Finished at: 2017-09-11T16:59:37+00:00
[INFO] Final Memory: 39M/308M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:3.5.22:push (default-cli) on project booster-rest-http-vertx: Cannot temporarily tag booster/booster-rest-http-vertx:1.0.1 with /booster/booster-rest-http-vertx:1.0.1 because target image already exists. Please remove this and retry. -> [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/MojoExecutionException
[Pipeline] }
ERROR: script returned exit code 1
Same error for both quickstarts.
Full log here:
https://gist.github.com/tdcox/61ab56709b5c65cd63b5e567eb035ebc