Hi there

One of the tests is failing - you need to find out which one it is. 

Go to the cas-server-support-ldap folder and run "mvn test". You should see 
something like:


Results :

Failed tests: 
  testObserveOK(org.jasig.cas.monitor.PoolingContextSourceMonitorTests): 
expected:<OK> but was:<WARN>



(which is what I get).

For the moment, I'm commenting out the failing tests, but I'd like to know what 
other people do in these cases.

Cheers, john


-----Original Message-----
From: Menelaos Perdikeas [mailto:[email protected]] 
Sent: 01 September 2012 21:23
To: [email protected]
Subject: [cas-user] build failure with CAS 3.5.0

I just downloaded cas-server-3.5.0-release.tar.gz. The execution of "mvn 
package install" failed with the result I append below my signature. How can I 
troubleshoot this or seek more information?

Menelaos.

Tests run: 5, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Jasig Central Authentication Service .............. SUCCESS [3:28.567s] 
[INFO] JA-SIG CAS Core ................................... SUCCESS [7:26.813s] 
[INFO] JA-SIG CAS Web Application ........................ SUCCESS [1:26.974s] 
[INFO] JA-SIG CAS Generic Support ........................ SUCCESS [17.986s] 
[INFO] JA-SIG CAS JDBC Support ........................... SUCCESS [1.575s] 
[INFO] JA-SIG CAS LDAP Support ........................... FAILURE [24.829s] 
[INFO] JA-SIG CAS Legacy Support ......................... SKIPPED [INFO] 
JA-SIG CAS OpenId Support ......................... SKIPPED [INFO] JA-SIG CAS 
RADIUS Support ......................... SKIPPED [INFO] JA-SIG CAS SPNEGO/NTLM 
Support .................... SKIPPED [INFO] JA-SIG CAS Trusted User Support 
................... SKIPPED [INFO] JA-SIG CAS X.509 Client Certificate Support 
....... SKIPPED [INFO] JA-SIG CAS OAuth Support .......................... 
SKIPPED [INFO] JA-SIG CAS JBoss Cache Integration ................ SKIPPED 
[INFO] JA-SIG CAS Memcached Integration .................. SKIPPED [INFO] Jasig 
CAS Ehcache Integration ..................... SKIPPED [INFO] JA-SIG CAS Restlet 
Integration .................... SKIPPED [INFO] Jasig CAS - Uber WAR 
.............................. SKIPPED [INFO] CAS Documentation 
................................. SKIPPED [INFO] JA-SIG CAS ClearPass Extension 
.................... SKIPPED [INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:13.515s
[INFO] Finished at: Sat Sep 01 23:19:14 EEST 2012 [INFO] Final Memory: 48M/116M 
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on 
project cas-server-support-ldap: There are test failures.
[ERROR]
[ERROR] Please refer to 
/home/mperdikeas/software/cas-server-3.5.0/cas-server-support-ldap/target/surefire-reports
 for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cas-server-support-ldap


--
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