Google accounts test failures building 3.3-RC3
Hugh Eaves
hleaves at vcu.edu
Tue Aug 12 11:03:27 EDT 2008
Scott, I used the zip download for the original build. I've now checked out
the code from SVN as you suggested, and it appears to build without errors.
It sounds like your suspicions are correct.
Hugh
From: cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu] On
Behalf Of Scott Battaglia
Sent: Monday, August 11, 2008 9:05 PM
To: Yale CAS mailing list
Subject: Re: Google accounts test failures building 3.3-RC3
Hugh,
Did you use the download or a checkout from SVN? If you used the download
can you try the checkout from SVN? I have a feeling the Maven2 plugin that
generates the zips and tars is screwing up some more files...
-Scott
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
On Mon, Aug 11, 2008 at 5:19 PM, Hugh Eaves <hleaves at vcu.edu> wrote:
I've got a couple of tests that are failing trying to build a vanilla
3.3-RC3 using Maven 2.0.9 and JDK 1.6.05 under Win32. I saw these same
errors reported for 3.3-RC2, but didn't see a fix posted. (I might have
missed the response)
Anyway, here are the errors. Please let me know if I'm doing something
stupid. :)
Thanks,
Hugh
----------------------------------------------------------------------------
---
Test set: org.jasig.cas.web.support.GoogleAccountsArgumentExtractorTests
----------------------------------------------------------------------------
---
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.008 sec
<<< FAILURE!
testNoService(org.jasig.cas.web.support.GoogleAccountsArgumentExtractorTests
) Time elapsed: 0.002 sec <<< ERROR!
java.security.spec.InvalidKeySpecException: Inappropriate key specification:
IOException: algid parse error, not a sequence
at
sun.security.provider.DSAKeyFactory.engineGeneratePublic(DSAKeyFactory.java:
104)
at java.security.KeyFactory.generatePublic(KeyFactory.java:304)
at
org.jasig.cas.util.PublicKeyFactoryBean.createInstance(PublicKeyFactoryBean.
java:39)
at
org.springframework.beans.factory.config.AbstractFactoryBean.afterProperties
Set(AbstractFactoryBean.java:128)
at
org.jasig.cas.web.support.GoogleAccountsArgumentExtractorTests.setUp(GoogleA
ccountsArgumentExtractorTests.java:43)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(Ab
stractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractD
irectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireB
ooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997
)
----------------------------------------------------------------------------
---
Test set: org.jasig.cas.authentication.principal.GoogleAccountsServiceTests
----------------------------------------------------------------------------
---
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.077 sec
<<< FAILURE!
testResponse(org.jasig.cas.authentication.principal.GoogleAccountsServiceTes
ts) Time elapsed: 0.068 sec <<< ERROR!
java.security.spec.InvalidKeySpecException: Inappropriate key specification:
IOException: algid parse error, not a sequence
at
sun.security.provider.DSAKeyFactory.engineGeneratePublic(DSAKeyFactory.java:
104)
at java.security.KeyFactory.generatePublic(KeyFactory.java:304)
at
org.jasig.cas.util.PublicKeyFactoryBean.createInstance(PublicKeyFactoryBean.
java:39)
at
org.springframework.beans.factory.config.AbstractFactoryBean.afterProperties
Set(AbstractFactoryBean.java:128)
at
org.jasig.cas.authentication.principal.GoogleAccountsServiceTests.getGoogleA
ccountsService(GoogleAccountsServiceTests.java:44)
at
org.jasig.cas.authentication.principal.GoogleAccountsServiceTests.setUp(Goog
leAccountsServiceTests.java:59)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(Ab
stractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractD
irectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireB
ooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997
)
_______________________________________________
Yale CAS mailing list
cas at tp.its.yale.edu
http://tp.its.yale.edu/mailman/listinfo/cas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080812/d041af8e/attachment.html
More information about the cas
mailing list