cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wido den Hollander <w...@widodh.nl>
Subject Re: master branch DbUtilTest failure
Date Mon, 03 Mar 2014 23:15:09 GMT


On 03/03/2014 11:40 PM, Prachi Damle wrote:
> Hi,
>
> I am facing this error while doing a clean install on latest master.
>
> It fails running 'com.cloud.utils.DbUtilTest' with error 'Could not initialize class
com.cloud.utils.db.TransactionLegacy'
>
> I am on Windows.  Anyone seeing this? Any ideas to fix?
>

Does the logfile of the surefire plugin say something interesting? 
Should be in the target directory.

>
> Prachi
>
>
>
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache CloudStack Framework - Event Notification 4.4.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-framework-db ---
> [INFO] Deleting C:\cloud\apache-cloudstack-oss\incubator-cloudstack\framework\db\target
(includes = [**/*], excludes = [])
> [INFO] Deleting C:\cloud\apache-cloudstack-oss\incubator-cloudstack\framework\db (includes
= [target, dist], excludes = [])
> [INFO]
> [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-framework-db
---
> [INFO] Starting audit...
> Audit done.
>
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-framework-db ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-framework-db
---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-framework-db
---
> [INFO] Compiling 43 source files to C:\cloud\apache-cloudstack-oss\incubator-cloudstack\framework\db\target\classes
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ cloud-framework-db
---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory C:\cloud\apache-cloudstack-oss\incubator-cloudstack\framework\db\test\resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cloud-framework-db
---
> [INFO] Compiling 15 source files to C:\cloud\apache-cloudstack-oss\incubator-cloudstack\framework\db\target\test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-framework-db ---
> [INFO] Surefire report directory: C:\cloud\apache-cloudstack-oss\incubator-cloudstack\framework\db\target\surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running com.cloud.utils.DbUtilTest
> log4j:WARN No appenders could be found for logger (com.cloud.utils.crypt.EncryptionSecretKeyChecker).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> Tests run: 28, Failures: 0, Errors: 26, Skipped: 2, Time elapsed: 0.667 sec <<<
FAILURE!
>
> Results :
>
> Tests in error:
>    getTableName(com.cloud.utils.DbUtilTest)
>    getTableName(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    closeStatement(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    closeStatement(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    closeStatementFail(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    closeStatementFail(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    closeResultSet(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    closeResultSet(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    getGlobalLock(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    getGlobalLock(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    closeResultSetFail(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    closeResultSetFail(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    releaseGlobalLock(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    releaseGlobalLock(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    closeNull(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    closeNull(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    closeConnection(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    closeConnection(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    getGlobalLockTimeout(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    getGlobalLockTimeout(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    closeConnectionFail(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    closeConnectionFail(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    isPersistable(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    isPersistable(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    getColumnName(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>    getColumnName(com.cloud.utils.DbUtilTest): Could not initialize class com.cloud.utils.db.TransactionLegacy
>
>

Mime
View raw message