Issue 8644 - test064-constraint should wait for slapd to start
Summary: test064-constraint should wait for slapd to start
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.44
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-25 01:36 UTC by Ryan Tandy
Modified: 2017-06-01 22:10 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 Ryan Tandy 2017-04-25 01:36:59 UTC
Full_Name: Ryan Tandy
Version: 2.4.44
OS: Debian
URL: 
Submission from: (NULL) (24.68.41.160)
Submitted by: ryan


test064-constraint can occasionally fail if ldapadd runs while slapd is still
starting up. https://bugs.debian.org/770890 has links to examples.

>>>>> Starting test064-constraint for hdb...
running defines.sh
Starting slapd on TCP/IP port 9011...
Adding basic structure...
ldapadd failed (255)!
>>>>> test064-constraint failed for hdb
(exit 255)

Other scripts have an ldapsearch loop that waits for slapd to start, and the
same should suffice here.
Comment 1 Ryan Tandy 2017-04-25 01:39:28 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 2 Quanah Gibson-Mount 2017-04-26 20:05:33 UTC
changed notes
changed state Test to Release
Comment 3 OpenLDAP project 2017-06-01 22:10:44 UTC
Fixed in master
Fixed in RE25
Fixed in RE24 (2.4.45)
Comment 4 Quanah Gibson-Mount 2017-06-01 22:10:44 UTC
changed notes
changed state Release to Closed