It looks like some of the test results are missing.  Regardless those tests
shouldn't be failing.

I'll download the file later.  Its possible the build missed a needed file.


On Tue, Sep 14, 2010 at 2:59 PM, Jonathan Bricker
<[email protected]>wrote:

>  Here is the full dump of the failed test.
>
>
>
> thanks
>
>
>
> Running org.jasig.cas.web.init.SafeContextLoaderListenerTests
>
> SafeContextLoaderListener:
>
> The Spring ContextLoaderListener we wrap threw on contextInitialized.
>
> But for our having caught this error, the web application context would not
> hav
>
>  initialized.
>
> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
> par
>
> ing XML document from ServletContext resource
> [/WEB-INF/applicationContext.xml]
>
>  nested exception is java.io.FileNotFoundException: Could not open
> ServletConte
>
> t resource [/WEB-INF/applicationContext.xml]
>
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBe
>
> nDefinitions(XmlBeanDefinitionReader.java:341)
>
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBe
>
> nDefinitions(XmlBeanDefinitionReader.java:302)
>
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionRead
>
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
>
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionRead
>
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
>
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionRead
>
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
>
>         at
> org.springframework.web.context.support.XmlWebApplicationContext.loa
>
> BeanDefinitions(XmlWebApplicationContext.java:124)
>
>         at
> org.springframework.web.context.support.XmlWebApplicationContext.loa
>
> BeanDefinitions(XmlWebApplicationContext.java:93)
>
>         at
> org.springframework.context.support.AbstractRefreshableApplicationCo
>
> text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
>
>         at
> org.springframework.context.support.AbstractApplicationContext.obtai
>
> FreshBeanFactory(AbstractApplicationContext.java:465)
>
>         at
> org.springframework.context.support.AbstractApplicationContext.refre
>
> h(AbstractApplicationContext.java:395)
>
>         at
> org.springframework.web.context.ContextLoader.createWebApplicationCo
>
> text(ContextLoader.java:272)
>
>         at
> org.springframework.web.context.ContextLoader.initWebApplicationCont
>
> xt(ContextLoader.java:196)
>
>         at
> org.springframework.web.context.ContextLoaderListener.contextInitial
>
> zed(ContextLoaderListener.java:47)
>
>         at
> org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized_
>
> roundBody0(SafeContextLoaderListener.java:62)
>
>         at
> org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized_
>
> roundBody1$advice(SafeContextLoaderListener.java:44)
>
>         at
> org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(
>
> afeContextLoaderListener.java:1)
>
>         at
> org.jasig.cas.web.init.SafeContextLoaderListenerTests.testContextIni
>
> ialized(SafeContextLoaderListenerTests.java:49)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
>
> java:39)
>
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
>
> sorImpl.java:25)
>
>         at java.lang.reflect.Method.invoke(Method.java:597)
>
>         at junit.framework.TestCase.runTest(TestCase.java:168)
>
>         at junit.framework.TestCase.runBare(TestCase.java:134)
>
>         at junit.framework.TestResult$1.protect(TestResult.java:110)
>
>         at junit.framework.TestResult.runProtected(TestResult.java:128)
>
>         at junit.framework.TestResult.run(TestResult.java:113)
>
>         at junit.framework.TestCase.run(TestCase.java:124)
>
>         at junit.framework.TestSuite.runTest(TestSuite.java:232)
>
>         at junit.framework.TestSuite.run(TestSuite.java:227)
>
>         at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner
>
> java:83)
>
>         at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet
>
> java:62)
>
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTe
>
> tSet(AbstractDirectoryTestSuite.java:140)
>
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(A
>
> stractDirectoryTestSuite.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(DelegatingMethodAcce
>
> sorImpl.java:25)
>
>         at java.lang.reflect.Method.invoke(Method.java:597)
>
>         at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(S
>
> refireBooter.java:345)
>
>         at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.
>
> ava:1009)
>
> Caused by: java.io.FileNotFoundException: Could not open ServletContext
> resourc
>
>  [/WEB-INF/applicationContext.xml]
>
>         at
> org.springframework.web.context.support.ServletContextResource.getIn
>
> utStream(ServletContextResource.java:118)
>
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBe
>
> nDefinitions(XmlBeanDefinitionReader.java:328)
>
>         ... 39 more
>
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
>
> Running org.jasig.cas.ticket.registry.DistributedTicketRegistryTests
>
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec
>
> Running org.jasig.cas.web.LogoutControllerTests
>
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
>
> Running org.jasig.cas.authentication.principal.SamlServiceTests
>
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
>
>
>
> Results :
>
>
>
> Failed tests:
>
>
> testCookieAddClientId(org.jasig.cas.web.support.CookieRetrievingCookieGenerat
>
> rTests)
>
>
> testCookieAddWithRememberMeAndClientId(org.jasig.cas.web.support.CookieRetrie
>
> ingCookieGeneratorTests)
>
>
> testCookieRetrieveWithoutClientId(org.jasig.cas.web.support.CookieRetrievingC
>
> okieGeneratorTests)
>
>
> testAcceptsProperCertificateCredentials(org.jasig.cas.authentication.handler.
>
> upport.HttpBasedServiceCredentialsAuthenticationHandlerTests)
>
>
>
> Tests in error:
>
>
> testNoResolverFound(org.jasig.cas.authentication.AuthenticationManagerImplTes
>
> s)
>
>
> testDelegateTicketGrantingTicketWithProperParams(org.jasig.cas.CentralAuthent
>
> cationServiceImplTests)
>
>
> testDelegateTicketGrantingTicketWithValidCredentials(org.jasig.cas.remoting.s
>
> rver.RemoteCentralAuthenticationServiceTests)
>
>
>
> Tests run: 345, Failures: 4, Errors: 3, Skipped: 0
>
>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] There are test failures.
>
>
>
> Please refer to
> D:\workspace\cas-server-3.4.2.1\cas-server-core\target\surefire
>
> reports for the individual test results.
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] For more information, run Maven with the -e switch
>
> [INFO]
> ------------------------------------------------------------------------
>
>
>
> *From:* Scott Battaglia [mailto:[email protected]]
> *Sent:* Tuesday, September 14, 2010 2:57 PM
>
> *To:* [email protected]
> *Subject:* Re: [cas-user] CAS Build error
>
>
>
> In the cas-server-core/target/surefire-reports, there should be the logs
> for which tests failed.
>
> Older versions of CAS went against the jasig.org site for its SSL-check
> tests.  When we switched to a GoDaddy cert, those tests started failing, but
> we should have migrated those tests away.
>
> I can't download/try from here right now.
>
> As a workaround, you can add -Dmaven.test.skip=true and the tests won't be
> run :-)
>
>  On Tue, Sep 14, 2010 at 2:46 PM, Jonathan Bricker <
> [email protected]> wrote:
>
> 3.4.2.1 Release
>
>
>
> I’ve had it running on my machine, which is the same as the other computer
> for a month but a colleague was going to work on it so we set her up with a
> fresh server.  Downloaded this morning.
>
>
>
> *From:* Scott Battaglia [mailto:[email protected]]
> *Sent:* Tuesday, September 14, 2010 2:10 PM
> *To:* [email protected]
> *Subject:* Re: [cas-user] CAS Build error
>
>
>
> Which version of CAS are you attempting to run the tests for?
>
> On Tue, Sep 14, 2010 at 12:04 PM, Jonathan Bricker <
> [email protected]> wrote:
>
> We are trying to figure out why we get a failed test when we build CAS for
> the first time.  The computer is a windows7 64 bit.  It has Java SDK 1.6_21.
>
>
>
>
> It is failing in the core module.
>
>
>
> Failed tests:
>
>
> testAcceptsProperCertificateCredentials(org.jasig.cas.authentication.handler.s
>
> upport.HttpBasedServiceCredentialsAuthenticationHandlerTests)
>
>
>
> Tests in error:
>
>
> testNoResolverFound(org.jasig.cas.authentication.AuthenticationManagerImplTest
>
> s)
>
>
> testDelegateTicketGrantingTicketWithProperParams(org.jasig.cas.CentralAuthenti
>
> cationServiceImplTests)
>
>   testDelegateTicketGrantingTicketWithValidCredentials(
> org.jasig.cas.remoting.se
>
> rver.RemoteCentralAuthenticationServiceTests)
>
>
>
> Tests run: 342, Failures: 1, Errors: 3, Skipped: 0
>
>
>
> Is there something we need to do that is not in the install docs?  Do we
> need to set up a keystore?
>
> *Jonathan Bricker*
>
> ExactTarget
>
> *Senior Software Engineer*
>
> Office  |  317.524.2789
>
> Cell  |  317.435.0763
>
> Email  |  [email protected] <[email protected]>
>
>
>
> --
>
> You are currently subscribed to [email protected] as: 
> [email protected]
>
>
>
>
>
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
>
> --
>
> You are currently subscribed to [email protected] as: 
> [email protected]
>
>
>
>
>
>
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>  --
>
> You are currently subscribed to [email protected] as: 
> [email protected]
>
>
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
>
> --
>
> You are currently subscribed to [email protected] as: 
> [email protected]
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>  --
> You are currently subscribed to [email protected] as: 
> [email protected]
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to