Report generated on 20-Oct-2020 at 21:56:48 by pytest-html v2.1.1
389-ds-base | 1.4.3.12-1.fc32 |
Packages | {"pluggy": "0.13.1", "py": "1.9.0", "pytest": "5.4.3"} |
Platform | Linux-5.7.7-200.fc32.x86_64-x86_64-with-glibc2.2.5 |
Plugins | {"html": "2.1.1", "libfaketime": "0.1.2", "metadata": "1.10.0"} |
Python | 3.8.6 |
cyrus-sasl | 2.1.27-4.fc32 |
nspr | 4.29.0-1.fc32 |
nss | 3.57.0-1.fc32 |
openldap | 2.4.47-5.fc32 |
1764 tests ran in 9965.81 seconds.
(Un)check the boxes to filter the results.
1709 passed, 52 skipped, 31 failed, 274 errors, 15 expected failures, 9 unexpected passesResult | Test | Duration | Links |
---|---|---|---|
No results found. Try to check the filters | |||
Error | suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[lang-ja]::setup | 36.74 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e72a458d-253e-4f8c-8de0-99e039c1c005 / got description=None) | |||
Error | suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[binary]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[phonetic]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_mode_default_add_deny::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_mode_default_delete_deny::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_moddn_staging_prod[0-cn=staged user,dc=example,dc=com-cn=accounts,dc=example,dc=com-False]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_moddn_staging_prod[1-cn=staged user,dc=example,dc=com-cn=accounts,dc=example,dc=com-False]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_moddn_staging_prod[2-cn=staged user,dc=example,dc=com-cn=bad*,dc=example,dc=com-True]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_moddn_staging_prod[3-cn=st*,dc=example,dc=com-cn=accounts,dc=example,dc=com-False]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_moddn_staging_prod[4-cn=bad*,dc=example,dc=com-cn=accounts,dc=example,dc=com-True]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_moddn_staging_prod[5-cn=st*,dc=example,dc=com-cn=ac*,dc=example,dc=com-False]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_moddn_staging_prod[6-None-cn=ac*,dc=example,dc=com-False]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_moddn_staging_prod[7-cn=st*,dc=example,dc=com-None-False]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_moddn_staging_prod[8-None-None-False]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_moddn_staging_prod_9::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_moddn_prod_staging::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_check_repl_M2_to_M1::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_moddn_staging_prod_except::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_mode_default_ger_no_moddn::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_mode_default_ger_with_moddn::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_mode_legacy_ger_no_moddn1::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_mode_legacy_ger_no_moddn2::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_mode_legacy_ger_with_moddn::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_rdn_write_get_ger::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/acl/acl_test.py::test_rdn_write_modrdn_anonymous::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f8ac95e0> from_instance = <lib389.DirSrv object at 0x7fa5f819a8b0> to_instance = <lib389.DirSrv object at 0x7fa5f8f9bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/basic/basic_test.py::test_dscreate_ldapi::setup | 0.52 | |
request = <SubRequest 'dscreate_long_instance' for <Function test_dscreate_ldapi>> @pytest.fixture(scope="function") def dscreate_long_instance(request): template_file = "/tmp/dssetup.inf" longname_serverid = "test-longname-deadbeef-deadbeef-deadbeef-deadbeef-deadbeef" template_text = """[general] config_version = 2 # This invalid hostname ... full_machine_name = localhost.localdomain # Means we absolutely require this. strict_host_checking = False # In tests, we can be run in containers, NEVER trust # that systemd is there, or functional in any capacity systemd = False [slapd] instance_name = %s root_dn = cn=directory manager root_password = someLongPassword_123 # We do not have access to high ports in containers, # so default to something higher. port = 38999 secure_port = 63699 [backend-userroot] suffix = dc=example,dc=com sample_entries = yes """ % longname_serverid with open(template_file, "w") as template_fd: template_fd.write(template_text) # Unset PYTHONPATH to avoid mixing old CLI tools and new lib389 tmp_env = os.environ if "PYTHONPATH" in tmp_env: del tmp_env["PYTHONPATH"] try: > subprocess.check_call([ 'dscreate', 'from-file', template_file ], env=tmp_env) suites/basic/basic_test.py:1312: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['dscreate', 'from-file', '/tmp/dssetup.inf'],) kwargs = {'env': environ({'SHELL': '/bin/bash', 'DS_SKIP_LABEL': '1', '__INTERNAL_PERSISTENT_DATA': '/var/tmp/beakerlib-8592800...st', 'FAKETIME_DID_REEXEC': 'true', 'PYTEST_CURRENT_TEST': 'suites/basic/basic_test.py::test_dscreate_ldapi (setup)'})} retcode = 1, cmd = ['dscreate', 'from-file', '/tmp/dssetup.inf'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['dscreate', 'from-file', '/tmp/dssetup.inf']' returned non-zero exit status 1. /usr/lib64/python3.8/subprocess.py:364: CalledProcessError During handling of the above exception, another exception occurred: request = <SubRequest 'dscreate_long_instance' for <Function test_dscreate_ldapi>> @pytest.fixture(scope="function") def dscreate_long_instance(request): template_file = "/tmp/dssetup.inf" longname_serverid = "test-longname-deadbeef-deadbeef-deadbeef-deadbeef-deadbeef" template_text = """[general] config_version = 2 # This invalid hostname ... full_machine_name = localhost.localdomain # Means we absolutely require this. strict_host_checking = False # In tests, we can be run in containers, NEVER trust # that systemd is there, or functional in any capacity systemd = False [slapd] instance_name = %s root_dn = cn=directory manager root_password = someLongPassword_123 # We do not have access to high ports in containers, # so default to something higher. port = 38999 secure_port = 63699 [backend-userroot] suffix = dc=example,dc=com sample_entries = yes """ % longname_serverid with open(template_file, "w") as template_fd: template_fd.write(template_text) # Unset PYTHONPATH to avoid mixing old CLI tools and new lib389 tmp_env = os.environ if "PYTHONPATH" in tmp_env: del tmp_env["PYTHONPATH"] try: subprocess.check_call([ 'dscreate', 'from-file', template_file ], env=tmp_env) except subprocess.CalledProcessError as e: log.fatal("dscreate failed! Error ({}) {}".format(e.returncode, e.output)) > assert False E assert False suites/basic/basic_test.py:1319: AssertionError -----------------------------Captured stdout setup------------------------------ Starting installation... Error: port 38999 is already in use, or missing NET_BIND_SERVICE -------------------------------Captured log setup------------------------------- [31mCRITICAL[0m tests.suites.basic.basic_test:basic_test.py:1318 dscreate failed! Error (1) None | |||
Error | suites/basic/basic_test.py::test_dscreate_multiple_dashes_name::setup | 0.51 | |
request = <SubRequest 'dscreate_long_instance' for <Function test_dscreate_multiple_dashes_name>> @pytest.fixture(scope="function") def dscreate_long_instance(request): template_file = "/tmp/dssetup.inf" longname_serverid = "test-longname-deadbeef-deadbeef-deadbeef-deadbeef-deadbeef" template_text = """[general] config_version = 2 # This invalid hostname ... full_machine_name = localhost.localdomain # Means we absolutely require this. strict_host_checking = False # In tests, we can be run in containers, NEVER trust # that systemd is there, or functional in any capacity systemd = False [slapd] instance_name = %s root_dn = cn=directory manager root_password = someLongPassword_123 # We do not have access to high ports in containers, # so default to something higher. port = 38999 secure_port = 63699 [backend-userroot] suffix = dc=example,dc=com sample_entries = yes """ % longname_serverid with open(template_file, "w") as template_fd: template_fd.write(template_text) # Unset PYTHONPATH to avoid mixing old CLI tools and new lib389 tmp_env = os.environ if "PYTHONPATH" in tmp_env: del tmp_env["PYTHONPATH"] try: > subprocess.check_call([ 'dscreate', 'from-file', template_file ], env=tmp_env) suites/basic/basic_test.py:1312: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['dscreate', 'from-file', '/tmp/dssetup.inf'],) kwargs = {'env': environ({'SHELL': '/bin/bash', 'DS_SKIP_LABEL': '1', '__INTERNAL_PERSISTENT_DATA': '/var/tmp/beakerlib-8592800...DID_REEXEC': 'true', 'PYTEST_CURRENT_TEST': 'suites/basic/basic_test.py::test_dscreate_multiple_dashes_name (setup)'})} retcode = 1, cmd = ['dscreate', 'from-file', '/tmp/dssetup.inf'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['dscreate', 'from-file', '/tmp/dssetup.inf']' returned non-zero exit status 1. /usr/lib64/python3.8/subprocess.py:364: CalledProcessError During handling of the above exception, another exception occurred: request = <SubRequest 'dscreate_long_instance' for <Function test_dscreate_multiple_dashes_name>> @pytest.fixture(scope="function") def dscreate_long_instance(request): template_file = "/tmp/dssetup.inf" longname_serverid = "test-longname-deadbeef-deadbeef-deadbeef-deadbeef-deadbeef" template_text = """[general] config_version = 2 # This invalid hostname ... full_machine_name = localhost.localdomain # Means we absolutely require this. strict_host_checking = False # In tests, we can be run in containers, NEVER trust # that systemd is there, or functional in any capacity systemd = False [slapd] instance_name = %s root_dn = cn=directory manager root_password = someLongPassword_123 # We do not have access to high ports in containers, # so default to something higher. port = 38999 secure_port = 63699 [backend-userroot] suffix = dc=example,dc=com sample_entries = yes """ % longname_serverid with open(template_file, "w") as template_fd: template_fd.write(template_text) # Unset PYTHONPATH to avoid mixing old CLI tools and new lib389 tmp_env = os.environ if "PYTHONPATH" in tmp_env: del tmp_env["PYTHONPATH"] try: subprocess.check_call([ 'dscreate', 'from-file', template_file ], env=tmp_env) except subprocess.CalledProcessError as e: log.fatal("dscreate failed! Error ({}) {}".format(e.returncode, e.output)) > assert False E assert False suites/basic/basic_test.py:1319: AssertionError -----------------------------Captured stdout setup------------------------------ Starting installation... Error: port 38999 is already in use, or missing NET_BIND_SERVICE -------------------------------Captured log setup------------------------------- [31mCRITICAL[0m tests.suites.basic.basic_test:basic_test.py:1318 dscreate failed! Error (1) None | |||
Error | suites/clu/repl_monitor_test.py::test_dsconf_replication_monitor::setup | 37.62 | |
request = <SubRequest 'topology_m2' for <Function test_dsconf_replication_monitor>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6d33370> from_instance = <lib389.DirSrv object at 0x7fa5f83e9d90> to_instance = <lib389.DirSrv object at 0x7fa5f8333550>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect b27a6932-3fca-483a-8431-85744bb3cef6 / got description=None) | |||
Error | suites/config/config_test.py::test_maxbersize_repl::setup | 41.47 | |
request = <SubRequest 'topology_m2' for <Function test_maxbersize_repl>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6ea7700> from_instance = <lib389.DirSrv object at 0x7fa5f6e81af0> to_instance = <lib389.DirSrv object at 0x7fa5f829d0d0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 894b6d5f-2296-4a14-9abd-6ccd6831daab / got description=None) | |||
Error | suites/config/config_test.py::test_config_listen_backport_size::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_maxbersize_repl>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6ea7700> from_instance = <lib389.DirSrv object at 0x7fa5f6e81af0> to_instance = <lib389.DirSrv object at 0x7fa5f829d0d0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/config/config_test.py::test_config_deadlock_policy::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_maxbersize_repl>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6ea7700> from_instance = <lib389.DirSrv object at 0x7fa5f6e81af0> to_instance = <lib389.DirSrv object at 0x7fa5f829d0d0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/ds_tools/replcheck_test.py::test_state::setup | 39.75 | |
request = <SubRequest 'topo' for <Function test_state>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6ed9220> from_instance = <lib389.DirSrv object at 0x7fa5f6d59760> to_instance = <lib389.DirSrv object at 0x7fa5f6d57dc0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 635be265-de8d-464f-970a-92abd3d0a21b / got description=None) | |||
Error | suites/ds_tools/replcheck_test.py::test_check_ruv::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_state>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6ed9220> from_instance = <lib389.DirSrv object at 0x7fa5f6d59760> to_instance = <lib389.DirSrv object at 0x7fa5f6d57dc0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/ds_tools/replcheck_test.py::test_missing_entries::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_state>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6ed9220> from_instance = <lib389.DirSrv object at 0x7fa5f6d59760> to_instance = <lib389.DirSrv object at 0x7fa5f6d57dc0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/ds_tools/replcheck_test.py::test_tombstones::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_state>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6ed9220> from_instance = <lib389.DirSrv object at 0x7fa5f6d59760> to_instance = <lib389.DirSrv object at 0x7fa5f6d57dc0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/ds_tools/replcheck_test.py::test_conflict_entries::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_state>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6ed9220> from_instance = <lib389.DirSrv object at 0x7fa5f6d59760> to_instance = <lib389.DirSrv object at 0x7fa5f6d57dc0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/ds_tools/replcheck_test.py::test_inconsistencies::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_state>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6ed9220> from_instance = <lib389.DirSrv object at 0x7fa5f6d59760> to_instance = <lib389.DirSrv object at 0x7fa5f6d57dc0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/ds_tools/replcheck_test.py::test_suffix_exists::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_state>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6ed9220> from_instance = <lib389.DirSrv object at 0x7fa5f6d59760> to_instance = <lib389.DirSrv object at 0x7fa5f6d57dc0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/ds_tools/replcheck_test.py::test_check_missing_tombstones::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_state>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6ed9220> from_instance = <lib389.DirSrv object at 0x7fa5f6d59760> to_instance = <lib389.DirSrv object at 0x7fa5f6d57dc0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/ds_tools/replcheck_test.py::test_dsreplcheck_with_password_file::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_state>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6ed9220> from_instance = <lib389.DirSrv object at 0x7fa5f6d59760> to_instance = <lib389.DirSrv object at 0x7fa5f6d57dc0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/ds_tools/replcheck_test.py::test_dsreplcheck_timeout_connection_mechanisms::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_state>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6ed9220> from_instance = <lib389.DirSrv object at 0x7fa5f6d59760> to_instance = <lib389.DirSrv object at 0x7fa5f6d57dc0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/dynamic_plugins/dynamic_plugins_test.py::test_acceptance::setup | 42.10 | |
request = <SubRequest 'topology_m2' for <Function test_acceptance>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f710a1f0> from_instance = <lib389.DirSrv object at 0x7fa5f72a6d60> to_instance = <lib389.DirSrv object at 0x7fa5f712adf0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6f6227fa-7b7e-44c8-bfee-e2a0627e8d07 / got description=None) | |||
Error | suites/dynamic_plugins/dynamic_plugins_test.py::test_memory_corruption::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_acceptance>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f710a1f0> from_instance = <lib389.DirSrv object at 0x7fa5f72a6d60> to_instance = <lib389.DirSrv object at 0x7fa5f712adf0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/dynamic_plugins/dynamic_plugins_test.py::test_stress::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_acceptance>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f710a1f0> from_instance = <lib389.DirSrv object at 0x7fa5f72a6d60> to_instance = <lib389.DirSrv object at 0x7fa5f712adf0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fourwaymmr/fourwaymmr_test.py::test_verify_trees::setup | 48.66 | |
request = <SubRequest 'topo_m4' for <Function test_verify_trees>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6a00fa0> from_instance = <lib389.DirSrv object at 0x7fa5f98d9130> to_instance = <lib389.DirSrv object at 0x7fa5f67c4a00>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39003, 'ldap-secureport': 63703, 'server-id': 'master3', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39004, 'ldap-secureport': 63704, 'server-id': 'master4', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bc9be63c-139f-452b-adcb-07a7471e0246 / got description=None) | |||
Error | suites/fourwaymmr/fourwaymmr_test.py::test_sync_through_to_all_4_masters::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_verify_trees>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6a00fa0> from_instance = <lib389.DirSrv object at 0x7fa5f98d9130> to_instance = <lib389.DirSrv object at 0x7fa5f67c4a00>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fourwaymmr/fourwaymmr_test.py::test_modify_some_data_in_m3::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_verify_trees>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6a00fa0> from_instance = <lib389.DirSrv object at 0x7fa5f98d9130> to_instance = <lib389.DirSrv object at 0x7fa5f67c4a00>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fourwaymmr/fourwaymmr_test.py::test_delete_a_few_entries_in_m4::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_verify_trees>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6a00fa0> from_instance = <lib389.DirSrv object at 0x7fa5f98d9130> to_instance = <lib389.DirSrv object at 0x7fa5f67c4a00>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fourwaymmr/fourwaymmr_test.py::test_replicated_multivalued_entries::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_verify_trees>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6a00fa0> from_instance = <lib389.DirSrv object at 0x7fa5f98d9130> to_instance = <lib389.DirSrv object at 0x7fa5f67c4a00>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fourwaymmr/fourwaymmr_test.py::test_bad_replication_agreement::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_verify_trees>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6a00fa0> from_instance = <lib389.DirSrv object at 0x7fa5f98d9130> to_instance = <lib389.DirSrv object at 0x7fa5f67c4a00>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fourwaymmr/fourwaymmr_test.py::test_nsds5replicaenabled_verify::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_verify_trees>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6a00fa0> from_instance = <lib389.DirSrv object at 0x7fa5f98d9130> to_instance = <lib389.DirSrv object at 0x7fa5f67c4a00>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fourwaymmr/fourwaymmr_test.py::test_create_an_entry_on_the_supplier::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_verify_trees>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6a00fa0> from_instance = <lib389.DirSrv object at 0x7fa5f98d9130> to_instance = <lib389.DirSrv object at 0x7fa5f67c4a00>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fourwaymmr/fourwaymmr_test.py::test_bob_acceptance_tests::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_verify_trees>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6a00fa0> from_instance = <lib389.DirSrv object at 0x7fa5f98d9130> to_instance = <lib389.DirSrv object at 0x7fa5f67c4a00>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fourwaymmr/fourwaymmr_test.py::test_replica_backup_and_restore::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_verify_trees>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6a00fa0> from_instance = <lib389.DirSrv object at 0x7fa5f98d9130> to_instance = <lib389.DirSrv object at 0x7fa5f67c4a00>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fractional/fractional_test.py::test_fractional_agreements::setup | 48.40 | |
request = <SubRequest 'topology_m2c2' for <Function test_fractional_agreements>> @pytest.fixture(scope="module") def topology_m2c2(request): """Create Replication Deployment with two masters and two consumers""" > topology = create_topology({ReplicaRole.MASTER: 2, ReplicaRole.CONSUMER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:489: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f67661f0> from_instance = <lib389.DirSrv object at 0x7fa5f6a9da90> to_instance = <lib389.DirSrv object at 0x7fa5f722bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39201, 'ldap-secureport': 63901, 'server-id': 'consumer1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39202, 'ldap-secureport': 63902, 'server-id': 'consumer2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 37b57cc8-bbba-463f-afb0-569a6ee3dcf5 / got description=None) | |||
Error | suites/fractional/fractional_test.py::test_read_only_consumer::setup | 0.00 | |
request = <SubRequest 'topology_m2c2' for <Function test_fractional_agreements>> @pytest.fixture(scope="module") def topology_m2c2(request): """Create Replication Deployment with two masters and two consumers""" > topology = create_topology({ReplicaRole.MASTER: 2, ReplicaRole.CONSUMER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:489: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f67661f0> from_instance = <lib389.DirSrv object at 0x7fa5f6a9da90> to_instance = <lib389.DirSrv object at 0x7fa5f722bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fractional/fractional_test.py::test_read_write_supplier::setup | 0.00 | |
request = <SubRequest 'topology_m2c2' for <Function test_fractional_agreements>> @pytest.fixture(scope="module") def topology_m2c2(request): """Create Replication Deployment with two masters and two consumers""" > topology = create_topology({ReplicaRole.MASTER: 2, ReplicaRole.CONSUMER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:489: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f67661f0> from_instance = <lib389.DirSrv object at 0x7fa5f6a9da90> to_instance = <lib389.DirSrv object at 0x7fa5f722bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fractional/fractional_test.py::test_filtered_attributes::setup | 0.00 | |
request = <SubRequest 'topology_m2c2' for <Function test_fractional_agreements>> @pytest.fixture(scope="module") def topology_m2c2(request): """Create Replication Deployment with two masters and two consumers""" > topology = create_topology({ReplicaRole.MASTER: 2, ReplicaRole.CONSUMER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:489: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f67661f0> from_instance = <lib389.DirSrv object at 0x7fa5f6a9da90> to_instance = <lib389.DirSrv object at 0x7fa5f722bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fractional/fractional_test.py::test_fewer_changes_in_single_operation::setup | 0.00 | |
request = <SubRequest 'topology_m2c2' for <Function test_fractional_agreements>> @pytest.fixture(scope="module") def topology_m2c2(request): """Create Replication Deployment with two masters and two consumers""" > topology = create_topology({ReplicaRole.MASTER: 2, ReplicaRole.CONSUMER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:489: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f67661f0> from_instance = <lib389.DirSrv object at 0x7fa5f6a9da90> to_instance = <lib389.DirSrv object at 0x7fa5f722bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fractional/fractional_test.py::test_newly_added_attribute_nsds5replicatedattributelisttotal::setup | 0.00 | |
request = <SubRequest 'topology_m2c2' for <Function test_fractional_agreements>> @pytest.fixture(scope="module") def topology_m2c2(request): """Create Replication Deployment with two masters and two consumers""" > topology = create_topology({ReplicaRole.MASTER: 2, ReplicaRole.CONSUMER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:489: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f67661f0> from_instance = <lib389.DirSrv object at 0x7fa5f6a9da90> to_instance = <lib389.DirSrv object at 0x7fa5f722bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fractional/fractional_test.py::test_attribute_nsds5replicatedattributelisttotal::setup | 0.00 | |
request = <SubRequest 'topology_m2c2' for <Function test_fractional_agreements>> @pytest.fixture(scope="module") def topology_m2c2(request): """Create Replication Deployment with two masters and two consumers""" > topology = create_topology({ReplicaRole.MASTER: 2, ReplicaRole.CONSUMER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:489: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f67661f0> from_instance = <lib389.DirSrv object at 0x7fa5f6a9da90> to_instance = <lib389.DirSrv object at 0x7fa5f722bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/fractional/fractional_test.py::test_implicit_replication_of_password_policy::setup | 0.00 | |
request = <SubRequest 'topology_m2c2' for <Function test_fractional_agreements>> @pytest.fixture(scope="module") def topology_m2c2(request): """Create Replication Deployment with two masters and two consumers""" > topology = create_topology({ReplicaRole.MASTER: 2, ReplicaRole.CONSUMER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:489: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f67661f0> from_instance = <lib389.DirSrv object at 0x7fa5f6a9da90> to_instance = <lib389.DirSrv object at 0x7fa5f722bb50>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/gssapi_repl/gssapi_repl_test.py::test_gssapi_repl::setup | 39.36 | |
request = <SubRequest 'topology_m2' for <Function test_gssapi_repl>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f6739820> from_instance = <lib389.DirSrv object at 0x7fa5f6710d00> to_instance = <lib389.DirSrv object at 0x7fa5f670d2b0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 101b3104-f597-4253-9f57-6965f47a0bc4 / got description=None) | |||
Error | suites/lib389/idm/user_compare_m2Repl_test.py::test_user_compare_m2Repl::setup | 39.82 | |
request = <SubRequest 'topology_m2' for <Function test_user_compare_m2Repl>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f649aee0> from_instance = <lib389.DirSrv object at 0x7fa5f654bd30> to_instance = <lib389.DirSrv object at 0x7fa5f655a220>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 9242dfb5-a408-4f56-af0a-e2a430286bd7 / got description=None) | |||
Error | suites/mapping_tree/referral_during_tot_init_test.py::test_referral_during_tot::setup | 37.76 | |
request = <SubRequest 'topology_m2' for <Function test_referral_during_tot>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f66e6670> from_instance = <lib389.DirSrv object at 0x7fa5f66f54c0> to_instance = <lib389.DirSrv object at 0x7fa5f654cc40>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8151fd0c-550c-474b-8fe6-1a26e6700d05 / got description=None) | |||
Error | suites/memberof_plugin/regression_test.py::test_memberof_with_repl::setup | 44.99 | |
request = <SubRequest 'topo' for <Function test_memberof_with_repl>> @pytest.fixture(scope="module") def topology_m1h1c1(request): """Create Replication Deployment with one master, one consumer and one hub""" topo_roles = {ReplicaRole.MASTER: 1, ReplicaRole.HUB: 1, ReplicaRole.CONSUMER: 1} topology = _create_instances(topo_roles, DEFAULT_SUFFIX) master = topology.ms["master1"] hub = topology.hs["hub1"] consumer = topology.cs["consumer1"] # Start with the master, and create it "first". log.info("Creating replication topology.") # Now get the first master ready. repl = ReplicationManager(DEFAULT_SUFFIX) repl.create_first_master(master) # Finish the topology creation > repl.join_hub(master, hub) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:520: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/replica.py:2226: in join_hub self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f65bb610> from_instance = <lib389.DirSrv object at 0x7fa5f66e10a0> to_instance = <lib389.DirSrv object at 0x7fa5f66e1100>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-consumer1 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39101, 'ldap-secureport': 63801, 'server-id': 'hub1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39201, 'ldap-secureport': 63901, 'server-id': 'consumer1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:515 Creating replication topology. [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 043fc90a-8c3a-43a4-9b3c-b7bb970bdd4c / got description=None) | |||
Error | suites/memberof_plugin/regression_test.py::test_scheme_violation_errors_logged::setup | 39.83 | |
request = <SubRequest 'topo_m2' for <Function test_scheme_violation_errors_logged>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f66d8040> from_instance = <lib389.DirSrv object at 0x7fa5f66f0070> to_instance = <lib389.DirSrv object at 0x7fa5f66e42b0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 2d0c577c-5a21-4fae-a436-ba06f06f719a / got description=None) | |||
Error | suites/memberof_plugin/regression_test.py::test_memberof_with_changelog_reset::setup | 0.00 | |
request = <SubRequest 'topo_m2' for <Function test_scheme_violation_errors_logged>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f66d8040> from_instance = <lib389.DirSrv object at 0x7fa5f66f0070> to_instance = <lib389.DirSrv object at 0x7fa5f66e42b0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/plugins/entryusn_test.py::test_entryusn_after_repl_delete::setup | 38.10 | |
request = <SubRequest 'topology_m2' for <Function test_entryusn_after_repl_delete>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f57bd520> from_instance = <lib389.DirSrv object at 0x7fa5f57dcc70> to_instance = <lib389.DirSrv object at 0x7fa5f5abf640>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a08fd5b2-eb25-431a-b320-8c1a65ae0fe2 / got description=None) | |||
Error | suites/referint_plugin/rename_test.py::test_rename_large_subtree::setup | 39.90 | |
request = <SubRequest 'topology_m2' for <Function test_rename_large_subtree>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f58d1e80> from_instance = <lib389.DirSrv object at 0x7fa5f90cf1c0> to_instance = <lib389.DirSrv object at 0x7fa5f58bde20>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 56d50053-1d0e-4914-85a1-2854bba147ce / got description=None) | |||
Error | suites/replication/acceptance_test.py::test_add_entry::setup | 52.53 | |
request = <SubRequest 'topo_m4' for <Function test_add_entry>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f58c1550> from_instance = <lib389.DirSrv object at 0x7fa5f584e730> to_instance = <lib389.DirSrv object at 0x7fa5f575c160>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. Instance slapd-master3 removed. Instance slapd-master4 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39003, 'ldap-secureport': 63703, 'server-id': 'master3', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39004, 'ldap-secureport': 63704, 'server-id': 'master4', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 91a7af99-7015-4e43-97eb-203f3b63660f / got description=None) | |||
Error | suites/replication/acceptance_test.py::test_modify_entry::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_add_entry>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f58c1550> from_instance = <lib389.DirSrv object at 0x7fa5f584e730> to_instance = <lib389.DirSrv object at 0x7fa5f575c160>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/acceptance_test.py::test_delete_entry::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_add_entry>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f58c1550> from_instance = <lib389.DirSrv object at 0x7fa5f584e730> to_instance = <lib389.DirSrv object at 0x7fa5f575c160>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/acceptance_test.py::test_modrdn_entry[0]::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_add_entry>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f58c1550> from_instance = <lib389.DirSrv object at 0x7fa5f584e730> to_instance = <lib389.DirSrv object at 0x7fa5f575c160>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/acceptance_test.py::test_modrdn_entry[1]::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_add_entry>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f58c1550> from_instance = <lib389.DirSrv object at 0x7fa5f584e730> to_instance = <lib389.DirSrv object at 0x7fa5f575c160>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/acceptance_test.py::test_modrdn_after_pause::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_add_entry>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f58c1550> from_instance = <lib389.DirSrv object at 0x7fa5f584e730> to_instance = <lib389.DirSrv object at 0x7fa5f575c160>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/acceptance_test.py::test_modify_stripattrs::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_add_entry>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f58c1550> from_instance = <lib389.DirSrv object at 0x7fa5f584e730> to_instance = <lib389.DirSrv object at 0x7fa5f575c160>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/acceptance_test.py::test_new_suffix::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_add_entry>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f58c1550> from_instance = <lib389.DirSrv object at 0x7fa5f584e730> to_instance = <lib389.DirSrv object at 0x7fa5f575c160>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/acceptance_test.py::test_many_attrs::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_add_entry>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f58c1550> from_instance = <lib389.DirSrv object at 0x7fa5f584e730> to_instance = <lib389.DirSrv object at 0x7fa5f575c160>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/acceptance_test.py::test_double_delete::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_add_entry>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f58c1550> from_instance = <lib389.DirSrv object at 0x7fa5f584e730> to_instance = <lib389.DirSrv object at 0x7fa5f575c160>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/acceptance_test.py::test_password_repl_error::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_add_entry>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f58c1550> from_instance = <lib389.DirSrv object at 0x7fa5f584e730> to_instance = <lib389.DirSrv object at 0x7fa5f575c160>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/acceptance_test.py::test_invalid_agmt::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_add_entry>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f58c1550> from_instance = <lib389.DirSrv object at 0x7fa5f584e730> to_instance = <lib389.DirSrv object at 0x7fa5f575c160>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/acceptance_test.py::test_warining_for_invalid_replica::setup | 0.00 | |
request = <SubRequest 'topo_m4' for <Function test_add_entry>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f58c1550> from_instance = <lib389.DirSrv object at 0x7fa5f584e730> to_instance = <lib389.DirSrv object at 0x7fa5f575c160>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/acceptance_test.py::test_csnpurge_large_valueset::setup | 39.52 | |
request = <SubRequest 'topo_m2' for <Function test_csnpurge_large_valueset>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f5884d00> from_instance = <lib389.DirSrv object at 0x7fa5f587d430> to_instance = <lib389.DirSrv object at 0x7fa5f58a94c0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect bf313809-90d1-48b7-b2c0-a5e6eca71d41 / got description=None) | |||
Error | suites/replication/acceptance_test.py::test_urp_trigger_substring_search::setup | 0.00 | |
request = <SubRequest 'topo_m2' for <Function test_csnpurge_large_valueset>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f5884d00> from_instance = <lib389.DirSrv object at 0x7fa5f587d430> to_instance = <lib389.DirSrv object at 0x7fa5f58a94c0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/cascading_test.py::test_basic_with_hub::setup | 46.04 | |
request = <SubRequest 'topo' for <Function test_basic_with_hub>> @pytest.fixture(scope="module") def topology_m1h1c1(request): """Create Replication Deployment with one master, one consumer and one hub""" topo_roles = {ReplicaRole.MASTER: 1, ReplicaRole.HUB: 1, ReplicaRole.CONSUMER: 1} topology = _create_instances(topo_roles, DEFAULT_SUFFIX) master = topology.ms["master1"] hub = topology.hs["hub1"] consumer = topology.cs["consumer1"] # Start with the master, and create it "first". log.info("Creating replication topology.") # Now get the first master ready. repl = ReplicationManager(DEFAULT_SUFFIX) repl.create_first_master(master) # Finish the topology creation > repl.join_hub(master, hub) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:520: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/replica.py:2226: in join_hub self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f56f6100> from_instance = <lib389.DirSrv object at 0x7fa5f56e9670> to_instance = <lib389.DirSrv object at 0x7fa5f56e96d0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-hub1 removed. Instance slapd-consumer1 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39101, 'ldap-secureport': 63801, 'server-id': 'hub1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39201, 'ldap-secureport': 63901, 'server-id': 'consumer1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:515 Creating replication topology. [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39101 is NOT working (expect 65418c46-15d5-4984-bf46-64cd6abdac6a / got description=None) | |||
Error | suites/replication/changelog_encryption_test.py::test_cl_encryption_setup_process::setup | 39.87 | |
request = <SubRequest 'topo' for <Function test_cl_encryption_setup_process>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f56b39d0> from_instance = <lib389.DirSrv object at 0x7fa5f59beb50> to_instance = <lib389.DirSrv object at 0x7fa5f59bebb0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-consumer1 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39201, 'ldap-secureport': 63901, 'server-id': 'consumer1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:175 Joining consumer consumer1 from master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9c9ac1c3-694c-482e-837c-2aca73fe1a0a / got description=None) | |||
Error | suites/replication/changelog_test.py::test_dsconf_dump_changelog_files_removed::setup | 41.24 | |
request = <SubRequest 'topo' for <Function test_dsconf_dump_changelog_files_removed>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f59cae50> from_instance = <lib389.DirSrv object at 0x7fa5f5997e20> to_instance = <lib389.DirSrv object at 0x7fa5f568c6a0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 6526dab2-30f5-4424-860f-65473bddcdb0 / got description=None) | |||
Error | suites/replication/changelog_test.py::test_verify_changelog::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_dsconf_dump_changelog_files_removed>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f59cae50> from_instance = <lib389.DirSrv object at 0x7fa5f5997e20> to_instance = <lib389.DirSrv object at 0x7fa5f568c6a0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/changelog_test.py::test_verify_changelog_online_backup::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_dsconf_dump_changelog_files_removed>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f59cae50> from_instance = <lib389.DirSrv object at 0x7fa5f5997e20> to_instance = <lib389.DirSrv object at 0x7fa5f568c6a0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/changelog_test.py::test_verify_changelog_offline_backup::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_dsconf_dump_changelog_files_removed>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f59cae50> from_instance = <lib389.DirSrv object at 0x7fa5f5997e20> to_instance = <lib389.DirSrv object at 0x7fa5f568c6a0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/changelog_test.py::test_changelog_maxage::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_dsconf_dump_changelog_files_removed>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f59cae50> from_instance = <lib389.DirSrv object at 0x7fa5f5997e20> to_instance = <lib389.DirSrv object at 0x7fa5f568c6a0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/changelog_test.py::test_ticket47669_changelog_triminterval::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_dsconf_dump_changelog_files_removed>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f59cae50> from_instance = <lib389.DirSrv object at 0x7fa5f5997e20> to_instance = <lib389.DirSrv object at 0x7fa5f568c6a0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/changelog_test.py::test_changelog_compactdbinterval::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_dsconf_dump_changelog_files_removed>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f59cae50> from_instance = <lib389.DirSrv object at 0x7fa5f5997e20> to_instance = <lib389.DirSrv object at 0x7fa5f568c6a0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/changelog_test.py::test_retrochangelog_maxage::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_dsconf_dump_changelog_files_removed>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f59cae50> from_instance = <lib389.DirSrv object at 0x7fa5f5997e20> to_instance = <lib389.DirSrv object at 0x7fa5f568c6a0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/changelog_test.py::test_retrochangelog_trimming_crash::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_dsconf_dump_changelog_files_removed>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f59cae50> from_instance = <lib389.DirSrv object at 0x7fa5f5997e20> to_instance = <lib389.DirSrv object at 0x7fa5f568c6a0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/changelog_trimming_test.py::test_max_age::setup | 7.51 | |
topo = <lib389.topologies.TopologyMain object at 0x7fa5f5670370> request = <SubRequest 'setup_max_age' for <Function test_max_age>> @pytest.fixture(scope="module") def setup_max_age(topo, request): """Configure logging and changelog max age """ master = topo.ms["master1"] master.config.loglevel((ErrorLog.REPLICA,), 'error') if ds_supports_new_changelog(): set_value(master, MAXAGE, '5') set_value(master, TRIMINTERVAL, '300') else: cl = Changelog5(master) > cl.set_max_age('5') suites/replication/changelog_trimming_test.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/replica.py:1190: in set_max_age self.replace('nsslapd-changelogmaxage', value) /usr/local/lib/python3.8/site-packages/lib389/_mapped_object.py:280: in replace self.set(key, value, action=ldap.MOD_REPLACE) /usr/local/lib/python3.8/site-packages/lib389/_mapped_object.py:446: in set return self._instance.modify_ext_s(self._dn, [(action, key, value)], /usr/local/lib/python3.8/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.8/site-packages/ldap/ldapobject.py:613: in modify_ext_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) /usr/local/lib/python3.8/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.8/site-packages/ldap/ldapobject.py:764: in result3 resp_type, resp_data, resp_msgid, decoded_resp_ctrls, retoid, retval = self.result4( /usr/local/lib/python3.8/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.8/site-packages/ldap/ldapobject.py:774: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.8/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.8/site-packages/ldap/ldapobject.py:340: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.8/site-packages/ldap/compat.py:46: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fa5f5670310> func = <built-in method result4 of LDAP object at 0x7fa5f5994fc0> args = (16, 1, -1, 0, 0, 0), kwargs = {}, diagnostic_message_success = None exc_type = None, exc_value = None, exc_traceback = None def _ldap_call(self,func,*args,**kwargs): """ Wrapper method mainly for serializing calls into OpenLDAP libs and trace logs """ self._ldap_object_lock.acquire() if __debug__: if self._trace_level>=1: self._trace_file.write('*** %s %s - %s\n%s\n' % ( repr(self), self._uri, '.'.join((self.__class__.__name__,func.__name__)), pprint.pformat((args,kwargs)) )) if self._trace_level>=9: traceback.print_stack(limit=self._trace_stack_limit,file=self._trace_file) diagnostic_message_success = None try: try: > result = func(*args,**kwargs) E ldap.NO_SUCH_OBJECT: {'msgtype': 103, 'msgid': 16, 'result': 32, 'desc': 'No such object', 'ctrls': []} /usr/local/lib64/python3.8/site-packages/ldap/ldapobject.py:324: NO_SUCH_OBJECT -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. | |||
Error | suites/replication/changelog_trimming_test.py::test_max_entries::setup | 0.02 | |
topo = <lib389.topologies.TopologyMain object at 0x7fa5f5670370> request = <SubRequest 'setup_max_entries' for <Function test_max_entries>> @pytest.fixture(scope="module") def setup_max_entries(topo, request): """Configure logging and changelog max entries """ master = topo.ms["master1"] master.config.loglevel((ErrorLog.REPLICA,), 'error') if ds_supports_new_changelog(): set_value(master, MAXENTRIES, '2') set_value(master, TRIMINTERVAL, '300') else: cl = Changelog5(master) > cl.set_trim_interval('300') suites/replication/changelog_trimming_test.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/replica.py:1181: in set_trim_interval self.replace('nsslapd-changelogtrim-interval', value) /usr/local/lib/python3.8/site-packages/lib389/_mapped_object.py:280: in replace self.set(key, value, action=ldap.MOD_REPLACE) /usr/local/lib/python3.8/site-packages/lib389/_mapped_object.py:446: in set return self._instance.modify_ext_s(self._dn, [(action, key, value)], /usr/local/lib/python3.8/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.8/site-packages/ldap/ldapobject.py:613: in modify_ext_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) /usr/local/lib/python3.8/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.8/site-packages/ldap/ldapobject.py:764: in result3 resp_type, resp_data, resp_msgid, decoded_resp_ctrls, retoid, retval = self.result4( /usr/local/lib/python3.8/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.8/site-packages/ldap/ldapobject.py:774: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.8/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.8/site-packages/ldap/ldapobject.py:340: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.8/site-packages/ldap/compat.py:46: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fa5f5670310> func = <built-in method result4 of LDAP object at 0x7fa5f5994fc0> args = (18, 1, -1, 0, 0, 0), kwargs = {}, diagnostic_message_success = None exc_type = None, exc_value = None, exc_traceback = None def _ldap_call(self,func,*args,**kwargs): """ Wrapper method mainly for serializing calls into OpenLDAP libs and trace logs """ self._ldap_object_lock.acquire() if __debug__: if self._trace_level>=1: self._trace_file.write('*** %s %s - %s\n%s\n' % ( repr(self), self._uri, '.'.join((self.__class__.__name__,func.__name__)), pprint.pformat((args,kwargs)) )) if self._trace_level>=9: traceback.print_stack(limit=self._trace_stack_limit,file=self._trace_file) diagnostic_message_success = None try: try: > result = func(*args,**kwargs) E ldap.NO_SUCH_OBJECT: {'msgtype': 103, 'msgid': 18, 'result': 32, 'desc': 'No such object', 'ctrls': []} /usr/local/lib64/python3.8/site-packages/ldap/ldapobject.py:324: NO_SUCH_OBJECT | |||
Error | suites/replication/cleanallruv_max_tasks_test.py::test_max_tasks::setup | 52.21 | |
request = <SubRequest 'topology_m4' for <Function test_max_tasks>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f5824310> from_instance = <lib389.DirSrv object at 0x7fa5f4fa7d30> to_instance = <lib389.DirSrv object at 0x7fa5f598b9a0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master2 removed. Instance slapd-master3 removed. Instance slapd-master4 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39003, 'ldap-secureport': 63703, 'server-id': 'master3', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39004, 'ldap-secureport': 63704, 'server-id': 'master4', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect db45a101-b7dc-4867-892d-88af5dc01ae6 / got description=None) | |||
Error | suites/replication/cleanallruv_test.py::test_clean::setup | 54.62 | |
request = <SubRequest 'topology_m4' for <Function test_clean>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f5626e50> from_instance = <lib389.DirSrv object at 0x7fa5f55acb20> to_instance = <lib389.DirSrv object at 0x7fa5f559e8e0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. Instance slapd-master3 removed. Instance slapd-master4 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39003, 'ldap-secureport': 63703, 'server-id': 'master3', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39004, 'ldap-secureport': 63704, 'server-id': 'master4', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect dd945db0-bd74-4070-90a6-1db7ed20c738 / got description=None) | |||
Error | suites/replication/cleanallruv_test.py::test_clean_restart::setup | 0.00 | |
request = <SubRequest 'topology_m4' for <Function test_clean>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f5626e50> from_instance = <lib389.DirSrv object at 0x7fa5f55acb20> to_instance = <lib389.DirSrv object at 0x7fa5f559e8e0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/cleanallruv_test.py::test_clean_force::setup | 0.00 | |
request = <SubRequest 'topology_m4' for <Function test_clean>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f5626e50> from_instance = <lib389.DirSrv object at 0x7fa5f55acb20> to_instance = <lib389.DirSrv object at 0x7fa5f559e8e0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/cleanallruv_test.py::test_abort::setup | 0.00 | |
request = <SubRequest 'topology_m4' for <Function test_clean>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f5626e50> from_instance = <lib389.DirSrv object at 0x7fa5f55acb20> to_instance = <lib389.DirSrv object at 0x7fa5f559e8e0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/cleanallruv_test.py::test_abort_restart::setup | 0.00 | |
request = <SubRequest 'topology_m4' for <Function test_clean>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f5626e50> from_instance = <lib389.DirSrv object at 0x7fa5f55acb20> to_instance = <lib389.DirSrv object at 0x7fa5f559e8e0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/cleanallruv_test.py::test_abort_certify::setup | 0.00 | |
request = <SubRequest 'topology_m4' for <Function test_clean>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f5626e50> from_instance = <lib389.DirSrv object at 0x7fa5f55acb20> to_instance = <lib389.DirSrv object at 0x7fa5f559e8e0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/cleanallruv_test.py::test_stress_clean::setup | 0.00 | |
request = <SubRequest 'topology_m4' for <Function test_clean>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f5626e50> from_instance = <lib389.DirSrv object at 0x7fa5f55acb20> to_instance = <lib389.DirSrv object at 0x7fa5f559e8e0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/cleanallruv_test.py::test_multiple_tasks_with_force::setup | 0.00 | |
request = <SubRequest 'topology_m4' for <Function test_clean>> @pytest.fixture(scope="module") def topology_m4(request): """Create Replication Deployment with four masters""" > topology = create_topology({ReplicaRole.MASTER: 4}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f5626e50> from_instance = <lib389.DirSrv object at 0x7fa5f55acb20> to_instance = <lib389.DirSrv object at 0x7fa5f559e8e0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/cleanallruv_test.py::test_clean_shutdown_crash::setup | 39.49 | |
request = <SubRequest 'topology_m2' for <Function test_clean_shutdown_crash>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f53d69a0> from_instance = <lib389.DirSrv object at 0x7fa5f54568b0> to_instance = <lib389.DirSrv object at 0x7fa5f53c4af0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 28706e16-e826-469d-986c-d3d147946b1b / got description=None) | |||
Error | suites/replication/conflict_resolve_test.py::TestTwoMasters::test_add_modrdn::setup | 39.42 | |
request = <SubRequest 'topology_m2' for <Function test_add_modrdn>> @pytest.fixture(scope="class") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) suites/replication/conftest.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f539e850> from_instance = <lib389.DirSrv object at 0x7fa5f538d340> to_instance = <lib389.DirSrv object at 0x7fa5f545ef40>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d4afb179-0557-4437-8e66-c1ba45ad4e1c / got description=None) | |||
Error | suites/replication/conflict_resolve_test.py::TestTwoMasters::test_complex_add_modify_modrdn_delete::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_add_modrdn>> @pytest.fixture(scope="class") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) suites/replication/conftest.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f539e850> from_instance = <lib389.DirSrv object at 0x7fa5f538d340> to_instance = <lib389.DirSrv object at 0x7fa5f545ef40>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/conflict_resolve_test.py::TestTwoMasters::test_memberof_groups::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_add_modrdn>> @pytest.fixture(scope="class") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) suites/replication/conftest.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f539e850> from_instance = <lib389.DirSrv object at 0x7fa5f538d340> to_instance = <lib389.DirSrv object at 0x7fa5f545ef40>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/conflict_resolve_test.py::TestTwoMasters::test_managed_entries::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_add_modrdn>> @pytest.fixture(scope="class") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) suites/replication/conftest.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f539e850> from_instance = <lib389.DirSrv object at 0x7fa5f538d340> to_instance = <lib389.DirSrv object at 0x7fa5f545ef40>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/conflict_resolve_test.py::TestTwoMasters::test_nested_entries_with_children::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_add_modrdn>> @pytest.fixture(scope="class") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) suites/replication/conftest.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f539e850> from_instance = <lib389.DirSrv object at 0x7fa5f538d340> to_instance = <lib389.DirSrv object at 0x7fa5f545ef40>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/conflict_resolve_test.py::TestTwoMasters::test_conflict_attribute_multi_valued::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_add_modrdn>> @pytest.fixture(scope="class") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) suites/replication/conftest.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f539e850> from_instance = <lib389.DirSrv object at 0x7fa5f538d340> to_instance = <lib389.DirSrv object at 0x7fa5f545ef40>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/conflict_resolve_test.py::TestTwoMasters::test_conflict_attribute_single_valued::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_add_modrdn>> @pytest.fixture(scope="class") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) suites/replication/conftest.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f539e850> from_instance = <lib389.DirSrv object at 0x7fa5f538d340> to_instance = <lib389.DirSrv object at 0x7fa5f545ef40>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/conflict_resolve_test.py::TestThreeMasters::test_nested_entries::setup | 46.56 | |
request = <SubRequest 'topology_m3' for <Function test_nested_entries>> @pytest.fixture(scope="class") def topology_m3(request): """Create Replication Deployment with three masters""" > topology = create_topology({ReplicaRole.MASTER: 3}) suites/replication/conftest.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f5087c40> from_instance = <lib389.DirSrv object at 0x7fa5f5341850> to_instance = <lib389.DirSrv object at 0x7fa5f533ba00>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. Instance slapd-master3 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39003, 'ldap-secureport': 63703, 'server-id': 'master3', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 172546fc-f139-4e3a-8316-6a5a853b69d4 / got description=None) | |||
Error | suites/replication/encryption_cl5_test.py::test_algorithm_unhashed::setup | 39.81 | |
request = <SubRequest 'topology_m2' for <Function test_algorithm_unhashed>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f5067d00> from_instance = <lib389.DirSrv object at 0x7fa5f50b3130> to_instance = <lib389.DirSrv object at 0x7fa5f50abd30>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 06c500c7-f3a2-410d-8553-3bb611440145 / got description=None) | |||
Error | suites/replication/multiple_changelogs_test.py::test_multiple_changelogs::setup | 39.99 | |
request = <SubRequest 'topo' for <Function test_multiple_changelogs>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f541d2e0> from_instance = <lib389.DirSrv object at 0x7fa5f4f7da30> to_instance = <lib389.DirSrv object at 0x7fa5f4f7da90>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-consumer1 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39201, 'ldap-secureport': 63901, 'server-id': 'consumer1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:175 Joining consumer consumer1 from master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect b26cc8bd-47ff-4955-a078-39361a07955f / got description=None) | |||
Error | suites/replication/multiple_changelogs_test.py::test_multiple_changelogs_export_import::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_multiple_changelogs>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f541d2e0> from_instance = <lib389.DirSrv object at 0x7fa5f4f7da30> to_instance = <lib389.DirSrv object at 0x7fa5f4f7da90>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/regression_test.py::test_double_delete::setup | 41.72 | |
request = <SubRequest 'topo_m2' for <Function test_double_delete>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f50c5d30> from_instance = <lib389.DirSrv object at 0x7fa5f504ca30> to_instance = <lib389.DirSrv object at 0x7fa5f50c1400>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 921e9334-767c-42be-aefd-93a4abace334 / got description=None) | |||
Error | suites/replication/regression_test.py::test_repl_modrdn::setup | 0.00 | |
request = <SubRequest 'topo_m2' for <Function test_double_delete>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f50c5d30> from_instance = <lib389.DirSrv object at 0x7fa5f504ca30> to_instance = <lib389.DirSrv object at 0x7fa5f50c1400>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/regression_test.py::test_password_repl_error::setup | 0.00 | |
request = <SubRequest 'topo_m2' for <Function test_double_delete>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f50c5d30> from_instance = <lib389.DirSrv object at 0x7fa5f504ca30> to_instance = <lib389.DirSrv object at 0x7fa5f50c1400>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/regression_test.py::test_invalid_agmt::setup | 0.00 | |
request = <SubRequest 'topo_m2' for <Function test_double_delete>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f50c5d30> from_instance = <lib389.DirSrv object at 0x7fa5f504ca30> to_instance = <lib389.DirSrv object at 0x7fa5f50c1400>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/regression_test.py::test_fetch_bindDnGroup::setup | 0.00 | |
request = <SubRequest 'topo_m2' for <Function test_double_delete>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f50c5d30> from_instance = <lib389.DirSrv object at 0x7fa5f504ca30> to_instance = <lib389.DirSrv object at 0x7fa5f50c1400>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/regression_test.py::test_plugin_bind_dn_tracking_and_replication::setup | 0.00 | |
request = <SubRequest 'topo_m2' for <Function test_double_delete>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f50c5d30> from_instance = <lib389.DirSrv object at 0x7fa5f504ca30> to_instance = <lib389.DirSrv object at 0x7fa5f50c1400>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/regression_test.py::test_cleanallruv_repl::setup | 48.65 | |
request = <SubRequest 'topo_m3' for <Function test_cleanallruv_repl>> @pytest.fixture(scope="module") def topology_m3(request): """Create Replication Deployment with three masters""" > topology = create_topology({ReplicaRole.MASTER: 3}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:453: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f54c6c10> from_instance = <lib389.DirSrv object at 0x7fa5f54c5220> to_instance = <lib389.DirSrv object at 0x7fa5f54b9c40>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. Instance slapd-master3 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39003, 'ldap-secureport': 63703, 'server-id': 'master3', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 8e597652-06fc-4a5b-9dae-ded30dd47a17 / got description=None) | |||
Error | suites/replication/regression_test.py::test_online_reinit_may_hang::setup | 39.58 | |
request = <SubRequest 'topo_with_sigkill' for <Function test_online_reinit_may_hang>> @pytest.fixture(scope="module") def topo_with_sigkill(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) suites/replication/regression_test.py:117: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f51c4c10> from_instance = <lib389.DirSrv object at 0x7fa5f54c6ee0> to_instance = <lib389.DirSrv object at 0x7fa5f51bbd30>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect ad32ef65-e47e-4bdb-a262-000681019345 / got description=None) | |||
Error | suites/replication/regression_test.py::test_moving_entry_make_online_init_fail::setup | 39.18 | |
request = <SubRequest 'topology_m2' for <Function test_moving_entry_make_online_init_fail>> @pytest.fixture(scope="class") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) suites/replication/conftest.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f52f17c0> from_instance = <lib389.DirSrv object at 0x7fa5f51e9820> to_instance = <lib389.DirSrv object at 0x7fa5f52f8130>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect c5e17377-ca2d-417a-8b1d-24e08b77328b / got description=None) | |||
Error | suites/replication/repl_agmt_bootstrap_test.py::test_repl_agmt_bootstrap_credentials::setup | 41.90 | |
request = <SubRequest 'topo' for <Function test_repl_agmt_bootstrap_credentials>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f54a8d30> from_instance = <lib389.DirSrv object at 0x7fa5f54c8400> to_instance = <lib389.DirSrv object at 0x7fa5f549c910>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 72dc8963-96bb-4bfc-b824-2761fc0b483f / got description=None) | |||
Error | suites/replication/ruvstore_test.py::test_ruv_entry_backup::setup | 39.25 | |
request = <SubRequest 'topo' for <Function test_ruv_entry_backup>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f52885e0> from_instance = <lib389.DirSrv object at 0x7fa5f8accc10> to_instance = <lib389.DirSrv object at 0x7fa5f5294ca0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 5a8bf4e3-87de-4c94-8d44-6afa60540d8d / got description=None) | |||
Error | suites/replication/series_of_repl_bugs_test.py::test_deletions_are_not_replicated::setup | 39.26 | |
request = <SubRequest 'topo_m2' for <Function test_deletions_are_not_replicated>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f55f3b20> from_instance = <lib389.DirSrv object at 0x7fa5f950cfa0> to_instance = <lib389.DirSrv object at 0x7fa5f540d910>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d1408da0-d5dd-4d54-acab-739f68369974 / got description=None) | |||
Error | suites/replication/series_of_repl_bugs_test.py::test_error_20::setup | 0.00 | |
request = <SubRequest 'topo_m2' for <Function test_deletions_are_not_replicated>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f55f3b20> from_instance = <lib389.DirSrv object at 0x7fa5f950cfa0> to_instance = <lib389.DirSrv object at 0x7fa5f540d910>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/series_of_repl_bugs_test.py::test_segfaults::setup | 0.00 | |
request = <SubRequest 'topo_m2' for <Function test_deletions_are_not_replicated>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f55f3b20> from_instance = <lib389.DirSrv object at 0x7fa5f950cfa0> to_instance = <lib389.DirSrv object at 0x7fa5f540d910>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/series_of_repl_bugs_test.py::test_adding_deleting::setup | 0.00 | |
request = <SubRequest 'topo_m2' for <Function test_deletions_are_not_replicated>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f55f3b20> from_instance = <lib389.DirSrv object at 0x7fa5f950cfa0> to_instance = <lib389.DirSrv object at 0x7fa5f540d910>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/series_of_repl_bugs_test.py::test_deleting_twice::setup | 0.00 | |
request = <SubRequest 'topo_m2' for <Function test_deletions_are_not_replicated>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f55f3b20> from_instance = <lib389.DirSrv object at 0x7fa5f950cfa0> to_instance = <lib389.DirSrv object at 0x7fa5f540d910>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/series_of_repl_bugs_test.py::test_rename_entry::setup | 0.00 | |
request = <SubRequest 'topo_m2' for <Function test_deletions_are_not_replicated>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f55f3b20> from_instance = <lib389.DirSrv object at 0x7fa5f950cfa0> to_instance = <lib389.DirSrv object at 0x7fa5f540d910>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/series_of_repl_bugs_test.py::test_userpassword_attribute::setup | 0.00 | |
request = <SubRequest 'topo_m2' for <Function test_deletions_are_not_replicated>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f55f3b20> from_instance = <lib389.DirSrv object at 0x7fa5f950cfa0> to_instance = <lib389.DirSrv object at 0x7fa5f540d910>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/series_of_repl_bugs_test.py::test_tombstone_modrdn::setup | 0.00 | |
request = <SubRequest 'topo_m2' for <Function test_deletions_are_not_replicated>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f55f3b20> from_instance = <lib389.DirSrv object at 0x7fa5f950cfa0> to_instance = <lib389.DirSrv object at 0x7fa5f540d910>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/single_master_test.py::test_mail_attr_repl::setup | 40.78 | |
request = <SubRequest 'topo_r' for <Function test_mail_attr_repl>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f552d700> from_instance = <lib389.DirSrv object at 0x7fa5f4fddf10> to_instance = <lib389.DirSrv object at 0x7fa5f4fddf70>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-consumer1 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39201, 'ldap-secureport': 63901, 'server-id': 'consumer1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:175 Joining consumer consumer1 from master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 9d73f11d-2987-4e8f-b0ad-907b47bb8081 / got description=None) | |||
Error | suites/replication/tls_client_auth_repl_test.py::test_ssl_transport::setup | 40.60 | |
request = <SubRequest 'topo_m2' for <Function test_ssl_transport>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f55cdbb0> from_instance = <lib389.DirSrv object at 0x7fa5f55c2c40> to_instance = <lib389.DirSrv object at 0x7fa5f55ca910>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect e021f093-1411-4ce9-93c6-c4afd9619fa1 / got description=None) | |||
Error | suites/replication/tls_client_auth_repl_test.py::test_extract_pemfiles::setup | 0.00 | |
request = <SubRequest 'topo_m2' for <Function test_ssl_transport>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f55cdbb0> from_instance = <lib389.DirSrv object at 0x7fa5f55c2c40> to_instance = <lib389.DirSrv object at 0x7fa5f55ca910>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/wait_for_async_feature_test.py::test_not_int_value::setup | 40.80 | |
request = <SubRequest 'topology_m2' for <Function test_not_int_value>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4cac5e0> from_instance = <lib389.DirSrv object at 0x7fa5f55714c0> to_instance = <lib389.DirSrv object at 0x7fa5f5546be0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect d2aee2f4-a588-41d2-af7c-61cc828897a2 / got description=None) | |||
Error | suites/replication/wait_for_async_feature_test.py::test_multi_value::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_not_int_value>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4cac5e0> from_instance = <lib389.DirSrv object at 0x7fa5f55714c0> to_instance = <lib389.DirSrv object at 0x7fa5f5546be0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr0]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_not_int_value>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4cac5e0> from_instance = <lib389.DirSrv object at 0x7fa5f55714c0> to_instance = <lib389.DirSrv object at 0x7fa5f5546be0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr1]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_not_int_value>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4cac5e0> from_instance = <lib389.DirSrv object at 0x7fa5f55714c0> to_instance = <lib389.DirSrv object at 0x7fa5f5546be0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr2]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_not_int_value>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4cac5e0> from_instance = <lib389.DirSrv object at 0x7fa5f55714c0> to_instance = <lib389.DirSrv object at 0x7fa5f5546be0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr3]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_not_int_value>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4cac5e0> from_instance = <lib389.DirSrv object at 0x7fa5f55714c0> to_instance = <lib389.DirSrv object at 0x7fa5f5546be0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr0]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_not_int_value>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4cac5e0> from_instance = <lib389.DirSrv object at 0x7fa5f55714c0> to_instance = <lib389.DirSrv object at 0x7fa5f5546be0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr1]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_not_int_value>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4cac5e0> from_instance = <lib389.DirSrv object at 0x7fa5f55714c0> to_instance = <lib389.DirSrv object at 0x7fa5f5546be0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr2]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_not_int_value>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4cac5e0> from_instance = <lib389.DirSrv object at 0x7fa5f55714c0> to_instance = <lib389.DirSrv object at 0x7fa5f5546be0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr3]::setup | 0.00 | |
request = <SubRequest 'topology_m2' for <Function test_not_int_value>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4cac5e0> from_instance = <lib389.DirSrv object at 0x7fa5f55714c0> to_instance = <lib389.DirSrv object at 0x7fa5f5546be0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/sasl/regression_test.py::test_openldap_no_nss_crypto::setup | 39.43 | |
request = <SubRequest 'topology_m2' for <Function test_openldap_no_nss_crypto>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4bcaca0> from_instance = <lib389.DirSrv object at 0x7fa5f4c98970> to_instance = <lib389.DirSrv object at 0x7fa5f4c951c0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect f854d787-80e9-4b3a-b251-d6a92c1c1edb / got description=None) | |||
Error | suites/schema/schema_replication_test.py::test_schema_replication_one::setup | 40.69 | |
request = <SubRequest 'topology_m1c1' for <Function test_schema_replication_one>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4db2be0> from_instance = <lib389.DirSrv object at 0x7fa5f4e16640> to_instance = <lib389.DirSrv object at 0x7fa5f4e161c0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-consumer1 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39201, 'ldap-secureport': 63901, 'server-id': 'consumer1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:175 Joining consumer consumer1 from master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 0922a74d-593e-470d-bf07-dd694642dea0 / got description=None) | |||
Error | suites/schema/schema_replication_test.py::test_schema_replication_two::setup | 0.00 | |
request = <SubRequest 'topology_m1c1' for <Function test_schema_replication_one>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4db2be0> from_instance = <lib389.DirSrv object at 0x7fa5f4e16640> to_instance = <lib389.DirSrv object at 0x7fa5f4e161c0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/schema/schema_replication_test.py::test_schema_replication_three::setup | 0.00 | |
request = <SubRequest 'topology_m1c1' for <Function test_schema_replication_one>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4db2be0> from_instance = <lib389.DirSrv object at 0x7fa5f4e16640> to_instance = <lib389.DirSrv object at 0x7fa5f4e161c0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/schema/schema_replication_test.py::test_schema_replication_four::setup | 0.00 | |
request = <SubRequest 'topology_m1c1' for <Function test_schema_replication_one>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4db2be0> from_instance = <lib389.DirSrv object at 0x7fa5f4e16640> to_instance = <lib389.DirSrv object at 0x7fa5f4e161c0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/schema/schema_replication_test.py::test_schema_replication_five::setup | 0.00 | |
request = <SubRequest 'topology_m1c1' for <Function test_schema_replication_one>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4db2be0> from_instance = <lib389.DirSrv object at 0x7fa5f4e16640> to_instance = <lib389.DirSrv object at 0x7fa5f4e161c0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/schema/schema_replication_test.py::test_schema_replication_six::setup | 0.00 | |
request = <SubRequest 'topology_m1c1' for <Function test_schema_replication_one>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4db2be0> from_instance = <lib389.DirSrv object at 0x7fa5f4e16640> to_instance = <lib389.DirSrv object at 0x7fa5f4e161c0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/schema/schema_replication_test.py::test_schema_replication_seven::setup | 0.00 | |
request = <SubRequest 'topology_m1c1' for <Function test_schema_replication_one>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4db2be0> from_instance = <lib389.DirSrv object at 0x7fa5f4e16640> to_instance = <lib389.DirSrv object at 0x7fa5f4e161c0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/schema/schema_replication_test.py::test_schema_replication_eight::setup | 0.00 | |
request = <SubRequest 'topology_m1c1' for <Function test_schema_replication_one>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4db2be0> from_instance = <lib389.DirSrv object at 0x7fa5f4e16640> to_instance = <lib389.DirSrv object at 0x7fa5f4e161c0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/schema/schema_replication_test.py::test_schema_replication_nine::setup | 0.00 | |
request = <SubRequest 'topology_m1c1' for <Function test_schema_replication_one>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4db2be0> from_instance = <lib389.DirSrv object at 0x7fa5f4e16640> to_instance = <lib389.DirSrv object at 0x7fa5f4e161c0>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]::setup | 41.62 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect a55c5068-4f09-4293-8cf3-7837d093e7c9 / got description=None) | |||
Error | suites/state/mmt_state_test.py::test_check_desc_attr_state[description-Test1usr2-ldap.MOD_ADD-exp_values1-vucsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_desc_attr_state[description-Test1usr3-ldap.MOD_ADD-exp_values2-vucsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_desc_attr_state[description-Test1usr4-ldap.MOD_REPLACE-exp_values3-adcsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_desc_attr_state[description-Test1usr4-ldap.MOD_DELETE-exp_values4-vdcsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_cn_attr_state[cn-TestCN1-ldap.MOD_ADD-exp_values0-vucsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_cn_attr_state[cn-TestCN2-ldap.MOD_ADD-exp_values1-vucsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_cn_attr_state[cn-TestnewCN3-ldap.MOD_REPLACE-exp_values2-adcsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_cn_attr_state[cn-TestnewCN3-ldap.MOD_DELETE-None-None]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_single_value_attr_state[preferredlanguage-Chinese-ldap.MOD_REPLACE-exp_values0-vucsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_single_value_attr_state[preferredlanguage-French-ldap.MOD_ADD-None-None]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_single_value_attr_state[preferredlanguage-German-ldap.MOD_REPLACE-exp_values2-adcsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_single_value_attr_state[preferredlanguage-German-ldap.MOD_DELETE-exp_values3-vdcsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_subtype_attr_state[roomnumber;office-Tower1-ldap.MOD_ADD-exp_values0-vucsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_subtype_attr_state[roomnumber;office-Tower2-ldap.MOD_ADD-exp_values1-vucsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_subtype_attr_state[roomnumber;office-Tower3-ldap.MOD_ADD-exp_values2-vucsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_subtype_attr_state[roomnumber;office-Tower4-ldap.MOD_REPLACE-exp_values3-adcsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_subtype_attr_state[roomnumber;office-Tower4-ldap.MOD_DELETE-exp_values4-vucsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_jpeg_attr_state[jpegphoto-thedeadbeef1-ldap.MOD_ADD-exp_values0-vucsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_jpeg_attr_state[jpegphoto-thedeadbeef2-ldap.MOD_ADD-exp_values1-vucsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_jpeg_attr_state[jpegphoto-thedeadbeef3-ldap.MOD_ADD-exp_values2-vucsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_jpeg_attr_state[jpegphoto-thedeadbeef2-ldap.MOD_REPLACE-exp_values3-adcsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/state/mmt_state_test.py::test_check_jpeg_attr_state[jpegphoto-thedeadbeef2-ldap.MOD_DELETE-exp_values4-vdcsn]::setup | 0.00 | |
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4e3a0a0> from_instance = <lib389.DirSrv object at 0x7fa5f4e69af0> to_instance = <lib389.DirSrv object at 0x7fa5f4e47b80>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | suites/vlv/regression_test.py::test_bulk_import_when_the_backend_with_vlv_was_recreated::setup | 40.12 | |
request = <SubRequest 'topology_m2' for <Function test_bulk_import_when_the_backend_with_vlv_was_recreated>> @pytest.fixture(scope="module") def topology_m2(request): """Create Replication Deployment with two masters""" > topology = create_topology({ReplicaRole.MASTER: 2}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:163: in create_topology repl.join_master(first_master, m) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2167: in join_master self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f4d6aa30> from_instance = <lib389.DirSrv object at 0x7fa5f4d6e6a0> to_instance = <lib389.DirSrv object at 0x7fa5f486fd30>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39002, 'ldap-secureport': 63702, 'server-id': 'master2', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:162 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39002 is NOT working (expect 08a496fd-092f-4022-a416-479037e37909 / got description=None) | |||
Error | tickets/ticket47573_test.py::test_ticket47573_init::setup | 40.85 | |
request = <SubRequest 'topology_m1c1' for <Function test_ticket47573_init>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f48d5640> from_instance = <lib389.DirSrv object at 0x7fa5f4d54940> to_instance = <lib389.DirSrv object at 0x7fa5f4863880>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-consumer1 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39001, 'ldap-secureport': 63701, 'server-id': 'master1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:115 Instance with parameters {'ldap-port': 39201, 'ldap-secureport': 63901, 'server-id': 'consumer1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:148 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:175 Joining consumer consumer1 from master1 ... [32mINFO [0m lib389.replica:replica.py:2101 SUCCESS: bootstrap to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 completed [32mINFO [0m lib389.replica:replica.py:2382 SUCCESS: Agreement from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is was created [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2515 Retry: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) [32mINFO [0m lib389.replica:replica.py:2517 FAIL: Replication from ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39001 to ldap://ci-vm-10-0-137-110.hosted.upshift.rdu2.redhat.com:39201 is NOT working (expect 583ea779-58f5-4b20-b426-0f79ffd811c9 / got description=None) | |||
Error | tickets/ticket47573_test.py::test_ticket47573_one::setup | 0.00 | |
request = <SubRequest 'topology_m1c1' for <Function test_ticket47573_init>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f48d5640> from_instance = <lib389.DirSrv object at 0x7fa5f4d54940> to_instance = <lib389.DirSrv object at 0x7fa5f4863880>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | tickets/ticket47573_test.py::test_ticket47573_two::setup | 0.00 | |
request = <SubRequest 'topology_m1c1' for <Function test_ticket47573_init>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f48d5640> from_instance = <lib389.DirSrv object at 0x7fa5f4d54940> to_instance = <lib389.DirSrv object at 0x7fa5f4863880>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | tickets/ticket47573_test.py::test_ticket47573_three::setup | 0.00 | |
request = <SubRequest 'topology_m1c1' for <Function test_ticket47573_init>> @pytest.fixture(scope="module") def topology_m1c1(request): """Create Replication Deployment with one master and one consumer""" > topology = create_topology({ReplicaRole.MASTER: 1, ReplicaRole.CONSUMER: 1}) /usr/local/lib/python3.8/site-packages/lib389/topologies.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/site-packages/lib389/topologies.py:176: in create_topology repl.join_consumer(first_master, c) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2282: in join_consumer self.test_replication(from_instance, to_instance) /usr/local/lib/python3.8/site-packages/lib389/replica.py:2534: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fa5f48d5640> from_instance = <lib389.DirSrv object at 0x7fa5f4d54940> to_instance = <lib389.DirSrv object at 0x7fa5f4863880>, timeout = 20 def wait_for_replication(self, from_instance, to_instance, timeout=20): """Wait for a replication event to occur from instance to instance. This shows some point of synchronisation has occured. :param from_instance: The instance whos state we we want to check from :type from_instance: lib389.DirSrv :param to_instance: The instance whos state we want to check matches from. :type to_instance: lib389.DirSrv :param timeout: Fail after timeout seconds. :type timeout: int """ # Touch something then wait_for_replication. from_groups = Groups(from_instance, basedn=self._suffix, rdn=None) to_groups = Groups(to_instance, basedn=self._suffix, rdn=None) from_group = from_groups.get('replication_managers') to_group = to_groups.get('replication_managers') change = str(uuid.uuid4()) from_group.replace('description', change) for i in range(0, timeout): desc = to_group.get_attr_val_utf8('description') if change == desc: self._log.info("SUCCESS: Replication from %s to %s is working" % (from_instance.ldapuri, to_instance.ldapuri)) return True self._log.info("Retry: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) time.sleep(1) self._log.info("FAIL: Replication from %s to %s is NOT working (expect %s / got description=%s)" % (from_instance.ldapuri, to_instance.ldapuri, change, desc)) > raise Exception("Replication did not sync in time!") E Exception: Replication did not sync in time! /usr/local/lib/python3.8/site-packages/lib389/replica.py:2518: Exception | |||
Error | tickets/ticket47619_test.py::test_ticket47619_init::setup | 40.52 | |
request = <SubRequest 'topo |