Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 59534 invoked from network); 8 Aug 2007 03:59:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 03:59:38 -0000 Received: (qmail 3067 invoked by uid 500); 8 Aug 2007 03:59:35 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 3013 invoked by uid 500); 8 Aug 2007 03:59:35 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 3002 invoked by uid 99); 8 Aug 2007 03:59:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 20:59:35 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS,URIBL_BLACK X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dumindae@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 03:59:28 +0000 Received: by ug-out-1314.google.com with SMTP id m3so154092ugc for ; Tue, 07 Aug 2007 20:59:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=njxr06gkJGBmZuy1YVgkASb98aNK/uJjxB3UFLbvrTPcrFchqAT4S2obHqC7rGLvCtFdtZ2/f1KNXqmjzcKBmuIfnhqVXQ0k0XN+RGX1GjGlWpX7qN+lLsEzWTDxTfG7F6NFjDqaUuVVnULIiZfGsxCJ+S9Q1GjbT468qE+JxGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=k/fVlshYnHHVUDQFSq3OGMaxCQ526ofFUkfkqFQXDvGosvrziCsPygRM96OoHU23NQRqQLx9lYWSyRsxKUjLebmvTOZr6sJ6Bi/ao/Rd+wXho008zYCbWHC/ONIaH113SKitI8FbsyuFZearSQD/YDwl8K8prf70aVomwiNBEP4= Received: by 10.78.170.17 with SMTP id s17mr415019hue.1186545542764; Tue, 07 Aug 2007 20:59:02 -0700 (PDT) Received: by 10.78.149.8 with HTTP; Tue, 7 Aug 2007 20:59:02 -0700 (PDT) Message-ID: <26f4e0f80708072059p19385674w5e17840f146f853b@mail.gmail.com> Date: Wed, 8 Aug 2007 09:29:02 +0530 From: "Duminda Ekanayake" To: dev@geronimo.apache.org Subject: Re: [BUILD]Test case failure at org.apache.geronimo.security.jaas.LoginKerberosTest. In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_80050_29811298.1186545542724" References: <26f4e0f80708070559j23b1ec4fm90c6b18e4e891a36@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_80050_29811298.1186545542724 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi the contents of the "TEST-org.apache.geronimo.security.jaas.LoginKerberosTest.xml" is specified below. i have checkout the trunk earlier. but the same build failure raised at tha= t point too. Now I have checkout the server.But still no success. Regards! Duminda junit.framework.AssertionFailedError: server-side subject should have three principals expected:&3& but was:&2& at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:282) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:201) at org.apache.geronimo.security.jaas.LoginKerberosTest.testLogin( LoginKerberosTest.java:94) Debug is true storeKey false useTicketCache true useKeyTab false doNotPrompt true ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false Acquire TGT from Cache Principal is Duminda@JKCS_DOMAIN.ORG Commit Succeeded On 8/7/07, David Jencks wrote: > > I haven't seen this problem. Can you tell us about your environment (in > particular jdk) and try to see what the error is? It should be in > modules/geronimo-security/target/surefire-reports/TEST- > org.apache.geronimo.security.jaas.LoginKerberosTest.xml > thanks > david jencks > > On Aug 7, 2007, at 5:59 AM, Duminda Ekanayake wrote: > > Hi, > I just checkout gerenimo and start building , but seems to be > building is failed at org.apache.geronimo.security.jaas.LoginKerberosTest= . > since the test is failed.Any updates on this? > > Regrads! > Duminda > > > --=20 Hasta la victoria siemp=E8! ------=_Part_80050_29811298.1186545542724 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi the contents of the "TEST-org.ap= ache.geronimo.security.jaas.Login= KerberosTest.xml"  is specified below.

i have check= out the trunk earlier. but the same build failure raised at that point too.
Now I have checkout the server.But still no success.

Regards!Duminda



<?xml version=3D"1.0" encoding=3D"= ;UTF-8" ?>
<testsuite errors=3D"0" skipped=3D"= 0" tests=3D"1" time=3D" 0.032" failures=3D"1" name=3D"org.apache.geronimo.secur= ity.jaas.LoginKerberosTest">
  <properties>
 =    <property value=3D"Java(TM) 2 Runtime Environment, Sta= ndard Edition" name=3D" java.runtime.name"/>
&n= bsp;   <property value=3D"D:\Java\jdk1.5.0_10\jre\bin&quo= t; name=3D"sun.boot.library.path"/>
    <= property value=3D"1.5.0_10-b03 " name=3D"java.vm.version"/>
    <pr= operty value=3D"E:\g\server\modules\geronimo-security\target\." n= ame=3D"org.apache.geronimo.home.dir"/>
    &= lt;property value=3D"Sun Microsystems Inc." name=3D" java.vm.vendor"/>
    <property value=3D"= http://java.sun.com/" name=3D&quo= t;java.vendor.url"/>
    <property value=3D&qu= ot;;" name=3D"path.separator "/>
    <property value=3D"Java HotSpot(T= M) Client VM" name=3D"java.vm.nam= e"/>
    <property value=3D"sun.io" name=3D" file.encoding.pkg"/>
    <property value=3D&qu= ot;US" name=3D"user.country"/>
    <= property value=3D"Service Pack 2" name=3D"sun.os.patch.level= "/>
    <property value=3D"Java Virtual M= achine Specification" name=3D" java.vm.specification.name"/>
    <property value=3D"E:\g\server\m= odules\geronimo-security\target" name=3D"user.dir"/>
&= nbsp;   <property value=3D" 1.5.0_10-b03" name=3D"java.runtime.version"/>
 &n= bsp;  <property value=3D"sun.awt.Win32GraphicsEnvironment"= ; name=3D"java.awt.graphicsenv"/>
    <pr= operty value=3D"E:\g\server\modules\geronimo-security" name=3D&qu= ot;basedir"/>
    <property value=3D"D:\Java\jdk1.5.0_10\jre\l= ib\endorsed" name=3D"java.endorsed.dirs"/>
  = ;  <property value=3D"x86" name=3D"os.arch"/>= ;
    <property value=3D"C:\DOCUME~1\duminda\LOCA= LS~1\Temp" name=3D" java.io.tmpdir"/>
    <property value=3D"=
" name=3D"line.separator"/>
    <= ;property value=3D"Sun Microsystems Inc." name=3D"java.vm.sp= ecification.vendor"/>
    <property value=3D&q= uot;" name=3D" user.variant"/>
    <property value=3D"Wi= ndows XP" name=3D"
os.name"/&g= t;
    <property value=3D"org/apache/geronimo/tes= t-log4j.properties" name=3D" log4j.configuration"/>
    <property value=3D&= quot;Cp1252" name=3D"sun.jnu.encoding"/>
  &= nbsp; <property value=3D"D:\Java\jdk1.5.0_10\bin;.;C:\WINDOWS\syste= m32;C:\WINDOWS;D:\Java\jdk1.5.0_10\bin;D:\Java\J2SDK142\bin;D:\Oracle\bin;C= :\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;= C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\maven- 2.0.5-bin\bin;D:\Subversion\bin;C:\Program Files\Microsoft SQL Server\80\To= ols\BINN;D:\maven-2.0.5-bin\bin;D:\apache-ant-1.6.2-bin\bin" name=3D&q= uot;java.library.path"/>
    <property value= =3D"Java Platform API Specification" name=3D" java.specification.name"= ;/>
    <property value=3D"49.0" name=3D&= quot;java.class.version"/>
    <property value= =3D"HotSpot Client Compiler" name=3D" sun.management.compiler"/>
    <property value= =3D"E:\g\server\modules\geronimo-security\target\." name=3D"= org.apache.geronimo.server.dir"/>
    <propert= y value=3D"5.1" name=3D" os.version"/>
    <property value=3D"C:\D= ocuments and Settings\duminda" name=3D"user.home"/>
&n= bsp;   <property value=3D"Asia/Colombo" name=3D"= ;user.timezone"/>
    <property value=3D" sun.awt.windows.WPrinterJob" name=3D"java.awt.printerjob"/&g= t;
    <property value=3D"1.5" name=3D"= java.specification.version"/>
    <property va= lue=3D"Cp1252" name=3D" file.encoding"/>
    <property value=3D"D= uminda" name=3D"user.name"/= >
    <property value=3D"E:\m2\org\apache\mave= n\surefire\surefire-api\2.0\surefire- api-2.0.jar;E:\m2\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar= ;E:\m2\org\apache\maven\surefire\surefire-booter\2.0\surefire-booter-2.0.ja= r" name=3D"java.class.path"/>
    <p= roperty value=3D" 1.0" name=3D"java.vm.specification.version"/>
 &n= bsp;  <property value=3D"32" name=3D"sun.arch.data.m= odel"/>
    <property value=3D"D:\Java\jd= k1.5.0_10\jre" name=3D"java.home "/>
    <property value=3D"Sun Microsyste= ms Inc." name=3D"java.specification.vendor"/>
 &n= bsp;  <property value=3D"en" name=3D"user.language&q= uot;/>
    <property value=3D" sun.awt.windows.WToolkit" name=3D"awt.toolkit"/>
 = ;   <property value=3D"mixed mode, sharing" name=3D&= quot;java.vm.info"/>
 &= nbsp;  <property value=3D" 1.5.0_10" name=3D"java.version"/>
    &= lt;property value=3D"D:\Java\jdk1.5.0_10\jre\lib\ext" name=3D&quo= t;java.ext.dirs"/>
    <property value=3D"= ;D:\Java\jdk1.5.0_10\jre\lib\rt.jar;D:\Java\jdk1.5.0_10\jre\lib\i18n.jar;D:= \Java\jdk1.5.0_10\jre\lib\sunrsasign.jar;D:\Java\jdk1.5.0_10\jre\lib\jsse.j= ar;D:\Java\jdk1.5.0_10\jre\lib\jce.jar;D:\Java\jdk1.5.0_10\jre\lib\charsets= .jar;D:\Java\jdk1.5.0_10\jre\classes" name=3D" sun.boot.class.path"/>
    <property value=3D&= quot;Sun Microsystems Inc." name=3D"java.vendor"/>
&nb= sp;   <property value=3D"E:\g\server\modules\geronimo-sec= urity/src/test/data/data/login.config" name=3D" java.security.auth.login.config"/>
    <proper= ty value=3D"E:/m2" name=3D"localRepository"/>
&nb= sp;   <property value=3D"\" name=3D"file.separa= tor"/>
    <property value=3D"false"= name=3D" geronimo.bootstrap.logging.enabled"/>
    <pro= perty value=3D"h= ttp://java.sun.com/cgi-bin/bugreport.cgi" name=3D"java.vendor= .url.bug"/>
    <property value=3D"little" name=3D"= ;sun.cpu.endian"/>
    <property value=3D"= ;UnicodeLittle" name=3D"sun.io.unicode.encoding"/>
&nb= sp;   <property value=3D"windows" name=3D" sun.desktop"/>
    <property value=3D"&qu= ot; name=3D"sun.cpu.isalist"/>
  </properties>  <testcase time=3D"1.141" name=3D"testLogin"= />
  <testcase time=3D" 0.078" name=3D"testNullUserLogin"/>
  <testcas= e time=3D"0.032" name=3D"testBadUserLogin"/>
&nbs= p; <testcase time=3D"0.031" name=3D"testNullPasswordLogin= "/>
  <testcase time=3D" 0.047" name=3D"testBadPasswordLogin"/>
  <test= case time=3D"0.125" name=3D"testLogin"/>
  &= lt;testcase time=3D"0.156" name=3D"test"/>
 = <testcase time=3D"0" name=3D"testGetCallerPrincipal"= ;/>
  <testcase time=3D"0" name=3D"testPushNextCalle= rWithSubjectPresent"/>
  <testcase time=3D"0.032&qu= ot; name=3D"testNothing"/>
  <testcase time=3D"= ;10.031" name=3D"testTimeout"/>
  <testcase time=3D"0" name=3D"testNoLoginModule= Reuse"/>
  <testcase time=3D"0.563" name=3D&qu= ot;testLogin"/>
  <testcase time=3D"0.031" nam= e=3D"testNullUserLogin"/>
  <testcase time=3D"0.031" name=3D"testNullPassw= ordLogin"/>
  <testcase time=3D"0" name=3D&quo= t;testPolicyConfigurationOpen"/>
  <testcase time=3D&quo= t;0" name=3D"testSamePolicyConfigurationInstance"/>
  <testcase time=3D"0.016" name=3D"testLogin&quo= t;>
    <failure type=3D"junit.framework.Asser= tionFailedError" message=3D"server-side subject should have three= principals expected:&amp;lt;3&amp;gt; but was:&amp;lt;2&am= p;gt;"> junit.framework.AssertionFailedError: server-side subject should have three= principals expected:&amp;3&amp; but was:&amp;2&amp;
&nb= sp;   at junit.framework.Assert.fail(Assert.java:47)
 &nb= sp;  at junit.framework.Assert.failNotEquals (Assert.java:282)
    at junit.framework.Assert.assertEqu= als(Assert.java:64)
    at junit.framework.Assert.assertE= quals(Assert.java:201)
    at org.apache.geronimo.securit= y.jaas.LoginKerberosTest.testLogin(LoginKerberosTest.java :94)
</failure>
    <system-out>Debug is&n= bsp; true storeKey false useTicketCache true useKeyTab false doNotPrompt tr= ue ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is= false principal is null tryFirstPass is false useFirstPass is false storeP= ass is false clearPass is false
Acquire TGT from Cache
Principal is Duminda@JKCS_DOMAIN.ORG
Commi= t Succeeded

</system-out>
  </testcase>
<= /testsuite>

On 8/7/07, David Jencks <david_jencks= @yahoo.com> wrote:
I haven't seen this problem.  Can you tell us abou= t your environment (in particular jdk) and try to see what the error is?&nb= sp; It should be in
modules/geronimo-security/target/surefire-reports/T= EST-org.apache.geronimo.security.jaas.LoginKerberosTest.xml  

thanks
david jencks<= /div>

On Aug 7, 2007, at 5:59 AM, Duminda Ekanayake wrote:

Hi,
       I just checkout gerenimo and st= art building , but seems to be building is failed at org.apache.geronimo.security.jaas.LoginKerberosTest.
since the test is failed.Any updates on this?

Regrads!
Duminda




--
= Hasta la victoria siemp=E8! ------=_Part_80050_29811298.1186545542724--