Bug 1904347

Summary: Entries conflict not resolved by replication [rhel-8.3.0.z]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: 389-ds-baseAssignee: thierry bordaz <tbordaz>
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 8.4CC: ekasprzy, mreynolds, msauton, pasik, tbordaz, tmihinto
Target Milestone: rcKeywords: TestCaseProvided, Triaged, ZStream
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 389-ds-devel-1.4-8030020201203210520.e114a9e7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1898850 Environment:
Last Closed: 2020-12-15 17:12:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1898850    
Bug Blocks:    

Comment 4 sgouvern 2020-12-04 15:03:55 UTC
With build 389-ds-base-1.4.3.8-6.module+el8.3.0+8995+c08169ba.x86_64

# PYTHONPATH=src/lib389/ py.test -s -v dirsrvtests/tests/suites/replication/conflict_resolve_test.py::TestTwoMasters::test_complex_add_modify_modrdn_delete
re-exec with libfaketime dependencies
================================================== test session starts ==================================================
platform linux -- Python 3.6.8, pytest-6.1.2, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3.6
cachedir: .pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-240.el8.x86_64-x86_64-with-redhat-8.3-Ootpa', 'Packages': {'pytest': '6.1.2', 'py': '1.9.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.11.0', 'html': '3.1.0', 'libfaketime': '0.1.2'}}
389-ds-base: 1.4.3.8-6.module+el8.3.0+8995+c08169ba
nss: 3.53.1-11.el8_2
nspr: 4.25.0-2.el8_2
openldap: 2.4.46-15.el8
cyrus-sasl: 2.1.27-5.el8
FIPS: disabled
rootdir: /mnt/tests/rhds/tests/upstream/ds/dirsrvtests, configfile: pytest.ini
plugins: metadata-1.11.0, html-3.1.0, libfaketime-0.1.2
collected 1 item                                                                                                        

dirsrvtests/tests/suites/replication/conflict_resolve_test.py::TestTwoMasters::test_complex_add_modify_modrdn_delete INFO:lib389.topologies:Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created.
INFO:lib389.topologies:Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created.
INFO:lib389.topologies:Creating replication topology.
INFO:lib389.topologies:Joining master master2 to master1 ...
INFO:lib389.replica:SUCCESS: bootstrap to ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39002 completed
INFO:lib389.replica:SUCCESS: Agreement from ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39002 is was created
INFO:lib389.replica:SUCCESS: Agreement from ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39001 is was created
INFO:lib389.replica:SUCCESS: Replication from ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39002 is working
INFO:lib389.replica:SUCCESS: Replication from ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39001 is working
INFO:lib389.replica:SUCCESS: joined master from ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39002
INFO:lib389.topologies:Ensuring master master1 to master2 ...
INFO:lib389.replica:SUCCESS: Agreement from ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39002 already exists
INFO:lib389.topologies:Ensuring master master2 to master1 ...
INFO:lib389.replica:SUCCESS: Agreement from ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39001 already exists
INFO:lib389.replica:SUCCESS: Replication from ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39002 is working
INFO:dirsrvtests.tests.suites.replication.conflict_resolve_test:Test add-del on M1 and add on M2
INFO:dirsrvtests.tests.suites.replication.conflict_resolve_test:Test add-mod on M1 and add on M2
INFO:dirsrvtests.tests.suites.replication.conflict_resolve_test:Test add-modrdn on M1 and add on M2
INFO:dirsrvtests.tests.suites.replication.conflict_resolve_test:Test multiple add, modrdn
INFO:dirsrvtests.tests.suites.replication.conflict_resolve_test:Add - del on both masters
INFO:dirsrvtests.tests.suites.replication.conflict_resolve_test:Test modrdn - modrdn
INFO:dirsrvtests.tests.suites.replication.conflict_resolve_test:Test modrdn - del
INFO:lib389.replica:SUCCESS: Replication from ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39002 is working
INFO:lib389.replica:SUCCESS: Replication from ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-138-217.hosted.upshift.rdu2.redhat.com:39001 is working
PASSEDInstance slapd-master1 removed.
Instance slapd-master2 removed.


=================================================== warnings summary ====================================================
tests/suites/replication/conflict_resolve_test.py::TestTwoMasters::test_complex_add_modify_modrdn_delete
  /mnt/tests/rhds/tests/upstream/ds/src/lib389/lib389/__init__.py:141: DeprecationWarning: Use of raw ldap function search_s. This will be removed in a future release. Found in: /mnt/tests/rhds/tests/upstream/ds/dirsrvtests/tests/suites/replication/conflict_resolve_test.py:135
    "Found in: %s:%s" % (name, frame.filename, frame.lineno)))

tests/suites/replication/conflict_resolve_test.py::TestTwoMasters::test_complex_add_modify_modrdn_delete
  /mnt/tests/rhds/tests/upstream/ds/src/lib389/lib389/__init__.py:141: DeprecationWarning: Use of raw ldap function search_ext_s. This will be removed in a future release. Found in: /usr/local/lib64/python3.6/site-packages/ldap/ldapobject.py:870
    "Found in: %s:%s" % (name, frame.filename, frame.lineno)))

-- Docs: https://docs.pytest.org/en/stable/warnings.html
======================================= 1 passed, 2 warnings in 239.24s (0:03:59) =======================================


-> marking as verified

Comment 9 errata-xmlrpc 2020-12-15 17:12:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (389-ds:1.4 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:5505