Issue 4068 - test018-syncreplication-persist failed (exit 1)
Summary: test018-syncreplication-persist failed (exit 1)
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-06 17:05 UTC by igor@ipass.net
Modified: 2014-08-01 21:06 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 igor@ipass.net 2005-10-06 17:05:42 UTC
Full_Name: Igor Brezac
Version: 2.3.8
OS: Solaris 10 (x86)
URL: ftp://ftp.openldap.org/incoming/igor-051006.tgz
Submission from: (NULL) (209.170.129.80)



>>>>> Starting test018-syncreplication-persist ...
running defines.sh
Starting master slapd on TCP/IP port 9011...
Using ldapsearch to check that master slapd is running...
Using ldapadd to create the context prefix entry in the master...
Starting slave slapd on TCP/IP port 9014...
Using ldapsearch to check that slave slapd is running...
Using ldapadd to populate the master directory...
Waiting 15 seconds for syncrepl to receive changes...
Stopping the provider, sleeping 10 seconds and restarting it...
Using ldapsearch to check that master slapd is running...
Using ldapmodify to modify master directory...
Waiting 15 seconds for syncrepl to receive changes...
Stopping consumer to test recovery...
Modifying more entries on the master...
Restarting consumer...
Waiting 25 seconds for syncrepl to receive changes...
Try updating the slave slapd...
ldapmodify failed (1)!
>>>>> ./scripts/test018-syncreplication-persist failed (exit 1)
make[2]: *** [hdb-yes] Error 1
make[2]: Leaving directory `/var/src/openldap-2.3.8/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/var/src/openldap-2.3.8/tests'
make: *** [test] Error 2


Comment 1 Howard Chu 2005-10-06 18:36:03 UTC
moved from Incoming to Software Bugs
Comment 2 Howard Chu 2005-10-06 19:41:29 UTC
Yes, I'm seeing this as well on my WindowsXP build but not on my Linux 
builds. It appears that the consumer is deleting an entry that should 
not have been deleted. Which entry is deleted varies from run to run. I 
at first thought it might be because the list of present UUIDs sent from 
the provider is missing an entry, but I've now verified from the trace 
logs that the present list is correct.

igor@ipass.net wrote:
> Full_Name: Igor Brezac
> Version: 2.3.8
> OS: Solaris 10 (x86)
> URL: ftp://ftp.openldap.org/incoming/igor-051006.tgz
> Submission from: (NULL) (209.170.129.80)
>
>
>
>   
>>>>>> Starting test018-syncreplication-persist ...
>>>>>>             
> running defines.sh
> Starting master slapd on TCP/IP port 9011...
> Using ldapsearch to check that master slapd is running...
> Using ldapadd to create the context prefix entry in the master...
> Starting slave slapd on TCP/IP port 9014...
> Using ldapsearch to check that slave slapd is running...
> Using ldapadd to populate the master directory...
> Waiting 15 seconds for syncrepl to receive changes...
> Stopping the provider, sleeping 10 seconds and restarting it...
> Using ldapsearch to check that master slapd is running...
> Using ldapmodify to modify master directory...
> Waiting 15 seconds for syncrepl to receive changes...
> Stopping consumer to test recovery...
> Modifying more entries on the master...
> Restarting consumer...
> Waiting 25 seconds for syncrepl to receive changes...
> Try updating the slave slapd...
> ldapmodify failed (1)!
>   
>>>>>> ./scripts/test018-syncreplication-persist failed (exit 1)
>>>>>>             
> make[2]: *** [hdb-yes] Error 1
> make[2]: Leaving directory `/var/src/openldap-2.3.8/tests'
> make[1]: *** [test] Error 2
> make[1]: Leaving directory `/var/src/openldap-2.3.8/tests'
> make: *** [test] Error 2
>
>
>
>
>
>   


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

Comment 3 Howard Chu 2005-10-06 22:32:52 UTC
This is now fixed in CVS HEAD slapd/overlays/syncprov.c, please test.

igor@ipass.net wrote:
> Full_Name: Igor Brezac
> Version: 2.3.8
> OS: Solaris 10 (x86)
> URL: ftp://ftp.openldap.org/incoming/igor-051006.tgz
> Submission from: (NULL) (209.170.129.80)
>
>
>
>   
>>>>>> Starting test018-syncreplication-persist ...
>>>>>>             
> running defines.sh
> Starting master slapd on TCP/IP port 9011...
> Using ldapsearch to check that master slapd is running...
> Using ldapadd to create the context prefix entry in the master...
> Starting slave slapd on TCP/IP port 9014...
> Using ldapsearch to check that slave slapd is running...
> Using ldapadd to populate the master directory...
> Waiting 15 seconds for syncrepl to receive changes...
> Stopping the provider, sleeping 10 seconds and restarting it...
> Using ldapsearch to check that master slapd is running...
> Using ldapmodify to modify master directory...
> Waiting 15 seconds for syncrepl to receive changes...
> Stopping consumer to test recovery...
> Modifying more entries on the master...
> Restarting consumer...
> Waiting 25 seconds for syncrepl to receive changes...
> Try updating the slave slapd...
> ldapmodify failed (1)!
>   
>>>>>> ./scripts/test018-syncreplication-persist failed (exit 1)
>>>>>>             
> make[2]: *** [hdb-yes] Error 1
> make[2]: Leaving directory `/var/src/openldap-2.3.8/tests'
> make[1]: *** [test] Error 2
> make[1]: Leaving directory `/var/src/openldap-2.3.8/tests'
> make: *** [test] Error 2
>
>
>
>
>
>   


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

Comment 4 Howard Chu 2005-10-06 22:33:35 UTC
changed notes
changed state Open to Test
Comment 5 igor@ipass.net 2005-10-07 04:11:34 UTC
All tests complete successfully.

Are you going to make a new release or I should use this patch for now?

Thanks!


On Thu, 6 Oct 2005, Howard Chu wrote:

> This is now fixed in CVS HEAD slapd/overlays/syncprov.c, please test.
>
> igor@ipass.net wrote:
>> Full_Name: Igor Brezac
>> Version: 2.3.8
>> OS: Solaris 10 (x86)
>> URL: ftp://ftp.openldap.org/incoming/igor-051006.tgz
>> Submission from: (NULL) (209.170.129.80)
>> 
>> 
>> 
>> 
>>>>>>> Starting test018-syncreplication-persist ...
>>>>>>> 
>> running defines.sh
>> Starting master slapd on TCP/IP port 9011...
>> Using ldapsearch to check that master slapd is running...
>> Using ldapadd to create the context prefix entry in the master...
>> Starting slave slapd on TCP/IP port 9014...
>> Using ldapsearch to check that slave slapd is running...
>> Using ldapadd to populate the master directory...
>> Waiting 15 seconds for syncrepl to receive changes...
>> Stopping the provider, sleeping 10 seconds and restarting it...
>> Using ldapsearch to check that master slapd is running...
>> Using ldapmodify to modify master directory...
>> Waiting 15 seconds for syncrepl to receive changes...
>> Stopping consumer to test recovery...
>> Modifying more entries on the master...
>> Restarting consumer...
>> Waiting 25 seconds for syncrepl to receive changes...
>> Try updating the slave slapd...
>> ldapmodify failed (1)!
>> 
>>>>>>> ./scripts/test018-syncreplication-persist failed (exit 1)
>>>>>>> 
>> make[2]: *** [hdb-yes] Error 1
>> make[2]: Leaving directory `/var/src/openldap-2.3.8/tests'
>> make[1]: *** [test] Error 2
>> make[1]: Leaving directory `/var/src/openldap-2.3.8/tests'
>> make: *** [test] Error 2
>> 
>> 
>> 
>> 
>> 
>> 
>
>
>

-- 
Igor

Comment 6 Kurt Zeilenga 2005-10-07 18:53:07 UTC
changed notes
changed state Test to Release
Comment 7 Kurt Zeilenga 2005-10-08 15:48:04 UTC
changed state Release to Closed
Comment 8 Howard Chu 2009-02-17 05:15:58 UTC
moved from Software Bugs to Archive.Software Bugs
Comment 9 OpenLDAP project 2014-08-01 21:06:39 UTC
fixed in HEAD/re23