I also ran into a similar problem and running "install" fixed the issue. 

 

ClearPass is not enabled by default such that the metadata populator
element is commented out in the config, though everything else is in place
for it to work. 

 

-Misagh



 

From: Scott Battaglia [mailto:[email protected]] 
Sent: Sunday, April 15, 2012 5:22 PM
To: [email protected]
Subject: Re: [cas-dev] Tests Failing on Build of cas master Branch

 

>> Failed to execute goal on project cas-server-webapp: Could not
resolve dependencies for project
org.jasig.cas:cas-server-webapp:war:3.5.0-RC1-SNAPSHOT: Failure to
find org.jasig.cas:cas-server-extension-clearpass:jar:3.5.0-RC1-SNAPSHOT
in http://developer.ja-sig.org/maven2 was cached in the local
repository, resolution will not be reattempted until the update
interval of jasig-repository has elapsed or updates are forced ->

 

That error may be because you didn't run "install" to make sure its in
your local repository (unless you had run "install" previoulsy).  Though I
don't understand why the extension is currently a dependency for the
webapp.  I thought ClearPass was not being enabled by default.

 

Cheers,

Scott

 

On Fri, Apr 13, 2012 at 9:54 PM, William G. Thompson, Jr.
<[email protected]> wrote:

I'm not seeing any problems in cas-server-core, but I am seeing
failures in cas-server-webapp.

$ git clone...; cd cas; mvn compile;
[INFO] Jasig Central Authentication Service .............. SUCCESS
[0.561s]
[INFO] JA-SIG CAS Core ................................... SUCCESS
[5.357s]
[INFO] JA-SIG CAS ClearPass Extension .................... SUCCESS
[0.786s]
[INFO] JA-SIG CAS Web Application ........................ SUCCESS
[0.334s]
[INFO] JA-SIG CAS Generic Support ........................ SUCCESS
[0.233s]
[INFO] JA-SIG CAS JDBC Support ........................... SUCCESS
[0.215s]
[INFO] JA-SIG CAS LDAP Support ........................... SUCCESS
[0.413s]
[INFO] JA-SIG CAS Legacy Support ......................... SUCCESS
[0.266s]
[INFO] JA-SIG CAS OpenId Support ......................... SUCCESS
[0.312s]
[INFO] JA-SIG CAS RADIUS Support ......................... SUCCESS
[0.382s]
[INFO] JA-SIG CAS SPNEGO/NTLM Support .................... SUCCESS
[0.328s]
[INFO] JA-SIG CAS Trusted User Support ................... SUCCESS
[0.212s]
[INFO] JA-SIG CAS X.509 Client Certificate Support ....... SUCCESS
[0.413s]
[INFO] JA-SIG CAS OAuth Support .......................... SUCCESS
[0.325s]
[INFO] JA-SIG CAS JBoss Cache Integration ................ SUCCESS
[0.223s]
[INFO] JA-SIG CAS BerkeleyDB Integration ................. SUCCESS
[0.195s]
[INFO] JA-SIG CAS Memcached Integration .................. SUCCESS
[0.162s]
[INFO] Jasig CAS Ehcache Integration ..................... SUCCESS
[0.189s]
[INFO] JA-SIG CAS Restlet Integration .................... SUCCESS
[0.205s]
[INFO] Jasig CAS - Uber WAR .............................. SUCCESS
[0.075s]
[INFO] CAS Documentation ................................. SUCCESS
[0.007s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 11.705s
[INFO] Finished at: Fri Apr 13 21:50:41 EDT 2012
[INFO] Final Memory: 28M/81M
[INFO]
------------------------------------------------------------------------

compiles fine.


$ mvn test;
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Jasig Central Authentication Service .............. SUCCESS
[0.590s]
[INFO] JA-SIG CAS Core ................................... SUCCESS
[53.948s]
[INFO] JA-SIG CAS ClearPass Extension .................... SUCCESS
[3.175s]
[INFO] JA-SIG CAS Web Application ........................ FAILURE
[1.774s]
[INFO] JA-SIG CAS Generic Support ........................ SKIPPED
[INFO] JA-SIG CAS JDBC Support ........................... SKIPPED
the rest skipped.

$ cd cas-server-core;mvn test
...
Tests run: 382, Failures: 0, Errors: 0, Skipped: 3
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 53.357s
[INFO] Finished at: Fri Apr 13 21:38:05 EDT 2012
[INFO] Final Memory: 6M/81M
[INFO]
------------------------------------------------------------------------


$ cd cas-server-webapp;mvn test
INFO]
------------------------------------------------------------------------
[INFO] Building JA-SIG CAS Web Application 3.5.0-RC1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[WARNING] The POM for org.opensaml:opensaml:jar:1.1b is missing, no
dependency information available
[WARNING] The POM for
org.jasig.cas:cas-server-extension-clearpass:jar:3.5.0-RC1-SNAPSHOT is
missing, no dependency information available
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.775s
[INFO] Finished at: Fri Apr 13 21:46:44 EDT 2012
[INFO] Final Memory: 4M/81M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cas-server-webapp: Could not
resolve dependencies for project
org.jasig.cas:cas-server-webapp:war:3.5.0-RC1-SNAPSHOT: Failure to
find org.jasig.cas:cas-server-extension-clearpass:jar:3.5.0-RC1-SNAPSHOT
in http://developer.ja-sig.org/maven2 was cached in the local
repository, resolution will not be reattempted until the update
interval of jasig-repository has elapsed or updates are forced ->

Bill




On Fri, Apr 13, 2012 at 1:53 PM, Marvin S. Addison
<[email protected]> wrote:
> I've been seeing some test failures for some time, and I decided to
> investigate further.  On attempting to build master from a fresh clone
of
> git://github.com/Jasig/cas.git I get the following test failures in
> cas-server-core:
>
> Failed tests:
>
>
testAcceptsProperCertificateCredentials(org.jasig.cas.authentication.handl
er.support.HttpBasedServiceCredentialsAuthenticationHandlerTests)
>
> Tests in error:
>
>
testNoResolverFound(org.jasig.cas.authentication.AuthenticationManagerImpl
Tests):
> Unexpected exception,
>
expected<org.jasig.cas.authentication.handler.UnsupportedCredentialsExcept
ion>
> but
>
was<org.jasig.cas.authentication.handler.BadCredentialsAuthenticationExcep
tion>
>
>
testDelegateTicketGrantingTicketWithProperParams(org.jasig.cas.CentralAuth
enticationServiceImplTests):
> error.authentication.credentials.bad
>
>
testDelegateTicketGrantingTicketWithValidCredentials(org.jasig.cas.remotin
g.server.RemoteCentralAuthenticationServiceTests):
> error.authentication.credentials.bad
>
> Can someone confirm?  Any insight would be appreciated.
>
> Thanks,
> M
>
> --

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

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

 

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

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

Reply via email to