Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty : $ mvn clean verify -DtestProxyHost=192.168.99.100
- [INFO] Scanning for projects...
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Build Order:
- [INFO]
- [INFO] Fabric8 Maven :: Sample :: JavaEE 8 WebProfile [pom]
- [INFO] Fabric8 Maven :: Sample :: JavaEE 8 WebProfile :: Application [war]
- [INFO] Fabric8 Maven :: Sample :: JavaEE 8 WebProfile :: IT [jar]
- [INFO]
- [INFO] ---------------< io.fabric8:javaee8-webprofile-liberty >----------------
- [INFO] Building Fabric8 Maven :: Sample :: JavaEE 8 WebProfile 3.5-SNAPSHOT [1/3]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ javaee8-webprofile-liberty ---
- [INFO]
- [INFO] -------------< io.fabric8:javaee8-webprofile-liberty-app >--------------
- [INFO] Building Fabric8 Maven :: Sample :: JavaEE 8 WebProfile :: Application 3.5-SNAPSHOT [2/3]
- [INFO] --------------------------------[ war ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ javaee8-webprofile-liberty-app ---
- [INFO] Deleting /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ javaee8-webprofile-liberty-app ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/src/main/resources
- [INFO]
- [INFO] --- fabric8-maven-plugin:3.5.33:resource (build-images) @ javaee8-webprofile-liberty-app ---
- [INFO] F8: Running in Kubernetes mode
- [INFO] F8: fmp-controller: Adding a default Deployment
- [INFO] F8: fmp-service: Adding a default service 'javaee8-webprofile-liberty-app' with ports [9080]
- [INFO] F8: fmp-revision-history: Adding revision history limit to 2
- [INFO] F8: validating /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/target/classes/META-INF/fabric8/openshift/javaee8-webprofile-liberty-app-svc.yml resource
- [INFO] F8: validating /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/target/classes/META-INF/fabric8/openshift/javaee8-webprofile-liberty-app-deploymentconfig.yml resource
- [INFO] F8: validating /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/target/classes/META-INF/fabric8/kubernetes/javaee8-webprofile-liberty-app-svc.yml resource
- [INFO] F8: validating /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/target/classes/META-INF/fabric8/kubernetes/javaee8-webprofile-liberty-app-deployment.yml resource
- [INFO]
- [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ javaee8-webprofile-liberty-app ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 3 source files to /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/target/classes
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ javaee8-webprofile-liberty-app ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/src/test/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ javaee8-webprofile-liberty-app ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ javaee8-webprofile-liberty-app ---
- [INFO] No tests to run.
- [INFO]
- [INFO] --- maven-war-plugin:3.2.0:war (default-war) @ javaee8-webprofile-liberty-app ---
- [INFO] Packaging webapp
- [INFO] Assembling webapp [javaee8-webprofile-liberty-app] in [/home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/target/javaee8-webprofile-liberty-app-3.5-SNAPSHOT]
- [INFO] Processing war project
- [INFO] Copying webapp resources [/home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/src/main/webapp]
- [INFO] Webapp assembled in [37 msecs]
- [INFO] Building war: /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/target/javaee8-webprofile-liberty-app.war
- [INFO]
- [INFO] --- fabric8-maven-plugin:3.5.33:build (build-images) @ javaee8-webprofile-liberty-app ---
- [INFO] F8: Building Docker image in Kubernetes mode
- [INFO] Copying files to /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/target/docker/fabric8/javaee8-webprofile-liberty-app/3.5-SNAPSHOT/build/maven
- [INFO] Building tar: /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/target/docker/fabric8/javaee8-webprofile-liberty-app/3.5-SNAPSHOT/tmp/docker-build.tar
- [INFO] F8: [fabric8/javaee8-webprofile-liberty-app:3.5-SNAPSHOT] "meeting-reservation-service": Created docker-build.tar in 96 milliseconds
- [INFO] F8: [fabric8/javaee8-webprofile-liberty-app:3.5-SNAPSHOT] "meeting-reservation-service": Built image sha256:98ee4
- [INFO] F8: [fabric8/javaee8-webprofile-liberty-app:3.5-SNAPSHOT] "meeting-reservation-service": Removed old image sha256:a60da
- [INFO] F8: [fabric8/javaee8-webprofile-liberty-app:3.5-SNAPSHOT] "meeting-reservation-service": Tag with latest,3.5-SNAPSHOT
- [INFO]
- [INFO] ------------< io.fabric8:javaee8-webprofile-liberty-app-it >------------
- [INFO] Building Fabric8 Maven :: Sample :: JavaEE 8 WebProfile :: IT 3.5-SNAPSHOT [3/3]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ javaee8-webprofile-liberty-app-it ---
- [INFO] Deleting /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ javaee8-webprofile-liberty-app-it ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/src/main/resources
- [INFO]
- [INFO] --- fabric8-maven-plugin:3.5.33:resource (build-images) @ javaee8-webprofile-liberty-app-it ---
- [INFO] F8: Running in Kubernetes mode
- [INFO] F8: fmp-controller: Adding a default Deployment
- [INFO] F8: fmp-service: Adding a default service 'javaee8-webprofile-liberty-app' with ports [9080]
- [INFO] F8: fmp-revision-history: Adding revision history limit to 2
- [INFO] F8: validating /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/target/classes/META-INF/fabric8/openshift/javaee8-webprofile-liberty-app-svc.yml resource
- [INFO] F8: validating /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/target/classes/META-INF/fabric8/openshift/javaee8-webprofile-liberty-app-it-deploymentconfig.yml resource
- [INFO] F8: validating /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/target/classes/META-INF/fabric8/kubernetes/javaee8-webprofile-liberty-app-svc.yml resource
- [INFO] F8: validating /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/target/classes/META-INF/fabric8/kubernetes/javaee8-webprofile-liberty-app-it-deployment.yml resource
- [INFO]
- [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ javaee8-webprofile-liberty-app-it ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ javaee8-webprofile-liberty-app-it ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/src/test/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ javaee8-webprofile-liberty-app-it ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 1 source file to /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/target/test-classes
- [INFO]
- [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ javaee8-webprofile-liberty-app-it ---
- [INFO] Tests are skipped.
- [INFO]
- [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ javaee8-webprofile-liberty-app-it ---
- [INFO] Building jar: /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/target/javaee8-webprofile-liberty-app-it-3.5-SNAPSHOT.jar
- [INFO]
- [INFO] --- fabric8-maven-plugin:3.5.33:build (build-images) @ javaee8-webprofile-liberty-app-it ---
- [INFO] F8: Building Docker image in Kubernetes mode
- [INFO]
- [INFO] --- fabric8-maven-plugin:3.5.33:apply (integration-test) @ javaee8-webprofile-liberty-app-it ---
- [INFO] F8: Using Kubernetes at https://192.168.99.100:8443/ in namespace fabric8 with manifest /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/target/classes/META-INF/fabric8/kubernetes.yml
- [INFO] Using namespace: fabric8
- [INFO] Creating a Service from kubernetes.yml namespace fabric8 name javaee8-webprofile-liberty-app
- [INFO] Created Service: javaee8-webprofile-liberty-app-it/target/fabric8/applyJson/fabric8/service-javaee8-webprofile-liberty-app.json
- [INFO] Using namespace: fabric8
- [INFO] Creating a Deployment from kubernetes.yml namespace fabric8 name javaee8-webprofile-liberty-app-it
- [INFO] Created Deployment: javaee8-webprofile-liberty-app-it/target/fabric8/applyJson/fabric8/deployment-javaee8-webprofile-liberty-app-it.json
- [INFO] F8: HINT: Use the command `kubectl get pods -w` to watch your pods start up
- [INFO]
- [INFO] --- fabric8-maven-plugin:3.5.33:start (integration-test) @ javaee8-webprofile-liberty-app-it ---
- [INFO] F8: Using Kubernetes at https://192.168.99.100:8443/ in namespace fabric8 with manifest /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/target/classes/META-INF/fabric8/kubernetes.yml
- [INFO] Using namespace: fabric8
- [INFO] F8: Scaling Deployment fabric8/javaee8-webprofile-liberty-app-it to replicas: 1
- [INFO]
- [INFO] --- groovy-maven-plugin:2.0:execute (integration-test-get-proxy-port) @ javaee8-webprofile-liberty-app-it ---
- testProxyHttpPort = 31160
- Unfortunately the fabric8:start command is a background command, so a pause is needed to let the Liberty profile start inside a docker container
- [INFO]
- [INFO] --- maven-failsafe-plugin:2.20:integration-test (integration-test) @ javaee8-webprofile-liberty-app-it ---
- [INFO]
- [INFO] -------------------------------------------------------
- [INFO] T E S T S
- [INFO] -------------------------------------------------------
- [INFO] Running io.fabric8.maven.sample.javaee.webprofile.integration.test.MeetingBookingServiceIT
- [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.651 s - in io.fabric8.maven.sample.javaee.webprofile.integration.test.MeetingBookingServiceIT
- [INFO]
- [INFO] Results:
- [INFO]
- [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO]
- [INFO] --- fabric8-maven-plugin:3.5.33:stop (post-integration-test) @ javaee8-webprofile-liberty-app-it ---
- [INFO] F8: Using Kubernetes at https://192.168.99.100:8443/ in namespace fabric8 with manifest /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/target/classes/META-INF/fabric8/kubernetes.yml
- [INFO] Using namespace: fabric8
- [INFO] F8: Scaling Deployment fabric8/javaee8-webprofile-liberty-app-it to replicas: 0
- [INFO]
- [INFO] --- fabric8-maven-plugin:3.5.33:undeploy (post-integration-test) @ javaee8-webprofile-liberty-app-it ---
- [INFO] F8: Using Kubernetes at https://192.168.99.100:8443/ in namespace fabric8 with manifest /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/target/classes/META-INF/fabric8/kubernetes.yml
- [INFO] Using namespace: fabric8
- [INFO] F8: Deleting resource Deployment fabric8/javaee8-webprofile-liberty-app-it
- [INFO] F8: Deleting resource Service fabric8/javaee8-webprofile-liberty-app
- [INFO]
- [INFO] --- maven-failsafe-plugin:2.20:verify (verify-results) @ javaee8-webprofile-liberty-app-it ---
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary:
- [INFO]
- [INFO] Fabric8 Maven :: Sample :: JavaEE 8 WebProfile 3.5-SNAPSHOT SUCCESS [ 0.145 s]
- [INFO] Fabric8 Maven :: Sample :: JavaEE 8 WebProfile :: Application SUCCESS [ 5.368 s]
- [INFO] Fabric8 Maven :: Sample :: JavaEE 8 WebProfile :: IT 3.5-SNAPSHOT SUCCESS [01:06 min]
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 01:12 min
- [INFO] Finished at: 2018-07-25T01:30:19+05:30
- [INFO] ------------------------------------------------------------------------
- ~/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty : $
Advertisement
Add Comment
Please, Sign In to add comment