Hi,

I have the similar issue.
It got fixed for me after creating /etc/cloudstack/management/key with content 
password.

Thanks,
Jayapal

On 05-Dec-2013, at 3:15 AM, Alena Prokharchyk <alena.prokharc...@citrix.com> 
wrote:

> Laszlo, here is the error:
> 
> Tests run: 28, Failures: 0, Errors: 26, Skipped: 2, Time elapsed: 0.825 sec 
> <<< FAILURE!
> getColumnName(com.cloud.utils.DbUtilTest)  Time elapsed: 0.293 sec  <<< ERROR!
> java.lang.ExceptionInInitializerError
>        at sun.misc.Unsafe.ensureClassInitialized(Native Method)
>        at 
> sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
> …………………..
> 
> at 
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
>        at 
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Caused by: com.cloud.utils.exception.CloudRuntimeException: File containing 
> secret key not found: /etc/cloudstack/management/key
>        at 
> com.cloud.utils.crypt.EncryptionSecretKeyChecker.check(EncryptionSecretKeyChecker.java:88)
>        at 
> com.cloud.utils.db.DbProperties.getDbProperties(DbProperties.java:79)
>        at 
> com.cloud.utils.db.TransactionLegacy.<clinit>(TransactionLegacy.java:1024)
>        ... 39 more
> Caused by: java.io.FileNotFoundException: /etc/cloudstack/management/key (No 
> such file or directory)
>        at java.io.FileInputStream.open(Native Method)
>        at java.io.FileInputStream.<init>(FileInputStream.java:120)
>        at java.io.FileReader.<init>(FileReader.java:55)
>        at 
> com.cloud.utils.crypt.EncryptionSecretKeyChecker.check(EncryptionSecretKeyChecker.java:84)
>        ... 41 more
> getColumnName(com.cloud.utils.DbUtilTest)  Time elapsed: 0.294 sec  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class 
> com.cloud.utils.db.TransactionLegacy
>        at sun.misc.Unsafe.ensureClassInitialized(Native Method)
> 
> From: Laszlo Hornyak 
> <laszlo.horn...@gmail.com<mailto:laszlo.horn...@gmail.com>>
> Reply-To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" 
> <dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>>
> Date: Wednesday, December 4, 2013 1:34 PM
> To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" 
> <dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>>
> Subject: Re: test failures
> 
> Hi,
> 
> I wrote those tests a few weeks ago, it may be my mistake. It works for me
> after git rebase. Could you send me a full log from the build + testcase
> output txt/xml file?
> 
> Thank you,
> Laszlo
> 
> 
> On Wed, Dec 4, 2013 at 2:07 AM, Min Chen 
> <min.c...@citrix.com<mailto:min.c...@citrix.com>> wrote:
> 
> I am encountering the same.
> 
> Thanks
> -min
> 
> On 12/3/13 4:41 PM, "Alena Prokharchyk" 
> <alena.prokharc...@citrix.com<mailto:alena.prokharc...@citrix.com>>
> wrote:
> 
>> Does anybody experience this test failure on the latest master?
>> 
>> Results :
>> 
>> Tests in error:
>> getColumnName(com.cloud.utils.DbUtilTest)
>> getColumnName(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
>> getTableName(com.cloud.utils.DbUtilTest): Could not initialize class
>> com.cloud.utils.db.TransactionLegacy
>> getTableName(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
>> 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
>> 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
>> 
> 
> 
> 
> 
> --
> 
> EOF
> 

Reply via email to