Issue 8216 - Windows 'make test' failures
Summary: Windows 'make test' failures
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: build (show other issues)
Version: 2.4.40
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-11 19:13 UTC by Matthew Hardin
Modified: 2015-11-30 18:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Matthew Hardin 2015-08-11 19:13:01 UTC
Full_Name: Matthew Hardin
Version: 2.4.40
OS: Windows 7/64
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (69.43.206.100)


Many 'make test' test fail, for a variety of reasons, with LMDB and BDB/HDB
backends.

OpenLDAP 2.4.40
Berkeley DB 4.8.30


Environment:
  MSYS from MinGW/MSYS 2013072300
  Win-Builds MinGW 32- and 64-bit toolchain

The following tests fail:
test0-c-concurrency:           problems reported by slapd-tester
test039-glue-ldap-concurrency: seems to fail for the same reasons as test008
test043-delta-syncrepl:        lmdb always fails, hdb/bdb sometimes 
test049-sync-config:           config parsing problems
test050-syncrepl-multimaster:  config parsing problems
test056-monitor:               incorrect monitor output
test058-syncrepl-asymmetric:   parsing problems
test059-slave-config:          parsing problems
test061-syncreplication-initiation: parsing prlelems
test063-delta-multimaster:     undetermined
test064-constraint:            include file processing (parsing?)
Comment 1 Howard Chu 2015-10-25 08:57:00 UTC
mhardin@symas.com wrote:
> Full_Name: Matthew Hardin
> Version: 2.4.40
> OS: Windows 7/64
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (69.43.206.100)
>
>
> Many 'make test' test fail, for a variety of reasons, with LMDB and BDB/HDB
> backends.
>
> OpenLDAP 2.4.40
> Berkeley DB 4.8.30
>
>
> Environment:
>    MSYS from MinGW/MSYS 2013072300
>    Win-Builds MinGW 32- and 64-bit toolchain
>
> The following tests fail:
> test0-c-concurrency:           problems reported by slapd-tester
 > test039-glue-ldap-concurrency: seems to fail for the same reasons as test008

libtool incompatibility; it leaves shell scripts for the actual tester 
programs in the progs directory, with the real executables under progs/.libs. 
Windows' spawn can't execute shell scripts. Solution is to manually copy the 
real executables from .libs before running the test.

Simple workaround. Won't fix this.

> test043-delta-syncrepl:        lmdb always fails, hdb/bdb sometimes

Attribute ordering, the replicated data is correct. Won't fix this.

> test049-sync-config:           config parsing problems
> test050-syncrepl-multimaster:  config parsing problems

Fixed as ITS#8273

> test056-monitor:               incorrect monitor output

Fixed as ITS#8280

> test058-syncrepl-asymmetric:   parsing problems
> test059-slave-config:          parsing problems
> test061-syncreplication-initiation: parsing prlelems
> test063-delta-multimaster:     undetermined
> test064-constraint:            include file processing (parsing?)

All ITS#8273.

Closing this ITS.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 2 Howard Chu 2015-10-25 08:57:41 UTC
changed notes
changed state Open to Closed
Comment 3 Hallvard Furuseth 2015-10-25 09:50:00 UTC
On 25/10/15 09:57, hyc@symas.com wrote:
>> test043-delta-syncrepl:        lmdb always fails, hdb/bdb sometimes
>
> Attribute ordering, the replicated data is correct. Won't fix this.

Sounds like you can just replace "$LDIFFILTER -s bdb=a,hdb=a"
with "$LDIFFILTER -s a" or add ",mdb=a".


Comment 4 Hallvard Furuseth 2015-10-25 11:20:45 UTC
On 25/10/15 09:57, hyc@symas.com wrote:
> mhardin@symas.com wrote:
>> test0-c-concurrency:           problems reported by slapd-tester
>   > test039-glue-ldap-concurrency: seems to fail for the same reasons as test008
>
> libtool incompatibility; it leaves shell scripts for the actual tester
> programs in the progs directory, with the real executables under progs/.libs.
> Windows' spawn can't execute shell scripts. Solution is to manually copy the
> real executables from .libs before running the test.
>
> Simple workaround. Won't fix this.

Does it work to change tests/scripts/defines.sh:PROGDIR to
"./progs/.libs"?  If so we just need a test for whether or
not to do that, in configure.in and/or in defines.sh.

Comment 5 Howard Chu 2015-10-26 11:53:38 UTC
h.b.furuseth@usit.uio.no wrote:
> On 25/10/15 09:57, hyc@symas.com wrote:
>> mhardin@symas.com wrote:
>>> test0-c-concurrency:           problems reported by slapd-tester
>>    > test039-glue-ldap-concurrency: seems to fail for the same reasons as test008
>>
>> libtool incompatibility; it leaves shell scripts for the actual tester
>> programs in the progs directory, with the real executables under progs/.libs.
>> Windows' spawn can't execute shell scripts. Solution is to manually copy the
>> real executables from .libs before running the test.
>>
>> Simple workaround. Won't fix this.
>
> Does it work to change tests/scripts/defines.sh:PROGDIR to
> "./progs/.libs"?  If so we just need a test for whether or
> not to do that, in configure.in and/or in defines.sh.

Tried that, it turned out to not be the problem. Windows just wanted the .exe 
suffix on the command names. Fixed now in master.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 6 Howard Chu 2015-10-26 12:03:56 UTC
changed notes
changed state Closed to Test
moved from Incoming to Build
Comment 7 Quanah Gibson-Mount 2015-10-26 21:12:48 UTC
changed notes
changed state Test to Release
Comment 8 OpenLDAP project 2015-11-30 18:20:04 UTC
Split into separate issues.
tester fixed in master
tester fixed in RE25
tester fixed in RE24 (2.4.43)
Comment 9 Quanah Gibson-Mount 2015-11-30 18:20:04 UTC
changed notes
changed state Release to Closed