Last active
March 27, 2020 23:24
-
-
Save rdruss/f55d7291fce178e3908032b2e65e5e3a to your computer and use it in GitHub Desktop.
vertx-http-example output using JKube
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rodneys-MacBook-Pro:vertx-http-example rruss$ mvn verify -Popenshift,openshift-it | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------< io.openshift.example:http-vertx >------------------- | |
[INFO] Building Vert.x - HTTP 37-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- vertx-maven-plugin:1.0.22:initialize (vmp) @ http-vertx --- | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ http-vertx --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] Copying 1 resource | |
[INFO] | |
[INFO] --- oc-maven-plugin:0.2.0:resource (ocmp) @ http-vertx --- | |
[INFO] k8s: Using docker image name of namespace: myproject | |
[INFO] k8s: Running generator vertx | |
[INFO] k8s: vertx: Using Docker image registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift as base / builder | |
[INFO] k8s: jkube-controller: Adding a default DeploymentConfig | |
[INFO] k8s: jkube-service: Adding a default service 'http-vertx' with ports [8080] | |
[INFO] k8s: jkube-healthcheck-vertx: HTTP health check disabled (path not set) | |
[INFO] k8s: jkube-healthcheck-vertx: HTTP health check disabled (path not set) | |
[INFO] k8s: jkube-revision-history: Adding revision history limit to 2 | |
[INFO] k8s: validating /Users/rruss/Documents/GitHub/vertx-http-example/target/classes/META-INF/jkube/openshift/http-vertx-deploymentconfig.yml resource | |
[INFO] k8s: validating /Users/rruss/Documents/GitHub/vertx-http-example/target/classes/META-INF/jkube/openshift/http-vertx-service.yml resource | |
[INFO] k8s: validating /Users/rruss/Documents/GitHub/vertx-http-example/target/classes/META-INF/jkube/openshift/http-vertx-route.yml resource | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ http-vertx --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ http-vertx --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] Copying 1 resource | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ http-vertx --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ http-vertx --- | |
[INFO] Surefire report directory: /Users/rruss/Documents/GitHub/vertx-http-example/target/surefire-reports | |
------------------------------------------------------- | |
T E S T S | |
------------------------------------------------------- | |
Running io.openshift.example.HttpApplicationTest | |
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". | |
SLF4J: Defaulting to no-operation (NOP) logger implementation | |
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. | |
Server started on port 8081 | |
Server started on port 8081 | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.061 sec | |
Results : | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 | |
[INFO] | |
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ http-vertx --- | |
[INFO] Building jar: /Users/rruss/Documents/GitHub/vertx-http-example/target/http-vertx-37-SNAPSHOT.jar | |
[INFO] | |
[INFO] --- vertx-maven-plugin:1.0.22:package (vmp) @ http-vertx --- | |
[INFO] | |
[INFO] --- oc-maven-plugin:0.2.0:build (ocmp) @ http-vertx --- | |
[INFO] oc: Running in OpenShift mode | |
[INFO] oc: Using OpenShift build with strategy S2I | |
[INFO] oc: Running generator vertx | |
[INFO] oc: vertx: Using Docker image registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift as base / builder | |
[INFO] oc: [http-vertx:latest] "vertx": Created docker source tar /Users/rruss/Documents/GitHub/vertx-http-example/target/docker/http-vertx/latest/tmp/docker-build.tar | |
[INFO] oc: Creating BuildServiceConfig http-vertx-s2i for Source build | |
[INFO] oc: Creating ImageStream http-vertx | |
[INFO] oc: Starting Build http-vertx-s2i | |
[INFO] oc: Waiting for build http-vertx-s2i-1 to complete... | |
[INFO] oc: Using registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift as the s2i builder image | |
[INFO] oc: tar: scripts: time stamp 2020-03-27 22:58:22 is 0.159752314 s in the future | |
[INFO] oc: tar: src/.s2i/environment: time stamp 2020-03-27 22:58:22 is 0.15903236 s in the future | |
[INFO] oc: tar: src/.s2i: time stamp 2020-03-27 22:58:22 is 0.158999292 s in the future | |
[INFO] oc: tar: src/Dockerfile: time stamp 2020-03-27 22:58:22 is 0.1589517 s in the future | |
[INFO] oc: tar: src/maven/http-vertx-37-SNAPSHOT.jar: time stamp 2020-03-27 22:58:22 is 0.13567366 s in the future | |
[INFO] oc: tar: src/maven: time stamp 2020-03-27 22:58:22 is 0.13557172 s in the future | |
[INFO] oc: tar: src: time stamp 2020-03-27 22:58:22 is 0.135551033 s in the future | |
[INFO] oc: INFO S2I source build with plain binaries detected | |
[INFO] oc: INFO S2I binary build from fabric8-maven-plugin detected | |
[INFO] oc: INFO Copying binaries from /tmp/src/maven to /deployments ... | |
[INFO] oc: http-vertx-37-SNAPSHOT.jar | |
[INFO] oc: Pushing image 172.30.1.1:5000/myproject/http-vertx:latest ... | |
[INFO] oc: Build http-vertx-s2i-1 in status Complete | |
[INFO] oc: Found tag on ImageStream http-vertx tag: sha256:178f2dee1eb048b4ce133ba7549cdc752d88a13d8723627658e16df658e9ef32 | |
[INFO] oc: ImageStream http-vertx written to /Users/rruss/Documents/GitHub/vertx-http-example/target/http-vertx-is.yml | |
[INFO] | |
[INFO] --- maven-failsafe-plugin:2.22.2:integration-test (default) @ http-vertx --- | |
[INFO] | |
[INFO] ------------------------------------------------------- | |
[INFO] T E S T S | |
[INFO] ------------------------------------------------------- | |
[INFO] Running io.openshift.example.OpenShiftIT | |
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". | |
SLF4J: Defaulting to no-operation (NOP) logger implementation | |
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. | |
CubeKubernetesConfiguration: | |
namespace = myproject | |
master.url = https://192.168.99.101:8443/ | |
namespace.lazy.enabled = true | |
namespace.cleanup.enabled = true | |
namespace.cleanup.timeout = 0 | |
namespace.cleanup.confirm.enabled = false | |
namespace.destroy.enabled = false | |
namespace.destroy.confirm.enabled = false | |
namespace.destroy.timeout = 0 | |
wait.enabled = true | |
wait.timeout = 480000 | |
wait.poll.interval = 5000 | |
ansi.logger.enabled = true | |
env.init.enabled = true | |
logs.copy = false | |
cube.api.version = v1 | |
cube.trust.certs = true | |
cube.fmp.build = false | |
cube.fmp.build.disable.for.mvn = false | |
cube.fmp.pom.path = pom.xml | |
cube.fmp.debug.output = false | |
cube.fmp.logs = true | |
cube.fmp.build.options = | |
CubeOpenShiftConfiguration: | |
keepAliveGitServer = false | |
autoStartContainers = [] | |
proxiedContainerPorts = [] | |
portForwardBindAddress = 127.0.0.1 | |
openshiftRouterHttpPort = 80 | |
openshiftRouterHttpsPort = 443 | |
enableImageStreamDetection = false | |
routerSniPort = 443 | |
templateProcess = true | |
startupTimeout = 600 | |
httpClientTimeout = 120 | |
awaitRouteRepetitions = 1 | |
Initializing Session:a4cdd0f9 | |
Using Kubernetes at: https://192.168.99.101:8443/ | |
Did not find any kubernetes/openshift configuration files before starting the test execution. If you are using fabric8-maven-plugin, ensure `mvn package fabric8:resource fabric8:build` is run first to generate the resources. | |
Pod: [http-vertx-s2i-1-build] Status: [Succeeded] | |
Mar 27, 2020 4:58:30 PM org.arquillian.cube.openshift.impl.CEEnvironmentProcessor createEnvironment | |
INFO: Creating environment for io.openshift.example.OpenShiftIT | |
Mar 27, 2020 4:58:30 PM org.arquillian.cube.kubernetes.impl.resources.KubernetesResourcesApplier applyKubernetesResourcesAtClassScope | |
INFO: Creating environment for io.openshift.example.OpenShiftIT | |
Mar 27, 2020 4:58:30 PM org.arquillian.cube.openshift.impl.CEEnvironmentProcessor createOpenShiftResource | |
INFO: Creating environment for io.openshift.example.OpenShiftIT method public void io.openshift.example.OpenShiftIT.testThatWeServeAsExpected() | |
Mar 27, 2020 4:58:30 PM org.arquillian.cube.kubernetes.impl.resources.KubernetesResourcesApplier applyKubernetesResourcesAtMethodScope | |
INFO: Creating environment for io.openshift.example.OpenShiftIT method testThatWeServeAsExpected | |
Mar 27, 2020 4:58:30 PM org.arquillian.cube.openshift.impl.CEEnvironmentProcessor createOpenShiftResource | |
INFO: Creating environment for io.openshift.example.OpenShiftIT method public void io.openshift.example.OpenShiftIT.testThatWeAreReady() | |
Mar 27, 2020 4:58:30 PM org.arquillian.cube.kubernetes.impl.resources.KubernetesResourcesApplier applyKubernetesResourcesAtMethodScope | |
INFO: Creating environment for io.openshift.example.OpenShiftIT method testThatWeAreReady | |
Mar 27, 2020 4:58:30 PM org.arquillian.cube.openshift.impl.resources.OpenShiftResourceFactory deleteEnvironment | |
INFO: Deleting environment for io.openshift.example.OpenShiftIT | |
Mar 27, 2020 4:58:30 PM org.arquillian.cube.kubernetes.impl.resources.KubernetesResourcesApplier removeKubernetesResourcesAtClassScope | |
INFO: Deleting environment for io.openshift.example.OpenShiftIT | |
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 4.612 s <<< FAILURE! - in io.openshift.example.OpenShiftIT | |
[ERROR] testThatWeServeAsExpected(io.openshift.example.OpenShiftIT) Time elapsed: 0.096 s <<< ERROR! | |
java.lang.RuntimeException: Could not set RouteURL value on field private java.net.URL io.openshift.example.OpenShiftIT.route | |
Caused by: java.lang.IllegalArgumentException: Could not resolve route: http-vertx. Available routes: [] | |
[ERROR] testThatWeAreReady(io.openshift.example.OpenShiftIT) Time elapsed: 0.023 s <<< ERROR! | |
java.lang.RuntimeException: Could not set RouteURL value on field private java.net.URL io.openshift.example.OpenShiftIT.route | |
Caused by: java.lang.IllegalArgumentException: Could not resolve route: http-vertx. Available routes: [] | |
Destroying Session:a4cdd0f9 | |
[INFO] | |
[INFO] Results: | |
[INFO] | |
[ERROR] Errors: | |
[ERROR] OpenShiftIT.testThatWeAreReady » Runtime Could not set RouteURL value on field... | |
[ERROR] OpenShiftIT.testThatWeServeAsExpected » Runtime Could not set RouteURL value o... | |
[INFO] | |
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 | |
[INFO] | |
[INFO] | |
[INFO] --- maven-failsafe-plugin:2.22.2:verify (default) @ http-vertx --- | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 23.570 s | |
[INFO] Finished at: 2020-03-27T16:58:31-06:00 | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.22.2:verify (default) on project http-vertx: There are test failures. | |
[ERROR] | |
[ERROR] Please refer to /Users/rruss/Documents/GitHub/vertx-http-example/target/failsafe-reports for the individual test results. | |
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. | |
[ERROR] -> [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/MojoFailureException |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment