directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-1255) unit tests fail on windows (jdbm-store and core-integ)
Date Mon, 15 Sep 2008 07:59:44 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-1255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630953#action_12630953
] 

Pierre-Arnaud Marcelot commented on DIRSERVER-1255:
---------------------------------------------------

Hi Emmanuel,

Here are the results on my Windows:
[INFO] ------------------------------------------------------------------------
[INFO] Building ApacheDS JDBM Store
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory C:\Development\Apache\apacheds-trunk\apacheds\jdbm-sto
re\target
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 15 source files to C:\Development\Apache\apacheds-trunk\apached
s\jdbm-store\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 16 source files to C:\Development\Apache\apacheds-trunk\apached
s\jdbm-store\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: C:\Development\Apache\apacheds-trunk\apacheds\
jdbm-store\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.directory.server.core.partition.impl.btree.jdbm.NoDupsCursorT
est
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.664 sec
Running org.apache.directory.server.core.partition.impl.btree.jdbm.DupsCursorTes
t
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.788 sec
Running org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmMasterTab
leTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.661 sec
Running org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStoreTest

Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.677 sec
Running org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTableNoDu
plicatesTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.715 sec
Running org.apache.directory.server.core.partition.impl.btree.jdbm.KeyBTreeCurso
rTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.693 sec
Running org.apache.directory.server.core.partition.impl.btree.jdbm.BTreeRedirect
MarshallerTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTableWith
DuplicatesTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.685 sec
Running org.apache.directory.server.core.partition.impl.btree.jdbm.KeyTupleBTree
CursorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.631 sec
Running org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmBrowserBu
gTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.291 sec
Running org.apache.directory.server.core.partition.impl.btree.jdbm.DupsContainer
CursorTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.014 sec
Running org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndexTest

Tests run: 16, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 4.827 sec <<< F
AILURE!
Running org.apache.directory.server.core.partition.impl.btree.jdbm.KeyCursorTest

Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.033 sec
Running org.apache.directory.server.core.partition.impl.btree.jdbm.KeyTupleAvlCu
rsorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec

Results :

Tests in error:
  testAttributeId(org.apache.directory.server.core.partition.impl.btree.jdbm.Jdb
mIndexTest)
  testCacheSize(org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmI
ndexTest)

Tests run: 103, Failures: 0, Errors: 2, 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: 9 minutes 20 seconds
[INFO] Finished at: Mon Sep 15 09:54:14 CEST 2008
[INFO] Final Memory: 47M/63M
[INFO] ------------------------------------------------------------------------

There are still 2 errors.

> unit tests fail on windows (jdbm-store and core-integ)
> ------------------------------------------------------
>
>                 Key: DIRSERVER-1255
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1255
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core, tools
>    Affects Versions: 1.5.4
>         Environment: C:\src\ad-1.5.4>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.4>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 running mvn from a dos command prompt 
>            Reporter: Norval Hope
>            Priority: Blocker
>         Attachments: jdbm-store-test-failures.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> A checkout of http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
followed by a "mvn install" fails. Initially jdbm-store/ fails with:
> 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)
> If JdbmIndexTest is moved out of the way then there are bulk failures in core-integ/
.
> The evidence seems to indicate that all the failures are related to deletion of temp
directories failing due windows filesystem semantics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message