Issue 8297 - Test061 failed
Summary: Test061 failed
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: build (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-30 09:26 UTC by a.chelouah@gmail.com
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 a.chelouah@gmail.com 2015-10-30 09:26:19 UTC
Full_Name: Abdelkader Chelouah
Version: OPENLDAP_REL_ENG_2_4 f57ec1dff4a440dbab4c9ad55631ef929ca8713d
OS: RHEL 7.1
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (192.196.142.20)


Last git branch OPENLDAP_REL_ENG_2_4 build from source under RHEL 7.1. Test061
failed for backends bdb, hdb and mdb


>>>>> Starting test061-syncreplication-initiation for mdb...
Running defines.sh
Initializing server configurations
Starting provider slapd on ldap://localhost:9011/
Starting forward1 slapd on ldap://localhost:9013/
Starting consumer slapd on ldap://localhost:9012/
Adding schema on ldap://localhost:9011/
Adding backend module on ldap://localhost:9011/...
Adding schema on ldap://localhost:9012/
Adding backend module on ldap://localhost:9012/...
Adding schema on ldap://localhost:9013/
Adding backend module on ldap://localhost:9013/...
Adding database configuration on ldap://localhost:9011/
Populating provider on ldap://localhost:9011/
Adding database configuration on ldap://localhost:9013/
Adding database configuration on ldap://localhost:9012/
Using ldapsearch to check that ldap://localhost:9013/ received database...
Using ldapsearch to check that ldap://localhost:9012/ received database...
Waiting 1 seconds for slapd to receive database...
Running 1 of 1 syncrepl initiation race tests...
Stopping forwarders for add test
Using ldapadd to add 10 entries on provider
Starting forwarders again
Using ldapadd to add 10 more entries on provider
Checking replication to ldap://localhost:9013/
Waiting 1 seconds for ldap://localhost:9013/ to receive entry 1...
Checking replication to ldap://localhost:9012/
Stopping forwarders for add/delete test
Using ldapadd to add 10 entries on provider
Using ldapdelete to delete 10 entries on provider
Starting forwarders again
Using ldapadd to add 10 more entries on provider
Using ldapdelete to delete 10 more entries on provider
Checking replication to ldap://localhost:9013/
Waiting 1 seconds for ldap://localhost:9013/ to delete entry 1...
Waiting 1 seconds for ldap://localhost:9013/ to delete entry 17...
Checking replication to ldap://localhost:9012/
Stopping forwarders for delete test
Using ldapdelete to delete entries on provider
Starting forwarders again
Using ldapdelete to delete 10 more entries on provider
Checking replication to ldap://localhost:9013/
Waiting 1 seconds for ldap://localhost:9013/ to delete entry 21...
Waiting 2 seconds for ldap://localhost:9013/ to delete entry 21...
Checking replication to ldap://localhost:9012/
Checking contextCSN
ERROR: contextCSN mismatch between provider and consumer
contextCSN on provider: contextCSN: 20151028183903.538313Z#000000#001#000000
contextCSN on consumer: contextCSN: 20151028183902.812955Z#000000#001#000000
Error found after 1 of 1 iterations
>>>>> test061-syncreplication-initiation failed for mdb
(exit 1)
make: *** [mdb-mod] Error 1
Comment 1 Howard Chu 2015-10-30 18:21:27 UTC
a.chelouah@gmail.com wrote:
> Full_Name: Abdelkader Chelouah
> Version: OPENLDAP_REL_ENG_2_4 f57ec1dff4a440dbab4c9ad55631ef929ca8713d
> OS: RHEL 7.1
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (192.196.142.20)
>
>
> Last git branch OPENLDAP_REL_ENG_2_4 build from source under RHEL 7.1. Test061
> failed for backends bdb, hdb and mdb

Looks like a timing issue in the test script, your machine is too slow. 
test061 passes fine for me.

>>>>>> Starting test061-syncreplication-initiation for mdb...
> Running defines.sh
> Initializing server configurations
> Starting provider slapd on ldap://localhost:9011/
> Starting forward1 slapd on ldap://localhost:9013/
> Starting consumer slapd on ldap://localhost:9012/
> Adding schema on ldap://localhost:9011/
> Adding backend module on ldap://localhost:9011/...
> Adding schema on ldap://localhost:9012/
> Adding backend module on ldap://localhost:9012/...
> Adding schema on ldap://localhost:9013/
> Adding backend module on ldap://localhost:9013/...
> Adding database configuration on ldap://localhost:9011/
> Populating provider on ldap://localhost:9011/
> Adding database configuration on ldap://localhost:9013/
> Adding database configuration on ldap://localhost:9012/
> Using ldapsearch to check that ldap://localhost:9013/ received database...
> Using ldapsearch to check that ldap://localhost:9012/ received database...
> Waiting 1 seconds for slapd to receive database...
> Running 1 of 1 syncrepl initiation race tests...
> Stopping forwarders for add test
> Using ldapadd to add 10 entries on provider
> Starting forwarders again
> Using ldapadd to add 10 more entries on provider
> Checking replication to ldap://localhost:9013/
> Waiting 1 seconds for ldap://localhost:9013/ to receive entry 1...
> Checking replication to ldap://localhost:9012/
> Stopping forwarders for add/delete test
> Using ldapadd to add 10 entries on provider
> Using ldapdelete to delete 10 entries on provider
> Starting forwarders again
> Using ldapadd to add 10 more entries on provider
> Using ldapdelete to delete 10 more entries on provider
> Checking replication to ldap://localhost:9013/
> Waiting 1 seconds for ldap://localhost:9013/ to delete entry 1...
> Waiting 1 seconds for ldap://localhost:9013/ to delete entry 17...
> Checking replication to ldap://localhost:9012/
> Stopping forwarders for delete test
> Using ldapdelete to delete entries on provider
> Starting forwarders again
> Using ldapdelete to delete 10 more entries on provider
> Checking replication to ldap://localhost:9013/
> Waiting 1 seconds for ldap://localhost:9013/ to delete entry 21...
> Waiting 2 seconds for ldap://localhost:9013/ to delete entry 21...
> Checking replication to ldap://localhost:9012/
> Checking contextCSN
> ERROR: contextCSN mismatch between provider and consumer
> contextCSN on provider: contextCSN: 20151028183903.538313Z#000000#001#000000
> contextCSN on consumer: contextCSN: 20151028183902.812955Z#000000#001#000000
> Error found after 1 of 1 iterations
>>>>>> test061-syncreplication-initiation failed for mdb
> (exit 1)
> make: *** [mdb-mod] Error 1
>
>
>


-- 
   -- 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 Michael Ströder 2015-10-30 20:00:51 UTC
hyc@symas.com wrote:
> Looks like a timing issue in the test script, your machine is too slow. 
> test061 passes fine for me.

I also let test061 run 100 times each for hdb and mdb without an issue.

Ciao, Michael.

Comment 3 Howard Chu 2015-10-31 03:11:44 UTC
changed state Open to Closed
Comment 4 Quanah Gibson-Mount 2015-11-10 22:00:57 UTC
changed notes
changed state Closed to Release
moved from Incoming to Build
Comment 5 OpenLDAP project 2015-11-30 18:20:13 UTC
fixed in master
fixed in RE25
fixed in RE24
Comment 6 Quanah Gibson-Mount 2015-11-30 18:20:13 UTC
changed notes
changed state Release to Closed