Created
December 25, 2020 14:41
-
-
Save ekoontz/03671b51233ba9f37e7d375066dabb5b to your computer and use it in GitHub Desktop.
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
❯ mvn verify | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------< com.amazonaws:aws-sam-java-rest >------------------- | |
[INFO] Building A sample REST application built on SAM and DynamoDB 1.0.0 | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce) @ aws-sam-java-rest --- | |
[INFO] | |
[INFO] --- maven-checkstyle-plugin:3.0.0:check (validate) @ aws-sam-java-rest --- | |
[INFO] Starting audit... | |
Audit done. | |
[INFO] | |
[INFO] --- jacoco-maven-plugin:0.8.1:prepare-agent (default-prepare-agent) @ aws-sam-java-rest --- | |
[INFO] argLine set to -javaagent:/Users/ekoontz/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/Users/ekoontz/aws-sam-java-rest/target/jacoco.exec,excludes=**/*_MembersInjector.* | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ aws-sam-java-rest --- | |
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! | |
[INFO] skip non existing resourceDirectory /Users/ekoontz/aws-sam-java-rest/src/main/resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ aws-sam-java-rest --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ aws-sam-java-rest --- | |
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! | |
[INFO] Copying 4 resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ aws-sam-java-rest --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ aws-sam-java-rest --- | |
[INFO] Surefire report directory: /Users/ekoontz/aws-sam-java-rest/target/surefire-reports | |
------------------------------------------------------- | |
T E S T S | |
------------------------------------------------------- | |
Exception in thread "main" java.lang.reflect.InvocationTargetException | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:564) | |
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513) | |
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:525) | |
Caused by: java.lang.RuntimeException: Class java/lang/UnknownError could not be instrumented. | |
at org.jacoco.agent.rt.internal_c13123e.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:140) | |
at org.jacoco.agent.rt.internal_c13123e.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:101) | |
at org.jacoco.agent.rt.internal_c13123e.PreMain.createRuntime(PreMain.java:55) | |
at org.jacoco.agent.rt.internal_c13123e.PreMain.premain(PreMain.java:47) | |
... 6 more | |
Caused by: java.lang.NoSuchFieldException: $jacocoAccess | |
at java.base/java.lang.Class.getField(Class.java:2013) | |
at org.jacoco.agent.rt.internal_c13123e.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138) | |
... 9 more | |
*** java.lang.instrument ASSERTION FAILED ***: "result" with message agent load/premain call failed at ./src/java.instrument/share/native/libinstrument/JPLISAgent.c line: 422 | |
FATAL ERROR in native method: processing of -javaagent failed, processJavaStart failed | |
/bin/sh: line 1: 58854 Abort trap: 6 /usr/local/Cellar/openjdk/14.0.1/libexec/openjdk.jdk/Contents/Home/bin/java '-javaagent:/Users/ekoontz/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/Users/ekoontz/aws-sam-java-rest/target/jacoco.exec,excludes=**/*_MembersInjector.*' -jar /Users/ekoontz/aws-sam-java-rest/target/surefire/surefirebooter13227429669810043253.jar /Users/ekoontz/aws-sam-java-rest/target/surefire/surefire9996620289270198904tmp /Users/ekoontz/aws-sam-java-rest/target/surefire/surefire_014579322604561367340tmp | |
Results : | |
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 2.796 s | |
[INFO] Finished at: 2020-12-25T15:40:47+01:00 | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project aws-sam-java-rest: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ? -> [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 | |
aws-sam-java-rest on master [?] via ☕ v14.0.1 on ☁️ eu-central-1 took 3s | |
❯ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment