Open wind2412 opened 6 years ago
The console log as below:
/Users/xxx/Downloads/simplelanguage >> mvn package [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.oracle:simplelanguage:jar:0.28-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @ line 48, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building simplelanguage 0.28-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.graalvm:graal-sdk:jar:0.28-SNAPSHOT is missing, no dependency information available [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ simplelanguage --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ simplelanguage --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ simplelanguage --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/zhengxiaolin/Downloads/simplelanguage/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ simplelanguage --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.9:test (default-test) @ simplelanguage --- [INFO] Surefire report directory: /Users/zhengxiaolin/Downloads/simplelanguage/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running com.oracle.truffle.sl.test.SLFactorialTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.253 sec Running com.oracle.truffle.sl.test.SLParseErrorTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec Running com.oracle.truffle.sl.test.SLJavaInteropTest Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.114 sec Running com.oracle.truffle.sl.test.SLSharedCodeSeparatedEnvTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec Running com.oracle.truffle.sl.test.SLDebugTest Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.111 sec Running com.oracle.truffle.sl.test.SLInteropPrimitiveTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Running com.oracle.truffle.sl.test.SLSimpleTestSuite Tests run: 54, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.731 sec Running com.oracle.truffle.sl.test.SLTckTest Tests run: 98, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.532 sec <<< FAILURE! Running com.oracle.truffle.sl.test.PassItselfBackViaPolyglotEngineTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Running com.oracle.truffle.sl.test.SLInteropControlFlowTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec Running com.oracle.truffle.sl.test.SLSharedCodeSeparatedEnvLegacyTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec Running com.oracle.truffle.sl.test.SLInstrumentTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 sec Running com.oracle.truffle.sl.test.SLDebugDirectTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec Running com.oracle.truffle.sl.test.SLPolyglotTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running com.oracle.truffle.sl.test.SLParseInContextTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec Running com.oracle.truffle.sl.test.ToStringOfEvalTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Results : Tests in error: testWriteToObjectWithValueProperty(com.oracle.truffle.sl.test.SLTckTest): Language environment is already disposed. Tests run: 203, Failures: 0, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.237 s [INFO] Finished at: 2018-02-12T22:45:43+08:00 [INFO] Final Memory: 11M/37M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.9:test (default-test) on project simplelanguage: There are test failures. [ERROR] [ERROR] Please refer to /Users/xxx/Downloads/simplelanguage/target/surefire-reports for the individual test results. [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
Besides, graal version is 0.31 and,
0.31
>> java -version java version "9.0.4" Java(TM) SE Runtime Environment (build 9.0.4+11) Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
But running ./sl tests/HelloWorld.sl has no problems.
./sl tests/HelloWorld.sl
The console log as below:
Besides, graal version is
0.31
and,But running
./sl tests/HelloWorld.sl
has no problems.