Hi guys,

I was wrong when I said (in IRC) that the reason this test fails is because of the default 5 second delay between replications. The delay is actually explicitly set to 1 second for this test and it would be very bad if the actual replication took more than the ~7 seconds that we give it in this test. It's not that slow!

The actual cause of this error is that the 3 peer servers we set up (one at a time) immediately try to connect to the other two - if they fail they wait 2 seconds before trying again,then a further 4 seconds etc. Effectively this means it is possible for the 1st and 2nd servers created to not even be connected to the 3rd server by the end of the test.

I have been tweaking this integration test over the last few days to fix this problem along with several others (the two way bind test was disabled and very broken) and hope to commit it later today. Hopefully we won't be seeing any more of these occasional failures.

Sorry for the misinformation Chris.

Martin


Chris Custine wrote:
This failure occurs when the server is under load during the integration
tests and we mostly fixed it a few weeks ago by tweaking the test to wait a
couple of extra seconds for the replication to occur.  I just ran the tests
again and they passed so I think the build server was struggling at that
point in time.

Chris

On 7/14/07, Alex Karasulu <[EMAIL PROTECTED]> wrote:

This seems to work for me on several machines. I'm going to try to deploy
the
apacheds project after so many changes to the snapshot repo to see if that
will
fix this issue.

Alex

On 7/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Build Apache Directory Server::Nightly Integration Tests #56 failed
> (2326 tests passed, 1 test failed (1 new))
> Agent: Default agent
> Build results:
> http://builds.organicelement.com/viewLog.html?buildId=231&buildTypeId=bt2
>
> Newly failed tests (1 test)
> ==================================================================
> testOneWay =================
> org.apache.directory.shared.ldap.exception.LdapNameNotFoundException:
> Attempt to lookup non-existant entry: 2.5.4.3=test,2.5.4.11=system
>         at
> org.apache.directory.server.core.exception.ExceptionService.assertHasEntry(
> ExceptionService.java:570)
>         at
> org.apache.directory.server.core.exception.ExceptionService.lookup(
> ExceptionService.java:289)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(
> InterceptorChain.java:1271)
>         at
> org.apache.directory.server.core.authz.DefaultAuthorizationService.lookup
> (DefaultAuthorizationService.java:433)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(
> InterceptorChain.java:1271)
>         at
> org.apache.directory.server.core.authz.AuthorizationService.lookup(
> AuthorizationService.java:709)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(
> InterceptorChain.java:1271)
>         at
> org.apache.directory.server.core.interceptor.BaseInterceptor.lookup(
> BaseInterceptor.java:148)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(
> InterceptorChain.java:1271)
>         at
> org.apache.directory.server.core.authn.AuthenticationService.lookup(
> AuthenticationService.java:367)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(
> InterceptorChain.java:1271)
>         at
> org.apache.directory.server.core.normalization.NormalizationService.lookup
> (NormalizationService.java:358)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain.lookup (
> InterceptorChain.java:884)
>         at
> org.apache.directory.server.core.partition.PartitionNexusProxy.lookup(
> PartitionNexusProxy.java:528)
>         at
> org.apache.directory.server.core.partition.PartitionNexusProxy.lookup (
> PartitionNexusProxy.java:516)
>         at org.apache.directory.server.core.jndi.ServerContext.lookup(
> ServerContext.java:635)
>         at org.apache.directory.server.core.jndi.ServerContext.lookup(
> ServerContext.java:614)
>         at javax.naming.InitialContext.lookup(InitialContext.java:392)
>         at
> org.apache.directory.mitosis.service.ReplicationServiceITest.testOneWayBind
> (ReplicationServiceITest.java:123)
>         at
> org.apache.directory.mitosis.service.ReplicationServiceITest.testOneWay(
> ReplicationServiceITest.java:80)
>         at
> org.apache.directory.mitosis.service.ReplicationServiceITest.testOneWay(
> ReplicationServiceITest.java:80)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke (Method.java:597)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>         at junit.framework.TestCase.runBare(TestCase.java:127)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest (TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java :39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.maven.surefire.junit.JUnitTestSet.execute (
> JUnitTestSet.java:213)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet
> (AbstractDirectoryTestSuite.java:138)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute (
> AbstractDirectoryTestSuite.java:163)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:84)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke (
> NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess (
> SurefireBooter.java:244)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(
> SurefireBooter.java:814)
>
> Changes included (6 changes)
> ====================================================
> Change 556225 by akarasulu (5 files):
> cleaning up functional object dependencies in other core configuration
> beans
>
> Change 556224 by akarasulu (8 files):
> some import cleanups
>
> Change 556238 by ccustine (2 files):
> Merging HEAD into sandbox branch
>
> Change 556238 by ccustine (1 file):
> Merging HEAD into sandbox branch
>
> Change 556236 by ccustine (1 file):
> Cleaning up commented out settings
>
> Change 556235 by ccustine (1 file):
> Cleaning up commented out settings
>
> see more information about changed files: http://builds.organicelement.com/viewLog.html?tab=buildChangesDiv&buildId=231&buildTypeId=bt2
>
>
>
>
> ============================================================================ > Configure email notifications: http://builds.organicelement.com/profile.html?init=1#notifications
>
>




---- Scanned by M+ Guardian Messaging Firewall ----


---- Scanned by M+ Guardian Messaging Firewall ----


Reply via email to