I met the error too.
It's caused by file ./server/test/resources/certs/rsa_self_signed.crt which is 
expired today.
I thought we need to replace it with a new one

commit 0076307863e9155273d9e4c14282de429388c9e9
Author: Syed <sah...@cloudops.com>
Date:   Wed Nov 6 15:08:42 2013 -0500

    Squashed merge of Ssl Termination feature
    
    Bug: https://issues.apache.org/jira/browse/CLOUDSTACK-4821
    FS: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSL+Termination+Support
    
    This patch implements the SSL offload feature for loadbalancers
    and includes the implementaion for this to work with Netscaler.
    
    The following are the new API's that this patch adds
    
    uploadSslCert
    deleteSslCert
    listSslCert
    assignCertToLoadBalancer
    removeCertFromLoadBalancer
    
    Unit tests are also included in the patch.

> -----Original Message-----
> From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
> Sent: Tuesday, October 21, 2014 1:09 PM
> To: dev@cloudstack.apache.org
> Subject: Certificate expired
> 
> Hi,
> 
> I just started getting this test-run error message on two of my CloudStack dev
> boxes today (below).
> 
> I don't recall sign-signing a certificate, but perhaps I just forgot.
> 
> Can someone give me the context around this error?
> 
> Thanks!
> 
> Results :
> 
> 
> -------------------------------------------------------------------------------
> 
> Test set: org.apache.cloudstack.network.lb.CertServiceTest
> 
> -------------------------------------------------------------------------------
> 
> Tests run: 15, Failures: 2, Errors: 2, Skipped: 4, Time elapsed: 0.538 sec <<<
> FAILURE!
> 
> runUploadSslCertBadkeyAlgo(org.apache.cloudstack.network.lb.CertServiceTest)
>  Time elapsed: 0.128 sec  <<< FAILURE!
> 
> java.lang.AssertionError
> 
> at org.junit.Assert.fail(Assert.java:86)
> 
> at org.junit.Assert.assertTrue(Assert.java:41)
> 
> at org.junit.Assert.assertTrue(Assert.java:52)
> 
> at
> org.apache.cloudstack.network.lb.CertServiceTest.runUploadSslCertBadkeyAlgo
> (CertServiceTest.java:539)
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
> 
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> 
> at java.lang.reflect.Method.invoke(Method.java:606)
> 
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMe
> thod.java:47)
> 
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:
> 12)
> 
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMeth
> od.java:44)
> 
> at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.jav
> a:17)
> 
> at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> 
> 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.java
> :70)
> 
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java
> :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.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:2
> 36)
> 
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider
> .java:134)
> 
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:11
> 3)
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
> 
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> 
> at java.lang.reflect.Method.invoke(Method.java:606)
> 
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Reflecti
> onUtils.java:189)
> 
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Provi
> derFactory.java:165)
> 
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFact
> ory.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)
> 
> runUploadSslCertBadkeyPair(org.apache.cloudstack.network.lb.CertServiceTest)
>  Time elapsed: 0.01 sec  <<< FAILURE!
> 
> java.lang.AssertionError
> 
> at org.junit.Assert.fail(Assert.java:86)
> 
> at org.junit.Assert.assertTrue(Assert.java:41)
> 
> at org.junit.Assert.assertTrue(Assert.java:52)
> 
> at
> org.apache.cloudstack.network.lb.CertServiceTest.runUploadSslCertBadkeyPair(
> CertServiceTest.java:495)
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
> 
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> 
> at java.lang.reflect.Method.invoke(Method.java:606)
> 
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMe
> thod.java:47)
> 
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:
> 12)
> 
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMeth
> od.java:44)
> 
> at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.jav
> a:17)
> 
> at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> 
> 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.java
> :70)
> 
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java
> :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.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:2
> 36)
> 
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider
> .java:134)
> 
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:11
> 3)
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
> 
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> 
> at java.lang.reflect.Method.invoke(Method.java:606)
> 
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Reflecti
> onUtils.java:189)
> 
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Provi
> derFactory.java:165)
> 
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFact
> ory.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)
> 
> runUploadSslCertSelfSignedNoPassword(org.apache.cloudstack.network.lb.Cert
> ServiceTest)
>  Time elapsed: 0.008 sec  <<< ERROR!
> 
> com.cloud.utils.exception.CloudRuntimeException: Error parsing certificate
> data Certificate expired or not valid
> 
> at
> org.apache.cloudstack.network.lb.CertServiceImpl.uploadSslCert(CertServiceIm
> pl.java:145)
> 
> at
> org.apache.cloudstack.network.lb.CertServiceTest.runUploadSslCertSelfSignedN
> oPassword(CertServiceTest.java:242)
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
> 
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> 
> at java.lang.reflect.Method.invoke(Method.java:606)
> 
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMe
> thod.java:47)
> 
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:
> 12)
> 
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMeth
> od.java:44)
> 
> at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.jav
> a:17)
> 
> at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> 
> 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.java
> :70)
> 
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java
> :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.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:2
> 36)
> 
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider
> .java:134)
> 
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:11
> 3)
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
> 
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> 
> at java.lang.reflect.Method.invoke(Method.java:606)
> 
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Reflecti
> onUtils.java:189)
> 
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Provi
> derFactory.java:165)
> 
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFact
> ory.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)
> 
> runUploadSslCertSelfSignedWithPassword(org.apache.cloudstack.network.lb.Ce
> rtServiceTest)
>  Time elapsed: 0.007 sec  <<< ERROR!
> 
> com.cloud.utils.exception.CloudRuntimeException: Error parsing certificate
> data Certificate expired or not valid
> 
> at
> org.apache.cloudstack.network.lb.CertServiceImpl.uploadSslCert(CertServiceIm
> pl.java:145)
> 
> at
> org.apache.cloudstack.network.lb.CertServiceTest.runUploadSslCertSelfSigned
> WithPassword(CertServiceTest.java:196)
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
> 
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> 
> at java.lang.reflect.Method.invoke(Method.java:606)
> 
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMe
> thod.java:47)
> 
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:
> 12)
> 
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMeth
> od.java:44)
> 
> at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.jav
> a:17)
> 
> at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> 
> 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.java
> :70)
> 
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java
> :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.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:2
> 36)
> 
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider
> .java:134)
> 
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:11
> 3)
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
> 
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
> 
> at java.lang.reflect.Method.invoke(Method.java:606)
> 
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Reflecti
> onUtils.java:189)
> 
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Provi
> derFactory.java:165)
> 
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFact
> ory.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)
> 
> 
> 
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> <http://secure-
> web.cisco.com/1ruJio12fSWz5FF4LAIlNbLiqOeMYoOcheBBhmyQ8zxI1HURXzIIls
> girAYkHXb_6SQ7OFPML5NU2ubphrzOBY7l0lwMszY19NNcQZQ0jytMDRnfyv-
> DZEf5MkqAEWEYk_aeP0xCxiklZhzW5FVVpIEnNQHcJA17XZtq35CO5JhA/http%3
> A%2F%2Fsolidfire.com%2Fsolution%2Foverview%2F%3Fvideo%3Dplay>*™*

Reply via email to