Rohan_Kanojia

Untitled

Jul 24th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.57 KB | None | 0 0
  1. ~/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty : $ mvn clean verify -DtestProxyHost=192.168.99.100
  2. [INFO] Scanning for projects...
  3. [INFO] ------------------------------------------------------------------------
  4. [INFO] Reactor Build Order:
  5. [INFO]
  6. [INFO] Fabric8 Maven :: Sample :: JavaEE 8 WebProfile [pom]
  7. [INFO] Fabric8 Maven :: Sample :: JavaEE 8 WebProfile :: Application [war]
  8. [INFO] Fabric8 Maven :: Sample :: JavaEE 8 WebProfile :: IT [jar]
  9. [INFO]
  10. [INFO] ---------------< io.fabric8:javaee8-webprofile-liberty >----------------
  11. [INFO] Building Fabric8 Maven :: Sample :: JavaEE 8 WebProfile 3.5-SNAPSHOT [1/3]
  12. [INFO] --------------------------------[ pom ]---------------------------------
  13. [INFO]
  14. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ javaee8-webprofile-liberty ---
  15. [INFO]
  16. [INFO] -------------< io.fabric8:javaee8-webprofile-liberty-app >--------------
  17. [INFO] Building Fabric8 Maven :: Sample :: JavaEE 8 WebProfile :: Application 3.5-SNAPSHOT [2/3]
  18. [INFO] --------------------------------[ war ]---------------------------------
  19. [INFO]
  20. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ javaee8-webprofile-liberty-app ---
  21. [INFO] Deleting /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/target
  22. [INFO]
  23. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ javaee8-webprofile-liberty-app ---
  24. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  25. [INFO] skip non existing resourceDirectory /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/src/main/resources
  26. [INFO]
  27. [INFO] --- fabric8-maven-plugin:3.5.33:resource (build-images) @ javaee8-webprofile-liberty-app ---
  28. [INFO] F8: Running in Kubernetes mode
  29. [INFO] F8: fmp-controller: Adding a default Deployment
  30. [INFO] F8: fmp-service: Adding a default service 'javaee8-webprofile-liberty-app' with ports [9080]
  31. [INFO] F8: fmp-revision-history: Adding revision history limit to 2
  32. [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
  33. [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
  34. [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
  35. [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
  36. [INFO]
  37. [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ javaee8-webprofile-liberty-app ---
  38. [INFO] Changes detected - recompiling the module!
  39. [INFO] Compiling 3 source files to /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/target/classes
  40. [INFO]
  41. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ javaee8-webprofile-liberty-app ---
  42. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  43. [INFO] skip non existing resourceDirectory /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/src/test/resources
  44. [INFO]
  45. [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ javaee8-webprofile-liberty-app ---
  46. [INFO] No sources to compile
  47. [INFO]
  48. [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ javaee8-webprofile-liberty-app ---
  49. [INFO] No tests to run.
  50. [INFO]
  51. [INFO] --- maven-war-plugin:3.2.0:war (default-war) @ javaee8-webprofile-liberty-app ---
  52. [INFO] Packaging webapp
  53. [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]
  54. [INFO] Processing war project
  55. [INFO] Copying webapp resources [/home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/src/main/webapp]
  56. [INFO] Webapp assembled in [37 msecs]
  57. [INFO] Building war: /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app/target/javaee8-webprofile-liberty-app.war
  58. [INFO]
  59. [INFO] --- fabric8-maven-plugin:3.5.33:build (build-images) @ javaee8-webprofile-liberty-app ---
  60. [INFO] F8: Building Docker image in Kubernetes mode
  61. [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
  62. [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
  63. [INFO] F8: [fabric8/javaee8-webprofile-liberty-app:3.5-SNAPSHOT] "meeting-reservation-service": Created docker-build.tar in 96 milliseconds
  64. [INFO] F8: [fabric8/javaee8-webprofile-liberty-app:3.5-SNAPSHOT] "meeting-reservation-service": Built image sha256:98ee4
  65. [INFO] F8: [fabric8/javaee8-webprofile-liberty-app:3.5-SNAPSHOT] "meeting-reservation-service": Removed old image sha256:a60da
  66. [INFO] F8: [fabric8/javaee8-webprofile-liberty-app:3.5-SNAPSHOT] "meeting-reservation-service": Tag with latest,3.5-SNAPSHOT
  67. [INFO]
  68. [INFO] ------------< io.fabric8:javaee8-webprofile-liberty-app-it >------------
  69. [INFO] Building Fabric8 Maven :: Sample :: JavaEE 8 WebProfile :: IT 3.5-SNAPSHOT [3/3]
  70. [INFO] --------------------------------[ jar ]---------------------------------
  71. [INFO]
  72. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ javaee8-webprofile-liberty-app-it ---
  73. [INFO] Deleting /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/target
  74. [INFO]
  75. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ javaee8-webprofile-liberty-app-it ---
  76. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  77. [INFO] skip non existing resourceDirectory /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/src/main/resources
  78. [INFO]
  79. [INFO] --- fabric8-maven-plugin:3.5.33:resource (build-images) @ javaee8-webprofile-liberty-app-it ---
  80. [INFO] F8: Running in Kubernetes mode
  81. [INFO] F8: fmp-controller: Adding a default Deployment
  82. [INFO] F8: fmp-service: Adding a default service 'javaee8-webprofile-liberty-app' with ports [9080]
  83. [INFO] F8: fmp-revision-history: Adding revision history limit to 2
  84. [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
  85. [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
  86. [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
  87. [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
  88. [INFO]
  89. [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ javaee8-webprofile-liberty-app-it ---
  90. [INFO] No sources to compile
  91. [INFO]
  92. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ javaee8-webprofile-liberty-app-it ---
  93. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  94. [INFO] skip non existing resourceDirectory /home/Rohaan/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty/javaee8-webprofile-liberty-app-it/src/test/resources
  95. [INFO]
  96. [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ javaee8-webprofile-liberty-app-it ---
  97. [INFO] Changes detected - recompiling the module!
  98. [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
  99. [INFO]
  100. [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ javaee8-webprofile-liberty-app-it ---
  101. [INFO] Tests are skipped.
  102. [INFO]
  103. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ javaee8-webprofile-liberty-app-it ---
  104. [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
  105. [INFO]
  106. [INFO] --- fabric8-maven-plugin:3.5.33:build (build-images) @ javaee8-webprofile-liberty-app-it ---
  107. [INFO] F8: Building Docker image in Kubernetes mode
  108. [INFO]
  109. [INFO] --- fabric8-maven-plugin:3.5.33:apply (integration-test) @ javaee8-webprofile-liberty-app-it ---
  110. [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
  111. [INFO] Using namespace: fabric8
  112. [INFO] Creating a Service from kubernetes.yml namespace fabric8 name javaee8-webprofile-liberty-app
  113. [INFO] Created Service: javaee8-webprofile-liberty-app-it/target/fabric8/applyJson/fabric8/service-javaee8-webprofile-liberty-app.json
  114. [INFO] Using namespace: fabric8
  115. [INFO] Creating a Deployment from kubernetes.yml namespace fabric8 name javaee8-webprofile-liberty-app-it
  116. [INFO] Created Deployment: javaee8-webprofile-liberty-app-it/target/fabric8/applyJson/fabric8/deployment-javaee8-webprofile-liberty-app-it.json
  117. [INFO] F8: HINT: Use the command `kubectl get pods -w` to watch your pods start up
  118. [INFO]
  119. [INFO] --- fabric8-maven-plugin:3.5.33:start (integration-test) @ javaee8-webprofile-liberty-app-it ---
  120. [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
  121. [INFO] Using namespace: fabric8
  122. [INFO] F8: Scaling Deployment fabric8/javaee8-webprofile-liberty-app-it to replicas: 1
  123. [INFO]
  124. [INFO] --- groovy-maven-plugin:2.0:execute (integration-test-get-proxy-port) @ javaee8-webprofile-liberty-app-it ---
  125. testProxyHttpPort = 31160
  126. Unfortunately the fabric8:start command is a background command, so a pause is needed to let the Liberty profile start inside a docker container
  127. [INFO]
  128. [INFO] --- maven-failsafe-plugin:2.20:integration-test (integration-test) @ javaee8-webprofile-liberty-app-it ---
  129. [INFO]
  130. [INFO] -------------------------------------------------------
  131. [INFO] T E S T S
  132. [INFO] -------------------------------------------------------
  133. [INFO] Running io.fabric8.maven.sample.javaee.webprofile.integration.test.MeetingBookingServiceIT
  134. [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
  135. [INFO]
  136. [INFO] Results:
  137. [INFO]
  138. [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
  139. [INFO]
  140. [INFO]
  141. [INFO] --- fabric8-maven-plugin:3.5.33:stop (post-integration-test) @ javaee8-webprofile-liberty-app-it ---
  142. [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
  143. [INFO] Using namespace: fabric8
  144. [INFO] F8: Scaling Deployment fabric8/javaee8-webprofile-liberty-app-it to replicas: 0
  145. [INFO]
  146. [INFO] --- fabric8-maven-plugin:3.5.33:undeploy (post-integration-test) @ javaee8-webprofile-liberty-app-it ---
  147. [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
  148. [INFO] Using namespace: fabric8
  149. [INFO] F8: Deleting resource Deployment fabric8/javaee8-webprofile-liberty-app-it
  150. [INFO] F8: Deleting resource Service fabric8/javaee8-webprofile-liberty-app
  151. [INFO]
  152. [INFO] --- maven-failsafe-plugin:2.20:verify (verify-results) @ javaee8-webprofile-liberty-app-it ---
  153. [INFO] ------------------------------------------------------------------------
  154. [INFO] Reactor Summary:
  155. [INFO]
  156. [INFO] Fabric8 Maven :: Sample :: JavaEE 8 WebProfile 3.5-SNAPSHOT SUCCESS [ 0.145 s]
  157. [INFO] Fabric8 Maven :: Sample :: JavaEE 8 WebProfile :: Application SUCCESS [ 5.368 s]
  158. [INFO] Fabric8 Maven :: Sample :: JavaEE 8 WebProfile :: IT 3.5-SNAPSHOT SUCCESS [01:06 min]
  159. [INFO] ------------------------------------------------------------------------
  160. [INFO] BUILD SUCCESS
  161. [INFO] ------------------------------------------------------------------------
  162. [INFO] Total time: 01:12 min
  163. [INFO] Finished at: 2018-07-25T01:30:19+05:30
  164. [INFO] ------------------------------------------------------------------------
  165. ~/work/repos/fabric8-maven-plugin/samples/javaee8-webprofile-liberty : $
Advertisement
Add Comment
Please, Sign In to add comment