Skip to content

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

@szdyg

Description

@szdyg
 [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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions