This is the stack trace:

Tests run: 28, Failures: 0, Errors: 26, Skipped: 2, Time elapsed: 0.527
sec <<< FAILURE!
getTableName(com.cloud.utils.DbUtilTest)  Time elapsed: 0.107 sec  <<<
ERROR!
java.lang.ExceptionInInitializerError
        at sun.misc.Unsafe.ensureClassInitialized(Native Method)
        at 
sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessor
Factory.java:43)
        at 
sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140)
        at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1057)
        at java.lang.reflect.Field.getFieldAccessor(Field.java:1038)
        at java.lang.reflect.Field.get(Field.java:379)
        at com.cloud.utils.DbUtilTest.setup(DbUtilTest.java:135)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5
7)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod
.java:47)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.
java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.j
ava:44)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:2
4)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.ja
va:70)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.ja
va:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
        at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
        at 
org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHighe
rRunnerImpl.java:37)
        at 
org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java
:236)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provid
er.java:134)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:
113)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5
7)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Reflec
tionUtils.java:189)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Provi
derFactory.java:165)
        at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFac
tory.java:85)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBoot
er.java:103)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Caused by: com.cloud.utils.exception.CloudRuntimeException: key File
containing secret key not found in the classpath:
        at 
com.cloud.utils.crypt.EncryptionSecretKeyChecker.check(EncryptionSecretKeyC
hecker.java:84)
        at 
com.cloud.utils.db.DbProperties.getDbProperties(DbProperties.java:80)
        at 
com.cloud.utils.db.TransactionLegacy.<clinit>(TransactionLegacy.java:1024)




On 4/18/14 2:18 AM, "Laszlo Hornyak" <laszlo.horn...@gmail.com> wrote:

>Hi Min,
>
>Can you send details, stack traces?
>
>Thank you,
>Laszlo
>
>
>On Fri, Apr 18, 2014 at 2:33 AM, Min Chen <min.c...@citrix.com> wrote:
>
>> Hi there,
>>
>> Did anybody experience test failure on master branch? I got this:
>>
>>
>>  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.525
>> 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.
>>
>> Thanks
>> -min
>>
>
>
>
>-- 
>
>EOF

Reply via email to