directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot" ...@marcelot.net>
Subject Re: Failing tests (was: Re: [VOTE] Release ApacheDS 1.5.4)
Date Tue, 09 Sep 2008 08:52:17 GMT
Hi,

Here's what I got on my Windows XP VM after a clean checkout of trunk (with
dependencies) and a clean of the m2 repository.

Tests in error:

testAttributeId(org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndexTest)

testCacheSize(org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndexTest)

testNoEqualityMatching(org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndexTest)

testSingleValuedAttribute(org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndexTest)

Tests run: 103, Failures: 0, Errors: 4, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to
C:\Development\Apache\apacheds-trunk\apacheds\jdbm-store\target\
surefire-reports for the individual test results.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 14 minutes 24 seconds
[INFO] Finished at: Tue Sep 09 10:40:54 CEST 2008
[INFO] Final Memory: 37M/63M
[INFO]
------------------------------------------------------------------------


The errors all look the same ("java.io.IOException: Unable to delete file:
xxxxxxx"), here's one example:
testAttributeId(org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndexTest)
Time elapsed: 0.34 sec  <<< ERROR!
java.io.IOException: Unable to delete file:
c:\DOCUME~1\PIERRE~1\LOCALS~1\Temp\JdbmIndexTest\ou.lg
    at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1247)
    at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903)
    at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869)
    at
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndexTest.teardown(JdbmIndexTest.java:100)
    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.junit.internal.runners.MethodRoadie.runAfters(MethodRoadie.java:138)
    at
org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:92)
    at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
    at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
    at
org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
    at
org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
    at
org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
    at
org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
    at
org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
    at
org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
    at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
    at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
    at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
    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:338)
    at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)

Regards,
Pierre-Arnaud


On Mon, Sep 8, 2008 at 1:49 AM, Norval Hope <nrhope@gmail.com> wrote:

> Apologies - figured if the failed tests aren't specific to my env then
> they probably signified something that needed to be fixed before a
> release (but next time will just post to the dev list).
>
> The two tests that failed were:
>
> Tests in error:
>
>  testNoEqualityMatching(org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndexTest)
>
>  testSingleValuedAttribute(org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndexTest)
>
> which were the same two that were failing for me prior to your latest
> commits.
>
> Thanks
>
> On Mon, Sep 8, 2008 at 8:58 AM, Alex Karasulu <akarasulu@apache.org>
> wrote:
> > Which specific test failed and please don't use the vote thread for side
> > conversations.
> >
> > Alex
> >
> > On Sun, Sep 7, 2008 at 6:55 PM, Norval Hope <nrhope@gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> I just updated and tried to rebuild but got the same failures. Is this
> >> a problem with my env only?
> >>
> >> Thanks
> >>
> >> On Mon, Sep 8, 2008 at 8:33 AM, Alex Karasulu <akarasulu@apache.org>
> >> wrote:
> >> > Hi all,
> >> >
> >> > I've cleared the list of JIRA issues for 1.5.4.  Time for the
> release.
> >> >
> >> > [ ] +1 release ApacheDS 1.5.4
> >> > [ ] +/- 0 abstain
> >> > [ ] -1 do not release ApacheDS 1.5.4
> >> >
> >> > --------
> >> > Issues - http://iefohm.notlong.com/
> >> >
> >> >
> >> > Alex
> >> >
> >
> >
>

Mime
View raw message