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 09:39:50 GMT
Hi Norval,

Thanks.

I was wondering if Cygwin could be the cause of the problems but as you're
using a DOS command prompt, I believe we can exclude it now.

Regards,
Pierre-Arnaud

On Tue, Sep 9, 2008 at 11:33 AM, Norval Hope <nrhope@gmail.com> wrote:

> Hi Pierre,
>
> C:\src\ad-1.5.3>mvn -version
> Maven version: 2.0.8
> Java version: 1.5.0_11
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>
> C:\src\ad-1.5.3>java -version
> java version "1.5.0_11"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
>
> and compiling from a dos command prompt (although I used cygwin to
> create the .tgz files i attached earlier etc).
>
> Thanks
>
>
> On Tue, Sep 9, 2008 at 7:13 PM, Pierre-Arnaud Marcelot <pa@marcelot.net>
> wrote:
> > Hi Norval,
> >
> > More information about my configuration.
> >
> > Java:
> > $ java -version
> > java version "1.6.0_07"
> > Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> > Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
> >
> > Maven:
> > $ mvn -version
> > Maven version: 2.0.9
> > Java version: 1.6.0_06
> > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> >
> > I'm compiling using Cygwin.
> >
> > Are you using the same version ?
> >
> > Regards,
> > Pierre-Arnaud
> >
> >
> > On Tue, Sep 9, 2008 at 11:08 AM, Norval Hope <nrhope@gmail.com> wrote:
> >>
> >> Thanks for the confirmation, I hadn't noted the IOExceptions for the
> >> jdbm directory case. When I moved this failing test case out of the
> >> way I got bulk failures from core-integ, and some of those definitely
> >> resulted in IOExceptions too, although it seemed there may have been a
> >> mismatch in server-work subdirectory names (schema/ versus system/)
> >> but maybe that was some kind of knock-on error.
> >>
> >> On Tue, Sep 9, 2008 at 6:52 PM, Pierre-Arnaud Marcelot <pa@marcelot.net
> >
> >> wrote:
> >> > 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