You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Duminda Ekanayake <du...@gmail.com> on 2007/08/07 14:59:17 UTC

[BUILD]Test case failure at org.apache.geronimo.security.jaas.LoginKerberosTest.

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

Re: [BUILD]Test case failure at org.apache.geronimo.security.jaas.LoginKerberosTest.

Posted by Prasad Kashyap <go...@gmail.com>.
Is this on trunk ?

Cheers
Prasad

On 8/7/07, Duminda Ekanayake <du...@gmail.com> 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

Re: [BUILD]Test case failure at org.apache.geronimo.security.jaas.LoginKerberosTest.

Posted by Duminda Ekanayake <du...@gmail.com>.
Hi,
        Thankyou very much for your corporation . The test case has passed
:-).
BTW : Really happy that I discovered a problem (even though I don't know it
is a problem).


Regards!
Duminda



<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="0" skipped="0" tests="1" time="0.078" failures="0" name="
org.apache.geronimo.security.jaas.LoginKerberosTest">
  <properties>
    <property value="Java(TM) 2 Runtime Environment, Standard Edition"
name="java.runtime.name"/>
    <property value="D:\Java\jdk1.5.0_10\jre\bin" name="
sun.boot.library.path"/>
    <property value="1.5.0_10-b03" name="java.vm.version"/>
    <property value="E:\g\server\modules\geronimo-security\target\." name="
org.apache.geronimo.home.dir"/>
    <property value="Sun Microsystems Inc." name="java.vm.vendor"/>
    <property value="http://java.sun.com/" name="java.vendor.url"/>
    <property value=";" name="path.separator"/>
    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
    <property value="sun.io" name="file.encoding.pkg"/>
    <property value="US" name="user.country"/>
    <property value="Service Pack 2" name="sun.os.patch.level"/>
    <property value="Java Virtual Machine Specification" name="
java.vm.specification.name"/>
    <property value="E:\g\server\modules\geronimo-security\target" name="
user.dir"/>
    <property value="1.5.0_10-b03" name="java.runtime.version"/>
    <property value="sun.awt.Win32GraphicsEnvironment" name="
java.awt.graphicsenv"/>
    <property value="E:\g\server\modules\geronimo-security" name="basedir"/>
    <property value="D:\Java\jdk1.5.0_10\jre\lib\endorsed" name="
java.endorsed.dirs"/>
    <property value="x86" name="os.arch"/>
    <property value="C:\DOCUME~1\duminda\LOCALS~1\Temp" name="java.io.tmpdir
"/>
    <property value="
" name="line.separator"/>
    <property value="Sun Microsystems Inc." name="
java.vm.specification.vendor"/>
    <property value="" name="user.variant"/>
    <property value="Windows XP" name="os.name"/>
    <property value="org/apache/geronimo/test-log4j.properties" name="
log4j.configuration"/>
    <property value="Cp1252" name="sun.jnu.encoding"/>
    <property
value="D:\Java\jdk1.5.0_10\bin;.;C:\WINDOWS\system32;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\Tools\BINN;D:\maven-2.0.5-bin\bin;D:\apache-ant-1.6.2-bin\bin"
name="java.library.path"/>
    <property value="Java Platform API Specification" name="
java.specification.name"/>
    <property value="49.0" name="java.class.version"/>
    <property value="HotSpot Client Compiler" name="sun.management.compiler
"/>
    <property value="E:\g\server\modules\geronimo-security\target\." name="
org.apache.geronimo.server.dir"/>
    <property value="5.1" name="os.version"/>
    <property value="C:\Documents and Settings\duminda" name="user.home"/>
    <property value="Asia/Colombo" name="user.timezone"/>
    <property value="sun.awt.windows.WPrinterJob" name="java.awt.printerjob
"/>
    <property value="1.5" name="java.specification.version"/>
    <property value="Cp1252" name="file.encoding"/>
    <property value="Duminda" name="user.name"/>
    <property
value="E:\m2\org\apache\maven\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.jar"
name="java.class.path"/>
    <property value="1.0" name="java.vm.specification.version"/>
    <property value="32" name="sun.arch.data.model"/>
    <property value="D:\Java\jdk1.5.0_10\jre" name="java.home"/>
    <property value="Sun Microsystems Inc." name="java.specification.vendor
"/>
    <property value="en" name="user.language"/>
    <property value="sun.awt.windows.WToolkit" name="awt.toolkit"/>
    <property value="mixed mode, sharing" name="java.vm.info"/>
    <property value="1.5.0_10" name="java.version"/>
    <property value="D:\Java\jdk1.5.0_10\jre\lib\ext" name="java.ext.dirs"/>
    <property
value="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.jar;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="sun.boot.class.path"/>
    <property value="Sun Microsystems Inc." name="java.vendor"/>
    <property
value="E:\g\server\modules\geronimo-security/src/test/data/data/login.config"
name="java.security.auth.login.config"/>
    <property value="E:/m2" name="localRepository"/>
    <property value="\" name="file.separator"/>
    <property value="false" name="geronimo.bootstrap.logging.enabled"/>
    <property value="http://java.sun.com/cgi-bin/bugreport.cgi" name="
java.vendor.url.bug"/>
    <property value="little" name="sun.cpu.endian"/>
    <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
    <property value="windows" name="sun.desktop"/>
    <property value="" name="sun.cpu.isalist"/>
  </properties>
  <testcase time="1.187" name="testLogin"/>
  <testcase time="0.031" name="testNullUserLogin"/>
  <testcase time="0.031" name="testBadUserLogin"/>
  <testcase time="0.032" name="testNullPasswordLogin"/>
  <testcase time="0.047" name="testBadPasswordLogin"/>
  <testcase time="0.188" name="testLogin"/>
  <testcase time="0.187" name="test"/>
  <testcase time="0.016" name="testGetCallerPrincipal"/>
  <testcase time="0.015" name="testPushNextCallerWithSubjectPresent"/>
  <testcase time="0.031" name="testNothing"/>
  <testcase time="10.047" name="testTimeout"/>
  <testcase time="0.031" name="testNoLoginModuleReuse"/>
  <testcase time="0.609" name="testLogin"/>
  <testcase time="0.016" name="testNullUserLogin"/>
  <testcase time="0.016" name="testNullPasswordLogin"/>
  <testcase time="0" name="testPolicyConfigurationOpen"/>
  <testcase time="0" name="testSamePolicyConfigurationInstance"/>
  <testcase time="0.078" name="testLogin"/>
</testsuite>

On 8/8/07, David Jencks <da...@yahoo.com> wrote:
>
> Hi Duminda,
> The test report was very informative :-) I think you are the first person
> to run this test on a system with kerberos running in the last 2 years or
> so.  For everyone else the test gets an exception when the login is tried
> and we figure that means kerberos is missing.... so the test passes.
>
> I opened https://issues.apache.org/jira/browse/GERONIMO-3388 to track this
> and think I've fixed the test so it ought to pass when kerberos is actually
> running.  Could you update branches/2.0 or trunk and try the test again?
>
> Many thanks for discovering this problem!
> david jencks
>
> On Aug 7, 2007, at 8:59 PM, Duminda Ekanayake wrote:
>
> 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
> that point too.
> Now I have checkout the server.But still no success.
>
> Regards!
> Duminda
>
>
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <testsuite errors="0" skipped="0" tests="1" time=" 0.032" failures="1"
> name="org.apache.geronimo.security.jaas.LoginKerberosTest">
>   <properties>
>     <property value="Java(TM) 2 Runtime Environment, Standard Edition"
> name=" java.runtime.name"/>
>     <property value="D:\Java\jdk1.5.0_10\jre\bin" name="
> sun.boot.library.path"/>
>     <property value="1.5.0_10-b03 " name="java.vm.version"/>
>     <property value="E:\g\server\modules\geronimo-security\target\."
> name="org.apache.geronimo.home.dir"/>
>     <property value="Sun Microsystems Inc." name=" java.vm.vendor"/>
>     <property value="http://java.sun.com/" name="java.vendor.url"/>
>     <property value=";" name="path.separator "/>
>     <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
>     <property value="sun.io" name=" file.encoding.pkg"/>
>     <property value="US" name="user.country"/>
>     <property value="Service Pack 2" name="sun.os.patch.level"/>
>     <property value="Java Virtual Machine Specification" name="
> java.vm.specification.name"/>
>     <property value="E:\g\server\modules\geronimo-security\target" name="
> user.dir"/>
>     <property value=" 1.5.0_10-b03" name="java.runtime.version"/>
>     <property value="sun.awt.Win32GraphicsEnvironment" name="
> java.awt.graphicsenv"/>
>     <property value="E:\g\server\modules\geronimo-security"
> name="basedir"/>
>     <property value="D:\Java\jdk1.5.0_10\jre\lib\endorsed" name="
> java.endorsed.dirs"/>
>     <property value="x86" name="os.arch"/>
>     <property value="C:\DOCUME~1\duminda\LOCALS~1\Temp" name="
> java.io.tmpdir"/>
>     <property value="
> " name="line.separator"/>
>     <property value="Sun Microsystems Inc." name="
> java.vm.specification.vendor"/>
>     <property value="" name=" user.variant"/>
>     <property value="Windows XP" name="os.name"/>
>     <property value="org/apache/geronimo/test-log4j.properties" name="
> log4j.configuration"/>
>     <property value="Cp1252" name="sun.jnu.encoding"/>
>     <property
> value="D:\Java\jdk1.5.0_10\bin;.;C:\WINDOWS\system32;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\Tools\BINN;D:\maven-2.0.5-bin\bin;D:\apache-ant-1.6.2-bin\bin"
> name="java.library.path"/>
>     <property value="Java Platform API Specification" name="
> java.specification.name"/>
>     <property value="49.0" name="java.class.version"/>
>     <property value="HotSpot Client Compiler" name="
> sun.management.compiler"/>
>     <property value="E:\g\server\modules\geronimo-security\target\."
> name="org.apache.geronimo.server.dir"/>
>     <property value="5.1" name=" os.version"/>
>     <property value="C:\Documents and Settings\duminda" name="user.home"/>
>     <property value="Asia/Colombo" name="user.timezone"/>
>     <property value=" sun.awt.windows.WPrinterJob" name="
> java.awt.printerjob"/>
>     <property value="1.5" name="java.specification.version"/>
>     <property value="Cp1252" name=" file.encoding"/>
>     <property value="Duminda" name="user.name"/>
>     <property
> value="E:\m2\org\apache\maven\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.jar" name="java.class.path"/>
>     <property value=" 1.0" name="java.vm.specification.version"/>
>     <property value="32" name="sun.arch.data.model"/>
>     <property value="D:\Java\jdk1.5.0_10\jre" name="java.home "/>
>     <property value="Sun Microsystems Inc." name="
> java.specification.vendor"/>
>     <property value="en" name="user.language"/>
>     <property value=" sun.awt.windows.WToolkit" name="awt.toolkit"/>
>     <property value="mixed mode, sharing" name="java.vm.info"/>
>     <property value=" 1.5.0_10" name="java.version"/>
>     <property value="D:\Java\jdk1.5.0_10\jre\lib\ext" name="java.ext.dirs
> "/>
>     <property
> value="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.jar;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=" sun.boot.class.path"/>
>     <property value="Sun Microsystems Inc." name="java.vendor"/>
>     <property
> value="E:\g\server\modules\geronimo-security/src/test/data/data/login.config"
> name=" java.security.auth.login.config"/>
>     <property value="E:/m2" name="localRepository"/>
>     <property value="\" name="file.separator"/>
>     <property value="false" name=" geronimo.bootstrap.logging.enabled"/>
>     <property value="http://java.sun.com/cgi-bin/bugreport.cgi" name="
> java.vendor.url.bug"/>
>     <property value="little" name="sun.cpu.endian"/>
>     <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
>     <property value="windows" name=" sun.desktop"/>
>     <property value="" name="sun.cpu.isalist"/>
>   </properties>
>   <testcase time="1.141" name="testLogin"/>
>   <testcase time=" 0.078" name="testNullUserLogin"/>
>   <testcase time="0.032" name="testBadUserLogin"/>
>   <testcase time="0.031" name="testNullPasswordLogin"/>
>   <testcase time=" 0.047" name="testBadPasswordLogin"/>
>   <testcase time="0.125" name="testLogin"/>
>   <testcase time="0.156" name="test"/>
>   <testcase time="0" name="testGetCallerPrincipal"/>
>   <testcase time="0" name="testPushNextCallerWithSubjectPresent"/>
>   <testcase time="0.032" name="testNothing"/>
>   <testcase time="10.031" name="testTimeout"/>
>   <testcase time="0" name="testNoLoginModuleReuse"/>
>   <testcase time="0.563" name="testLogin"/>
>   <testcase time="0.031" name="testNullUserLogin"/>
>   <testcase time="0.031" name="testNullPasswordLogin"/>
>   <testcase time="0" name="testPolicyConfigurationOpen"/>
>   <testcase time="0" name="testSamePolicyConfigurationInstance"/>
>   <testcase time="0.016" name="testLogin">
>     <failure type="junit.framework.AssertionFailedError"
> message="server-side subject should have three principals
> expected:&amp;lt;3&amp;gt; but was:&amp;lt;2&amp;gt;">
> junit.framework.AssertionFailedError: server-side subject should have
> three principals expected:&amp;3&amp; but was:&amp;2&amp;
>     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)
> </failure>
>     <system-out>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
>
> </system-out>
>   </testcase>
> </testsuite>
>
> On 8/7/07, David Jencks <da...@yahoo.com> 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
> >
> >
> >
>
>
> --
> Hasta la victoria siempè!
>
>
>


-- 
Hasta la victoria siempè!

Re: [BUILD]Test case failure at org.apache.geronimo.security.jaas.LoginKerberosTest.

Posted by David Jencks <da...@yahoo.com>.
Hi Duminda,

The test report was very informative :-) I think you are the first  
person to run this test on a system with kerberos running in the last  
2 years or so.  For everyone else the test gets an exception when the  
login is tried and we figure that means kerberos is missing.... so  
the test passes.

I opened https://issues.apache.org/jira/browse/GERONIMO-3388 to track  
this and think I've fixed the test so it ought to pass when kerberos  
is actually running.  Could you update branches/2.0 or trunk and try  
the test again?

Many thanks for discovering this problem!
david jencks

On Aug 7, 2007, at 8:59 PM, Duminda Ekanayake wrote:

> 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 that point too.
> Now I have checkout the server.But still no success.
>
> Regards!
> Duminda
>
>
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <testsuite errors="0" skipped="0" tests="1" time=" 0.032"  
> failures="1"  
> name="org.apache.geronimo.security.jaas.LoginKerberosTest">
>   <properties>
>     <property value="Java(TM) 2 Runtime Environment, Standard  
> Edition" name=" java.runtime.name"/>
>     <property value="D:\Java\jdk1.5.0_10\jre\bin"  
> name="sun.boot.library.path"/>
>     <property value="1.5.0_10-b03 " name="java.vm.version"/>
>     <property value="E:\g\server\modules\geronimo-security\target 
> \." name="org.apache.geronimo.home.dir"/>
>     <property value="Sun Microsystems Inc." name=" java.vm.vendor"/>
>     <property value="http://java.sun.com/" name="java.vendor.url"/>
>     <property value=";" name="path.separator "/>
>     <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
>     <property value="sun.io" name=" file.encoding.pkg"/>
>     <property value="US" name="user.country"/>
>     <property value="Service Pack 2" name="sun.os.patch.level"/>
>     <property value="Java Virtual Machine Specification" name="  
> java.vm.specification.name"/>
>     <property value="E:\g\server\modules\geronimo-security\target"  
> name="user.dir"/>
>     <property value=" 1.5.0_10-b03" name="java.runtime.version"/>
>     <property value="sun.awt.Win32GraphicsEnvironment"  
> name="java.awt.graphicsenv"/>
>     <property value="E:\g\server\modules\geronimo-security"  
> name="basedir"/>
>     <property value="D:\Java\jdk1.5.0_10\jre\lib\endorsed"  
> name="java.endorsed.dirs"/>
>     <property value="x86" name="os.arch"/>
>     <property value="C:\DOCUME~1\duminda\LOCALS~1\Temp" name="  
> java.io.tmpdir"/>
>     <property value="
> " name="line.separator"/>
>     <property value="Sun Microsystems Inc."  
> name="java.vm.specification.vendor"/>
>     <property value="" name=" user.variant"/>
>     <property value="Windows XP" name="os.name"/>
>     <property value="org/apache/geronimo/test-log4j.properties"  
> name=" log4j.configuration"/>
>     <property value="Cp1252" name="sun.jnu.encoding"/>
>     <property value="D:\Java\jdk1.5.0_10\bin;.;C:\WINDOWS 
> \system32;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\Tools\BINN;D:\maven-2.0.5-bin\bin;D: 
> \apache-ant-1.6.2-bin\bin" name="java.library.path"/>
>     <property value="Java Platform API Specification" name="  
> java.specification.name"/>
>     <property value="49.0" name="java.class.version"/>
>     <property value="HotSpot Client Compiler" name="  
> sun.management.compiler"/>
>     <property value="E:\g\server\modules\geronimo-security\target 
> \." name="org.apache.geronimo.server.dir"/>
>     <property value="5.1" name=" os.version"/>
>     <property value="C:\Documents and Settings\duminda"  
> name="user.home"/>
>     <property value="Asia/Colombo" name="user.timezone"/>
>     <property value=" sun.awt.windows.WPrinterJob"  
> name="java.awt.printerjob"/>
>     <property value="1.5" name="java.specification.version"/>
>     <property value="Cp1252" name=" file.encoding"/>
>     <property value="Duminda" name="user.name"/>
>     <property value="E:\m2\org\apache\maven\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.jar" name="java.class.path"/>
>     <property value=" 1.0" name="java.vm.specification.version"/>
>     <property value="32" name="sun.arch.data.model"/>
>     <property value="D:\Java\jdk1.5.0_10\jre" name="java.home "/>
>     <property value="Sun Microsystems Inc."  
> name="java.specification.vendor"/>
>     <property value="en" name="user.language"/>
>     <property value=" sun.awt.windows.WToolkit" name="awt.toolkit"/>
>     <property value="mixed mode, sharing" name="java.vm.info"/>
>     <property value=" 1.5.0_10" name="java.version"/>
>     <property value="D:\Java\jdk1.5.0_10\jre\lib\ext"  
> name="java.ext.dirs"/>
>     <property value="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.jar;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="  
> sun.boot.class.path"/>
>     <property value="Sun Microsystems Inc." name="java.vendor"/>
>     <property value="E:\g\server\modules\geronimo-security/src/test/ 
> data/data/login.config" name=" java.security.auth.login.config"/>
>     <property value="E:/m2" name="localRepository"/>
>     <property value="\" name="file.separator"/>
>     <property value="false" name="  
> geronimo.bootstrap.logging.enabled"/>
>     <property value="http://java.sun.com/cgi-bin/bugreport.cgi"  
> name="java.vendor.url.bug"/>
>     <property value="little" name="sun.cpu.endian"/>
>     <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
>     <property value="windows" name=" sun.desktop"/>
>     <property value="" name="sun.cpu.isalist"/>
>   </properties>
>   <testcase time="1.141" name="testLogin"/>
>   <testcase time=" 0.078" name="testNullUserLogin"/>
>   <testcase time="0.032" name="testBadUserLogin"/>
>   <testcase time="0.031" name="testNullPasswordLogin"/>
>   <testcase time=" 0.047" name="testBadPasswordLogin"/>
>   <testcase time="0.125" name="testLogin"/>
>   <testcase time="0.156" name="test"/>
>   <testcase time="0" name="testGetCallerPrincipal"/>
>   <testcase time="0" name="testPushNextCallerWithSubjectPresent"/>
>   <testcase time="0.032" name="testNothing"/>
>   <testcase time="10.031" name="testTimeout"/>
>   <testcase time="0" name="testNoLoginModuleReuse"/>
>   <testcase time="0.563" name="testLogin"/>
>   <testcase time="0.031" name="testNullUserLogin"/>
>   <testcase time="0.031" name="testNullPasswordLogin"/>
>   <testcase time="0" name="testPolicyConfigurationOpen"/>
>   <testcase time="0" name="testSamePolicyConfigurationInstance"/>
>   <testcase time="0.016" name="testLogin">
>     <failure type="junit.framework.AssertionFailedError"  
> message="server-side subject should have three principals  
> expected:&amp;lt;3&amp;gt; but was:&amp;lt;2&amp;gt;">  
> junit.framework.AssertionFailedError: server-side subject should  
> have three principals expected:&amp;3&amp; but was:&amp;2&amp;
>     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)
> </failure>
>     <system-out>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
>
> </system-out>
>   </testcase>
> </testsuite>
>
> On 8/7/07, David Jencks <da...@yahoo.com> 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
>
>
>
>
> -- 
> Hasta la victoria siempè!


Re: [BUILD]Test case failure at org.apache.geronimo.security.jaas.LoginKerberosTest.

Posted by Duminda Ekanayake <du...@gmail.com>.
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 that
point too.
Now I have checkout the server.But still no success.

Regards!
Duminda



<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="0" skipped="0" tests="1" time="0.032" failures="1" name="
org.apache.geronimo.security.jaas.LoginKerberosTest">
  <properties>
    <property value="Java(TM) 2 Runtime Environment, Standard Edition"
name="java.runtime.name"/>
    <property value="D:\Java\jdk1.5.0_10\jre\bin" name="
sun.boot.library.path"/>
    <property value="1.5.0_10-b03" name="java.vm.version"/>
    <property value="E:\g\server\modules\geronimo-security\target\." name="
org.apache.geronimo.home.dir"/>
    <property value="Sun Microsystems Inc." name="java.vm.vendor"/>
    <property value="http://java.sun.com/" name="java.vendor.url"/>
    <property value=";" name="path.separator"/>
    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
    <property value="sun.io" name="file.encoding.pkg"/>
    <property value="US" name="user.country"/>
    <property value="Service Pack 2" name="sun.os.patch.level"/>
    <property value="Java Virtual Machine Specification" name="
java.vm.specification.name"/>
    <property value="E:\g\server\modules\geronimo-security\target" name="
user.dir"/>
    <property value="1.5.0_10-b03" name="java.runtime.version"/>
    <property value="sun.awt.Win32GraphicsEnvironment" name="
java.awt.graphicsenv"/>
    <property value="E:\g\server\modules\geronimo-security" name="basedir"/>
    <property value="D:\Java\jdk1.5.0_10\jre\lib\endorsed" name="
java.endorsed.dirs"/>
    <property value="x86" name="os.arch"/>
    <property value="C:\DOCUME~1\duminda\LOCALS~1\Temp" name="java.io.tmpdir
"/>
    <property value="
" name="line.separator"/>
    <property value="Sun Microsystems Inc." name="
java.vm.specification.vendor"/>
    <property value="" name="user.variant"/>
    <property value="Windows XP" name="os.name"/>
    <property value="org/apache/geronimo/test-log4j.properties" name="
log4j.configuration"/>
    <property value="Cp1252" name="sun.jnu.encoding"/>
    <property
value="D:\Java\jdk1.5.0_10\bin;.;C:\WINDOWS\system32;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\Tools\BINN;D:\maven-2.0.5-bin\bin;D:\apache-ant-1.6.2-bin\bin"
name="java.library.path"/>
    <property value="Java Platform API Specification" name="
java.specification.name"/>
    <property value="49.0" name="java.class.version"/>
    <property value="HotSpot Client Compiler" name="sun.management.compiler
"/>
    <property value="E:\g\server\modules\geronimo-security\target\." name="
org.apache.geronimo.server.dir"/>
    <property value="5.1" name="os.version"/>
    <property value="C:\Documents and Settings\duminda" name="user.home"/>
    <property value="Asia/Colombo" name="user.timezone"/>
    <property value="sun.awt.windows.WPrinterJob" name="java.awt.printerjob
"/>
    <property value="1.5" name="java.specification.version"/>
    <property value="Cp1252" name="file.encoding"/>
    <property value="Duminda" name="user.name"/>
    <property
value="E:\m2\org\apache\maven\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.jar"
name="java.class.path"/>
    <property value="1.0" name="java.vm.specification.version"/>
    <property value="32" name="sun.arch.data.model"/>
    <property value="D:\Java\jdk1.5.0_10\jre" name="java.home"/>
    <property value="Sun Microsystems Inc." name="java.specification.vendor
"/>
    <property value="en" name="user.language"/>
    <property value="sun.awt.windows.WToolkit" name="awt.toolkit"/>
    <property value="mixed mode, sharing" name="java.vm.info"/>
    <property value="1.5.0_10" name="java.version"/>
    <property value="D:\Java\jdk1.5.0_10\jre\lib\ext" name="java.ext.dirs"/>
    <property
value="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.jar;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="sun.boot.class.path"/>
    <property value="Sun Microsystems Inc." name="java.vendor"/>
    <property
value="E:\g\server\modules\geronimo-security/src/test/data/data/login.config"
name="java.security.auth.login.config"/>
    <property value="E:/m2" name="localRepository"/>
    <property value="\" name="file.separator"/>
    <property value="false" name="geronimo.bootstrap.logging.enabled"/>
    <property value="http://java.sun.com/cgi-bin/bugreport.cgi" name="
java.vendor.url.bug"/>
    <property value="little" name="sun.cpu.endian"/>
    <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
    <property value="windows" name="sun.desktop"/>
    <property value="" name="sun.cpu.isalist"/>
  </properties>
  <testcase time="1.141" name="testLogin"/>
  <testcase time="0.078" name="testNullUserLogin"/>
  <testcase time="0.032" name="testBadUserLogin"/>
  <testcase time="0.031" name="testNullPasswordLogin"/>
  <testcase time="0.047" name="testBadPasswordLogin"/>
  <testcase time="0.125" name="testLogin"/>
  <testcase time="0.156" name="test"/>
  <testcase time="0" name="testGetCallerPrincipal"/>
  <testcase time="0" name="testPushNextCallerWithSubjectPresent"/>
  <testcase time="0.032" name="testNothing"/>
  <testcase time="10.031" name="testTimeout"/>
  <testcase time="0" name="testNoLoginModuleReuse"/>
  <testcase time="0.563" name="testLogin"/>
  <testcase time="0.031" name="testNullUserLogin"/>
  <testcase time="0.031" name="testNullPasswordLogin"/>
  <testcase time="0" name="testPolicyConfigurationOpen"/>
  <testcase time="0" name="testSamePolicyConfigurationInstance"/>
  <testcase time="0.016" name="testLogin">
    <failure type="junit.framework.AssertionFailedError"
message="server-side subject should have three principals
expected:&amp;lt;3&amp;gt; but was:&amp;lt;2&amp;gt;">
junit.framework.AssertionFailedError: server-side subject should have three
principals expected:&amp;3&amp; but was:&amp;2&amp;
    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)
</failure>
    <system-out>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

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

On 8/7/07, David Jencks <da...@yahoo.com> 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
>
>
>


-- 
Hasta la victoria siempè!

Re: [BUILD]Test case failure at org.apache.geronimo.security.jaas.LoginKerberosTest.

Posted by David Jencks <da...@yahoo.com>.
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