zstackio / zstack-utility

Agents and tools for project ZStack http://zstack.org (国内用户请至 http://zstack.io)
Apache License 2.0
62 stars 80 forks source link

3.6.0-feature-allocatorStrategy 分支编译报错 #379

Open szdyg opened 4 years ago

szdyg commented 4 years ago
 [exec] test(org.zstack.test.configuration.TestGenerateApiPythonClassAndJsonTemplate)  Time elapsed: 9.302 sec  <<< ERROR!
 [exec] org.zstack.header.exception.CloudRuntimeException: unable to create ComponentLoader
 [exec]     at org.zstack.core.Platform.createComponentLoaderFromWebApplicationContext(Platform.java:555)
 [exec]     at org.zstack.core.Platform.getComponentLoader(Platform.java:581)
 [exec]     at org.zstack.test.BeanConstructor.build(BeanConstructor.java:115)
 [exec]     at org.zstack.test.configuration.TestGenerateApiPythonClassAndJsonTemplate.setUp(TestGenerateApiPythonClassAndJsonTemplate.java:32)
 [exec]
 [exec]
 [exec] Results :
 [exec]
 [exec]
 [exec] Tests in error:
 [exec]   TestGenerateApiPythonClassAndJsonTemplate.setUp:32 » CloudRuntime unable to cr...
 [exec]
 [exec]
 [exec] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
 [exec]
 [exec] [INFO] ------------------------------------------------------------------------
 [exec] [INFO] BUILD FAILURE
 [exec] [INFO] ------------------------------------------------------------------------
 [exec] [INFO] Total time: 11.991s
 [exec] [INFO] Finished at: Tue Jul 14 21:54:26 CST 2020
 [exec] [INFO] Final Memory: 21M/289M
 [exec] [INFO] ------------------------------------------------------------------------
 [exec] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on project test: There are test failures.
 [exec] [ERROR]
 [exec] [ERROR] Please refer to /root/zstack/zstack/test/target/surefire-reports for the individual test results.
 [exec] [ERROR] -> [Help 1]
 [exec] [ERROR]
 [exec] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
 [exec] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [exec] [ERROR]
 [exec] [ERROR] For more information about the errors and possible solutions, please read the following articles:
 [exec] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

BUILD FAILED /root/zstack/zstack-utility/zstackbuild/build.xml:302: The following error occurred while executing this line: /root/zstack/zstack-utility/zstackbuild/projects/zstack-war.xml:21: exec returned: 1