Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

SsaslGssapiBind test failure problem identified

Commented: (DIRSTUDIO-686) Improvements in Attribute wizard page
(8 lines)
Dockbook -> PDF how to size images
(36 lines)
Aug 13, 2010
Richard Feezel
Richard Feezel
On Thu, Aug 12, 2010 at 10:51 AM, Emmanuel Lecharny
<elech### @gmail.com>wrote:

  On 8/12/10 4:24 PM, feez### @gdls.com wrote:

> Gentlemen,
>
 Hi,

  My home system is Fedora Core 13 Linux with the Sun JDK 1.6_20,
> Subversion, Maven 2.2.1, and Eclipse 3.6 installed.
>
 Perfect.

  Back at a command prompt I tried running the following to make sure
> everything was working.
>
> 4)      "mvn test"
>
> Only one test "testSaslGssapiBind" is failing, and, looking at
the test
> code, it appears that the author doesn't expect this one to work
yet.
>
 Strange. All the tests are passing on our linux machines.

 Have you tried mvn clean install -Dintegration ?


I have not tried that.  I don't know how that differs from not specifying
"integration".

However, after looking at the error I was getting which indicated that the
LDAP service principle wasn't being found I set "sun.security.krb5.debug"
to
"true".  This didn't help much so I put a breakpoint in the TGS service
code
and stepped through it.  The service principle being requested is "ldap/
richard.fe### @EXAMPLE.COM" rather than "ldap/local### @EXAMPLE.COM".
 I'm guessing the switch is being made in the sun code for some reason,
probably in some obscure way related to the configuration of my machine
(which is named "richard.feezel.net").

I just discovered the source of the problem... In my etc/hosts file, on
the
127.0.0.1 line the name richard.feezel.net was listed first.  I moved
"localhost" to be the first name on the line and the error is gone.


  At my day job I have a Windows XP SP-3 with Sun JDK 1.6_17, Maven
2.2.1,
> Subversion, and Eclipse 3.6 installed.
>
> Access to the Internet from this system is restricted to using an
HTTP
> proxy that requires NTLM authentication.
>
 Thanks a lot, M$ ...


It's an on-going source of frustration.


 <snip/>

  Again the same three steps mentioned above were completed
successfully
> (despite the erratic operation of the proxy server).
>
> When I tried "mvn test", however, I got several failures.
>
> One of the failures, "testSaslGssapiBind", is the same as on
Linux.  For
> now I'm assuming this is a known problem that is being worked on.
>
> Using Eclipse to investigate each of the others I've discovered
that two
> of them are related to Windows's use of the "\" character as the
path
> separator and one is related to incorrect handling of "escaping"
of
> characters in filenames.  I'm developing fixes for these issues
now and
> will post suggested patches after I complete testing.
>
 Great ! We don't use W$ at all, so it's likely we have some tests
failure
 if we are not cautious enough. That's the price to pay for being
 efficient...


I realized after writing this morning that there are other tests failing
as
well on XP.  Yesterday I had only been running "mvn test" in the
trunk/apacheds directory.  When run in the "trunk" directory there are
other
problems.

I will investigate the errors on Windows as I have time but it won't be a
priority.


  The only remaining test failure, is "testSearchUTF8" in
> "ClientSearchRequestTest" which is not throwing the expected
Exception.  I
> haven't investigated this one yet but plan to when time is
available.
>

 Hmmmm... I don't find this class. In which module did you found it ?


It's in "ldap-client-test"






Reply
Tags: sunlinux
Messages in this thread
SsaslGssapiBind test failure problem identified
Similar Threads
DO NOT REPLY Some int parameters are identified as longs in doc
https://issues.apache.org/bugzilla/show_bug.cgi?id=47792

Mark Thomas <mar### @apache.org> changed:

           What    |Removed                     |Added

unit test failure
Hi,

I am attempting to build the C client on debian lenny.

autoconf, configure, make and make install all appear to work cleanly.

I ran:

autoreconf -if
./configure
make
make install
make run-check

However, the unit tests fail:

$ make run-check
make  zktest-st zktest-mt
make[1]: Entering directory `/home/martin/zookeeper-3.3.1/src/c'
make[1]: `zktest-st' is up to date.
make[1]: `zktest-mt' is up to date.
make[1]: Leaving directory `/home/martin/zookeeper-3.3.1/src/c'
./zktest-st
./tests/zkServer.sh: line 52: kill: (17711) - No such process
 ZooKeeper server startedRunning
Zookeeper_operations::testPing : elapsed 1 : OK
Zookeeper_operations::testTimeoutCausedByWatches1 : elapsed 0 : OK
Zookeeper_operations::testTimeoutCausedByWatches2 : elapsed 0 : OK
Zookeeper_operations::testOperationsAndDisconnectConcurrently1 : elapsed 2
:
OK
Zookeeper_operations::testOperationsAndDisconnectConcurrently2 : elapsed 0
:
OK
Zookeeper_operations::testConcurrentOperations1 : elapsed 206 : OK
Zookeeper_init::testBasic : elapsed 0 : OK
Zookeeper_init::testAddressResolution : elapsed 0 : OK
Zookeeper_init::testMultipleAddressResolution : elapsed 0 : OK
Zookeeper_init::testNullAddressString : elapsed 0 : OK
Zookeeper_init::testEmptyAddressString : elapsed 0 : OK
Zookeeper_init::testOneSpaceAddressString : elapsed 0 : OK
Zookeeper_init::testTwoSpacesAddressString : elapsed 0 : OK
Zookeeper_init::testInvalidAddressString1 : elapsed 0 : OK
Zookeeper_init::testInvalidAddressString2 : elapsed 2 : OK
Zookeeper_init::testNonexistentHost : elapsed 108 : OK
Zookeeper_init::testOutOfMemory_init : elapsed 0 : OK
Zookeeper_init::testOutOfMemory_getaddrs1 : elapsed 0 : OK
Zookeeper_init::testOutOfMemory_getaddrs2 : elapsed 0 : OK
Zookeeper_init::testPermuteAddrsList : elapsed 0 : OK
Zookeeper_close::testCloseUnconnected : elapsed 0 : OK
Zookeeper_close::testCloseUnconnected1 : elapsed 0 : OK
Zookeeper_close::testCloseConnected1 : elapsed 0 : OK
Zookeeper_close::testCloseFromWatcher1 : elapsed 0 : OK
Zookeeper_simpleSystem::testAsyncWatcherAutoResetterminate called after
throwing an instance of 'CppUnit::Exception'
  what():  equality assertion failed
- Expected: -101
- Actual  : -4

make: *** [run-check] Aborted

This appears to come from tests/TestClient.cc - but beyond that, it is
hard
to identify which equality assertion failed.

Help !

regards,
Martin


C client unit test failure
Hello,

I'm having 2 issues while compiling/running c client unit test in
branch-3.3.

1. I get this error from "make check":

   g++: unrecognized option `-static-libtool-libs'
   
2. testAsyncWatcherAutoReset is not working for me.

Zookeeper_simpleSystem::testAsyncWatcherAutoResetterminate called after
throwing an instance of 'CppUnit::Exception'  what():  equality assertion
failed- Expected: -101- Actual  : -4

Let me know if anybody has seen these errors.

Thanks!
--Michi



DO NOT REPLY Fix occasional test failure in TestConcurrency
https://issues.apache.org/bugzilla/show_bug.cgi?id=47583

Mark Thomas <mar### @apache.org> changed:

           What    |Removed                     |Added

Test Failure:mixin nodetype mix:simpleVersionable is missing
Hi,
$subject occurs in simple version test.This test failure says repository
does not support versioning

But I have set the following to true

OPTION_VERSIONING_SUPPORTED = true
OPTION_SIMPLE_VERSIONING_SUPPORTED = true

It will be really great if anyone can help me to solve this problem

Regards
/subash


Created: (MRM-1388) Test failure in ShowArtifactActionTest for certain locales
Test failure in ShowArtifactActionTest for certain locales

Created: (DERBY-4760) test failure in derbynet/testProtocol.java with ibm jvms
test failure in derbynet/testProtocol.java with ibm jvms 

trunk tinderbox problem and ibm 10.4 test issue
It looks to me like the trunk tinderbox run has either stopped running, 
or at least I can't see any results since 7/14.  Other tinderbox runs
seem fine.

The last one I see is 964039, but there have at least been:
r965317 | mikem | 2010-07-18 16:20:09 -0700 (Sun, 18 Jul 2010) | 24 lines



activemq-5.3.2 problem running maven peformance test
Just getting started. In addition to being new to activemq, maven is also
new
to me.

Built 5.3.2 from from to be able to build the maven test. I had to use
mvn clean install -Dmaven.test.skip=true  to avoid test failure.

From activemq-tooling the build of the plugin was sucessful but having a
runtime
problem.

The wiki indicates:
"To get started try typing the following commands into separate shells
from
the activemq-perftest directory from the sandbox repo".

I think the 'sandbox' is referring to
activemq-tooling/maven-activemq-perf-plugin.
If not I'm at a lost

When I try to start the maven test broker I get a resolution problem. 
As below.

And advice greatly appreciated
Thanks Tom


mvn activemq-perf:broker -Durl=broker:tcp://localhost:61616
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'activemq-perf'.
[INFO]

svn commit: r950507 - in /tomcat/trunk/test/org/apache/catalina/tribes/test: channel/ io/
Author: markt
Date: Wed Jun  2 11:45:11 2010
New Revision: 950507

URL: http://svn.apache.org/viewvc?rev=950507&view=rev
Log:
Fix Eclipse warnings in the o.a.c.tribes.test package

Modified:
   
tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestDataIntegrity.java
   
tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestMulticastPackages.java
   
tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestRemoteProcessException.java
   
tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java
   
tomcat/trunk/test/org/apache/catalina/tribes/test/io/TestSenderConnections.java
   
tomcat/trunk/test/org/apache/catalina/tribes/test/io/TestSerialization.java

Modified:
tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestDataIntegrity.java
URL:
http://svn.apache.org/viewvc/tomcat/t...507&view=diff

Created: (GERONIMO-5489) Add test cases for dependency injection for java 1.0 features into the test
Add test cases for dependency injection for java 1.0 features into the
testsuite.

Re: svn commit: r966839 - in /commons/proper/proxy/branches/version-2.0-work: ./ test/ test/src/ te
On 22 July 2010 21:15,  <mben### @apache.org> wrote:
 Author: mbenson
 Date: Thu Jul 22 20:15:25 2010
 New Revision: 966839

 URL: http://svn.apache.org/viewvc?rev=966839&view=rev
 Log:
 add new test module to exercise the defaultProxyFactory

 Added:
    commons/proper/proxy/branches/version-2.0-work/test/   (with
props)
    commons/proper/proxy/branches/version-2.0-work/test/pom.xml

Needs svn:eol-style native

    commons/proper/proxy/branches/version-2.0-work/test/src/
    commons/proper/proxy/branches/version-2.0-work/test/src/main/
  
 commons/proper/proxy/branches/version-2.0-work/test/src/main/java/
    commons/proper/proxy/branches/version-2.0-work/test/src/test/
  
 commons/proper/proxy/branches/version-2.0-work/test/src/test/java/
  
 commons/proper/proxy/branches/version-2.0-work/test/src/test/java/org/
  
 commons/proper/proxy/branches/version-2.0-work/test/src/test/java/org/apache/
  
 commons/proper/proxy/branches/version-2.0-work/test/src/test/java/org/apache/commons/
  
 commons/proper/proxy/branches/version-2.0-work/test/src/test/java/org/apache/commons/proxy/
  
 commons/proper/proxy/branches/version-2.0-work/test/src/test/java/org/apache/commons/proxy/DefaultProxyFactoryTest.java

Needs svn:eol-style native

 Modified:
    commons/proper/proxy/branches/version-2.0-work/pom.xml

 Modified: commons/proper/proxy/branches/version-2.0-work/pom.xml
 URL:
http://svn.apache.org/viewvc/commons/...839&view=diff
 
Re: svn commit: r956317 - in /db/jdo/trunk/api2: ./ test/java/javax/jdo/ test/schema/jdoconfig/Pmfma
Hi Michelle,

should these changes go into the api subproject (instead of api2)?
I think having them in api2 does not hurt, so there is no need to 
rollback the checkin. But we need them in api, since api defines the JDO 
3 API classes and interfaces.

Regards Michael


 Author: mcaisse
 Date: Sun Jun 20 02:54:01 2010
 New Revision: 956317

 URL: http://svn.apache.org/viewvc?rev=956317&view=rev
 Log:
 JDO-557 - Tests for api's invocation of getPersistenceManager(Map)
and getPersistenceManager(Map, Map). Also fixed an issue in
JDOConfigTestClassLoader.java.


 Added:
     db/jdo/trunk/api2/test/java/javax/jdo/PMFMapMapTest.java
     db/jdo/trunk/api2/test/java/javax/jdo/PMFProxy.java
     db/jdo/trunk/api2/test/java/javax/jdo/PMFService.java
     db/jdo/trunk/api2/test/schema/jdoconfig/Pmfmapmap01/
     db/jdo/trunk/api2/test/schema/jdoconfig/Pmfmapmap01/META-INF/
    
db/jdo/trunk/api2/test/schema/jdoconfig/Pmfmapmap01/META-INF/jdoconfig.xml
     db/jdo/trunk/api2/test/schema/jdoconfig/Pmfmapmap02/
    
db/jdo/trunk/api2/test/schema/jdoconfig/Pmfmapmap02/propsfile.props
 Modified:
     db/jdo/trunk/api2/   (props changed)
    
db/jdo/trunk/api2/test/java/javax/jdo/JDOConfigTestClassLoader.java

 Propchange: db/jdo/trunk/api2/