What did you update? You replace the file with you manually built certificate?

> -----Original Message-----
> From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
> Sent: Tuesday, October 21, 2014 3:16 PM
> To: dev@cloudstack.apache.org
> Subject: Re: Certificate expired
> 
> Interesting...I just updated master and tried to re-build, but that test 
> failed
> again.
> 
> On Tue, Oct 21, 2014 at 4:12 PM, Frank Zhang <frank.zh...@citrix.com>
> wrote:
> 
> > 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.CertServic
> > eTest)
> > >  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.runUploadSslCertBadke
> > yAlgo
> > > (CertServiceTest.java:539)
> > >
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >
> > > at
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > > 57)
> > >
> > > at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> > > ssorI
> > > mpl.java:43)
> > >
> > > at java.lang.reflect.Method.invoke(Method.java:606)
> > >
> > > at
> > > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framewor
> > > kMe
> > > thod.java:47)
> > >
> > > at
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:
> > > 12)
> > >
> > > at
> > > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkM
> > > eth
> > > od.java:44)
> > >
> > > at
> > >
> > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMeth
> > od.jav
> > > a:17)
> > >
> > > at
> > >
> > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.j
> > ava:26)
> > >
> > > at
> > >
> > org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.jav
> > a:27)
> > >
> > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > >
> > > at
> > >
> > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunn
> > er.java
> > > :70)
> > >
> > > at
> > >
> > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunn
> > er.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(JUnit4P
> > rovider
> > > .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(DelegatingMethodAcce
> > > ssorI
> > > mpl.java:43)
> > >
> > > at java.lang.reflect.Method.invoke(Method.java:606)
> > >
> > > at
> > >
> > org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(R
> > eflecti
> > > onUtils.java:189)
> > >
> > > at
> > >
> > org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(
> > Provi
> > > derFactory.java:165)
> > >
> > > at
> > >
> > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(Provid
> > erFact
> > > ory.java:85)
> > >
> > > at
> > >
> > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(Forke
> > dBoot
> > > er.java:103)
> > >
> > > at
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:7
> > 4)
> > >
> > >
> > runUploadSslCertBadkeyPair(org.apache.cloudstack.network.lb.CertServic
> > eTest)
> > >  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.runUploadSslCertBadke
> > yPair(
> > > CertServiceTest.java:495)
> > >
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >
> > > at
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > > 57)
> > >
> > > at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> > > ssorI
> > > mpl.java:43)
> > >
> > > at java.lang.reflect.Method.invoke(Method.java:606)
> > >
> > > at
> > > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framewor
> > > kMe
> > > thod.java:47)
> > >
> > > at
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:
> > > 12)
> > >
> > > at
> > > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkM
> > > eth
> > > od.java:44)
> > >
> > > at
> > >
> > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMeth
> > od.jav
> > > a:17)
> > >
> > > at
> > >
> > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.j
> > ava:26)
> > >
> > > at
> > >
> > org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.jav
> > a:27)
> > >
> > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > >
> > > at
> > >
> > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunn
> > er.java
> > > :70)
> > >
> > > at
> > >
> > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunn
> > er.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(JUnit4P
> > rovider
> > > .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(DelegatingMethodAcce
> > > ssorI
> > > mpl.java:43)
> > >
> > > at java.lang.reflect.Method.invoke(Method.java:606)
> > >
> > > at
> > >
> > org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(R
> > eflecti
> > > onUtils.java:189)
> > >
> > > at
> > >
> > org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(
> > Provi
> > > derFactory.java:165)
> > >
> > > at
> > >
> > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(Provid
> > erFact
> > > ory.java:85)
> > >
> > > at
> > >
> > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(Forke
> > dBoot
> > > er.java:103)
> > >
> > > at
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:7
> > 4)
> > >
> > >
> > 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(CertSer
> > viceIm
> > > pl.java:145)
> > >
> > > at
> > >
> > org.apache.cloudstack.network.lb.CertServiceTest.runUploadSslCertSelfS
> > ignedN
> > > oPassword(CertServiceTest.java:242)
> > >
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >
> > > at
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > > 57)
> > >
> > > at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> > > ssorI
> > > mpl.java:43)
> > >
> > > at java.lang.reflect.Method.invoke(Method.java:606)
> > >
> > > at
> > > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framewor
> > > kMe
> > > thod.java:47)
> > >
> > > at
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:
> > > 12)
> > >
> > > at
> > > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkM
> > > eth
> > > od.java:44)
> > >
> > > at
> > >
> > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMeth
> > od.jav
> > > a:17)
> > >
> > > at
> > >
> > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.j
> > ava:26)
> > >
> > > at
> > >
> > org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.jav
> > a:27)
> > >
> > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > >
> > > at
> > >
> > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunn
> > er.java
> > > :70)
> > >
> > > at
> > >
> > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunn
> > er.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(JUnit4P
> > rovider
> > > .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(DelegatingMethodAcce
> > > ssorI
> > > mpl.java:43)
> > >
> > > at java.lang.reflect.Method.invoke(Method.java:606)
> > >
> > > at
> > >
> > org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(R
> > eflecti
> > > onUtils.java:189)
> > >
> > > at
> > >
> > org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(
> > Provi
> > > derFactory.java:165)
> > >
> > > at
> > >
> > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(Provid
> > erFact
> > > ory.java:85)
> > >
> > > at
> > >
> > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(Forke
> > dBoot
> > > er.java:103)
> > >
> > > at
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:7
> > 4)
> > >
> > >
> > runUploadSslCertSelfSignedWithPassword(org.apache.cloudstack.network.l
> > b.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(CertSer
> > viceIm
> > > pl.java:145)
> > >
> > > at
> > >
> > org.apache.cloudstack.network.lb.CertServiceTest.runUploadSslCertSelfS
> > igned
> > > WithPassword(CertServiceTest.java:196)
> > >
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >
> > > at
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > > 57)
> > >
> > > at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> > > ssorI
> > > mpl.java:43)
> > >
> > > at java.lang.reflect.Method.invoke(Method.java:606)
> > >
> > > at
> > > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framewor
> > > kMe
> > > thod.java:47)
> > >
> > > at
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:
> > > 12)
> > >
> > > at
> > > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkM
> > > eth
> > > od.java:44)
> > >
> > > at
> > >
> > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMeth
> > od.jav
> > > a:17)
> > >
> > > at
> > >
> > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.j
> > ava:26)
> > >
> > > at
> > >
> > org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.jav
> > a:27)
> > >
> > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > >
> > > at
> > >
> > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunn
> > er.java
> > > :70)
> > >
> > > at
> > >
> > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunn
> > er.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(JUnit4P
> > rovider
> > > .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(DelegatingMethodAcce
> > > ssorI
> > > mpl.java:43)
> > >
> > > at java.lang.reflect.Method.invoke(Method.java:606)
> > >
> > > at
> > >
> > org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(R
> > eflecti
> > > onUtils.java:189)
> > >
> > > at
> > >
> > org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(
> > Provi
> > > derFactory.java:165)
> > >
> > > at
> > >
> > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(Provid
> > erFact
> > > ory.java:85)
> > >
> > > at
> > >
> > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(Forke
> > dBoot
> > > er.java:103)
> > >
> > > at
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:7
> > 4)
> > >
> > >
> > >
> > > --
> > > *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/14BYHh5KJ_T-fjNdBL5LvaB6jg7O6Z2Ifa1LqnC
> > > mRXpU1ageqYFyiwNbIRaqIs7ssrWeonn1ev3_vOGjTV3iEkrrTBKF0OYzB-
> o8YInNuoU
> > > qKMVTxavWPDuPVGvbHMLW7KMUAEUA-
> RujZYqDY5MihVg/http%3A%2F%2Fsecure-
> > >
> web.cisco.com/1ruJio12fSWz5FF4LAIlNbLiqOeMYoOcheBBhmyQ8zxI1HURXzIIls
> > >
> girAYkHXb_6SQ7OFPML5NU2ubphrzOBY7l0lwMszY19NNcQZQ0jytMDRnfyv-
> > >
> DZEf5MkqAEWEYk_aeP0xCxiklZhzW5FVVpIEnNQHcJA17XZtq35CO5JhA/http%3
> > > A%2F%2Fsolidfire.com%2Fsolution%2Foverview%2F%3Fvideo%3Dplay>*™*
> >
> 
> 
> 
> --
> *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/1Ncy4JI4Mrd3jSWThJEiqX5XeJpxkxF9H-
> MOgpqcyiUFYDkL8nDBYYCTE431ko0t2iaB--
> Aspc1CaR_4YNehHRYgviGokKN58dhv_eJpzdxHFSrOoSOXQCrFcmPxbSI3j0V3YQ
> Oz-iK9-9Mv-
> CcYNrrdRZv5lKt94aFNO6J1C8ZI/http%3A%2F%2Fsolidfire.com%2Fsolution%2Fo
> verview%2F%3Fvideo%3Dplay>*™*

Reply via email to