Hi, I'm new to CAS and I'm triying to setup a test CAS.
I start at http://www.ja-sig.org/wiki/display/CASUM/Building+and+Deploying ,
download cas-server-3.2.1 , ntar and cd /opt/cas-server-3.2.1 As It's write in the Wiki, I run # mvn package install The files are downloaded, and test failed. I tried # mvn package install -e The results are : Failed tests:testRuIdFound(org.jasig.cas.authentication.principal.CredentialsToLDAPAttributePrincipalResolverTests)
Results : Failed tests:testRuIdFound(org.jasig.cas.authentication.principal.CredentialsToLDAPAttributePrincipalResolverTests)
Tests run: 357, Failures: 1, Errors: 0, Skipped: 0[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.Please refer to /opt/cas-server-3.2.1/cas-server-core/target/surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------
[INFO] Trace org.apache.maven.BuildFailureException: There are test failures.Please refer to /opt/cas-server-3.2.1/cas-server-core/target/surefire-reports for the individual test results. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test
failures.
Please refer to /opt/cas-server-3.2.1/cas-server-core/target/surefire-reports for the individual test results. at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 49 seconds [INFO] Finished at: Wed Apr 23 14:28:07 UTC 2008 [INFO] Final Memory: 13M/25M[INFO] ------------------------------------------------------------------------
in the /opt/cas-server-3.2.1/cas-server-core/target/surefire-reports/org.jasig.cas.authentication.principal.CredentialsToLDAPAttributePrincipalResolverTests.txt file I can read
-------------------------------------------------------------------------------Test set: org.jasig.cas.authentication.principal.CredentialsToLDAPAttributePrincipalResolverTests
-------------------------------------------------------------------------------Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.09 sec <<< FAILURE! testRuIdFound(org.jasig.cas.authentication.principal.CredentialsToLDAPAttributePrincipalResolverTests) Time elapsed: 0.085 sec <<< FAILURE!
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNotNull(Assert.java:220)
at junit.framework.Assert.assertNotNull(Assert.java:213)
at
org.jasig.cas.authentication.principal.CredentialsToLDAPAttributePrincipalResolverTests.testRuIdFound(CredentialsToLDAPAttributePrincipalResolverTests.java:46)
I don't understand wath is the problem ... If someone as an idea. Thanks in advance Julien
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
