Report generated on 30-Dec-2019 at 22:52:26 by pytest-html v2.0.1
389-ds-base | 1.4.3.0-20191231git3022f46.fc31 |
Packages | {'pytest': '5.3.2', 'py': '1.8.0', 'pluggy': '0.12.0'} |
Platform | Linux-5.3.15-300.fc31.x86_64-x86_64-with-fedora-31-Thirty_One |
Plugins | {'metadata': '1.8.0', 'html': '2.0.1'} |
Python | 3.7.5 |
cyrus-sasl | 2.1.27-2.fc31 |
nspr | 4.23.0-1.fc31 |
nss | 3.47.1-4.fc31 |
openldap | 2.4.47-3.fc31 |
1876 tests ran in 12807.66 seconds.
(Un)check the boxes to filter the results.
1801 passed, 8 skipped, 49 failed, 4 errors, 20 expected failures, 6 unexpected passesResult | Test | Duration | Links |
---|---|---|---|
No results found. Try to check the filters | |||
Error | suites/paged_results/paged_results_test.py::test_multi_suffix_search::setup | 0.00 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0ff941d0> @pytest.fixture(scope="module") def new_suffixes(topology_st): """Add two suffixes with backends, one is a parent of the another """ log.info('Adding suffix:{} and backend: {}'.format(NEW_SUFFIX_1, NEW_BACKEND_1)) bes = Backends(topology_st.standalone) be_1 = bes.create(properties={ 'cn': 'NEW_BACKEND_1', > 'nsslapd-suffix': NEW_SUFFIX_1, }) suites/paged_results/paged_results_test.py:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1167: in create return co.create(rdn, properties, self._basedn) /usr/local/lib/python3.7/site-packages/lib389/backend.py:588: in create super(Backend, self).create(dn, properties, basedn) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:941: in create return self._create(rdn, properties, basedn, ensure=False) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:882: in _create (dn, valid_props) = self._validate(rdn, properties, basedn) /usr/local/lib/python3.7/site-packages/lib389/backend.py:543: in _validate self._mts.get(ensure_str(valid_props['nsslapd-suffix'][0])) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1098: in get results = self._get_selector(selector) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1135: in _get_selector escapehatch='i am sure' /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:847: in search_ext_s msgid = self.search_ext(base,scope,filterstr,attrlist,attrsonly,serverctrls,clientctrls,timeout,sizelimit) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:843: in search_ext timeout,sizelimit, /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0ffa1bd0> func = <built-in method search_ext of LDAP object at 0x7fac10026960> args = ('cn=mapping tree,cn=config', 2, '(&(&(objectclass=nsMappingTree))(|(cn=o=test_parent)(nsslapd-backend=o=test_parent)))', ['dn'], 0, None, ...) 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.SERVER_DOWN: {'desc': "Can't contact LDAP server"} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: SERVER_DOWN -------------------------------Captured log setup------------------------------- [32mINFO [0m tests.suites.paged_results.paged_results_test:paged_results_test.py:87 Adding suffix:o=test_parent and backend: parent_base | |||
Error | suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_failure[1]::teardown | 0.53 | |
def fin(): log.info('Deleting user simplepaged_test') > user.delete() suites/paged_results/paged_results_test.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:794: in delete self._instance.delete_ext_s(self._dn, serverctrls=self._server_controls, clientctrls=self._client_controls, escapehatch='i am sure') /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:552: in delete_ext_s msgid = self.delete_ext(dn,serverctrls,clientctrls) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:549: in delete_ext return self._ldap_call(self._l.delete_ext,dn,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls)) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0ffa1bd0> func = <built-in method delete_ext of LDAP object at 0x7fac10026960> args = ('uid=simplepaged_test,ou=People,dc=example,dc=com', None, None) 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.SERVER_DOWN: {'desc': "Can't contact LDAP server"} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: SERVER_DOWN -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.paged_results.paged_results_test:paged_results_test.py:133 Adding 20 users ----------------------------Captured stdout teardown---------------------------- Instance slapd-standalone1 removed. -----------------------------Captured log teardown------------------------------ [32mINFO [0m tests.suites.paged_results.paged_results_test:paged_results_test.py:74 Deleting user simplepaged_test | |||
Error | suites/replication/cleanallruv_test.py::test_stress_clean::teardown | 344.95 | |
def fin(): try: # Restart the masters and rerun cleanallruv for inst in topology_m4.ms.values(): inst.restart() cruv_task = CleanAllRUVTask(topology_m4.ms["master1"]) cruv_task.create(properties={ 'replica-id': m4rid, 'replica-base-dn': DEFAULT_SUFFIX, 'replica-force-cleaning': 'no', }) cruv_task.wait() except ldap.UNWILLING_TO_PERFORM: # In some casse we already cleaned rid4, so if we fail, it's okay pass > restore_master4(topology_m4) suites/replication/cleanallruv_test.py:176: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ suites/replication/cleanallruv_test.py:138: in restore_master4 repl.join_master(topology_m4.ms["master1"], topology_m4.ms["master4"]) /usr/local/lib/python3.7/site-packages/lib389/replica.py:1995: in join_master self._bootstrap_replica(from_r, to_r, to_instance) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicationManager object at 0x7fac0f97c350> from_replica = <lib389.replica.Replica object at 0x7fac100cd3d0> to_replica = <lib389.replica.Replica object at 0x7fac0fce59d0> to_instance = <lib389.DirSrv object at 0x7fac0f8b3cd0> def _bootstrap_replica(self, from_replica, to_replica, to_instance): """In the master join process a chicken-egg issues arises that we require the service account on the target master for our agreement to be valid, but be can't send it that data without our service account. Resolve that issue by "bootstrapping" the database. This creates a bootstrap replication manager and conducts a one-way total init. Once complete the bootstrap agreement is removed, and the service accounts now exist on both ends allowing the join process to continue. Internal Only. """ repl_manager_password = password_generate() # Create a repl manager on the replica brm = BootstrapReplicationManager(to_instance) brm.create(properties={ 'cn': brm.common_name, 'userPassword': repl_manager_password }) to_replica.set('nsDS5ReplicaBindDN', brm.dn) agmt_name = self._inst_to_agreement_name(to_instance) # add a temp agreement from A -> B from_agreements = from_replica.get_agreements() temp_agmt = from_agreements.create(properties={ 'cn': "temp_%s" % agmt_name, 'nsDS5ReplicaRoot': self._suffix, 'nsDS5ReplicaBindDN': brm.dn, 'nsDS5ReplicaBindMethod': 'simple' , 'nsDS5ReplicaTransportInfo': 'LDAP', 'nsds5replicaTimeout': '5', 'description': "temp_%s" % agmt_name, 'nsDS5ReplicaHost': to_instance.host, 'nsDS5ReplicaPort': str(to_instance.port), 'nsDS5ReplicaCredentials': repl_manager_password, }) # Do a replica refresh. temp_agmt.begin_reinit() (done, error) = temp_agmt.wait_reinit() > assert done is True E AssertionError /usr/local/lib/python3.7/site-packages/lib389/replica.py:1932: AssertionError -------------------------------Captured log setup------------------------------- [35mDEBUG [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:152 Wait a bit before the reset - it is required for the slow machines [35mDEBUG [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:154 -------------- BEGIN RESET of m4 ----------------- [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39003 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39004 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39003 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39004 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39004 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39004 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39004 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39004 to ldap://server.example.com:39003 is working [35mDEBUG [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:180 -------------- FINISH RESET of m4 ----------------- -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:580 Running test_stress_clean... [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:581 test_stress_clean: put all the masters under load... [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:596 test_stress_clean: allow some time for replication to get flowing... [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:602 test_stress_clean: allow some time for master 4 to push changes out (60 seconds)... [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:71 test_stress_clean: remove all the agreements to master 4... [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:618 test_stress_clean: wait for all the updates to finish... [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:625 test_stress_clean: check if all the replicas have been cleaned... [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:629 test_stress_clean: PASSED, restoring master 4... [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:632 Sleep for 120 seconds to allow replication to complete... [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39003 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39003 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39002 is working | |||
Error | suites/replication/cleanallruv_test.py::test_multiple_tasks_with_force::setup | 7.21 | |
request = <SubRequest 'm4rid' for <Function test_multiple_tasks_with_force>> topology_m4 = <lib389.topologies.TopologyMain object at 0x7fac0f8b2dd0> @pytest.fixture() def m4rid(request, topology_m4): log.debug("Wait a bit before the reset - it is required for the slow machines") time.sleep(5) log.debug("-------------- BEGIN RESET of m4 -----------------") repl = ReplicationManager(DEFAULT_SUFFIX) > repl.test_replication_topology(topology_m4.ms.values()) suites/replication/cleanallruv_test.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.7/site-packages/lib389/replica.py:2385: in test_replication_topology self.test_replication(a, b, timeout) /usr/local/lib/python3.7/site-packages/lib389/replica.py:2371: in test_replication self.wait_for_replication(from_instance, to_instance, timeout) /usr/local/lib/python3.7/site-packages/lib389/replica.py:2343: in wait_for_replication to_group = to_groups.get('replication_managers') /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1098: in get results = self._get_selector(selector) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1135: in _get_selector escapehatch='i am sure' /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:848: in search_ext_s return self.result(msgid,all=1,timeout=timeout)[1] /usr/local/lib/python3.7/site-packages/lib389/__init__.py:148: in inner objtype, data = f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:740: in result resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:744: in result2 resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:751: in result3 resp_ctrl_classes=resp_ctrl_classes /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:758: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0f8b3cd0> func = <built-in method result4 of LDAP object at 0x7fac0fdaa840> args = (10, 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.OPERATIONS_ERROR: {'desc': 'Operations error'} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: OPERATIONS_ERROR -------------------------------Captured log setup------------------------------- [35mDEBUG [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:152 Wait a bit before the reset - it is required for the slow machines [35mDEBUG [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:154 -------------- BEGIN RESET of m4 ----------------- [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39003 is working | |||
Failed | suites/dynamic_plugins/dynamic_plugins_test.py::test_acceptance | 2.65 | |
topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac12e8f410> def test_acceptance(topology_m2): """Exercise each plugin and its main features, while changing the configuration without restarting the server. :id: 96136538-0151-4b09-9933-0e0cbf2c786c :setup: 2 Master Instances :steps: 1. Pause all replication 2. Set nsslapd-dynamic-plugins to on 3. Try to update LDBM config entry 4. Go through all plugin basic functionality 5. Resume replication 6. Go through all plugin basic functionality again 7. Check that data in sync and replication is working :expectedresults: 1. Success 2. Success 3. Success 4. Success 5. Success 6. Success 7. Success """ m1 = topology_m2.ms["master1"] msg = ' (no replication)' replication_run = False # First part of the test should be without replication topology_m2.pause_all_replicas() # First enable dynamic plugins m1.config.replace('nsslapd-dynamic-plugins', 'on') # Test that critical plugins can be updated even though the change might not be applied ldbm_config = LDBMConfig(m1) ldbm_config.replace('description', 'test') while True: # First run the tests with replication disabled, then rerun them with replication set up ############################################################################ # Test plugin functionality ############################################################################ log.info('####################################################################') log.info('Testing Dynamic Plugins Functionality' + msg + '...') log.info('####################################################################\n') > acceptance_test.check_all_plugins(topology_m2) suites/dynamic_plugins/dynamic_plugins_test.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ suites/plugins/acceptance_test.py:1798: in check_all_plugins func(topo, args) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topo = <lib389.topologies.TopologyMain object at 0x7fac12e8f410> args = 'online' def test_acctpolicy(topo, args=None): """Test Account policy basic functionality :id: 9b87493b-0493-46f9-8364-6099d0e5d829 :setup: Standalone Instance :steps: 1. Enable the plugin 2. Restart the instance 3. Add a config entry for 'lastLoginTime' 4. Add a user 5. Bind as the user 6. Check testLastLoginTime was added to the user 7. Replace 'stateattrname': 'testLastLoginTime' 8. Bind as the user 9. Check testLastLoginTime was added to the user 10. Check nsslapd-plugin-depends-on-named for the plugin 11. Clean up :expectedresults: 1. Success 2. Success 3. Success 4. Success 5. Success 6. Success 7. Success 8. Success 9. Success 10. Success 11. Success """ inst = topo[0] # stop the plugin, and start it plugin = AccountPolicyPlugin(inst) plugin.disable() plugin.enable() if args == "restart": return True # If args is None then we run the test suite as pytest standalone and it's not dynamic if args is None: inst.restart() log.info('Testing {}'.format(PLUGIN_ACCT_POLICY)) ############################################################################ # Configure plugin ############################################################################ # Add the config entry ap_configs = AccountPolicyConfigs(inst) try: ap_config = ap_configs.create(properties={'cn': 'config', 'alwaysrecordlogin': 'yes', 'stateattrname': 'lastLoginTime'}) except ldap.ALREADY_EXISTS: ap_config = ap_configs.get('config') ap_config.replace_many(('alwaysrecordlogin', 'yes'), ('stateattrname', 'lastLoginTime')) ############################################################################ # Test plugin ############################################################################ # Add an entry users = UserAccounts(inst, DEFAULT_SUFFIX) user = users.create_test_user(1000, 2000) user.add('objectclass', 'extensibleObject') user.replace('userPassword', USER_PW) # Bind as user user.bind(USER_PW) time.sleep(1) # Check lastLoginTime of USER1 entries = inst.search_s(DEFAULT_SUFFIX, ldap.SCOPE_SUBTREE, 'lastLoginTime=*') assert entries ############################################################################ # Change config - change the stateAttrName to a new attribute ############################################################################ ap_config.replace('stateattrname', 'testLastLoginTime') ############################################################################ # Test plugin ############################################################################ # login as user user.bind(USER_PW) time.sleep(1) # Check testLastLoginTime was added to USER1 entries = inst.search_s(DEFAULT_SUFFIX, ldap.SCOPE_SUBTREE, '(testLastLoginTime=*)') > assert entries E assert [] suites/plugins/acceptance_test.py:167: AssertionError -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 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:106 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:139 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:153 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:1940 SUCCESS: bootstrap to ldap://server.example.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2009 SUCCESS: joined master from ldap://server.example.com:39001 to ldap://server.example.com:39002 [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master1 to master2 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 already exists | |||
Failed | suites/dynamic_plugins/dynamic_plugins_test.py::test_memory_corruption | 0.09 | |
topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac12e8f410> def test_memory_corruption(topology_m2): """Check the plugins for memory corruption issues while dynamic plugins option is enabled :id: 96136538-0151-4b09-9933-0e0cbf2c7862 :setup: 2 Master Instances :steps: 1. Pause all replication 2. Set nsslapd-dynamic-plugins to on 3. Try to update LDBM config entry 4. Restart the plugin many times in a linked list fashion restarting previous and preprevious plugins in the list of all plugins 5. Run the functional test 6. Repeat 4 and 5 steps for all plugins 7. Resume replication 8. Go through 4-6 steps once more 9. Check that data in sync and replication is working :expectedresults: 1. Success 2. Success 3. Success 4. Success 5. Success 6. Success 7. Success 8. Success 9. Success """ m1 = topology_m2.ms["master1"] msg = ' (no replication)' replication_run = False # First part of the test should be without replication topology_m2.pause_all_replicas() # First enable dynamic plugins m1.config.replace('nsslapd-dynamic-plugins', 'on') # Test that critical plugins can be updated even though the change might not be applied ldbm_config = LDBMConfig(m1) ldbm_config.replace('description', 'test') while True: # First run the tests with replication disabled, then rerun them with replication set up ############################################################################ # Test the stability by exercising the internal lists, callabcks, and task handlers ############################################################################ log.info('####################################################################') log.info('Testing Dynamic Plugins for Memory Corruption' + msg + '...') log.info('####################################################################\n') prev_plugin_test = None prev_prev_plugin_test = None for plugin_test in acceptance_test.func_tests: # # Restart the plugin several times (and prev plugins) - work that linked list # plugin_test(topology_m2, "restart") if prev_prev_plugin_test: prev_prev_plugin_test(topology_m2, "restart") plugin_test(topology_m2, "restart") if prev_plugin_test: prev_plugin_test(topology_m2, "restart") plugin_test(topology_m2, "restart") # Now run the functional test > plugin_test(topology_m2, "dynamic") suites/dynamic_plugins/dynamic_plugins_test.py:218: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ suites/plugins/acceptance_test.py:141: in test_acctpolicy user = users.create_test_user(1000, 2000) /usr/local/lib/python3.7/site-packages/lib389/idm/user.py:230: in create_test_user return super(UserAccounts, self).create(rdn, properties) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1167: in create return co.create(rdn, properties, self._basedn) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:941: in create return self._create(rdn, properties, basedn, ensure=False) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:916: in _create self._instance.add_ext_s(e, serverctrls=self._server_controls, clientctrls=self._client_controls, escapehatch='i am sure') /usr/local/lib/python3.7/site-packages/lib389/__init__.py:176: in inner return f(ent.dn, ent.toTupleList(), *args[2:]) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:416: in add_ext_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:751: in result3 resp_ctrl_classes=resp_ctrl_classes /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:758: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac122d5d10> func = <built-in method result4 of LDAP object at 0x7fac117cca80> args = (90, 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.ALREADY_EXISTS: {'desc': 'Already exists'} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: ALREADY_EXISTS | |||
Failed | suites/dynamic_plugins/dynamic_plugins_test.py::test_stress | 0.06 | |
topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac12e8f410> @pytest.mark.tier2 def test_stress(topology_m2): """Test plugins while under a big load. Perform the test 5 times :id: 96136538-0151-4b09-9933-0e0cbf2c7863 :setup: 2 Master Instances :steps: 1. Pause all replication 2. Set nsslapd-dynamic-plugins to on 3. Try to update LDBM config entry 4. Do one run through all tests 5. Enable Referential integrity and MemberOf plugins 6. Launch three new threads to add a bunch of users 7. While we are adding users restart the MemberOf and Linked Attributes plugins many times 8. Wait for the 'adding' threads to complete 9. Now launch three threads to delete the users 10. Restart both the MemberOf, Referential integrity and Linked Attributes plugins during these deletes 11. Wait for the 'deleting' threads to complete 12. Now make sure both the MemberOf and Referential integrity plugins still work correctly 13. Cleanup the stress tests (delete the group entry) 14. Perform 4-13 steps five times 15. Resume replication 16. Go through 4-14 steps once more 17. Check that data in sync and replication is working :expectedresults: 1. Success 2. Success 3. Success 4. Success 5. Success 6. Success 7. Success 8. Success 9. Success 10. Success 11. Success 12. Success 13. Success 14. Success 15. Success 16. Success 17. Success """ m1 = topology_m2.ms["master1"] msg = ' (no replication)' replication_run = False stress_max_runs = 5 # First part of the test should be without replication topology_m2.pause_all_replicas() # First enable dynamic plugins m1.config.replace('nsslapd-dynamic-plugins', 'on') # Test that critical plugins can be updated even though the change might not be applied ldbm_config = LDBMConfig(m1) ldbm_config.replace('description', 'test') while True: # First run the tests with replication disabled, then rerun them with replication set up log.info('Do one run through all tests ' + msg + '...') > acceptance_test.check_all_plugins(topology_m2) suites/dynamic_plugins/dynamic_plugins_test.py:310: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ suites/plugins/acceptance_test.py:1798: in check_all_plugins func(topo, args) suites/plugins/acceptance_test.py:141: in test_acctpolicy user = users.create_test_user(1000, 2000) /usr/local/lib/python3.7/site-packages/lib389/idm/user.py:230: in create_test_user return super(UserAccounts, self).create(rdn, properties) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1167: in create return co.create(rdn, properties, self._basedn) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:941: in create return self._create(rdn, properties, basedn, ensure=False) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:916: in _create self._instance.add_ext_s(e, serverctrls=self._server_controls, clientctrls=self._client_controls, escapehatch='i am sure') /usr/local/lib/python3.7/site-packages/lib389/__init__.py:176: in inner return f(ent.dn, ent.toTupleList(), *args[2:]) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:416: in add_ext_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:751: in result3 resp_ctrl_classes=resp_ctrl_classes /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:758: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac122d5d10> func = <built-in method result4 of LDAP object at 0x7fac117cca80> args = (104, 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.ALREADY_EXISTS: {'desc': 'Already exists'} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: ALREADY_EXISTS | |||
Failed | suites/import/regression_test.py::test_del_suffix_backend | 8.80 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac12423ed0> def test_del_suffix_backend(topo): """Adding a database entry fails if the same database was deleted after an import :id: ac702c35-74b6-434e-8e30-316433f3e91a :feature: Import :setup: Standalone instance :steps: 1. Create a test suffix and add entries 2. Stop the server and do online import using ldif2db 3. Delete the suffix backend 4. Add a new suffix with the same database name 5. Restart the server and check the status :expectedresults: Adding database with the same name should be successful and the server should not hang """ log.info('Adding suffix:{} and backend: {}'.format(TEST_SUFFIX2, TEST_BACKEND2)) backends = Backends(topo.standalone) backend = backends.create(properties={'nsslapd-suffix': TEST_SUFFIX2, 'name': TEST_BACKEND2}) log.info('Create LDIF file and import it') ldif_dir = topo.standalone.get_ldif_dir() ldif_file = os.path.join(ldif_dir, 'suffix_del2.ldif') dbgen(topo.standalone, 10, ldif_file, TEST_SUFFIX2) topo.standalone.tasks.importLDIF(suffix=TEST_SUFFIX2, input_file=ldif_file, args={TASK_WAIT: True}) log.info('Deleting suffix-{}'.format(TEST_SUFFIX2)) backend.delete() log.info('Adding the same database-{} after deleting it'.format(TEST_BACKEND2)) backends.create(properties={'nsslapd-suffix': TEST_SUFFIX2, 'name': TEST_BACKEND2}) log.info('Checking if server can be restarted after re-adding the same database') topo.standalone.restart() > assert not topo.standalone.detectDisorderlyShutdown() E assert not True E + where True = <bound method DirSrv.detectDisorderlyShutdown of <lib389.DirSrv object at 0x7fac1013be50>>() E + where <bound method DirSrv.detectDisorderlyShutdown of <lib389.DirSrv object at 0x7fac1013be50>> = <lib389.DirSrv object at 0x7fac1013be50>.detectDisorderlyShutdown E + where <lib389.DirSrv object at 0x7fac1013be50> = <lib389.topologies.TopologyMain object at 0x7fac12423ed0>.standalone suites/import/regression_test.py:150: AssertionError -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.import.regression_test:regression_test.py:129 Adding suffix:dc=importest2,dc=com and backend: importest2 [32mINFO [0m tests.suites.import.regression_test:regression_test.py:134 Create LDIF file and import it [32mINFO [0m lib389:tasks.py:469 Import task import_12302019_195843 for file /var/lib/dirsrv/slapd-standalone1/ldif/suffix_del2.ldif completed successfully [32mINFO [0m tests.suites.import.regression_test:regression_test.py:142 Deleting suffix-dc=importest2,dc=com [32mINFO [0m tests.suites.import.regression_test:regression_test.py:145 Adding the same database-importest2 after deleting it [32mINFO [0m tests.suites.import.regression_test:regression_test.py:148 Checking if server can be restarted after re-adding the same database | |||
Failed | suites/paged_results/paged_results_test.py::test_ger_basic | 1.44 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0ff941d0> create_user = <lib389.idm.user.UserAccount object at 0x7fac0ff6ac90> def test_ger_basic(topology_st, create_user): """Verify that search with a simple paged results control and get effective rights control returns all entries it should without errors. :id: 7b0bdfc7-a2f2-4c1a-bcab-f1eb8b330d45 :setup: Standalone instance, test user for binding, varying number of users for the search base :steps: 1. Search through added users with a simple paged control and get effective rights control :expectedresults: 1. All users should be found, every found entry should have an 'attributeLevelRights' returned """ > users_list = add_users(topology_st, 20, DEFAULT_SUFFIX) suites/paged_results/paged_results_test.py:1002: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ suites/paged_results/paged_results_test.py:146: in add_users 'userpassword': 'pass%s' % num_ran, /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1167: in create return co.create(rdn, properties, self._basedn) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:941: in create return self._create(rdn, properties, basedn, ensure=False) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:916: in _create self._instance.add_ext_s(e, serverctrls=self._server_controls, clientctrls=self._client_controls, escapehatch='i am sure') /usr/local/lib/python3.7/site-packages/lib389/__init__.py:176: in inner return f(ent.dn, ent.toTupleList(), *args[2:]) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:416: in add_ext_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:751: in result3 resp_ctrl_classes=resp_ctrl_classes /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:758: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0ffa1bd0> func = <built-in method result4 of LDAP object at 0x7fac10026960> args = (6143, 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.SERVER_DOWN: {'desc': "Can't contact LDAP server"} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: SERVER_DOWN -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.paged_results.paged_results_test:paged_results_test.py:133 Adding 20 users | |||
Failed | suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_success[None] | 0.00 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0ff941d0> create_user = <lib389.idm.user.UserAccount object at 0x7fac0ff6ac90> conf_attr_value = None @pytest.mark.parametrize('conf_attr_value', (None, '-1', '1000')) def test_maxsimplepaged_per_conn_success(topology_st, create_user, conf_attr_value): """Verify that nsslapd-maxsimplepaged-per-conn acts according design :id: 192e2f25-04ee-4ff9-9340-d875dcbe8011 :parametrized: yes :setup: Standalone instance, test user for binding, 20 users for the search base :steps: 1. Set nsslapd-maxsimplepaged-per-conn in cn=config to the next values: no value, -1, some positive 2. Search through the added users with a simple paged control using page size = 4 :expectedresults: 1. nsslapd-maxsimplepaged-per-conn should be successfully set 2. If no value or value = -1 - all users should be found, default behaviour; If the value is positive, the value is the max simple paged results requests per connection. """ > users_list = add_users(topology_st, 20, DEFAULT_SUFFIX) suites/paged_results/paged_results_test.py:1100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ suites/paged_results/paged_results_test.py:146: in add_users 'userpassword': 'pass%s' % num_ran, /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1162: in create co = self._entry_to_instance(dn=None, entry=None) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1031: in _entry_to_instance return self._childobject(instance=self._instance, dn=dn) /usr/local/lib/python3.7/site-packages/lib389/idm/user.py:157: in __init__ if ds_is_older('1.3.7', instance=instance): /usr/local/lib/python3.7/site-packages/lib389/utils.py:1098: in ds_is_older return ds_is_related('older', *ver, instance=instance) /usr/local/lib/python3.7/site-packages/lib389/utils.py:1085: in ds_is_related ds_ver = get_ds_version(instance.ds_paths) /usr/local/lib/python3.7/site-packages/lib389/utils.py:1073: in get_ds_version return paths.version /usr/local/lib/python3.7/site-packages/lib389/paths.py:160: in __getattr__ ent = self._instance.getEntry(dn, attrlist=[attr,]) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1746: in getEntry res = self.search(*args, **kwargs) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:851: in search return self.search_ext(base,scope,filterstr,attrlist,attrsonly,None,None) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:843: in search_ext timeout,sizelimit, /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0ffa1bd0> func = <built-in method search_ext of LDAP object at 0x7fac10026960> args = ('', 0, '(objectClass=*)', ['vendorVersion'], 0, None, ...), 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.SERVER_DOWN: {'desc': "Can't contact LDAP server"} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: SERVER_DOWN -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.paged_results.paged_results_test:paged_results_test.py:133 Adding 20 users | |||
Failed | suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_success[-1] | 0.00 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0ff941d0> create_user = <lib389.idm.user.UserAccount object at 0x7fac0ff6ac90> conf_attr_value = '-1' @pytest.mark.parametrize('conf_attr_value', (None, '-1', '1000')) def test_maxsimplepaged_per_conn_success(topology_st, create_user, conf_attr_value): """Verify that nsslapd-maxsimplepaged-per-conn acts according design :id: 192e2f25-04ee-4ff9-9340-d875dcbe8011 :parametrized: yes :setup: Standalone instance, test user for binding, 20 users for the search base :steps: 1. Set nsslapd-maxsimplepaged-per-conn in cn=config to the next values: no value, -1, some positive 2. Search through the added users with a simple paged control using page size = 4 :expectedresults: 1. nsslapd-maxsimplepaged-per-conn should be successfully set 2. If no value or value = -1 - all users should be found, default behaviour; If the value is positive, the value is the max simple paged results requests per connection. """ > users_list = add_users(topology_st, 20, DEFAULT_SUFFIX) suites/paged_results/paged_results_test.py:1100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ suites/paged_results/paged_results_test.py:146: in add_users 'userpassword': 'pass%s' % num_ran, /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1162: in create co = self._entry_to_instance(dn=None, entry=None) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1031: in _entry_to_instance return self._childobject(instance=self._instance, dn=dn) /usr/local/lib/python3.7/site-packages/lib389/idm/user.py:157: in __init__ if ds_is_older('1.3.7', instance=instance): /usr/local/lib/python3.7/site-packages/lib389/utils.py:1098: in ds_is_older return ds_is_related('older', *ver, instance=instance) /usr/local/lib/python3.7/site-packages/lib389/utils.py:1085: in ds_is_related ds_ver = get_ds_version(instance.ds_paths) /usr/local/lib/python3.7/site-packages/lib389/utils.py:1073: in get_ds_version return paths.version /usr/local/lib/python3.7/site-packages/lib389/paths.py:160: in __getattr__ ent = self._instance.getEntry(dn, attrlist=[attr,]) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1746: in getEntry res = self.search(*args, **kwargs) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:851: in search return self.search_ext(base,scope,filterstr,attrlist,attrsonly,None,None) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:843: in search_ext timeout,sizelimit, /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0ffa1bd0> func = <built-in method search_ext of LDAP object at 0x7fac10026960> args = ('', 0, '(objectClass=*)', ['vendorVersion'], 0, None, ...), 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.SERVER_DOWN: {'desc': "Can't contact LDAP server"} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: SERVER_DOWN -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.paged_results.paged_results_test:paged_results_test.py:133 Adding 20 users | |||
Failed | suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_success[1000] | 0.00 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0ff941d0> create_user = <lib389.idm.user.UserAccount object at 0x7fac0ff6ac90> conf_attr_value = '1000' @pytest.mark.parametrize('conf_attr_value', (None, '-1', '1000')) def test_maxsimplepaged_per_conn_success(topology_st, create_user, conf_attr_value): """Verify that nsslapd-maxsimplepaged-per-conn acts according design :id: 192e2f25-04ee-4ff9-9340-d875dcbe8011 :parametrized: yes :setup: Standalone instance, test user for binding, 20 users for the search base :steps: 1. Set nsslapd-maxsimplepaged-per-conn in cn=config to the next values: no value, -1, some positive 2. Search through the added users with a simple paged control using page size = 4 :expectedresults: 1. nsslapd-maxsimplepaged-per-conn should be successfully set 2. If no value or value = -1 - all users should be found, default behaviour; If the value is positive, the value is the max simple paged results requests per connection. """ > users_list = add_users(topology_st, 20, DEFAULT_SUFFIX) suites/paged_results/paged_results_test.py:1100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ suites/paged_results/paged_results_test.py:146: in add_users 'userpassword': 'pass%s' % num_ran, /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1162: in create co = self._entry_to_instance(dn=None, entry=None) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1031: in _entry_to_instance return self._childobject(instance=self._instance, dn=dn) /usr/local/lib/python3.7/site-packages/lib389/idm/user.py:157: in __init__ if ds_is_older('1.3.7', instance=instance): /usr/local/lib/python3.7/site-packages/lib389/utils.py:1098: in ds_is_older return ds_is_related('older', *ver, instance=instance) /usr/local/lib/python3.7/site-packages/lib389/utils.py:1085: in ds_is_related ds_ver = get_ds_version(instance.ds_paths) /usr/local/lib/python3.7/site-packages/lib389/utils.py:1073: in get_ds_version return paths.version /usr/local/lib/python3.7/site-packages/lib389/paths.py:160: in __getattr__ ent = self._instance.getEntry(dn, attrlist=[attr,]) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1746: in getEntry res = self.search(*args, **kwargs) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:851: in search return self.search_ext(base,scope,filterstr,attrlist,attrsonly,None,None) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:843: in search_ext timeout,sizelimit, /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0ffa1bd0> func = <built-in method search_ext of LDAP object at 0x7fac10026960> args = ('', 0, '(objectClass=*)', ['vendorVersion'], 0, None, ...), 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.SERVER_DOWN: {'desc': "Can't contact LDAP server"} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: SERVER_DOWN -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.paged_results.paged_results_test:paged_results_test.py:133 Adding 20 users | |||
Failed | suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_failure[0] | 0.00 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0ff941d0> create_user = <lib389.idm.user.UserAccount object at 0x7fac0ff6ac90> conf_attr_value = '0' @pytest.mark.parametrize('conf_attr_value', ('0', '1')) def test_maxsimplepaged_per_conn_failure(topology_st, create_user, conf_attr_value): """Verify that nsslapd-maxsimplepaged-per-conn acts according design :id: eb609e63-2829-4331-8439-a35f99694efa :parametrized: yes :setup: Standalone instance, test user for binding, 20 users for the search base :steps: 1. Set nsslapd-maxsimplepaged-per-conn = 0 in cn=config 2. Search through the added users with a simple paged control using page size = 4 3. Set nsslapd-maxsimplepaged-per-conn = 1 in cn=config 4. Search through the added users with a simple paged control using page size = 4 two times, but don't close the connections :expectedresults: 1. nsslapd-maxsimplepaged-per-conn should be successfully set 2. UNWILLING_TO_PERFORM should be thrown 3. Bind should be successful 4. UNWILLING_TO_PERFORM should be thrown """ > users_list = add_users(topology_st, 20, DEFAULT_SUFFIX) suites/paged_results/paged_results_test.py:1146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ suites/paged_results/paged_results_test.py:146: in add_users 'userpassword': 'pass%s' % num_ran, /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1162: in create co = self._entry_to_instance(dn=None, entry=None) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1031: in _entry_to_instance return self._childobject(instance=self._instance, dn=dn) /usr/local/lib/python3.7/site-packages/lib389/idm/user.py:157: in __init__ if ds_is_older('1.3.7', instance=instance): /usr/local/lib/python3.7/site-packages/lib389/utils.py:1098: in ds_is_older return ds_is_related('older', *ver, instance=instance) /usr/local/lib/python3.7/site-packages/lib389/utils.py:1085: in ds_is_related ds_ver = get_ds_version(instance.ds_paths) /usr/local/lib/python3.7/site-packages/lib389/utils.py:1073: in get_ds_version return paths.version /usr/local/lib/python3.7/site-packages/lib389/paths.py:160: in __getattr__ ent = self._instance.getEntry(dn, attrlist=[attr,]) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1746: in getEntry res = self.search(*args, **kwargs) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:851: in search return self.search_ext(base,scope,filterstr,attrlist,attrsonly,None,None) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:843: in search_ext timeout,sizelimit, /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0ffa1bd0> func = <built-in method search_ext of LDAP object at 0x7fac10026960> args = ('', 0, '(objectClass=*)', ['vendorVersion'], 0, None, ...), 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.SERVER_DOWN: {'desc': "Can't contact LDAP server"} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: SERVER_DOWN -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.paged_results.paged_results_test:paged_results_test.py:133 Adding 20 users | |||
Failed | suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_failure[1] | 0.00 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0ff941d0> create_user = <lib389.idm.user.UserAccount object at 0x7fac0ff6ac90> conf_attr_value = '1' @pytest.mark.parametrize('conf_attr_value', ('0', '1')) def test_maxsimplepaged_per_conn_failure(topology_st, create_user, conf_attr_value): """Verify that nsslapd-maxsimplepaged-per-conn acts according design :id: eb609e63-2829-4331-8439-a35f99694efa :parametrized: yes :setup: Standalone instance, test user for binding, 20 users for the search base :steps: 1. Set nsslapd-maxsimplepaged-per-conn = 0 in cn=config 2. Search through the added users with a simple paged control using page size = 4 3. Set nsslapd-maxsimplepaged-per-conn = 1 in cn=config 4. Search through the added users with a simple paged control using page size = 4 two times, but don't close the connections :expectedresults: 1. nsslapd-maxsimplepaged-per-conn should be successfully set 2. UNWILLING_TO_PERFORM should be thrown 3. Bind should be successful 4. UNWILLING_TO_PERFORM should be thrown """ > users_list = add_users(topology_st, 20, DEFAULT_SUFFIX) suites/paged_results/paged_results_test.py:1146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ suites/paged_results/paged_results_test.py:146: in add_users 'userpassword': 'pass%s' % num_ran, /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1162: in create co = self._entry_to_instance(dn=None, entry=None) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1031: in _entry_to_instance return self._childobject(instance=self._instance, dn=dn) /usr/local/lib/python3.7/site-packages/lib389/idm/user.py:157: in __init__ if ds_is_older('1.3.7', instance=instance): /usr/local/lib/python3.7/site-packages/lib389/utils.py:1098: in ds_is_older return ds_is_related('older', *ver, instance=instance) /usr/local/lib/python3.7/site-packages/lib389/utils.py:1085: in ds_is_related ds_ver = get_ds_version(instance.ds_paths) /usr/local/lib/python3.7/site-packages/lib389/utils.py:1073: in get_ds_version return paths.version /usr/local/lib/python3.7/site-packages/lib389/paths.py:160: in __getattr__ ent = self._instance.getEntry(dn, attrlist=[attr,]) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1746: in getEntry res = self.search(*args, **kwargs) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:851: in search return self.search_ext(base,scope,filterstr,attrlist,attrsonly,None,None) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:843: in search_ext timeout,sizelimit, /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0ffa1bd0> func = <built-in method search_ext of LDAP object at 0x7fac10026960> args = ('', 0, '(objectClass=*)', ['vendorVersion'], 0, None, ...), 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.SERVER_DOWN: {'desc': "Can't contact LDAP server"} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: SERVER_DOWN -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.paged_results.paged_results_test:paged_results_test.py:133 Adding 20 users | |||
Failed | suites/plugins/acceptance_test.py::test_acctpolicy | 7.44 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac0fc11650>, args = None def test_acctpolicy(topo, args=None): """Test Account policy basic functionality :id: 9b87493b-0493-46f9-8364-6099d0e5d829 :setup: Standalone Instance :steps: 1. Enable the plugin 2. Restart the instance 3. Add a config entry for 'lastLoginTime' 4. Add a user 5. Bind as the user 6. Check testLastLoginTime was added to the user 7. Replace 'stateattrname': 'testLastLoginTime' 8. Bind as the user 9. Check testLastLoginTime was added to the user 10. Check nsslapd-plugin-depends-on-named for the plugin 11. Clean up :expectedresults: 1. Success 2. Success 3. Success 4. Success 5. Success 6. Success 7. Success 8. Success 9. Success 10. Success 11. Success """ inst = topo[0] # stop the plugin, and start it plugin = AccountPolicyPlugin(inst) plugin.disable() plugin.enable() if args == "restart": return True # If args is None then we run the test suite as pytest standalone and it's not dynamic if args is None: inst.restart() log.info('Testing {}'.format(PLUGIN_ACCT_POLICY)) ############################################################################ # Configure plugin ############################################################################ # Add the config entry ap_configs = AccountPolicyConfigs(inst) try: ap_config = ap_configs.create(properties={'cn': 'config', 'alwaysrecordlogin': 'yes', 'stateattrname': 'lastLoginTime'}) except ldap.ALREADY_EXISTS: ap_config = ap_configs.get('config') ap_config.replace_many(('alwaysrecordlogin', 'yes'), ('stateattrname', 'lastLoginTime')) ############################################################################ # Test plugin ############################################################################ # Add an entry users = UserAccounts(inst, DEFAULT_SUFFIX) user = users.create_test_user(1000, 2000) user.add('objectclass', 'extensibleObject') user.replace('userPassword', USER_PW) # Bind as user user.bind(USER_PW) time.sleep(1) # Check lastLoginTime of USER1 entries = inst.search_s(DEFAULT_SUFFIX, ldap.SCOPE_SUBTREE, 'lastLoginTime=*') assert entries ############################################################################ # Change config - change the stateAttrName to a new attribute ############################################################################ ap_config.replace('stateattrname', 'testLastLoginTime') ############################################################################ # Test plugin ############################################################################ # login as user user.bind(USER_PW) time.sleep(1) # Check testLastLoginTime was added to USER1 entries = inst.search_s(DEFAULT_SUFFIX, ldap.SCOPE_SUBTREE, '(testLastLoginTime=*)') > assert entries E assert [] suites/plugins/acceptance_test.py:167: AssertionError -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38902, 'ldap-secureport': 63602, 'server-id': 'standalone2', 'suffix': 'dc=example,dc=com'} was created. | |||
Failed | suites/plugins/rootdn_plugin_test.py::test_rootdn_access_day_of_week | 1.02 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0f807f90> rootdn_setup = None, rootdn_cleanup = None def test_rootdn_access_day_of_week(topology_st, rootdn_setup, rootdn_cleanup): """Test the days of week feature :id: a0ef30e5-538b-46fa-9762-01a4435a15e1 :setup: Standalone instance, rootdn plugin set up :steps: 1. Set the deny days 2. Bind as Root DN 3. Set the allow days 4. Bind as Root DN :expectedresults: 1. Success 2. Should fail 3. Success 4. Success """ log.info('Running test_rootdn_access_day_of_week...') dm = DirectoryManager(topology_st.standalone) days = ('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat') day = int(time.strftime("%w", time.gmtime())) if day == 6: # Handle the roll over from Saturday into Sunday deny_days = days[1] + ', ' + days[2] allow_days = days[6] + ',' + days[0] elif day > 3: deny_days = days[0] + ', ' + days[1] allow_days = days[day] + ',' + days[day - 1] else: deny_days = days[4] + ',' + days[5] allow_days = days[day] + ',' + days[day + 1] log.info('Today: ' + days[day]) log.info('Allowed days: ' + allow_days) log.info('Deny days: ' + deny_days) # Set the deny days plugin.set_days_allowed(deny_days) time.sleep(.5) # # Bind as Root DN - should fail # with pytest.raises(ldap.UNWILLING_TO_PERFORM): dm.bind() # Set the allow days plugin.set_days_allowed(allow_days) time.sleep(.5) > dm.bind() suites/plugins/rootdn_plugin_test.py:184: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.7/site-packages/lib389/idm/directorymanager.py:44: in bind return super(DirectoryManager, self).bind(password, *args, **kwargs) /usr/local/lib/python3.7/site-packages/lib389/idm/account.py:206: in bind inst_clone.open(*args, **kwargs) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1079: in open raise e /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1072: in open self.simple_bind_s(ensure_str(self.binddn), self.bindpw, escapehatch='i am sure') /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:446: in simple_bind_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:751: in result3 resp_ctrl_classes=resp_ctrl_classes /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:758: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac1261d910> func = <built-in method result4 of LDAP object at 0x7fac0fe7bcf0> args = (1, 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.UNWILLING_TO_PERFORM: {'desc': 'Server is unwilling to perform', 'info': 'RootDN access control violation'} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: UNWILLING_TO_PERFORM -------------------------------Captured log setup------------------------------- [32mINFO [0m tests.suites.plugins.rootdn_plugin_test:rootdn_plugin_test.py:36 Cleaning up the config area -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.plugins.rootdn_plugin_test:rootdn_plugin_test.py:150 Running test_rootdn_access_day_of_week... [32mINFO [0m tests.suites.plugins.rootdn_plugin_test:rootdn_plugin_test.py:167 Today: Tue [32mINFO [0m tests.suites.plugins.rootdn_plugin_test:rootdn_plugin_test.py:168 Allowed days: Tue,Wed [32mINFO [0m tests.suites.plugins.rootdn_plugin_test:rootdn_plugin_test.py:169 Deny days: Thu,Fri | |||
Failed | suites/plugins/rootdn_plugin_test.py::test_rootdn_access_denied_ip | 1.02 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0f807f90> rootdn_setup = None, rootdn_cleanup = None def test_rootdn_access_denied_ip(topology_st, rootdn_setup, rootdn_cleanup): """Test denied IP feature - we can just test denying 127.0.0.1 :id: a0ef30e5-538b-46fa-9762-01a4435a15e2 :setup: Standalone instance, rootdn plugin set up :steps: 1. Set rootdn-deny-ip to '127.0.0.1' and '::1' 2. Bind as Root DN 3. Change the denied IP so root DN succeeds 4. Bind as Root DN :expectedresults: 1. Success 2. Should fail 3. Success 4. Success """ log.info('Running test_rootdn_access_denied_ip...') plugin.add_deny_ip('127.0.0.1') plugin.add_deny_ip('::1') time.sleep(.5) # Bind as Root DN - should fail uri = 'ldap://{}:{}'.format('127.0.0.1', topology_st.standalone.port) with pytest.raises(ldap.UNWILLING_TO_PERFORM): rootdn_bind(topology_st.standalone, uri=uri) # Change the denied IP so root DN succeeds plugin.apply_mods([(ldap.MOD_REPLACE, 'rootdn-deny-ip', '255.255.255.255')]) time.sleep(.5) # Bind should succeed > rootdn_bind(topology_st.standalone, uri=uri) suites/plugins/rootdn_plugin_test.py:219: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ suites/plugins/rootdn_plugin_test.py:80: in rootdn_bind newinst.open(uri=uri, connOnly=True) # This binds as root dn /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1079: in open raise e /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1072: in open self.simple_bind_s(ensure_str(self.binddn), self.bindpw, escapehatch='i am sure') /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:446: in simple_bind_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:751: in result3 resp_ctrl_classes=resp_ctrl_classes /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:758: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac12508c50> func = <built-in method result4 of LDAP object at 0x7fac0fe539c0> args = (1, 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.UNWILLING_TO_PERFORM: {'desc': 'Server is unwilling to perform', 'info': 'RootDN access control violation'} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: UNWILLING_TO_PERFORM -------------------------------Captured log setup------------------------------- [32mINFO [0m tests.suites.plugins.rootdn_plugin_test:rootdn_plugin_test.py:36 Cleaning up the config area -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.plugins.rootdn_plugin_test:rootdn_plugin_test.py:204 Running test_rootdn_access_denied_ip... | |||
Failed | suites/plugins/rootdn_plugin_test.py::test_rootdn_access_denied_host | 1.02 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0f807f90> rootdn_setup = None, rootdn_cleanup = None def test_rootdn_access_denied_host(topology_st, rootdn_setup, rootdn_cleanup): """Test denied Host feature - we can just test denying localhost :id: a0ef30e5-538b-46fa-9762-01a4435a15e3 :setup: Standalone instance, rootdn plugin set up :steps: 1. Set rootdn-deny-host to hostname (localhost if not accessable) 2. Bind as Root DN 3. Change the denied host so root DN succeeds 4. Bind as Root DN :expectedresults: 1. Success 2. Should fail 3. Success 4. Success """ log.info('Running test_rootdn_access_denied_host...') hostname = socket.gethostname() plugin.add_deny_host(hostname) if localhost != hostname: plugin.add_deny_host(localhost) time.sleep(.5) # Bind as Root DN - should fail uri = 'ldap://{}:{}'.format(localhost, topology_st.standalone.port) with pytest.raises(ldap.UNWILLING_TO_PERFORM): rootdn_bind(topology_st.standalone, uri=uri) # Change the denied host so root DN succeeds plugin.apply_mods([(ldap.MOD_REPLACE, 'rootdn-deny-host', 'i.dont.exist.{}'.format(uuid.uuid4()))]) time.sleep(.5) # Bind should succeed > rootdn_bind(topology_st.standalone, uri=uri) suites/plugins/rootdn_plugin_test.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ suites/plugins/rootdn_plugin_test.py:80: in rootdn_bind newinst.open(uri=uri, connOnly=True) # This binds as root dn /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1079: in open raise e /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1072: in open self.simple_bind_s(ensure_str(self.binddn), self.bindpw, escapehatch='i am sure') /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:446: in simple_bind_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:751: in result3 resp_ctrl_classes=resp_ctrl_classes /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:758: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0fe44c10> func = <built-in method result4 of LDAP object at 0x7fac0fe7bcf0> args = (1, 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.UNWILLING_TO_PERFORM: {'desc': 'Server is unwilling to perform', 'info': 'RootDN access control violation'} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: UNWILLING_TO_PERFORM -------------------------------Captured log setup------------------------------- [32mINFO [0m tests.suites.plugins.rootdn_plugin_test:rootdn_plugin_test.py:36 Cleaning up the config area -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.plugins.rootdn_plugin_test:rootdn_plugin_test.py:239 Running test_rootdn_access_denied_host... | |||
Failed | suites/plugins/rootdn_plugin_test.py::test_rootdn_access_allowed_ip | 1.02 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0f807f90> rootdn_setup = None, rootdn_cleanup = None def test_rootdn_access_allowed_ip(topology_st, rootdn_setup, rootdn_cleanup): """Test allowed ip feature :id: a0ef30e5-538b-46fa-9762-01a4435a15e4 :setup: Standalone instance, rootdn plugin set up :steps: 1. Set allowed ip to 255.255.255.255 - blocks the Root DN 2. Bind as Root DN 3. Allow localhost 4. Bind as Root DN :expectedresults: 1. Success 2. Should fail 3. Success 4. Success """ log.info('Running test_rootdn_access_allowed_ip...') # Set allowed ip to 255.255.255.255 - blocks the Root DN plugin.add_allow_ip('255.255.255.255') time.sleep(.5) # Bind as Root DN - should fail uri = 'ldap://{}:{}'.format(localhost, topology_st.standalone.port) with pytest.raises(ldap.UNWILLING_TO_PERFORM): rootdn_bind(topology_st.standalone, uri=uri) # Allow localhost plugin.add_allow_ip('127.0.0.1') plugin.add_allow_ip('::1') time.sleep(.5) # Bind should succeed > rootdn_bind(topology_st.standalone, uri=uri) suites/plugins/rootdn_plugin_test.py:293: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ suites/plugins/rootdn_plugin_test.py:80: in rootdn_bind newinst.open(uri=uri, connOnly=True) # This binds as root dn /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1079: in open raise e /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1072: in open self.simple_bind_s(ensure_str(self.binddn), self.bindpw, escapehatch='i am sure') /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:446: in simple_bind_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:751: in result3 resp_ctrl_classes=resp_ctrl_classes /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:758: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac10048390> func = <built-in method result4 of LDAP object at 0x7fac0fdd1a20> args = (1, 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.UNWILLING_TO_PERFORM: {'desc': 'Server is unwilling to perform', 'info': 'RootDN access control violation'} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: UNWILLING_TO_PERFORM -------------------------------Captured log setup------------------------------- [32mINFO [0m tests.suites.plugins.rootdn_plugin_test:rootdn_plugin_test.py:36 Cleaning up the config area -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.plugins.rootdn_plugin_test:rootdn_plugin_test.py:276 Running test_rootdn_access_allowed_ip... | |||
Failed | suites/plugins/rootdn_plugin_test.py::test_rootdn_access_allowed_host | 1.03 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0f807f90> rootdn_setup = None, rootdn_cleanup = None def test_rootdn_access_allowed_host(topology_st, rootdn_setup, rootdn_cleanup): """Test allowed host feature :id: a0ef30e5-538b-46fa-9762-01a4435a15e5 :setup: Standalone instance, rootdn plugin set up :steps: 1. Set allowed host to an unknown host - blocks the Root DN 2. Bind as Root DN 3. Allow localhost 4. Bind as Root DN :expectedresults: 1. Success 2. Should fail 3. Success 4. Success """ log.info('Running test_rootdn_access_allowed_host...') # Set allowed host to an unknown host - blocks the Root DN plugin.add_allow_host('i.dont.exist.{}'.format(uuid.uuid4())) time.sleep(.5) # Bind as Root DN - should fail uri = 'ldap://{}:{}'.format(localhost, topology_st.standalone.port) with pytest.raises(ldap.UNWILLING_TO_PERFORM): rootdn_bind(topology_st.standalone, uri=uri) # Allow localhost plugin.remove_all_allow_host() plugin.add_allow_host(localhost) if hostname != localhost: plugin.add_allow_host(hostname) time.sleep(.5) # Bind should succeed > rootdn_bind(topology_st.standalone, uri=uri) suites/plugins/rootdn_plugin_test.py:332: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ suites/plugins/rootdn_plugin_test.py:80: in rootdn_bind newinst.open(uri=uri, connOnly=True) # This binds as root dn /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1079: in open raise e /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1072: in open self.simple_bind_s(ensure_str(self.binddn), self.bindpw, escapehatch='i am sure') /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:446: in simple_bind_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:751: in result3 resp_ctrl_classes=resp_ctrl_classes /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:758: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0fbc80d0> func = <built-in method result4 of LDAP object at 0x7fac0f8c7c30> args = (1, 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.UNWILLING_TO_PERFORM: {'desc': 'Server is unwilling to perform', 'info': 'RootDN access control violation'} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: UNWILLING_TO_PERFORM -------------------------------Captured log setup------------------------------- [32mINFO [0m tests.suites.plugins.rootdn_plugin_test:rootdn_plugin_test.py:36 Cleaning up the config area -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.plugins.rootdn_plugin_test:rootdn_plugin_test.py:313 Running test_rootdn_access_allowed_host... | |||
Failed | suites/replication/changelog_test.py::test_retrochangelog_trimming_crash | 25.87 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac0fa19b50> changelog_init = None @pytest.mark.ds50736 def test_retrochangelog_trimming_crash(topo, changelog_init): """Check that when retroCL nsslapd-retrocthangelog contains invalid value, then the instance does not crash at shutdown :id: 5d9bd7ca-e9bf-4be9-8fc8-902aa5513052 :setup: Replication with two master, change nsslapd-changelogdir to '/var/lib/dirsrv/slapd-master1/changelog' and set cn=Retro Changelog Plugin,cn=plugins,cn=config to 'on' :steps: 1. Set nsslapd-changelogmaxage in cn=Retro Changelog Plugin,cn=plugins,cn=config to value '-1' This value is invalid. To disable retroCL trimming it should be set to 0 2. Do several restart 3. check there is no 'Detected Disorderly Shutdown' message (crash) 4. restore valid value for nsslapd-changelogmaxage '1w' :expectedresults: 1. Operation should be successful 2. Operation should be successful 3. Operation should be successful 4. Operation should be successful """ log.info('1. Test retroCL trimming crash in cn=Retro Changelog Plugin,cn=plugins,cn=config') # set the nsslapd-changelogmaxage directly on dse.ldif # because the set value is invalid topo.ms["master1"].log.info("ticket50736 start verification") topo.ms["master1"].stop() retroPlugin = RetroChangelogPlugin(topo.ms["master1"]) dse_ldif = DSEldif(topo.ms["master1"]) dse_ldif.replace(retroPlugin.dn, 'nsslapd-changelogmaxage', '-1') topo.ms["master1"].start() # The crash should be systematic, but just in case do several restart # with a delay to let all plugin init for i in range(5): time.sleep(1) topo.ms["master1"].stop() topo.ms["master1"].start() > assert not topo.ms["master1"].detectDisorderlyShutdown() E assert not True E + where True = <bound method DirSrv.detectDisorderlyShutdown of <lib389.DirSrv object at 0x7fac0fdbfb50>>() E + where <bound method DirSrv.detectDisorderlyShutdown of <lib389.DirSrv object at 0x7fac0fdbfb50>> = <lib389.DirSrv object at 0x7fac0fdbfb50>.detectDisorderlyShutdown suites/replication/changelog_test.py:716: AssertionError -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.replication.changelog_test:changelog_test.py:698 1. Test retroCL trimming crash in cn=Retro Changelog Plugin,cn=plugins,cn=config [32mINFO [0m lib389:changelog_test.py:702 ticket50736 start verification | |||
Failed | suites/replication/cleanallruv_test.py::test_clean_restart | 17.17 | |
topology_m4 = <lib389.topologies.TopologyMain object at 0x7fac0f8b2dd0> m4rid = '4' def test_clean_restart(topology_m4, m4rid): """Check that cleanallruv task works properly after a restart :id: c6233bb3-092c-4919-9ac9-80dd02cc6e02 :setup: Replication setup with four masters :steps: 1. Disable replication on master 4 2. Remove agreements to master 4 from other masters 3. Stop master 3 4. Run a cleanallruv task on master 1 5. Stop master 1 6. Start master 3 7. Make sure that no crash happened 8. Start master 1 9. Make sure that no crash happened 10. Check that everything was cleaned :expectedresults: 1. Operation should be successful 2. Agreements to master 4 should be removed 3. Master 3 should be stopped 4. Cleanallruv task should be successfully executed 5. Master 1 should be stopped 6. Master 3 should be started 7. No crash should happened 8. Master 1 should be started 9. No crash should happened 10. Everything should be cleaned """ log.info('Running test_clean_restart...') # Disable master 4 log.info('test_clean: disable master 4...') # Remove the agreements from the other masters that point to master 4 remove_master4_agmts("test_clean", topology_m4) # Stop master 3 to keep the task running, so we can stop master 1... topology_m4.ms["master3"].stop() # Run the task log.info('test_clean: run the cleanAllRUV task...') cruv_task = CleanAllRUVTask(topology_m4.ms["master1"]) cruv_task.create(properties={ 'replica-id': m4rid, 'replica-base-dn': DEFAULT_SUFFIX, 'replica-force-cleaning': 'no', 'replica-certify-all': 'yes' }) # Sleep a bit, then stop master 1 time.sleep(5) topology_m4.ms["master1"].stop() # Now start master 3 & 1, and make sure we didn't crash topology_m4.ms["master3"].start() if topology_m4.ms["master3"].detectDisorderlyShutdown(): log.fatal('test_clean_restart: Master 3 previously crashed!') > assert False E assert False suites/replication/cleanallruv_test.py:283: AssertionError -------------------------------Captured log setup------------------------------- [35mDEBUG [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:152 Wait a bit before the reset - it is required for the slow machines [35mDEBUG [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:154 -------------- BEGIN RESET of m4 ----------------- [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39003 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39004 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39003 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39004 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39004 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39004 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39004 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39004 to ldap://server.example.com:39003 is working [35mDEBUG [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:180 -------------- FINISH RESET of m4 ----------------- -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:255 Running test_clean_restart... [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:258 test_clean: disable master 4... [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:71 test_clean: remove all the agreements to master 4... [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:266 test_clean: run the cleanAllRUV task... [31mCRITICAL[0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:282 test_clean_restart: Master 3 previously crashed! | |||
Failed | suites/replication/cleanallruv_test.py::test_abort_restart | 22.05 | |
topology_m4 = <lib389.topologies.TopologyMain object at 0x7fac0f8b2dd0> m4rid = '4' def test_abort_restart(topology_m4, m4rid): """Test the abort task can handle a restart, and then resume :id: b66e33d4-fe85-4e1c-b882-75da80f70ab3 :setup: Replication setup with four masters :steps: 1. Disable replication on master 4 2. Remove agreements to master 4 from other masters 3. Stop master 3 4. Run a cleanallruv task on master 1 5. Run a cleanallruv abort task on master 1 6. Restart master 1 7. Make sure that no crash happened 8. Start master 3 9. Check master 1 does not have the clean task running 10. Check that errors log doesn't have 'Aborting abort task' message :expectedresults: 1. Replication on master 4 should be disabled 2. Agreements to master 4 should be removed 3. Master 3 should be stopped 4. Operation should be successful 5. Operation should be successful 6. Master 1 should be restarted 7. No crash should happened 8. Master 3 should be started 9. Check master 1 shouldn't have the clean task running 10. Errors log shouldn't have 'Aborting abort task' message """ log.info('Running test_abort_restart...') # Remove the agreements from the other masters that point to master 4 remove_master4_agmts("test_abort", topology_m4) # Stop master 3 log.info('test_abort_restart: stop master 3 to freeze the cleanAllRUV task...') topology_m4.ms["master3"].stop() # Run the task log.info('test_abort_restart: add the cleanAllRUV task...') cruv_task = CleanAllRUVTask(topology_m4.ms["master1"]) cruv_task.create(properties={ 'replica-id': m4rid, 'replica-base-dn': DEFAULT_SUFFIX, 'replica-force-cleaning': 'no', 'replica-certify-all': 'yes' }) # Wait a bit time.sleep(2) # Abort the task cruv_task.abort(certify=True) # Check master 1 does not have the clean task running log.info('test_abort_abort: check master 1 no longer has a cleanAllRUV task...') if not task_done(topology_m4, cruv_task.dn): log.fatal('test_abort_restart: CleanAllRUV task was not aborted') assert False # Now restart master 1, and make sure the abort process completes topology_m4.ms["master1"].restart() if topology_m4.ms["master1"].detectDisorderlyShutdown(): log.fatal('test_abort_restart: Master 1 previously crashed!') > assert False E assert False suites/replication/cleanallruv_test.py:473: AssertionError -------------------------------Captured log setup------------------------------- [35mDEBUG [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:152 Wait a bit before the reset - it is required for the slow machines [35mDEBUG [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:154 -------------- BEGIN RESET of m4 ----------------- [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39003 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39004 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39003 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39004 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39004 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39004 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39004 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39004 to ldap://server.example.com:39003 is working [35mDEBUG [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:180 -------------- FINISH RESET of m4 ----------------- -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:440 Running test_abort_restart... [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:71 test_abort: remove all the agreements to master 4... [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:445 test_abort_restart: stop master 3 to freeze the cleanAllRUV task... [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:449 test_abort_restart: add the cleanAllRUV task... [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:464 test_abort_abort: check master 1 no longer has a cleanAllRUV task... [31mCRITICAL[0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:472 test_abort_restart: Master 1 previously crashed! | |||
Failed | suites/replication/cleanallruv_test.py::test_clean_shutdown_crash | 25.26 | |
topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac0f97be10> @pytest.mark.bz1466441 @pytest.mark.ds50370 def test_clean_shutdown_crash(topology_m2): """Check that server didn't crash after shutdown when running CleanAllRUV task :id: c34d0b40-3c3e-4f53-8656-5e4c2a310aaf :setup: Replication setup with two masters :steps: 1. Enable TLS on both masters 2. Reconfigure both agreements to use TLS Client auth 3. Stop master2 4. Run the CleanAllRUV task 5. Restart master1 6. Check if master1 didn't crash 7. Restart master1 again 8. Check if master1 didn't crash :expectedresults: 1. Success 2. Success 3. Success 4. Success 5. Success 6. Success 7. Success 8. Success """ m1 = topology_m2.ms["master1"] m2 = topology_m2.ms["master2"] repl = ReplicationManager(DEFAULT_SUFFIX) cm_m1 = CertmapLegacy(m1) cm_m2 = CertmapLegacy(m2) certmaps = cm_m1.list() certmaps['default']['DNComps'] = None certmaps['default']['CmapLdapAttr'] = 'nsCertSubjectDN' cm_m1.set(certmaps) cm_m2.set(certmaps) log.info('Enabling TLS') [i.enable_tls() for i in topology_m2] log.info('Creating replication dns') services = ServiceAccounts(m1, DEFAULT_SUFFIX) repl_m1 = services.get('%s:%s' % (m1.host, m1.sslport)) repl_m1.set('nsCertSubjectDN', m1.get_server_tls_subject()) repl_m2 = services.get('%s:%s' % (m2.host, m2.sslport)) repl_m2.set('nsCertSubjectDN', m2.get_server_tls_subject()) log.info('Changing auth type') replica_m1 = Replicas(m1).get(DEFAULT_SUFFIX) agmt_m1 = replica_m1.get_agreements().list()[0] agmt_m1.replace_many( ('nsDS5ReplicaBindMethod', 'SSLCLIENTAUTH'), ('nsDS5ReplicaTransportInfo', 'SSL'), ('nsDS5ReplicaPort', '%s' % m2.sslport), ) agmt_m1.remove_all('nsDS5ReplicaBindDN') replica_m2 = Replicas(m2).get(DEFAULT_SUFFIX) agmt_m2 = replica_m2.get_agreements().list()[0] agmt_m2.replace_many( ('nsDS5ReplicaBindMethod', 'SSLCLIENTAUTH'), ('nsDS5ReplicaTransportInfo', 'SSL'), ('nsDS5ReplicaPort', '%s' % m1.sslport), ) agmt_m2.remove_all('nsDS5ReplicaBindDN') log.info('Stopping master2') m2.stop() log.info('Run the cleanAllRUV task') cruv_task = CleanAllRUVTask(m1) cruv_task.create(properties={ 'replica-id': repl.get_rid(m1), 'replica-base-dn': DEFAULT_SUFFIX, 'replica-force-cleaning': 'no', 'replica-certify-all': 'yes' }) m1.restart() log.info('Check if master1 crashed') > assert not m1.detectDisorderlyShutdown() E assert not True E + where True = <bound method DirSrv.detectDisorderlyShutdown of <lib389.DirSrv object at 0x7fac0f980810>>() E + where <bound method DirSrv.detectDisorderlyShutdown of <lib389.DirSrv object at 0x7fac0f980810>> = <lib389.DirSrv object at 0x7fac0f980810>.detectDisorderlyShutdown suites/replication/cleanallruv_test.py:816: AssertionError -----------------------------Captured stdout setup------------------------------ Instance slapd-master1 removed. Instance slapd-master2 removed. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 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:106 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:139 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:153 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:1940 SUCCESS: bootstrap to ldap://server.example.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2009 SUCCESS: joined master from ldap://server.example.com:39001 to ldap://server.example.com:39002 [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master1 to master2 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 already exists -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:769 Enabling TLS [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:772 Creating replication dns [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:780 Changing auth type [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:801 Stopping master2 [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:804 Run the cleanAllRUV task [32mINFO [0m tests.suites.replication.cleanallruv_test:cleanallruv_test.py:815 Check if master1 crashed | |||
Failed | tickets/ticket47973_test.py::test_ticket47973_case | 5.08 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0fe3f7d0> def test_ticket47973_case(topology_st): log.info('Testing Ticket 47973 (case) - Test the cases in the original schema are preserved.') log.info('case 1 - Test the cases in the original schema are preserved.') tsfile = topology_st.standalone.schemadir + '/98test.ldif' tsfd = open(tsfile, "w") Mozattr0 = "MoZiLLaaTTRiBuTe" testschema = "dn: cn=schema\nattributetypes: ( 8.9.10.11.12.13.14 NAME '" + Mozattr0 + "' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Mozilla Dummy Schema' )\nobjectclasses: ( 1.2.3.4.5.6.7 NAME 'MozillaObject' SUP top MUST ( objectclass $ cn ) MAY ( " + Mozattr0 + " ) X-ORIGIN 'user defined' )" tsfd.write(testschema) tsfd.close() try: # run the schema reload task with the default schemadir topology_st.standalone.tasks.schemaReload(schemadir=topology_st.standalone.schemadir, args={TASK_WAIT: False}) except ValueError: log.error('Schema Reload task failed.') assert False time.sleep(5) try: schemaentry = topology_st.standalone.search_s("cn=schema", ldap.SCOPE_BASE, 'objectclass=top', ["objectclasses"]) oclist = schemaentry[0].data.get("objectclasses") except ldap.LDAPError as e: log.error('Failed to get schema entry: error (%s)' % e.args[0]['desc']) raise e found = 0 for oc in oclist: log.info('OC: %s' % oc) moz = re.findall(Mozattr0, oc.decode('utf-8')) if moz: found = 1 log.info('case 1: %s is in the objectclasses list -- PASS' % Mozattr0) if found == 0: log.error('case 1: %s is not in the objectclasses list -- FAILURE' % Mozattr0) > assert False E assert False tickets/ticket47973_test.py:156: AssertionError -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:tasks.py:1139 Schema Reload task (task-12302019_213904) completed successfully [31m[1mERROR [0m tests.tickets.ticket47973_test:ticket47973_test.py:155 case 1: MoZiLLaaTTRiBuTe is not in the objectclasses list -- FAILURE | |||
Failed | tickets/ticket47988_test.py::test_ticket47988_init | 5.17 | |
topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac0ccd3590> def test_ticket47988_init(topology_m2): """ It adds - Objectclass with MAY 'member' - an entry ('bind_entry') with which we bind to test the 'SELFDN' operation It deletes the anonymous aci """ _header(topology_m2, 'test_ticket47988_init') # enable acl error logging mod = [(ldap.MOD_REPLACE, 'nsslapd-errorlog-level', ensure_bytes(str(8192)))] # REPL topology_m2.ms["master1"].modify_s(DN_CONFIG, mod) topology_m2.ms["master2"].modify_s(DN_CONFIG, mod) mod = [(ldap.MOD_REPLACE, 'nsslapd-accesslog-level', ensure_bytes(str(260)))] # Internal op topology_m2.ms["master1"].modify_s(DN_CONFIG, mod) topology_m2.ms["master2"].modify_s(DN_CONFIG, mod) # add dummy entries for cpt in range(MAX_OTHERS): name = "%s%d" % (OTHER_NAME, cpt) topology_m2.ms["master1"].add_s(Entry(("cn=%s,%s" % (name, SUFFIX), { 'objectclass': "top person".split(), 'sn': name, 'cn': name}))) # check that entry 0 is replicated before loop = 0 entryDN = "cn=%s0,%s" % (OTHER_NAME, SUFFIX) while loop <= 10: try: ent = topology_m2.ms["master2"].getEntry(entryDN, ldap.SCOPE_BASE, "(objectclass=*)", ['telephonenumber']) break except ldap.NO_SUCH_OBJECT: time.sleep(1) loop += 1 assert (loop <= 10) topology_m2.ms["master1"].stop(timeout=10) topology_m2.ms["master2"].stop(timeout=10) # install the specific schema M1: ipa3.3, M2: ipa4.1 schema_file = os.path.join(topology_m2.ms["master1"].getDir(__file__, DATA_DIR), "ticket47988/schema_ipa3.3.tar.gz") _install_schema(topology_m2.ms["master1"], schema_file) schema_file = os.path.join(topology_m2.ms["master1"].getDir(__file__, DATA_DIR), "ticket47988/schema_ipa4.1.tar.gz") _install_schema(topology_m2.ms["master2"], schema_file) > topology_m2.ms["master1"].start(timeout=10) /export/tests/tickets/ticket47988_test.py:157: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.7/site-packages/lib389/__init__.py:1131: in start "dirsrv@%s" % self.serverid]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['systemctl', 'start', 'dirsrv@master1'],), kwargs = {} retcode = 1, cmd = ['systemctl', 'start', 'dirsrv@master1'] 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 '['systemctl', 'start', 'dirsrv@master1']' returned non-zero exit status 1. /usr/lib64/python3.7/subprocess.py:363: CalledProcessError -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 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:106 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:139 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:153 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:1940 SUCCESS: bootstrap to ldap://server.example.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2009 SUCCESS: joined master from ldap://server.example.com:39001 to ldap://server.example.com:39002 [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master1 to master2 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 already exists ------------------------------Captured stderr call------------------------------ Job for dirsrv@master1.service failed because the control process exited with error code. See "systemctl status dirsrv@master1.service" and "journalctl -xe" for details. -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:ticket47988_test.py:64 ############################################### [32mINFO [0m lib389:ticket47988_test.py:65 ####### [32mINFO [0m lib389:ticket47988_test.py:66 ####### test_ticket47988_init [32mINFO [0m lib389:ticket47988_test.py:67 ####### [32mINFO [0m lib389:ticket47988_test.py:68 ################################################### [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/02common.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/50ns-admin.ldif [32mINFO [0m lib389:ticket47988_test.py:98 replace /etc/dirsrv/slapd-master1/schema/99user.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60nss-ldap.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60autofs.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/50ns-web.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60samba.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/10dna-plugin.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/05rfc4523.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60basev2.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/10automember-plugin.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/05rfc2927.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/10mep-plugin.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60ipadns.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/10rfc2307.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/50ns-mail.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/05rfc4524.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60trust.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60ipaconfig.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/50ns-directory.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60eduperson.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60mozilla.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/65ipasudo.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60rfc3712.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60rfc2739.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/50ns-value.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60acctpolicy.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/01core389.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60sabayon.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60pam-plugin.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/00core.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/25java-object.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60sudo.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/70ipaotp.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60pureftpd.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/61kerberos-ipav3.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60kerberos.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60basev3.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/06inetorgperson.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/30ns-common.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/28pilot.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/20subscriber.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/50ns-certificate.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master1/schema/60posix-winsync-plugin.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/02common.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/50ns-admin.ldif [32mINFO [0m lib389:ticket47988_test.py:98 replace /etc/dirsrv/slapd-master2/schema/99user.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60nss-ldap.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60autofs.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/50ns-web.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60samba.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/10dna-plugin.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/05rfc4523.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60basev2.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/10automember-plugin.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/05rfc2927.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/10mep-plugin.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60ipadns.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/10rfc2307.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/50ns-mail.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/05rfc4524.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60trust.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60ipaconfig.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/50ns-directory.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60eduperson.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60mozilla.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/65ipasudo.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60rfc3712.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60rfc2739.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/50ns-value.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60acctpolicy.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/01core389.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60sabayon.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60pam-plugin.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/00core.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/25java-object.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60sudo.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/70ipaotp.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60pureftpd.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/61kerberos-ipav3.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60kerberos.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60basev3.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/06inetorgperson.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/30ns-common.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/28pilot.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/20subscriber.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/50ns-certificate.ldif [32mINFO [0m lib389:ticket47988_test.py:102 add /etc/dirsrv/slapd-master2/schema/60posix-winsync-plugin.ldif | |||
Failed | tickets/ticket47988_test.py::test_ticket47988_1 | 0.00 | |
topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac0ccd3590> def test_ticket47988_1(topology_m2): ''' Check that replication is working and pause replication M2->M1 ''' _header(topology_m2, 'test_ticket47988_1') topology_m2.ms["master1"].log.debug("\n\nCheck that replication is working and pause replication M2->M1\n") > _do_update_entry(supplier=topology_m2.ms["master2"], consumer=topology_m2.ms["master1"], attempts=5) /export/tests/tickets/ticket47988_test.py:234: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /export/tests/tickets/ticket47988_test.py:184: in _do_update_entry supplier.modify_s(entryDN, mod) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:631: in modify_s return self.modify_ext_s(dn,modlist,None,None) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:604: in modify_ext_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:751: in result3 resp_ctrl_classes=resp_ctrl_classes /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:758: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0cccb790> func = <built-in method result4 of LDAP object at 0x7fac0cd64fc0> args = (28, 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.SERVER_DOWN: {'desc': "Can't contact LDAP server"} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: SERVER_DOWN -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:ticket47988_test.py:64 ############################################### [32mINFO [0m lib389:ticket47988_test.py:65 ####### [32mINFO [0m lib389:ticket47988_test.py:66 ####### test_ticket47988_1 [32mINFO [0m lib389:ticket47988_test.py:67 ####### [32mINFO [0m lib389:ticket47988_test.py:68 ################################################### | |||
Failed | tickets/ticket47988_test.py::test_ticket47988_2 | 0.00 | |
topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac0ccd3590> def test_ticket47988_2(topology_m2): ''' Update M1 schema and trigger update M1->M2 So M1 should learn new/extended definitions that are in M2 schema ''' _header(topology_m2, 'test_ticket47988_2') topology_m2.ms["master1"].log.debug("\n\nUpdate M1 schema and an entry on M1\n") > master1_schema_csn = topology_m2.ms["master1"].schema.get_schema_csn() /export/tests/tickets/ticket47988_test.py:246: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.7/site-packages/lib389/schema.py:599: in get_schema_csn "objectclass=*", ['nsSchemaCSN']) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:854: in search_s return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:848: in search_ext_s return self.result(msgid,all=1,timeout=timeout)[1] /usr/local/lib/python3.7/site-packages/lib389/__init__.py:148: in inner objtype, data = f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:740: in result resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:744: in result2 resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:751: in result3 resp_ctrl_classes=resp_ctrl_classes /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:758: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0cca8b10> func = <built-in method result4 of LDAP object at 0x7fac0cd936c0> args = (64, 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.SERVER_DOWN: {'desc': "Can't contact LDAP server"} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: SERVER_DOWN -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:ticket47988_test.py:64 ############################################### [32mINFO [0m lib389:ticket47988_test.py:65 ####### [32mINFO [0m lib389:ticket47988_test.py:66 ####### test_ticket47988_2 [32mINFO [0m lib389:ticket47988_test.py:67 ####### [32mINFO [0m lib389:ticket47988_test.py:68 ################################################### | |||
Failed | tickets/ticket47988_test.py::test_ticket47988_3 | 0.00 | |
topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac0ccd3590> def test_ticket47988_3(topology_m2): ''' Resume replication M2->M1 and check replication is still working ''' _header(topology_m2, 'test_ticket47988_3') > _resume_M2_to_M1(topology_m2) /export/tests/tickets/ticket47988_test.py:283: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /export/tests/tickets/ticket47988_test.py:222: in _resume_M2_to_M1 ents = topology_m2.ms["master2"].agreement.list(suffix=SUFFIX) /usr/local/lib/python3.7/site-packages/lib389/agreement.py:899: in list replica_entries = self.conn.replica.list(suffix) /usr/local/lib/python3.7/site-packages/lib389/replica.py:176: in list ents = self.conn.search_s(base, ldap.SCOPE_SUBTREE, filtr) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:854: in search_s return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:847: in search_ext_s msgid = self.search_ext(base,scope,filterstr,attrlist,attrsonly,serverctrls,clientctrls,timeout,sizelimit) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:843: in search_ext timeout,sizelimit, /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0cccb790> func = <built-in method search_ext of LDAP object at 0x7fac0cd64fc0> args = ('cn=mapping tree,cn=config', 2, '(&(objectclass=nsds5Replica)(nsDS5ReplicaRoot=dc=example,dc=com))', None, 0, None, ...) 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.SERVER_DOWN: {'desc': "Can't contact LDAP server"} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: SERVER_DOWN -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:ticket47988_test.py:64 ############################################### [32mINFO [0m lib389:ticket47988_test.py:65 ####### [32mINFO [0m lib389:ticket47988_test.py:66 ####### test_ticket47988_3 [32mINFO [0m lib389:ticket47988_test.py:67 ####### [32mINFO [0m lib389:ticket47988_test.py:68 ################################################### [32mINFO [0m lib389:ticket47988_test.py:221 ######################### resume RA M2->M1 ###################### | |||
Failed | tickets/ticket47988_test.py::test_ticket47988_4 | 0.00 | |
topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac0ccd3590> def test_ticket47988_4(topology_m2): ''' Check schemaCSN is identical on both server And save the nsschemaCSN to later check they do not change unexpectedly ''' _header(topology_m2, 'test_ticket47988_4') > master1_schema_csn = topology_m2.ms["master1"].schema.get_schema_csn() /export/tests/tickets/ticket47988_test.py:295: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.7/site-packages/lib389/schema.py:599: in get_schema_csn "objectclass=*", ['nsSchemaCSN']) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:854: in search_s return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:847: in search_ext_s msgid = self.search_ext(base,scope,filterstr,attrlist,attrsonly,serverctrls,clientctrls,timeout,sizelimit) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:843: in search_ext timeout,sizelimit, /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0cca8b10> func = <built-in method search_ext of LDAP object at 0x7fac0cd936c0> args = ('cn=schema', 0, 'objectclass=*', ['nsSchemaCSN'], 0, None, ...) 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.SERVER_DOWN: {'desc': "Can't contact LDAP server"} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: SERVER_DOWN -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:ticket47988_test.py:64 ############################################### [32mINFO [0m lib389:ticket47988_test.py:65 ####### [32mINFO [0m lib389:ticket47988_test.py:66 ####### test_ticket47988_4 [32mINFO [0m lib389:ticket47988_test.py:67 ####### [32mINFO [0m lib389:ticket47988_test.py:68 ################################################### | |||
Failed | tickets/ticket47988_test.py::test_ticket47988_5 | 0.00 | |
topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac0ccd3590> def test_ticket47988_5(topology_m2): ''' Check schemaCSN do not change unexpectedly ''' _header(topology_m2, 'test_ticket47988_5') > _do_update_entry(supplier=topology_m2.ms["master1"], consumer=topology_m2.ms["master2"], attempts=5) /export/tests/tickets/ticket47988_test.py:313: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /export/tests/tickets/ticket47988_test.py:184: in _do_update_entry supplier.modify_s(entryDN, mod) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:631: in modify_s return self.modify_ext_s(dn,modlist,None,None) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:603: in modify_ext_s msgid = self.modify_ext(dn,modlist,serverctrls,clientctrls) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:600: in modify_ext return self._ldap_call(self._l.modify_ext,dn,modlist,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls)) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0cca8b10> func = <built-in method modify_ext of LDAP object at 0x7fac0cd936c0> args = ('cn=other_entry0,dc=example,dc=com', [(2, 'telephonenumber', b'125')], None, None) 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.SERVER_DOWN: {'desc': "Can't contact LDAP server"} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: SERVER_DOWN -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:ticket47988_test.py:64 ############################################### [32mINFO [0m lib389:ticket47988_test.py:65 ####### [32mINFO [0m lib389:ticket47988_test.py:66 ####### test_ticket47988_5 [32mINFO [0m lib389:ticket47988_test.py:67 ####### [32mINFO [0m lib389:ticket47988_test.py:68 ################################################### | |||
Failed | tickets/ticket47988_test.py::test_ticket47988_6 | 0.00 | |
topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac0ccd3590> def test_ticket47988_6(topology_m2): ''' Update M1 schema and trigger update M2->M1 So M2 should learn new/extended definitions that are in M1 schema ''' _header(topology_m2, 'test_ticket47988_6') topology_m2.ms["master1"].log.debug("\n\nUpdate M1 schema and an entry on M1\n") > master1_schema_csn = topology_m2.ms["master1"].schema.get_schema_csn() /export/tests/tickets/ticket47988_test.py:336: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.7/site-packages/lib389/schema.py:599: in get_schema_csn "objectclass=*", ['nsSchemaCSN']) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:854: in search_s return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:847: in search_ext_s msgid = self.search_ext(base,scope,filterstr,attrlist,attrsonly,serverctrls,clientctrls,timeout,sizelimit) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:843: in search_ext timeout,sizelimit, /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0cca8b10> func = <built-in method search_ext of LDAP object at 0x7fac0cd936c0> args = ('cn=schema', 0, 'objectclass=*', ['nsSchemaCSN'], 0, None, ...) 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.SERVER_DOWN: {'desc': "Can't contact LDAP server"} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: SERVER_DOWN -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:ticket47988_test.py:64 ############################################### [32mINFO [0m lib389:ticket47988_test.py:65 ####### [32mINFO [0m lib389:ticket47988_test.py:66 ####### test_ticket47988_6 [32mINFO [0m lib389:ticket47988_test.py:67 ####### [32mINFO [0m lib389:ticket47988_test.py:68 ################################################### | |||
Failed | tickets/ticket48005_test.py::test_ticket48005_usn | 4.84 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0cdec490> def test_ticket48005_usn(topology_st): ''' Enable entryusn Delete all user entries. Run USN tombstone cleanup task Shutdown the server Check if a core file was generated or not If no core was found, this test case was successful. ''' log.info("Ticket 48005 usn test...") topology_st.standalone.plugins.enable(name=PLUGIN_USN) topology_st.standalone.restart(timeout=10) try: > entries = topology_st.standalone.search_s(SUFFIX, ldap.SCOPE_SUBTREE, "(objectclass=inetorgperson)") /export/tests/tickets/ticket48005_test.py:283: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:854: in search_s return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:848: in search_ext_s return self.result(msgid,all=1,timeout=timeout)[1] /usr/local/lib/python3.7/site-packages/lib389/__init__.py:148: in inner objtype, data = f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:740: in result resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:744: in result2 resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:751: in result3 resp_ctrl_classes=resp_ctrl_classes /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:758: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0f5fa050> func = <built-in method result4 of LDAP object at 0x7fac0cd2ced0> args = (3, 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: {'desc': 'No such object'} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: NO_SUCH_OBJECT -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.tickets.ticket48005_test:ticket48005_test.py:277 Ticket 48005 usn test... | |||
Failed | tickets/ticket48194_test.py::test_run_1 | 6.97 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0d2f8e50> def test_run_1(topology_st): """ Check nsSSL3Ciphers: +all All ciphers are enabled except null. Note: default allowWeakCipher (i.e., off) for +all """ _header(topology_st, 'Test Case 2 - Check the ciphers availability for "+all" with default allowWeakCiphers') topology_st.standalone.simple_bind_s(DN_DM, PASSWORD) topology_st.standalone.modify_s(CONFIG_DN, [(ldap.MOD_REPLACE, 'nsslapd-errorlog-level', b'64')]) # Make sure allowWeakCipher is not set. topology_st.standalone.modify_s(ENCRYPTION_DN, [(ldap.MOD_DELETE, 'allowWeakCipher', None)]) log.info("\n######################### Restarting the server ######################\n") topology_st.standalone.stop(timeout=10) os.system('mv %s %s.48194_0' % (topology_st.standalone.errlog, topology_st.standalone.errlog)) os.system('touch %s' % (topology_st.standalone.errlog)) time.sleep(2) topology_st.standalone.start(timeout=120) > connectWithOpenssl(topology_st, 'DES-CBC3-SHA', False) /export/tests/tickets/ticket48194_test.py:158: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topology_st = <lib389.topologies.TopologyMain object at 0x7fac0d2f8e50> cipher = 'DES-CBC3-SHA', expect = False def connectWithOpenssl(topology_st, cipher, expect): """ Connect with the given cipher Condition: If expect is True, the handshake should be successful. If expect is False, the handshake should be refused with access log: "Cannot communicate securely with peer: no common encryption algorithm(s)." """ log.info("Testing %s -- expect to handshake %s", cipher, "successfully" if expect else "failed") myurl = 'localhost:%s' % LDAPSPORT cmdline = ['/usr/bin/openssl', 's_client', '-connect', myurl, '-cipher', cipher] strcmdline = " ".join(cmdline) log.info("Running cmdline: %s", strcmdline) try: proc = subprocess.Popen(cmdline, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.STDOUT) except ValueError: log.info("%s failed: %s", cmdline, ValueError) proc.kill() while True: l = proc.stdout.readline() if l == b"": break if b'Cipher is' in l: log.info("Found: %s", l) if expect: if b'(NONE)' in l: assert False else: proc.stdin.close() assert True else: if b'(NONE)' in l: assert True else: proc.stdin.close() > assert False E assert False /export/tests/tickets/ticket48194_test.py:117: AssertionError -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:ticket48194_test.py:40 ############################################### [32mINFO [0m lib389:ticket48194_test.py:41 ####### Test Case 2 - Check the ciphers availability for "+all" with default allowWeakCiphers [32mINFO [0m lib389:ticket48194_test.py:42 ############################################### [32mINFO [0m lib389.utils:ticket48194_test.py:151 ######################### Restarting the server ###################### [32mINFO [0m lib389.utils:ticket48194_test.py:86 Testing DES-CBC3-SHA -- expect to handshake failed [32mINFO [0m lib389.utils:ticket48194_test.py:92 Running cmdline: /usr/bin/openssl s_client -connect localhost:63601 -cipher DES-CBC3-SHA [32mINFO [0m lib389.utils:ticket48194_test.py:105 Found: b'New, TLSv1.3, Cipher is TLS_AES_128_GCM_SHA256\n' | |||
Failed | tickets/ticket48194_test.py::test_run_2 | 6.11 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0d2f8e50> def test_run_2(topology_st): """ Check nsSSL3Ciphers: +rsa_aes_128_sha,+rsa_aes_256_sha rsa_aes_128_sha, tls_rsa_aes_128_sha, rsa_aes_256_sha, tls_rsa_aes_256_sha are enabled. default allowWeakCipher """ _header(topology_st, 'Test Case 3 - Check the ciphers availability for "+rsa_aes_128_sha,+rsa_aes_256_sha" with default allowWeakCipher') topology_st.standalone.simple_bind_s(DN_DM, PASSWORD) topology_st.standalone.modify_s(ENCRYPTION_DN, [(ldap.MOD_REPLACE, 'nsSSL3Ciphers', b'+rsa_aes_128_sha,+rsa_aes_256_sha')]) log.info("\n######################### Restarting the server ######################\n") topology_st.standalone.stop(timeout=10) os.system('mv %s %s.48194_1' % (topology_st.standalone.errlog, topology_st.standalone.errlog)) os.system('touch %s' % (topology_st.standalone.errlog)) time.sleep(2) topology_st.standalone.start(timeout=120) connectWithOpenssl(topology_st, 'DES-CBC3-SHA', False) connectWithOpenssl(topology_st, 'AES256-SHA256', False) > connectWithOpenssl(topology_st, 'AES128-SHA', True) /export/tests/tickets/ticket48194_test.py:184: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topology_st = <lib389.topologies.TopologyMain object at 0x7fac0d2f8e50> cipher = 'AES128-SHA', expect = True def connectWithOpenssl(topology_st, cipher, expect): """ Connect with the given cipher Condition: If expect is True, the handshake should be successful. If expect is False, the handshake should be refused with access log: "Cannot communicate securely with peer: no common encryption algorithm(s)." """ log.info("Testing %s -- expect to handshake %s", cipher, "successfully" if expect else "failed") myurl = 'localhost:%s' % LDAPSPORT cmdline = ['/usr/bin/openssl', 's_client', '-connect', myurl, '-cipher', cipher] strcmdline = " ".join(cmdline) log.info("Running cmdline: %s", strcmdline) try: proc = subprocess.Popen(cmdline, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.STDOUT) except ValueError: log.info("%s failed: %s", cmdline, ValueError) proc.kill() while True: l = proc.stdout.readline() if l == b"": break if b'Cipher is' in l: log.info("Found: %s", l) if expect: if b'(NONE)' in l: > assert False E assert False /export/tests/tickets/ticket48194_test.py:108: AssertionError -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:ticket48194_test.py:40 ############################################### [32mINFO [0m lib389:ticket48194_test.py:41 ####### Test Case 3 - Check the ciphers availability for "+rsa_aes_128_sha,+rsa_aes_256_sha" with default allowWeakCipher [32mINFO [0m lib389:ticket48194_test.py:42 ############################################### [32mINFO [0m lib389.utils:ticket48194_test.py:175 ######################### Restarting the server ###################### [32mINFO [0m lib389.utils:ticket48194_test.py:86 Testing DES-CBC3-SHA -- expect to handshake failed [32mINFO [0m lib389.utils:ticket48194_test.py:92 Running cmdline: /usr/bin/openssl s_client -connect localhost:63601 -cipher DES-CBC3-SHA [32mINFO [0m lib389.utils:ticket48194_test.py:105 Found: b'New, (NONE), Cipher is (NONE)\n' [32mINFO [0m lib389.utils:ticket48194_test.py:86 Testing AES256-SHA256 -- expect to handshake failed [32mINFO [0m lib389.utils:ticket48194_test.py:92 Running cmdline: /usr/bin/openssl s_client -connect localhost:63601 -cipher AES256-SHA256 [32mINFO [0m lib389.utils:ticket48194_test.py:105 Found: b'New, (NONE), Cipher is (NONE)\n' [32mINFO [0m lib389.utils:ticket48194_test.py:86 Testing AES128-SHA -- expect to handshake successfully [32mINFO [0m lib389.utils:ticket48194_test.py:92 Running cmdline: /usr/bin/openssl s_client -connect localhost:63601 -cipher AES128-SHA [32mINFO [0m lib389.utils:ticket48194_test.py:105 Found: b'New, (NONE), Cipher is (NONE)\n' | |||
Failed | tickets/ticket48194_test.py::test_run_4 | 6.48 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0d2f8e50> def test_run_4(topology_st): """ Check no nsSSL3Ciphers Default ciphers are enabled. default allowWeakCipher """ _header(topology_st, 'Test Case 5 - Check no nsSSL3Ciphers (-all) with default allowWeakCipher') topology_st.standalone.simple_bind_s(DN_DM, PASSWORD) topology_st.standalone.modify_s(ENCRYPTION_DN, [(ldap.MOD_DELETE, 'nsSSL3Ciphers', b'-all')]) log.info("\n######################### Restarting the server ######################\n") topology_st.standalone.stop(timeout=10) os.system('mv %s %s.48194_3' % (topology_st.standalone.errlog, topology_st.standalone.errlog)) os.system('touch %s' % (topology_st.standalone.errlog)) time.sleep(2) topology_st.standalone.start(timeout=120) > connectWithOpenssl(topology_st, 'DES-CBC3-SHA', False) /export/tests/tickets/ticket48194_test.py:228: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topology_st = <lib389.topologies.TopologyMain object at 0x7fac0d2f8e50> cipher = 'DES-CBC3-SHA', expect = False def connectWithOpenssl(topology_st, cipher, expect): """ Connect with the given cipher Condition: If expect is True, the handshake should be successful. If expect is False, the handshake should be refused with access log: "Cannot communicate securely with peer: no common encryption algorithm(s)." """ log.info("Testing %s -- expect to handshake %s", cipher, "successfully" if expect else "failed") myurl = 'localhost:%s' % LDAPSPORT cmdline = ['/usr/bin/openssl', 's_client', '-connect', myurl, '-cipher', cipher] strcmdline = " ".join(cmdline) log.info("Running cmdline: %s", strcmdline) try: proc = subprocess.Popen(cmdline, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.STDOUT) except ValueError: log.info("%s failed: %s", cmdline, ValueError) proc.kill() while True: l = proc.stdout.readline() if l == b"": break if b'Cipher is' in l: log.info("Found: %s", l) if expect: if b'(NONE)' in l: assert False else: proc.stdin.close() assert True else: if b'(NONE)' in l: assert True else: proc.stdin.close() > assert False E assert False /export/tests/tickets/ticket48194_test.py:117: AssertionError -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:ticket48194_test.py:40 ############################################### [32mINFO [0m lib389:ticket48194_test.py:41 ####### Test Case 5 - Check no nsSSL3Ciphers (-all) with default allowWeakCipher [32mINFO [0m lib389:ticket48194_test.py:42 ############################################### [32mINFO [0m lib389.utils:ticket48194_test.py:221 ######################### Restarting the server ###################### [32mINFO [0m lib389.utils:ticket48194_test.py:86 Testing DES-CBC3-SHA -- expect to handshake failed [32mINFO [0m lib389.utils:ticket48194_test.py:92 Running cmdline: /usr/bin/openssl s_client -connect localhost:63601 -cipher DES-CBC3-SHA [32mINFO [0m lib389.utils:ticket48194_test.py:105 Found: b'New, TLSv1.3, Cipher is TLS_AES_128_GCM_SHA256\n' | |||
Failed | tickets/ticket48194_test.py::test_run_5 | 6.08 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0d2f8e50> def test_run_5(topology_st): """ Check nsSSL3Ciphers: default Default ciphers are enabled. default allowWeakCipher """ _header(topology_st, 'Test Case 6 - Check default nsSSL3Ciphers (default setting) with default allowWeakCipher') topology_st.standalone.simple_bind_s(DN_DM, PASSWORD) topology_st.standalone.modify_s(ENCRYPTION_DN, [(ldap.MOD_REPLACE, 'nsSSL3Ciphers', b'default')]) log.info("\n######################### Restarting the server ######################\n") topology_st.standalone.stop(timeout=10) os.system('mv %s %s.48194_4' % (topology_st.standalone.errlog, topology_st.standalone.errlog)) os.system('touch %s' % (topology_st.standalone.errlog)) time.sleep(2) topology_st.standalone.start(timeout=120) > connectWithOpenssl(topology_st, 'DES-CBC3-SHA', False) /export/tests/tickets/ticket48194_test.py:250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topology_st = <lib389.topologies.TopologyMain object at 0x7fac0d2f8e50> cipher = 'DES-CBC3-SHA', expect = False def connectWithOpenssl(topology_st, cipher, expect): """ Connect with the given cipher Condition: If expect is True, the handshake should be successful. If expect is False, the handshake should be refused with access log: "Cannot communicate securely with peer: no common encryption algorithm(s)." """ log.info("Testing %s -- expect to handshake %s", cipher, "successfully" if expect else "failed") myurl = 'localhost:%s' % LDAPSPORT cmdline = ['/usr/bin/openssl', 's_client', '-connect', myurl, '-cipher', cipher] strcmdline = " ".join(cmdline) log.info("Running cmdline: %s", strcmdline) try: proc = subprocess.Popen(cmdline, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.STDOUT) except ValueError: log.info("%s failed: %s", cmdline, ValueError) proc.kill() while True: l = proc.stdout.readline() if l == b"": break if b'Cipher is' in l: log.info("Found: %s", l) if expect: if b'(NONE)' in l: assert False else: proc.stdin.close() assert True else: if b'(NONE)' in l: assert True else: proc.stdin.close() > assert False E assert False /export/tests/tickets/ticket48194_test.py:117: AssertionError -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:ticket48194_test.py:40 ############################################### [32mINFO [0m lib389:ticket48194_test.py:41 ####### Test Case 6 - Check default nsSSL3Ciphers (default setting) with default allowWeakCipher [32mINFO [0m lib389:ticket48194_test.py:42 ############################################### [32mINFO [0m lib389.utils:ticket48194_test.py:243 ######################### Restarting the server ###################### [32mINFO [0m lib389.utils:ticket48194_test.py:86 Testing DES-CBC3-SHA -- expect to handshake failed [32mINFO [0m lib389.utils:ticket48194_test.py:92 Running cmdline: /usr/bin/openssl s_client -connect localhost:63601 -cipher DES-CBC3-SHA [32mINFO [0m lib389.utils:ticket48194_test.py:105 Found: b'New, TLSv1.3, Cipher is TLS_AES_128_GCM_SHA256\n' | |||
Failed | tickets/ticket48194_test.py::test_run_6 | 6.12 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0d2f8e50> def test_run_6(topology_st): """ Check nsSSL3Ciphers: +all,-TLS_RSA_WITH_AES_256_CBC_SHA256 All ciphers are disabled. default allowWeakCipher """ _header(topology_st, 'Test Case 7 - Check nsSSL3Ciphers: +all,-TLS_RSA_WITH_AES_256_CBC_SHA256 with default allowWeakCipher') topology_st.standalone.simple_bind_s(DN_DM, PASSWORD) topology_st.standalone.modify_s(ENCRYPTION_DN, [(ldap.MOD_REPLACE, 'nsSSL3Ciphers', b'+all,-TLS_RSA_WITH_AES_256_CBC_SHA256')]) log.info("\n######################### Restarting the server ######################\n") topology_st.standalone.stop(timeout=10) os.system('mv %s %s.48194_5' % (topology_st.standalone.errlog, topology_st.standalone.errlog)) os.system('touch %s' % (topology_st.standalone.errlog)) time.sleep(2) topology_st.standalone.start(timeout=120) > connectWithOpenssl(topology_st, 'DES-CBC3-SHA', False) /export/tests/tickets/ticket48194_test.py:274: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topology_st = <lib389.topologies.TopologyMain object at 0x7fac0d2f8e50> cipher = 'DES-CBC3-SHA', expect = False def connectWithOpenssl(topology_st, cipher, expect): """ Connect with the given cipher Condition: If expect is True, the handshake should be successful. If expect is False, the handshake should be refused with access log: "Cannot communicate securely with peer: no common encryption algorithm(s)." """ log.info("Testing %s -- expect to handshake %s", cipher, "successfully" if expect else "failed") myurl = 'localhost:%s' % LDAPSPORT cmdline = ['/usr/bin/openssl', 's_client', '-connect', myurl, '-cipher', cipher] strcmdline = " ".join(cmdline) log.info("Running cmdline: %s", strcmdline) try: proc = subprocess.Popen(cmdline, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.STDOUT) except ValueError: log.info("%s failed: %s", cmdline, ValueError) proc.kill() while True: l = proc.stdout.readline() if l == b"": break if b'Cipher is' in l: log.info("Found: %s", l) if expect: if b'(NONE)' in l: assert False else: proc.stdin.close() assert True else: if b'(NONE)' in l: assert True else: proc.stdin.close() > assert False E assert False /export/tests/tickets/ticket48194_test.py:117: AssertionError -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:ticket48194_test.py:40 ############################################### [32mINFO [0m lib389:ticket48194_test.py:41 ####### Test Case 7 - Check nsSSL3Ciphers: +all,-TLS_RSA_WITH_AES_256_CBC_SHA256 with default allowWeakCipher [32mINFO [0m lib389:ticket48194_test.py:42 ############################################### [32mINFO [0m lib389.utils:ticket48194_test.py:267 ######################### Restarting the server ###################### [32mINFO [0m lib389.utils:ticket48194_test.py:86 Testing DES-CBC3-SHA -- expect to handshake failed [32mINFO [0m lib389.utils:ticket48194_test.py:92 Running cmdline: /usr/bin/openssl s_client -connect localhost:63601 -cipher DES-CBC3-SHA [32mINFO [0m lib389.utils:ticket48194_test.py:105 Found: b'New, TLSv1.3, Cipher is TLS_AES_128_GCM_SHA256\n' | |||
Failed | tickets/ticket48194_test.py::test_run_8 | 6.21 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0d2f8e50> def test_run_8(topology_st): """ Check nsSSL3Ciphers: default + allowWeakCipher: off Strong Default ciphers are enabled. """ _header(topology_st, 'Test Case 9 - Check default nsSSL3Ciphers (default setting + allowWeakCipher: off)') topology_st.standalone.simple_bind_s(DN_DM, PASSWORD) topology_st.standalone.modify_s(ENCRYPTION_DN, [(ldap.MOD_REPLACE, 'nsSSL3Ciphers', b'default'), (ldap.MOD_REPLACE, 'allowWeakCipher', b'off')]) log.info("\n######################### Restarting the server ######################\n") topology_st.standalone.stop(timeout=10) os.system('mv %s %s.48194_7' % (topology_st.standalone.errlog, topology_st.standalone.errlog)) os.system('touch %s' % (topology_st.standalone.errlog)) time.sleep(2) topology_st.standalone.start(timeout=120) > connectWithOpenssl(topology_st, 'DES-CBC3-SHA', False) /export/tests/tickets/ticket48194_test.py:297: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topology_st = <lib389.topologies.TopologyMain object at 0x7fac0d2f8e50> cipher = 'DES-CBC3-SHA', expect = False def connectWithOpenssl(topology_st, cipher, expect): """ Connect with the given cipher Condition: If expect is True, the handshake should be successful. If expect is False, the handshake should be refused with access log: "Cannot communicate securely with peer: no common encryption algorithm(s)." """ log.info("Testing %s -- expect to handshake %s", cipher, "successfully" if expect else "failed") myurl = 'localhost:%s' % LDAPSPORT cmdline = ['/usr/bin/openssl', 's_client', '-connect', myurl, '-cipher', cipher] strcmdline = " ".join(cmdline) log.info("Running cmdline: %s", strcmdline) try: proc = subprocess.Popen(cmdline, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.STDOUT) except ValueError: log.info("%s failed: %s", cmdline, ValueError) proc.kill() while True: l = proc.stdout.readline() if l == b"": break if b'Cipher is' in l: log.info("Found: %s", l) if expect: if b'(NONE)' in l: assert False else: proc.stdin.close() assert True else: if b'(NONE)' in l: assert True else: proc.stdin.close() > assert False E assert False /export/tests/tickets/ticket48194_test.py:117: AssertionError -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:ticket48194_test.py:40 ############################################### [32mINFO [0m lib389:ticket48194_test.py:41 ####### Test Case 9 - Check default nsSSL3Ciphers (default setting + allowWeakCipher: off) [32mINFO [0m lib389:ticket48194_test.py:42 ############################################### [32mINFO [0m lib389.utils:ticket48194_test.py:290 ######################### Restarting the server ###################### [32mINFO [0m lib389.utils:ticket48194_test.py:86 Testing DES-CBC3-SHA -- expect to handshake failed [32mINFO [0m lib389.utils:ticket48194_test.py:92 Running cmdline: /usr/bin/openssl s_client -connect localhost:63601 -cipher DES-CBC3-SHA [32mINFO [0m lib389.utils:ticket48194_test.py:105 Found: b'New, TLSv1.3, Cipher is TLS_AES_128_GCM_SHA256\n' | |||
Failed | tickets/ticket48226_test.py::test_ticket48226_set_purgedelay | 0.01 | |
topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac0d0be790> def test_ticket48226_set_purgedelay(topology_m2): args = {REPLICA_PURGE_DELAY: '5', REPLICA_PURGE_INTERVAL: '5'} try: > topology_m2.ms["master1"].replica.setProperties(DEFAULT_SUFFIX, None, None, args) /export/tests/tickets/ticket48226_test.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.replica.ReplicaLegacy object at 0x7fac0d246f50> suffix = 'dc=example,dc=com', replica_dn = None, replica_entry = None properties = {'ReplicaPurgeDelay': '5', 'ReplicaTombstonePurgeInterval': '5'} def setProperties(self, suffix=None, replica_dn=None, replica_entry=None, properties=None): ''' Set the properties of the replica. If an 'replica_entry' (Entry) is provided, it updates the entry, else it updates the entry on the server. If the 'replica_dn' is provided it retrieves the entry using it, else it retrieve the replica using the 'suffix'. @param suffix : suffix stored in that replica (online update) @param replica_dn: DN of the replica (online update) @param replica_entry: Entry of a replica (offline update) @param properties: dictionary of properties Supported properties are: REPLICA_SUFFIX REPLICA_ID REPLICA_TYPE REPLICA_BINDDN REPLICA_PURGE_DELAY REPLICA_PRECISE_PURGING REPLICA_REFERRAL REPLICA_FLAGS @return None @raise ValueError: if unknown properties ValueError: if invalid replica_entry ValueError: if replica_dn or suffix are not associated to a replica ''' # No properties provided if len(properties) == 0: return # check that the given properties are valid for prop in properties: # skip the prefix to add/del value if not inProperties(prop, REPLICA_PROPNAME_TO_ATTRNAME): raise ValueError("unknown property: %s" % prop) else: self.log.debug("setProperties: %s:%s", prop, properties[prop]) # At least we need to have suffix/replica_dn/replica_entry if not suffix and not replica_dn and not replica_entry: raise InvalidArgumentError("suffix and replica_dn and replica_" + "entry are missing") # the caller provides a set of properties to set into a replica entry if replica_entry: if not isinstance(replica_entry, Entry): raise ValueError("invalid instance of the replica_entry") # that is fine, now set the values for prop in properties: val = rawProperty(prop) # for Entry update it is a replace replica_entry.update({REPLICA_PROPNAME_TO_ATTRNAME[val]: properties[prop]}) return # If it provides the suffix or the replicaDN, replica.list will # return the appropriate entry ents = self.conn.replica.list(suffix=suffix, replica_dn=replica_dn) if len(ents) != 1: if replica_dn: raise ValueError("invalid replica DN: %s" % replica_dn) else: raise ValueError("invalid suffix: %s" % suffix) # build the MODS mods = [] for prop in properties: # take the operation type from the property name val = rawProperty(prop) if str(prop).startswith('+'): op = ldap.MOD_ADD elif str(prop).startswith('-'): op = ldap.MOD_DELETE else: op = ldap.MOD_REPLACE mods.append((op, REPLICA_PROPNAME_TO_ATTRNAME[val], properties[prop])) # that is fine now to apply the MOD > self.conn.modify_s(ents[0].dn, mods) /usr/local/lib/python3.7/site-packages/lib389/replica.py:268: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('cn=replica,cn=dc\\3Dexample\\2Cdc\\3Dcom,cn=mapping tree,cn=config', [(2, 'nsds5ReplicaPurgeDelay', '5'), (2, 'nsds5ReplicaTombstonePurgeInterval', '5')]) kwargs = {} c_stack = [FrameInfo(frame=<frame at 0x55c1b3181b80, file '/usr/local/lib/python3.7/site-packages/lib389/__init__.py', line 180,..., code_context=[' firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,\n'], index=0), ...] frame = FrameInfo(frame=<frame at 0x55c1b2335f10, file '/usr/local/lib/python3.7/site-packages/lib389/replica.py', line 268, c...ca.py', lineno=268, function='setProperties', code_context=[' self.conn.modify_s(ents[0].dn, mods)\n'], index=0) def inner(*args, **kwargs): if name in [ 'add_s', 'bind_s', 'delete_s', 'modify_s', 'modrdn_s', 'rename_s', 'sasl_interactive_bind_s', 'search_s', 'search_ext_s', 'simple_bind_s', 'unbind_s', 'getEntry', ] and not ('escapehatch' in kwargs and kwargs['escapehatch'] == 'i am sure'): c_stack = inspect.stack() frame = c_stack[1] warnings.warn(DeprecationWarning("Use of raw ldap function %s. This will be removed in a future release. " "Found in: %s:%s" % (name, frame.filename, frame.lineno))) # Later, we will add a sleep here to make it even more painful. # Finally, it will raise an exception. elif 'escapehatch' in kwargs: kwargs.pop('escapehatch') if name == 'result': objtype, data = f(*args, **kwargs) # data is either a 2-tuple or a list of 2-tuples # print data if data: if isinstance(data, tuple): return objtype, Entry(data) elif isinstance(data, list): # AD sends back these search references # if objtype == ldap.RES_SEARCH_RESULT and \ # isinstance(data[-1],tuple) and \ # not data[-1][0]: # print "Received search reference: " # pprint.pprint(data[-1][1]) # data.pop() # remove the last non-entry element return objtype, [Entry(x) for x in data] else: raise TypeError("unknown data type %s returned by result" % type(data)) else: return objtype, data elif name.startswith('add'): # the first arg is self # the second and third arg are the dn and the data to send # We need to convert the Entry into the format used by # python-ldap ent = args[0] if isinstance(ent, Entry): return f(ent.dn, ent.toTupleList(), *args[2:]) else: return f(*args, **kwargs) else: > return f(*args, **kwargs) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0c673610> dn = 'cn=replica,cn=dc\\3Dexample\\2Cdc\\3Dcom,cn=mapping tree,cn=config' modlist = [(2, 'nsds5ReplicaPurgeDelay', '5'), (2, 'nsds5ReplicaTombstonePurgeInterval', '5')] def modify_s(self,dn,modlist): > return self.modify_ext_s(dn,modlist,None,None) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:631: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('cn=replica,cn=dc\\3Dexample\\2Cdc\\3Dcom,cn=mapping tree,cn=config', [(2, 'nsds5ReplicaPurgeDelay', '5'), (2, 'nsds5ReplicaTombstonePurgeInterval', '5')], None, None) kwargs = {} def inner(*args, **kwargs): if name in [ 'add_s', 'bind_s', 'delete_s', 'modify_s', 'modrdn_s', 'rename_s', 'sasl_interactive_bind_s', 'search_s', 'search_ext_s', 'simple_bind_s', 'unbind_s', 'getEntry', ] and not ('escapehatch' in kwargs and kwargs['escapehatch'] == 'i am sure'): c_stack = inspect.stack() frame = c_stack[1] warnings.warn(DeprecationWarning("Use of raw ldap function %s. This will be removed in a future release. " "Found in: %s:%s" % (name, frame.filename, frame.lineno))) # Later, we will add a sleep here to make it even more painful. # Finally, it will raise an exception. elif 'escapehatch' in kwargs: kwargs.pop('escapehatch') if name == 'result': objtype, data = f(*args, **kwargs) # data is either a 2-tuple or a list of 2-tuples # print data if data: if isinstance(data, tuple): return objtype, Entry(data) elif isinstance(data, list): # AD sends back these search references # if objtype == ldap.RES_SEARCH_RESULT and \ # isinstance(data[-1],tuple) and \ # not data[-1][0]: # print "Received search reference: " # pprint.pprint(data[-1][1]) # data.pop() # remove the last non-entry element return objtype, [Entry(x) for x in data] else: raise TypeError("unknown data type %s returned by result" % type(data)) else: return objtype, data elif name.startswith('add'): # the first arg is self # the second and third arg are the dn and the data to send # We need to convert the Entry into the format used by # python-ldap ent = args[0] if isinstance(ent, Entry): return f(ent.dn, ent.toTupleList(), *args[2:]) else: return f(*args, **kwargs) else: > return f(*args, **kwargs) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0c673610> dn = 'cn=replica,cn=dc\\3Dexample\\2Cdc\\3Dcom,cn=mapping tree,cn=config' modlist = [(2, 'nsds5ReplicaPurgeDelay', '5'), (2, 'nsds5ReplicaTombstonePurgeInterval', '5')] serverctrls = None, clientctrls = None def modify_ext_s(self,dn,modlist,serverctrls=None,clientctrls=None): > msgid = self.modify_ext(dn,modlist,serverctrls,clientctrls) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:603: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('cn=replica,cn=dc\\3Dexample\\2Cdc\\3Dcom,cn=mapping tree,cn=config', [(2, 'nsds5ReplicaPurgeDelay', '5'), (2, 'nsds5ReplicaTombstonePurgeInterval', '5')], None, None) kwargs = {} def inner(*args, **kwargs): if name in [ 'add_s', 'bind_s', 'delete_s', 'modify_s', 'modrdn_s', 'rename_s', 'sasl_interactive_bind_s', 'search_s', 'search_ext_s', 'simple_bind_s', 'unbind_s', 'getEntry', ] and not ('escapehatch' in kwargs and kwargs['escapehatch'] == 'i am sure'): c_stack = inspect.stack() frame = c_stack[1] warnings.warn(DeprecationWarning("Use of raw ldap function %s. This will be removed in a future release. " "Found in: %s:%s" % (name, frame.filename, frame.lineno))) # Later, we will add a sleep here to make it even more painful. # Finally, it will raise an exception. elif 'escapehatch' in kwargs: kwargs.pop('escapehatch') if name == 'result': objtype, data = f(*args, **kwargs) # data is either a 2-tuple or a list of 2-tuples # print data if data: if isinstance(data, tuple): return objtype, Entry(data) elif isinstance(data, list): # AD sends back these search references # if objtype == ldap.RES_SEARCH_RESULT and \ # isinstance(data[-1],tuple) and \ # not data[-1][0]: # print "Received search reference: " # pprint.pprint(data[-1][1]) # data.pop() # remove the last non-entry element return objtype, [Entry(x) for x in data] else: raise TypeError("unknown data type %s returned by result" % type(data)) else: return objtype, data elif name.startswith('add'): # the first arg is self # the second and third arg are the dn and the data to send # We need to convert the Entry into the format used by # python-ldap ent = args[0] if isinstance(ent, Entry): return f(ent.dn, ent.toTupleList(), *args[2:]) else: return f(*args, **kwargs) else: > return f(*args, **kwargs) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0c673610> dn = 'cn=replica,cn=dc\\3Dexample\\2Cdc\\3Dcom,cn=mapping tree,cn=config' modlist = [(2, 'nsds5ReplicaPurgeDelay', '5'), (2, 'nsds5ReplicaTombstonePurgeInterval', '5')] serverctrls = None, clientctrls = None def modify_ext(self,dn,modlist,serverctrls=None,clientctrls=None): """ modify_ext(dn, modlist[,serverctrls=None[,clientctrls=None]]) -> int """ if PY2: dn = self._bytesify_input('dn', dn) modlist = self._bytesify_modlist('modlist', modlist, with_opcode=True) > return self._ldap_call(self._l.modify_ext,dn,modlist,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls)) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:600: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<built-in method modify_ext of LDAP object at 0x7fac0c9100f0>, 'cn=replica,cn=dc\\3Dexample\\2Cdc\\3Dcom,cn=mapping tree,cn=config', [(2, 'nsds5ReplicaPurgeDelay', '5'), (2, 'nsds5ReplicaTombstonePurgeInterval', '5')], None, None) kwargs = {} def inner(*args, **kwargs): if name in [ 'add_s', 'bind_s', 'delete_s', 'modify_s', 'modrdn_s', 'rename_s', 'sasl_interactive_bind_s', 'search_s', 'search_ext_s', 'simple_bind_s', 'unbind_s', 'getEntry', ] and not ('escapehatch' in kwargs and kwargs['escapehatch'] == 'i am sure'): c_stack = inspect.stack() frame = c_stack[1] warnings.warn(DeprecationWarning("Use of raw ldap function %s. This will be removed in a future release. " "Found in: %s:%s" % (name, frame.filename, frame.lineno))) # Later, we will add a sleep here to make it even more painful. # Finally, it will raise an exception. elif 'escapehatch' in kwargs: kwargs.pop('escapehatch') if name == 'result': objtype, data = f(*args, **kwargs) # data is either a 2-tuple or a list of 2-tuples # print data if data: if isinstance(data, tuple): return objtype, Entry(data) elif isinstance(data, list): # AD sends back these search references # if objtype == ldap.RES_SEARCH_RESULT and \ # isinstance(data[-1],tuple) and \ # not data[-1][0]: # print "Received search reference: " # pprint.pprint(data[-1][1]) # data.pop() # remove the last non-entry element return objtype, [Entry(x) for x in data] else: raise TypeError("unknown data type %s returned by result" % type(data)) else: return objtype, data elif name.startswith('add'): # the first arg is self # the second and third arg are the dn and the data to send # We need to convert the Entry into the format used by # python-ldap ent = args[0] if isinstance(ent, Entry): return f(ent.dn, ent.toTupleList(), *args[2:]) else: return f(*args, **kwargs) else: > return f(*args, **kwargs) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0c673610> func = <built-in method modify_ext of LDAP object at 0x7fac0c9100f0> args = ('cn=replica,cn=dc\\3Dexample\\2Cdc\\3Dcom,cn=mapping tree,cn=config', [(2, 'nsds5ReplicaPurgeDelay', '5'), (2, 'nsds5ReplicaTombstonePurgeInterval', '5')], None, None) kwargs = {}, diagnostic_message_success = 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 TypeError: ('Tuple_to_LDAPMod(): expected a byte string in the list', '5') /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: TypeError During handling of the above exception, another exception occurred: topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac0d0be790> def test_ticket48226_set_purgedelay(topology_m2): args = {REPLICA_PURGE_DELAY: '5', REPLICA_PURGE_INTERVAL: '5'} try: topology_m2.ms["master1"].replica.setProperties(DEFAULT_SUFFIX, None, None, args) except: log.fatal('Failed to configure replica') > assert False E assert False /export/tests/tickets/ticket48226_test.py:30: AssertionError -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 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:106 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:139 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:153 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:1940 SUCCESS: bootstrap to ldap://server.example.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2009 SUCCESS: joined master from ldap://server.example.com:39001 to ldap://server.example.com:39002 [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master1 to master2 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 already exists -------------------------------Captured log call-------------------------------- [31mCRITICAL[0m tests.tickets.ticket48226_test:ticket48226_test.py:29 Failed to configure replica | |||
Failed | tickets/ticket48226_test.py::test_ticket48226_1 | 0.04 | |
topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac0d0be790> def test_ticket48226_1(topology_m2): name = 'test_entry' dn = "cn=%s,%s" % (name, SUFFIX) topology_m2.ms["master1"].add_s(Entry((dn, {'objectclass': "top person".split(), 'sn': name, 'cn': name}))) # First do an update that is replicated mods = [(ldap.MOD_ADD, 'description', '5')] > topology_m2.ms["master1"].modify_s(dn, mods) /export/tests/tickets/ticket48226_test.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:631: in modify_s return self.modify_ext_s(dn,modlist,None,None) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:603: in modify_ext_s msgid = self.modify_ext(dn,modlist,serverctrls,clientctrls) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:600: in modify_ext return self._ldap_call(self._l.modify_ext,dn,modlist,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls)) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0c673610> func = <built-in method modify_ext of LDAP object at 0x7fac0c9100f0> args = ('cn=test_entry,dc=example,dc=com', [(0, 'description', '5')], None, None) kwargs = {}, diagnostic_message_success = 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 TypeError: ('Tuple_to_LDAPMod(): expected a byte string in the list', '5') /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: TypeError | |||
Failed | tickets/ticket48233_test.py::test_ticket48233 | 5.78 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0c9f7b50> def test_ticket48233(topology_st): """Test that ACI's that use IP restrictions do not crash the server at shutdown """ # Add aci to restrict access my ip aci_text = ('(targetattr != "userPassword")(version 3.0;acl ' + '"Enable anonymous access - IP"; allow (read,compare,search)' + '(userdn = "ldap:///anyone") and (ip="127.0.0.1");)') try: topology_st.standalone.modify_s(DEFAULT_SUFFIX, [(ldap.MOD_ADD, 'aci', ensure_bytes(aci_text))]) except ldap.LDAPError as e: log.error('Failed to add aci: ({}) error {}'.format(aci_text,e.args[0]['desc'])) assert False time.sleep(1) # Anonymous search to engage the aci try: topology_st.standalone.simple_bind_s("", "") except ldap.LDAPError as e: log.error('Failed to anonymously bind -error {}'.format(e.args[0]['desc'])) assert False try: entries = topology_st.standalone.search_s(DEFAULT_SUFFIX, ldap.SCOPE_SUBTREE, 'objectclass=*') if not entries: log.fatal('Failed return an entries from search') assert False except ldap.LDAPError as e: log.fatal('Search failed: ' + e.message['desc']) assert False # Restart the server topology_st.standalone.restart(timeout=10) # Check for crash if topology_st.standalone.detectDisorderlyShutdown(): log.fatal('Server crashed!') > assert False E assert False /export/tests/tickets/ticket48233_test.py:52: AssertionError -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. -------------------------------Captured log call-------------------------------- [31mCRITICAL[0m tests.tickets.ticket48233_test:ticket48233_test.py:51 Server crashed! | |||
Failed | tickets/ticket48637_test.py::test_ticket48637 | 5.15 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0c6b1410> def test_ticket48637(topology_st): """Test for entry cache corruption This requires automember and managed entry plugins to be configured. Then remove the group that automember would use to trigger a failure when adding a new entry. Automember fails, and then managed entry also fails. Make sure a base search on the entry returns error 32 """ if DEBUGGING: # Add debugging steps(if any)... pass # # Add our setup entries # try: topology_st.standalone.add_s(Entry((PEOPLE_OU, { 'objectclass': 'top organizationalunit'.split(), 'ou': 'people'}))) except ldap.ALREADY_EXISTS: pass except ldap.LDAPError as e: log.fatal('Failed to add people ou: ' + str(e)) assert False try: topology_st.standalone.add_s(Entry((GROUP_OU, { 'objectclass': 'top organizationalunit'.split(), 'ou': 'groups'}))) except ldap.ALREADY_EXISTS: pass except ldap.LDAPError as e: log.fatal('Failed to add groups ou: ' + str(e)) assert False try: topology_st.standalone.add_s(Entry((MEP_OU, { 'objectclass': 'top extensibleObject'.split(), 'ou': 'mep'}))) except ldap.LDAPError as e: log.fatal('Failed to add MEP ou: ' + str(e)) assert False try: topology_st.standalone.add_s(Entry((MEP_TEMPLATE, { 'objectclass': 'top mepTemplateEntry'.split(), 'cn': 'mep template', 'mepRDNAttr': 'cn', 'mepStaticAttr': 'objectclass: groupofuniquenames', 'mepMappedAttr': 'cn: $uid'}))) except ldap.LDAPError as e: log.fatal('Failed to add MEP ou: ' + str(e)) assert False # # Configure automember # try: topology_st.standalone.add_s(Entry((AUTO_DN, { 'cn': 'All Users', 'objectclass': ['top', 'autoMemberDefinition'], 'autoMemberScope': 'dc=example,dc=com', 'autoMemberFilter': 'objectclass=person', 'autoMemberDefaultGroup': GROUP_DN, 'autoMemberGroupingAttr': 'uniquemember:dn'}))) except ldap.LDAPError as e: log.fatal('Failed to configure automember plugin : ' + str(e)) assert False # # Configure managed entry plugin # try: topology_st.standalone.add_s(Entry((MEP_DN, { 'cn': 'MEP Definition', 'objectclass': ['top', 'extensibleObject'], 'originScope': 'ou=people,dc=example,dc=com', 'originFilter': 'objectclass=person', 'managedBase': 'ou=groups,dc=example,dc=com', 'managedTemplate': MEP_TEMPLATE}))) except ldap.LDAPError as e: log.fatal('Failed to configure managed entry plugin : ' + str(e)) assert False # # Restart DS # topology_st.standalone.restart(timeout=30) # # Add entry that should fail since the automember group does not exist # try: topology_st.standalone.add_s(Entry((USER_DN, { 'uid': 'test', 'objectclass': ['top', 'person', 'extensibleObject'], 'sn': 'test', 'cn': 'test'}))) except ldap.LDAPError as e: pass # # Search for the entry - it should not be returned # try: entry = topology_st.standalone.search_s(USER_DN, ldap.SCOPE_SUBTREE, 'objectclass=*') if entry: log.fatal('Entry was incorrectly returned') > assert False E assert False /export/tests/tickets/ticket48637_test.py:139: AssertionError -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. -------------------------------Captured log call-------------------------------- [31mCRITICAL[0m tests.tickets.ticket48637_test:ticket48637_test.py:138 Entry was incorrectly returned | |||
Failed | tickets/ticket48755_test.py::test_ticket48755 | 0.00 | |
Fixture "add_ou_entry" called directly. Fixtures are not meant to be called directly, but are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information about fixtures, and https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly about how to update your code. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 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:106 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:139 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:153 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:1940 SUCCESS: bootstrap to ldap://server.example.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2009 SUCCESS: joined master from ldap://server.example.com:39001 to ldap://server.example.com:39002 [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master1 to master2 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 already exists -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.tickets.ticket48755_test:ticket48755_test.py:84 Ticket 48755 - moving an entry could make the online init fail [32mINFO [0m tests.tickets.ticket48755_test:ticket48755_test.py:89 Generating DIT_0 | |||
Failed | tickets/ticket48784_test.py::test_ticket48784 | 27.98 | |
Fixture "add_entry" called directly. Fixtures are not meant to be called directly, but are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information about fixtures, and https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly about how to update your code. -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 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:106 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:139 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:153 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:1940 SUCCESS: bootstrap to ldap://server.example.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2009 SUCCESS: joined master from ldap://server.example.com:39001 to ldap://server.example.com:39002 [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master1 to master2 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 already exists -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.tickets.ticket48784_test:ticket48784_test.py:90 Ticket 48784 - Allow usage of OpenLDAP libraries that don't use NSS for crypto [32mINFO [0m tests.tickets.ticket48784_test:ticket48784_test.py:50 ######################### Configure SSL/TLS agreements ###################### [32mINFO [0m tests.tickets.ticket48784_test:ticket48784_test.py:51 ######################## master1 <-- startTLS -> master2 ##################### [32mINFO [0m tests.tickets.ticket48784_test:ticket48784_test.py:53 ##### Update the agreement of master1 [32mINFO [0m tests.tickets.ticket48784_test:ticket48784_test.py:58 ##### Update the agreement of master2 [32mINFO [0m tests.tickets.ticket48784_test:ticket48784_test.py:68 ######################### Configure SSL/TLS agreements Done ###################### | |||
Failed | tickets/ticket48798_test.py::test_ticket48798 | 13.03 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0c7cb210> def test_ticket48798(topology_st): """ Test DH param sizes offered by DS. """ topology_st.standalone.enable_tls() # Confirm that we have a connection, and that it has DH # Open a socket to the port. # Check the security settings. > size = check_socket_dh_param_size(topology_st.standalone.host, topology_st.standalone.sslport) /export/tests/tickets/ticket48798_test.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /export/tests/tickets/ticket48798_test.py:23: in check_socket_dh_param_size output = check_output(cmd, shell=True) /usr/lib64/python3.7/subprocess.py:411: in check_output **kwargs).stdout _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = ('echo quit | openssl s_client -connect server.example.com:63601 -msg -cipher DH | grep -A 1 ServerKeyExchange',) kwargs = {'shell': True, 'stdout': -1} process = <subprocess.Popen object at 0x7fac0c7cbb50>, stdout = b'' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: raise CalledProcessError(retcode, process.args, > output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command 'echo quit | openssl s_client -connect server.example.com:63601 -msg -cipher DH | grep -A 1 ServerKeyExchange' returned non-zero exit status 1. /usr/lib64/python3.7/subprocess.py:512: CalledProcessError -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. ------------------------------Captured stderr call------------------------------ depth=1 C = AU, ST = Queensland, L = 389ds, O = testing, CN = ssca.389ds.example.com verify error:num=19:self signed certificate in certificate chain verify return:1 depth=1 C = AU, ST = Queensland, L = 389ds, O = testing, CN = ssca.389ds.example.com verify return:1 depth=0 C = AU, ST = Queensland, L = 389ds, O = testing, GN = 3fbce292-209e-45b5-a9af-d48d3f284d6c, CN = server.example.com verify return:1 DONE | |||
Failed | tickets/ticket48961_test.py::test_ticket48961_storagescheme | 0.51 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0cb3d690> def test_ticket48961_storagescheme(topology_st): """ Test deleting of the storage scheme. """ default = topology_st.standalone.config.get_attr_val('passwordStorageScheme') # Change it topology_st.standalone.config.set('passwordStorageScheme', 'CLEAR') # Now delete it > topology_st.standalone.config.remove('passwordStorageScheme', None) /export/tests/tickets/ticket48961_test.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:306: in remove self.set(key, value, action=ldap.MOD_DELETE) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:438: in set escapehatch='i am sure') /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:604: in modify_ext_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:751: in result3 resp_ctrl_classes=resp_ctrl_classes /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:758: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0cb2ed90> func = <built-in method result4 of LDAP object at 0x7fac0c959b70> args = (5, 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.OPERATIONS_ERROR: {'desc': 'Operations error', 'info': 'passwordStorageScheme: deleting the value is not allowed.'} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: OPERATIONS_ERROR -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Failed | tickets/ticket48961_test.py::test_ticket48961_deleteall | 0.00 | |
topology_st = <lib389.topologies.TopologyMain object at 0x7fac0cb3d690> def test_ticket48961_deleteall(topology_st): """ Test that we can delete all valid attrs, and that a few are rejected. """ attr_to_test = { 'nsslapd-listenhost': 'localhost', 'nsslapd-securelistenhost': 'localhost', 'nsslapd-allowed-sasl-mechanisms': 'GSSAPI', 'nsslapd-svrtab': 'Some bogus data', # This one could reset? } attr_to_fail = { # These are the values that should always be dn dse.ldif too 'nsslapd-localuser': 'dirsrv', 'nsslapd-defaultnamingcontext': 'dc=example,dc=com', # Can't delete 'nsslapd-accesslog': '/opt/dirsrv/var/log/dirsrv/slapd-standalone/access', 'nsslapd-auditlog': '/opt/dirsrv/var/log/dirsrv/slapd-standalone/audit', 'nsslapd-errorlog': '/opt/dirsrv/var/log/dirsrv/slapd-standalone/errors', 'nsslapd-tmpdir': '/tmp', 'nsslapd-rundir': '/opt/dirsrv/var/run/dirsrv', 'nsslapd-bakdir': '/opt/dirsrv/var/lib/dirsrv/slapd-standalone/bak', 'nsslapd-certdir': '/opt/dirsrv/etc/dirsrv/slapd-standalone', 'nsslapd-instancedir': '/opt/dirsrv/lib/dirsrv/slapd-standalone', 'nsslapd-ldifdir': '/opt/dirsrv/var/lib/dirsrv/slapd-standalone/ldif', 'nsslapd-lockdir': '/opt/dirsrv/var/lock/dirsrv/slapd-standalone', 'nsslapd-schemadir': '/opt/dirsrv/etc/dirsrv/slapd-standalone/schema', 'nsslapd-workingdir': '/opt/dirsrv/var/log/dirsrv/slapd-standalone', 'nsslapd-localhost': 'localhost.localdomain', # These can't be reset, but might be in dse.ldif. Probably in libglobs. 'nsslapd-certmap-basedn': 'cn=certmap,cn=config', 'nsslapd-port': '38931', # Can't delete 'nsslapd-secureport': '636', # Can't delete 'nsslapd-conntablesize': '1048576', 'nsslapd-rootpw': '{SSHA512}...', # These are hardcoded server magic. 'nsslapd-hash-filters': 'off', # Can't delete 'nsslapd-requiresrestart': 'cn=config:nsslapd-port', # Can't change 'nsslapd-plugin': 'cn=case ignore string syntax,cn=plugins,cn=config', # Can't change 'nsslapd-privatenamespaces': 'cn=schema', # Can't change 'nsslapd-allowed-to-delete-attrs': 'None', # Can't delete 'nsslapd-accesslog-list': 'List!', # Can't delete 'nsslapd-auditfaillog-list': 'List!', 'nsslapd-auditlog-list': 'List!', 'nsslapd-errorlog-list': 'List!', 'nsslapd-config': 'cn=config', 'nsslapd-versionstring': '389-Directory/1.3.6.0', 'objectclass': '', 'cn': '', # These are the odd values 'nsslapd-backendconfig': 'cn=config,cn=userRoot,cn=ldbm database,cn=plugins,cn=config', # Doesn't exist? 'nsslapd-betype': 'ldbm database', # Doesn't exist? 'nsslapd-connection-buffer': 1, # Has an ldap problem 'nsslapd-malloc-mmap-threshold': '-10', # Defunct anyway 'nsslapd-malloc-mxfast': '-10', 'nsslapd-malloc-trim-threshold': '-10', 'nsslapd-referralmode': '', 'nsslapd-saslpath': '', 'passwordadmindn': '', } > config_entry = topology_st.standalone.config.raw_entry() /export/tests/tickets/ticket48961_test.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.config.Config object at 0x7fac0cb39c50>, name = 'raw_entry' def __getattr__(self, name): """This enables a bit of magic to allow us to wrap any function ending with _json to it's form without json, then transformed. It means your function *must* return it's values as a dict of: { attr : [val, val, ...], attr : [], ... } to be supported. """ if (name.endswith('_json')): int_name = name.replace('_json', '') pfunc = partial(self._jsonify, getattr(self, int_name)) return pfunc else: > raise AttributeError("'%s' object has no attribute '%s'" % (self.__class__.__name__, name)) E AttributeError: 'Config' object has no attribute 'raw_entry' /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:200: AttributeError | |||
Failed | tickets/ticket48973_test.py::test_ticket48973_homeDirectory_indexing | 10.40 | |
topology = <tests.tickets.ticket48973_test.TopologyStandalone object at 0x7fac0c9b3190> def test_ticket48973_homeDirectory_indexing(topology): """ Check that homedirectory is indexed with syntax (ces) - triggers index - no failure on index - do a search indexed with exact value (ces) and no default_mr_indexer_create warning - do a search indexed with uppercase value (ces) and no default_mr_indexer_create warning """ entry_ext = 1 try: ent = topology.standalone.getEntry(HOMEDIRECTORY_INDEX, ldap.SCOPE_BASE) except ldap.NO_SUCH_OBJECT: topology.standalone.add_s(Entry((HOMEDIRECTORY_INDEX, { 'objectclass': "top nsIndex".split(), 'cn': HOMEDIRECTORY_CN, 'nsSystemIndex': 'false', 'nsIndexType': 'eq'}))) args = {TASK_WAIT: True} topology.standalone.tasks.reindex(suffix=SUFFIX, attrname='homeDirectory', args=args) log.info("Check indexing succeeded with no specified matching rule") assert not _find_first_indexing_failure(topology, "unknown or invalid matching rule") assert not _find_first_indexing_failure(topology, "default_mr_indexer_create: warning") assert not _find_first_indexing_failure(topology, "default_mr_indexer_create - Plugin .* does not handle") _check_entry(topology, filterHead="homeDirectory", filterValueUpper=False, entry_ext=entry_ext,found=True, indexed=True) > _check_entry(topology, filterHead="homeDirectory:caseExactIA5Match:", filterValueUpper=False, entry_ext=entry_ext, found=True, indexed=False) /export/tests/tickets/ticket48973_test.py:251: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topology = <tests.tickets.ticket48973_test.TopologyStandalone object at 0x7fac0c9b3190> filterHead = 'homeDirectory:caseExactIA5Match:', filterValueUpper = False entry_ext = 1, found = True, indexed = False def _check_entry(topology, filterHead=None, filterValueUpper=False, entry_ext=None, found=False, indexed=False): # Search with CES with exact value -> find an entry + indexed if filterValueUpper: homehead = HOMEHEAD.upper() else: homehead = HOMEHEAD searchedHome = "%s%d" % (homehead, entry_ext) Filter = "(%s=%s)" % (filterHead, searchedHome) log.info("Search %s" % Filter) ents = topology.standalone.search_s(SUFFIX, ldap.SCOPE_SUBTREE, Filter) if found: assert len(ents) == 1 assert ents[0].hasAttr('homedirectory') valueHome = ensure_bytes("%s%d" % (HOMEHEAD, entry_ext)) assert valueHome in ents[0].getValues('homedirectory') else: assert len(ents) == 0 result = _find_next_notes(topology, Filter) log.info("result=%s" % result) if indexed: assert not "notes=U" in result else: > assert "notes=U" in result E AssertionError: assert 'notes=U' in '[30/Dec/2019:22:04:36.834891437 -0500] conn=1 op=2 RESULT err=0 tag=101 nentries=1 etime=0.004354817\n' /export/tests/tickets/ticket48973_test.py:188: AssertionError -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:tasks.py:768 Index task index_attrs_12302019_220430 completed successfully [32mINFO [0m tests.tickets.ticket48973_test:ticket48973_test.py:244 Check indexing succeeded with no specified matching rule [32mINFO [0m tests.tickets.ticket48973_test:ticket48973_test.py:173 Search (homeDirectory=/home/xyz_1) [32mINFO [0m tests.tickets.ticket48973_test:ticket48973_test.py:184 result=[30/Dec/2019:22:04:32.605076908 -0500] conn=1 op=10 RESULT err=0 tag=101 nentries=1 etime=0.000676170 [32mINFO [0m tests.tickets.ticket48973_test:ticket48973_test.py:173 Search (homeDirectory:caseExactIA5Match:=/home/xyz_1) [32mINFO [0m tests.tickets.ticket48973_test:ticket48973_test.py:184 result=[30/Dec/2019:22:04:36.834891437 -0500] conn=1 op=2 RESULT err=0 tag=101 nentries=1 etime=0.004354817 | |||
Failed | tickets/ticket49073_test.py::test_ticket49073 | 8.56 | |
topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac0c86aa90> def test_ticket49073(topology_m2): """Write your replication test here. To access each DirSrv instance use: topology_m2.ms["master1"], topology_m2.ms["master2"], ..., topology_m2.hub1, ..., topology_m2.consumer1,... Also, if you need any testcase initialization, please, write additional fixture for that(include finalizer). """ topology_m2.ms["master1"].plugins.enable(name=PLUGIN_MEMBER_OF) topology_m2.ms["master1"].restart(timeout=10) topology_m2.ms["master2"].plugins.enable(name=PLUGIN_MEMBER_OF) topology_m2.ms["master2"].restart(timeout=10) # Configure fractional to prevent total init to send memberof ents = topology_m2.ms["master1"].agreement.list(suffix=SUFFIX) assert len(ents) == 1 log.info('update %s to add nsDS5ReplicatedAttributeListTotal' % ents[0].dn) topology_m2.ms["master1"].modify_s(ents[0].dn, [(ldap.MOD_REPLACE, 'nsDS5ReplicatedAttributeListTotal', '(objectclass=*) $ EXCLUDE '), (ldap.MOD_REPLACE, 'nsDS5ReplicatedAttributeList', > '(objectclass=*) $ EXCLUDE memberOf')]) /export/tests/tickets/ticket49073_test.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:631: in modify_s return self.modify_ext_s(dn,modlist,None,None) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:603: in modify_ext_s msgid = self.modify_ext(dn,modlist,serverctrls,clientctrls) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:600: in modify_ext return self._ldap_call(self._l.modify_ext,dn,modlist,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls)) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac0c8a20d0> func = <built-in method modify_ext of LDAP object at 0x7fac0c859f30> args = ('cn=002,cn=replica,cn=dc\\3Dexample\\2Cdc\\3Dcom,cn=mapping tree,cn=config', [(2, 'nsDS5ReplicatedAttributeListTotal', '(objectclass=*) $ EXCLUDE '), (2, 'nsDS5ReplicatedAttributeList', '(objectclass=*) $ EXCLUDE memberOf')], None, None) kwargs = {}, diagnostic_message_success = 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 TypeError: ('Tuple_to_LDAPMod(): expected a byte string in the list', '(') /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: TypeError -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 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:106 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:139 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:153 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:1940 SUCCESS: bootstrap to ldap://server.example.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2009 SUCCESS: joined master from ldap://server.example.com:39001 to ldap://server.example.com:39002 [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master1 to master2 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 already exists -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.tickets.ticket49073_test:ticket49073_test.py:96 update cn=002,cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config to add nsDS5ReplicatedAttributeListTotal | |||
Failed | tickets/ticket49192_test.py::test_ticket49192 | 0.00 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac0c947950> def test_ticket49192(topo): """Trigger deadlock when removing suffix """ # # Create a second suffix/backend # log.info('Creating second backend...') topo.standalone.backends.create(None, properties={ BACKEND_NAME: "Second_Backend", > 'suffix': "o=hang.com", }) /export/tests/tickets/ticket49192_test.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:1167: in create return co.create(rdn, properties, self._basedn) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.backend.Backend object at 0x7fac0c63fa10>, dn = None properties = {'name': 'Second_Backend', 'suffix': 'o=hang.com'} basedn = 'cn=ldbm database,cn=plugins,cn=config' def create(self, dn=None, properties=None, basedn=DN_LDBM): """Add a new backend entry, create mapping tree, and, if requested, sample entries :param dn: DN of the new entry :type dn: str :param properties: Attributes and parameters for the new entry :type properties: dict :param basedn: Base DN of the new entry :type basedn: str :returns: DSLdapObject of the created entry """ sample_entries = False parent_suffix = False # normalize suffix (remove spaces between comps) if dn is not None: dn_comps = ldap.dn.explode_dn(dn.lower()) dn = ",".join(dn_comps) if properties is not None: > suffix_dn = properties['nsslapd-suffix'].lower() E KeyError: 'nsslapd-suffix' /usr/local/lib/python3.7/site-packages/lib389/backend.py:580: KeyError -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.tickets.ticket49192_test:ticket49192_test.py:34 Creating second backend... | |||
Failed | tickets/ticket49303_test.py::test_ticket49303 | 13.01 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac0c6c3910> def test_ticket49303(topo): """ Test the nsTLSAllowClientRenegotiation setting. """ sslport = SECUREPORT_STANDALONE1 log.info("Ticket 49303 - Allow disabling of SSL renegotiation") # No value set, defaults to reneg allowed enable_ssl(topo.standalone, sslport) > assert try_reneg(HOST_STANDALONE1, sslport) is True E AssertionError: assert False is True E + where False = try_reneg('localhost', 63601) /export/tests/tickets/ticket49303_test.py:88: AssertionError -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.tickets.ticket49303_test:ticket49303_test.py:84 Ticket 49303 - Allow disabling of SSL renegotiation | |||
Failed | tickets/ticket49463_test.py::test_ticket_49463 | 212.91 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac0cb1d4d0> def test_ticket_49463(topo): """Specify a test case purpose or name here :id: 2a68e8be-387d-4ac7-9452-1439e8483c13 :setup: Fill in set up configuration here :steps: 1. Enable fractional replication 2. Enable replication logging 3. Check that replication is working fine 4. Generate skipped updates to create keep alive entries 5. Remove M3 from the topology 6. issue cleanAllRuv FORCE that will run on M1 then propagated M2 and M4 7. Check that Number DEL keep alive '3' is <= 1 8. Check M1 is the originator of cleanAllRuv and M2/M4 the propagated ones 9. Check replication M1,M2 and M4 can recover 10. Remove M4 from the topology 11. Issue cleanAllRuv not force while M2 is stopped (that hangs the cleanAllRuv) 12. Check that nsds5ReplicaCleanRUV is correctly encoded on M1 (last value: 1) 13. Check that nsds5ReplicaCleanRUV encoding survives M1 restart 14. Check that nsds5ReplicaCleanRUV encoding is valid on M2 (last value: 0) 15. Check that (for M4 cleanAllRUV) M1 is Originator and M2 propagation :expectedresults: 1. No report of failure when the RUV is updated """ # Step 1 - Configure fractional (skip telephonenumber) replication M1 = topo.ms["master1"] M2 = topo.ms["master2"] M3 = topo.ms["master3"] M4 = topo.ms["master4"] repl = ReplicationManager(DEFAULT_SUFFIX) fractional_server_to_replica(M1, M2) fractional_server_to_replica(M1, M3) fractional_server_to_replica(M1, M4) fractional_server_to_replica(M2, M1) fractional_server_to_replica(M2, M3) fractional_server_to_replica(M2, M4) fractional_server_to_replica(M3, M1) fractional_server_to_replica(M3, M2) fractional_server_to_replica(M3, M4) fractional_server_to_replica(M4, M1) fractional_server_to_replica(M4, M2) fractional_server_to_replica(M4, M3) # Step 2 - enable internal op logging and replication debug for i in (M1, M2, M3, M4): i.config.loglevel(vals=[256 + 4], service='access') i.config.loglevel(vals=[LOG_REPLICA, LOG_DEFAULT], service='error') # Step 3 - Check that replication is working fine add_user(M1, 11, desc="add to M1") add_user(M2, 21, desc="add to M2") add_user(M3, 31, desc="add to M3") add_user(M4, 41, desc="add to M4") for i in (M1, M2, M3, M4): for j in (M1, M2, M3, M4): if i == j: continue repl.wait_for_replication(i, j) # Step 4 - Generate skipped updates to create keep alive entries for i in (M1, M2, M3, M4): cn = '%s_%d' % (USER_CN, 11) dn = 'uid=%s,ou=People,%s' % (cn, SUFFIX) users = UserAccount(i, dn) for j in range(110): users.set('telephoneNumber', str(j)) # Step 5 - Remove M3 from the topology M3.stop() M1.agreement.delete(suffix=SUFFIX, consumer_host=M3.host, consumer_port=M3.port) M2.agreement.delete(suffix=SUFFIX, consumer_host=M3.host, consumer_port=M3.port) M4.agreement.delete(suffix=SUFFIX, consumer_host=M3.host, consumer_port=M3.port) # Step 6 - Then issue cleanAllRuv FORCE that will run on M1, M2 and M4 M1.tasks.cleanAllRUV(suffix=SUFFIX, replicaid='3', force=True, args={TASK_WAIT: True}) # Step 7 - Count the number of received DEL of the keep alive 3 for i in (M1, M2, M4): i.restart() regex = re.compile(".*DEL dn=.cn=repl keep alive 3.*") for i in (M1, M2, M4): count = count_pattern_accesslog(M1, regex) log.debug("count on %s = %d" % (i, count)) # check that DEL is replicated once (If DEL is kept in the fix) # check that DEL is is not replicated (If DEL is finally no long done in the fix) assert ((count == 1) or (count == 0)) # Step 8 - Check that M1 is Originator of cleanAllRuv and M2, M4 propagation regex = re.compile(".*Original task deletes Keep alive entry .3.*") assert pattern_errorlog(M1, regex) regex = re.compile(".*Propagated task does not delete Keep alive entry .3.*") assert pattern_errorlog(M2, regex) assert pattern_errorlog(M4, regex) # Step 9 - Check replication M1,M2 and M4 can recover add_user(M1, 12, desc="add to M1") add_user(M2, 22, desc="add to M2") for i in (M1, M2, M4): for j in (M1, M2, M4): if i == j: continue repl.wait_for_replication(i, j) # Step 10 - Remove M4 from the topology M4.stop() M1.agreement.delete(suffix=SUFFIX, consumer_host=M4.host, consumer_port=M4.port) M2.agreement.delete(suffix=SUFFIX, consumer_host=M4.host, consumer_port=M4.port) # Step 11 - Issue cleanAllRuv not force while M2 is stopped (that hangs the cleanAllRuv) M2.stop() M1.tasks.cleanAllRUV(suffix=SUFFIX, replicaid='4', force=False, args={TASK_WAIT: False}) # Step 12 # CleanAllRuv is hanging waiting for M2 to restart # Check that nsds5ReplicaCleanRUV is correctly encoded on M1 replicas = Replicas(M1) replica = replicas.list()[0] time.sleep(0.5) replica.present('nsds5ReplicaCleanRUV') log.info("M1: nsds5ReplicaCleanRUV=%s" % replica.get_attr_val_utf8('nsds5replicacleanruv')) regex = re.compile("^4:.*:no:1$") > assert regex.match(replica.get_attr_val_utf8('nsds5replicacleanruv')) E AssertionError: assert None E + where None = <built-in method match of re.Pattern object at 0x7fac0f62d570>('4:no:1:dc=example,dc=com') E + where <built-in method match of re.Pattern object at 0x7fac0f62d570> = re.compile('^4:.*:no:1$').match E + and '4:no:1:dc=example,dc=com' = <bound method DSLdapObject.get_attr_val_utf8 of <lib389.replica.Replica object at 0x7fac0cae8d10>>('nsds5replicacleanruv') E + where <bound method DSLdapObject.get_attr_val_utf8 of <lib389.replica.Replica object at 0x7fac0cae8d10>> = <lib389.replica.Replica object at 0x7fac0cae8d10>.get_attr_val_utf8 /export/tests/tickets/ticket49463_test.py:188: AssertionError -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 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:106 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:106 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:106 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:139 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:153 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:1940 SUCCESS: bootstrap to ldap://server.example.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2009 SUCCESS: joined master from ldap://server.example.com:39001 to ldap://server.example.com:39002 [32mINFO [0m lib389.topologies:topologies.py:153 Joining master master3 to master1 ... [32mINFO [0m lib389.replica:replica.py:1940 SUCCESS: bootstrap to ldap://server.example.com:39003 completed [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39003 is was created [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39003 to ldap://server.example.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39003 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2009 SUCCESS: joined master from ldap://server.example.com:39001 to ldap://server.example.com:39003 [32mINFO [0m lib389.topologies:topologies.py:153 Joining master master4 to master1 ... [32mINFO [0m lib389.replica:replica.py:1940 SUCCESS: bootstrap to ldap://server.example.com:39004 completed [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39004 is was created [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39004 to ldap://server.example.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39004 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39004 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2009 SUCCESS: joined master from ldap://server.example.com:39001 to ldap://server.example.com:39004 [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master1 to master2 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master1 to master3 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39003 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master1 to master4 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39004 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master2 to master3 ... [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39003 is was created [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master2 to master4 ... [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39004 is was created [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master3 to master1 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39003 to ldap://server.example.com:39001 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master3 to master2 ... [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39003 to ldap://server.example.com:39002 is was created [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master3 to master4 ... [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39003 to ldap://server.example.com:39004 is was created [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master4 to master1 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39004 to ldap://server.example.com:39001 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master4 to master2 ... [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39004 to ldap://server.example.com:39002 is was created [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master4 to master3 ... [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39004 to ldap://server.example.com:39003 is was created -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 already exists [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39003 already exists [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39004 already exists [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 already exists [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39003 already exists [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39004 already exists [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39003 to ldap://server.example.com:39001 already exists [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39003 to ldap://server.example.com:39002 already exists [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39003 to ldap://server.example.com:39004 already exists [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39004 to ldap://server.example.com:39001 already exists [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39004 to ldap://server.example.com:39002 already exists [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39004 to ldap://server.example.com:39003 already exists [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39003 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39004 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39003 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39004 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39004 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39004 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39004 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39004 to ldap://server.example.com:39003 is working [32mINFO [0m lib389:agreement.py:1089 Agreement (cn=003,cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config) was successfully removed [32mINFO [0m lib389:agreement.py:1089 Agreement (cn=003,cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config) was successfully removed [32mINFO [0m lib389:agreement.py:1089 Agreement (cn=003,cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config) was successfully removed [32mINFO [0m lib389:tasks.py:1370 cleanAllRUV task (task-12302019_222647) completed successfully [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39004 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39004 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39004 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39004 to ldap://server.example.com:39002 is working [32mINFO [0m lib389:agreement.py:1089 Agreement (cn=004,cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config) was successfully removed [32mINFO [0m lib389:agreement.py:1089 Agreement (cn=004,cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config) was successfully removed [32mINFO [0m lib389:tasks.py:1370 cleanAllRUV task (task-12302019_222737) completed successfully [32mINFO [0m lib389.utils:ticket49463_test.py:186 M1: nsds5ReplicaCleanRUV=4:no:1:dc=example,dc=com | |||
XFailed | suites/acl/syntax_test.py::test_aci_invalid_syntax_fail[test_targattrfilters_18] | 0.01 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac11deccd0> real_value = '(target = ldap:///cn=Jeff Vedder,ou=Product Development,dc=example,dc=com)(targetattr=*)(version 3.0; acl "Name of th...3123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123";)' @pytest.mark.xfail(reason='https://bugzilla.redhat.com/show_bug.cgi?id=1691473') @pytest.mark.parametrize("real_value", [a[1] for a in FAILED], ids=[a[0] for a in FAILED]) def test_aci_invalid_syntax_fail(topo, real_value): """ Try to set wrong ACI syntax. :id: 83c40784-fff5-49c8-9535-7064c9c19e7e :parametrized: yes :setup: Standalone Instance :steps: 1. Create ACI 2. Try to setup the ACI with Instance :expectedresults: 1. It should pass 2. It should not pass """ domain = Domain(topo.standalone, DEFAULT_SUFFIX) with pytest.raises(ldap.INVALID_SYNTAX): > domain.add("aci", real_value) E Failed: DID NOT RAISE <class 'ldap.INVALID_SYNTAX'> suites/acl/syntax_test.py:215: Failed -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
XFailed | suites/acl/syntax_test.py::test_aci_invalid_syntax_fail[test_targattrfilters_20] | 0.15 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac11deccd0> real_value = '(target = ldap:///cn=Jeff Vedder,ou=Product Development,dc=example,dc=com)(targetattr=*)(version 3.0; acl "Name of the ACI"; deny(write)userdns="ldap:///anyone";)' @pytest.mark.xfail(reason='https://bugzilla.redhat.com/show_bug.cgi?id=1691473') @pytest.mark.parametrize("real_value", [a[1] for a in FAILED], ids=[a[0] for a in FAILED]) def test_aci_invalid_syntax_fail(topo, real_value): """ Try to set wrong ACI syntax. :id: 83c40784-fff5-49c8-9535-7064c9c19e7e :parametrized: yes :setup: Standalone Instance :steps: 1. Create ACI 2. Try to setup the ACI with Instance :expectedresults: 1. It should pass 2. It should not pass """ domain = Domain(topo.standalone, DEFAULT_SUFFIX) with pytest.raises(ldap.INVALID_SYNTAX): > domain.add("aci", real_value) E Failed: DID NOT RAISE <class 'ldap.INVALID_SYNTAX'> suites/acl/syntax_test.py:215: Failed | |||
XFailed | suites/acl/syntax_test.py::test_aci_invalid_syntax_fail[test_bind_rule_set_with_more_than_three] | 0.16 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac11deccd0> real_value = '(target = ldap:///dc=example,dc=com)(targetattr=*)(version 3.0; acl "Name of the ACI"; deny absolute (all)userdn="ldap:////////anyone";)' @pytest.mark.xfail(reason='https://bugzilla.redhat.com/show_bug.cgi?id=1691473') @pytest.mark.parametrize("real_value", [a[1] for a in FAILED], ids=[a[0] for a in FAILED]) def test_aci_invalid_syntax_fail(topo, real_value): """ Try to set wrong ACI syntax. :id: 83c40784-fff5-49c8-9535-7064c9c19e7e :parametrized: yes :setup: Standalone Instance :steps: 1. Create ACI 2. Try to setup the ACI with Instance :expectedresults: 1. It should pass 2. It should not pass """ domain = Domain(topo.standalone, DEFAULT_SUFFIX) with pytest.raises(ldap.INVALID_SYNTAX): > domain.add("aci", real_value) E Failed: DID NOT RAISE <class 'ldap.INVALID_SYNTAX'> suites/acl/syntax_test.py:215: Failed | |||
XFailed | suites/acl/syntax_test.py::test_aci_invalid_syntax_fail[test_Use_double_equal_instead_of_equal_in_the_targetattr] | 0.01 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac11deccd0> real_value = '(target = ldap:///dc=example,dc=com)(targetattr==*)(version 3.0; acl "Name of the ACI"; deny absolute (all)userdn="ldap:///anyone";)' @pytest.mark.xfail(reason='https://bugzilla.redhat.com/show_bug.cgi?id=1691473') @pytest.mark.parametrize("real_value", [a[1] for a in FAILED], ids=[a[0] for a in FAILED]) def test_aci_invalid_syntax_fail(topo, real_value): """ Try to set wrong ACI syntax. :id: 83c40784-fff5-49c8-9535-7064c9c19e7e :parametrized: yes :setup: Standalone Instance :steps: 1. Create ACI 2. Try to setup the ACI with Instance :expectedresults: 1. It should pass 2. It should not pass """ domain = Domain(topo.standalone, DEFAULT_SUFFIX) with pytest.raises(ldap.INVALID_SYNTAX): > domain.add("aci", real_value) E Failed: DID NOT RAISE <class 'ldap.INVALID_SYNTAX'> suites/acl/syntax_test.py:215: Failed | |||
XFailed | suites/acl/syntax_test.py::test_aci_invalid_syntax_fail[test_Use_double_equal_instead_of_equal_in_the_targetfilter] | 0.01 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac11deccd0> real_value = '(target = ldap:///dc=example,dc=com)(targetfilter==*)(version 3.0; acl "Name of the ACI"; deny absolute (all)userdn="ldap:///anyone";)' @pytest.mark.xfail(reason='https://bugzilla.redhat.com/show_bug.cgi?id=1691473') @pytest.mark.parametrize("real_value", [a[1] for a in FAILED], ids=[a[0] for a in FAILED]) def test_aci_invalid_syntax_fail(topo, real_value): """ Try to set wrong ACI syntax. :id: 83c40784-fff5-49c8-9535-7064c9c19e7e :parametrized: yes :setup: Standalone Instance :steps: 1. Create ACI 2. Try to setup the ACI with Instance :expectedresults: 1. It should pass 2. It should not pass """ domain = Domain(topo.standalone, DEFAULT_SUFFIX) with pytest.raises(ldap.INVALID_SYNTAX): > domain.add("aci", real_value) E Failed: DID NOT RAISE <class 'ldap.INVALID_SYNTAX'> suites/acl/syntax_test.py:215: Failed | |||
XFailed | suites/acl/userattr_test.py::test_mod_see_also_positive[(LEVEL_3, CHILDREN)] | 0.05 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac12ebbed0> _add_user = None, user = 'uid=Grandparent,ou=Inheritance,dc=example,dc=com' entry = 'ou=CHILDREN,ou=PARENTS,ou=GRANDPARENTS,ou=ANCESTORS,ou=Inheritance,dc=example,dc=com' @pytest.mark.parametrize("user,entry", [ (CAN, ROLEDNACCESS), (CAN, USERDNACCESS), (CAN, GROUPDNACCESS), (CAN, LDAPURLACCESS), (CAN, ATTRNAMEACCESS), (LEVEL_0, OU_2), (LEVEL_1, ANCESTORS), (LEVEL_2, GRANDPARENTS), (LEVEL_4, OU_2), (LEVEL_4, ANCESTORS), (LEVEL_4, GRANDPARENTS), (LEVEL_4, PARENTS), (LEVEL_4, CHILDREN), pytest.param(LEVEL_3, CHILDREN, marks=pytest.mark.xfail(reason="May be some bug")), ], ids=[ "(CAN,ROLEDNACCESS)", "(CAN,USERDNACCESS)", "(CAN,GROUPDNACCESS)", "(CAN,LDAPURLACCESS)", "(CAN,ATTRNAMEACCESS)", "(LEVEL_0, OU_2)", "(LEVEL_1,ANCESTORS)", "(LEVEL_2,GRANDPARENTS)", "(LEVEL_4,OU_2)", "(LEVEL_4, ANCESTORS)", "(LEVEL_4,GRANDPARENTS)", "(LEVEL_4,PARENTS)", "(LEVEL_4,CHILDREN)", "(LEVEL_3, CHILDREN)" ]) def test_mod_see_also_positive(topo, _add_user, user, entry): """ Try to set seeAlso on entry with binding specific user, it will success as per the ACI. :id: 65745426-7a01-11e8-8ac2-8c16451d917b :parametrized: yes :setup: Standalone Instance :steps: 1. Add test entry 2. Add ACI 3. User should follow ACI role :expectedresults: 1. Entry should be added 2. Operation should succeed 3. Operation should succeed """ conn = UserAccount(topo.standalone, user).bind(PW_DM) > UserAccount(conn, entry).replace('seeAlso', 'cn=1') suites/acl/userattr_test.py:216: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:270: in replace self.set(key, value, action=ldap.MOD_REPLACE) /usr/local/lib/python3.7/site-packages/lib389/_mapped_object.py:438: in set escapehatch='i am sure') /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:604: in modify_ext_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:751: in result3 resp_ctrl_classes=resp_ctrl_classes /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:758: in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) /usr/local/lib/python3.7/site-packages/lib389/__init__.py:180: in inner return f(*args, **kwargs) /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:331: in _ldap_call reraise(exc_type, exc_value, exc_traceback) /usr/local/lib64/python3.7/site-packages/ldap/compat.py:44: in reraise raise exc_value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv object at 0x7fac11faae10> func = <built-in method result4 of LDAP object at 0x7fac11fd10f0> args = (5, 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.INSUFFICIENT_ACCESS: {'desc': 'Insufficient access', 'info': "Insufficient 'write' privilege to the 'seeAlso' attribute of entry 'ou=children,ou=parents,ou=grandparents,ou=ancestors,ou=inheritance,dc=example,dc=com'.\n"} /usr/local/lib64/python3.7/site-packages/ldap/ldapobject.py:315: INSUFFICIENT_ACCESS | |||
XFailed | suites/config/config_test.py::test_defaultnamingcontext_1 | 0.26 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac11f3e690> @pytest.mark.xfail(reason="This may fail due to bug 1610234") def test_defaultnamingcontext_1(topo): """This test case should be part of function test_defaultnamingcontext Please move it back after we have a fix for bug 1610234 """ log.info("Remove the original suffix which is currently nsslapd-defaultnamingcontext" "and check nsslapd-defaultnamingcontext become empty.") """ Please remove these declarations after moving the test to function test_defaultnamingcontext """ backends = Backends(topo.standalone) test_db2 = 'test2_db' test_suffix2 = 'dc=test2,dc=com' b2 = backends.create(properties={'cn': test_db2, 'nsslapd-suffix': test_suffix2}) b2.delete() > assert topo.standalone.config.get_attr_val_utf8('nsslapd-defaultnamingcontext') == ' ' E AssertionError: assert 'dc=example,dc=com' == ' ' E Strings contain only whitespace, escaping them using repr() E - 'dc=example,dc=com' E + ' ' suites/config/config_test.py:278: AssertionError -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.config_test:config_test.py:266 Remove the original suffix which is currently nsslapd-defaultnamingcontextand check nsslapd-defaultnamingcontext become empty. | |||
XFailed | suites/replication/conflict_resolve_test.py::TestTwoMasters::test_memberof_groups | 0.00 | |
self = <tests.suites.replication.conflict_resolve_test.TestTwoMasters object at 0x7fac0f8a8450> topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac0f8f3a50> base_m2 = <lib389.idm.nscontainer.nsContainer object at 0x7fac0fe13490> def test_memberof_groups(self, topology_m2, base_m2): """Check that conflict properly resolved for operations with memberOf and groups :id: 77f09b18-03d1-45da-940b-1ad2c2908eb3 :setup: Two master replication, test container for entries, enable plugin logging, audit log, error log for replica and access log for internal :steps: 1. Enable memberOf plugin 2. Add 30 users to m1 and wait for replication to happen 3. Pause replication 4. Create a group on m1 and m2 5. Create a group on m1 and m2, delete from m1 6. Create a group on m1, delete from m1, and create on m2, 7. Create a group on m2 and m1, delete from m1 8. Create two different groups on m2 9. Resume replication 10. Check that the entries on both masters are the same and replication is working :expectedresults: 1. It should pass 2. It should pass 3. It should pass 4. It should pass 5. It should pass 6. It should pass 7. It should pass 8. It should pass 9. It should pass 10. It should pass """ > pytest.xfail("Issue 49591 - work in progress") E _pytest.outcomes.XFailed: Issue 49591 - work in progress suites/replication/conflict_resolve_test.py:401: XFailed | |||
XFailed | suites/replication/conflict_resolve_test.py::TestTwoMasters::test_managed_entries | 0.00 | |
self = <tests.suites.replication.conflict_resolve_test.TestTwoMasters object at 0x7fac0fb01990> topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac0f8f3a50> def test_managed_entries(self, topology_m2): """Check that conflict properly resolved for operations with managed entries :id: 77f09b18-03d1-45da-940b-1ad2c2908eb4 :setup: Two master replication, test container for entries, enable plugin logging, audit log, error log for replica and access log for internal :steps: 1. Create ou=managed_users and ou=managed_groups under test container 2. Configure managed entries plugin and add a template to test container 3. Add a user to m1 and wait for replication to happen 4. Pause replication 5. Create a user on m1 and m2 with a same group ID on both master 6. Create a user on m1 and m2 with a different group ID on both master 7. Resume replication 8. Check that the entries on both masters are the same and replication is working :expectedresults: 1. It should pass 2. It should pass 3. It should pass 4. It should pass 5. It should pass 6. It should pass 7. It should pass 8. It should pass """ > pytest.xfail("Issue 49591 - work in progress") E _pytest.outcomes.XFailed: Issue 49591 - work in progress suites/replication/conflict_resolve_test.py:492: XFailed | |||
XFailed | suites/replication/conflict_resolve_test.py::TestTwoMasters::test_nested_entries_with_children | 0.00 | |
self = <tests.suites.replication.conflict_resolve_test.TestTwoMasters object at 0x7fac0fdc4790> topology_m2 = <lib389.topologies.TopologyMain object at 0x7fac0f8f3a50> base_m2 = <lib389.idm.nscontainer.nsContainer object at 0x7fac0faa1490> def test_nested_entries_with_children(self, topology_m2, base_m2): """Check that conflict properly resolved for operations with nested entries with children :id: 77f09b18-03d1-45da-940b-1ad2c2908eb5 :setup: Two master replication, test container for entries, enable plugin logging, audit log, error log for replica and access log for internal :steps: 1. Add 15 containers to m1 and wait for replication to happen 2. Pause replication 3. Create parent-child on master2 and master1 4. Create parent-child on master1 and master2 5. Create parent-child on master1 and master2 different child rdn 6. Create parent-child on master1 and delete parent on master2 7. Create parent on master1, delete it and parent-child on master2, delete them 8. Create parent on master1, delete it and parent-two children on master2 9. Create parent-two children on master1 and parent-child on master2, delete them 10. Create three subsets inside existing container entry, applying only part of changes on m2 11. Create more combinations of the subset with parent-child on m1 and parent on m2 12. Delete container on m1, modify user1 on m1, create parent on m2 and modify user2 on m2 13. Resume replication 14. Check that the entries on both masters are the same and replication is working :expectedresults: 1. It should pass 2. It should pass 3. It should pass 4. It should pass 5. It should pass 6. It should pass 7. It should pass 8. It should pass 9. It should pass 10. It should pass 11. It should pass 12. It should pass 13. It should pass 14. It should pass """ > pytest.xfail("Issue 49591 - work in progress") E _pytest.outcomes.XFailed: Issue 49591 - work in progress suites/replication/conflict_resolve_test.py:583: XFailed | |||
XFailed | suites/replication/conflict_resolve_test.py::TestThreeMasters::test_nested_entries | 0.00 | |
self = <tests.suites.replication.conflict_resolve_test.TestThreeMasters object at 0x7fac0fdde910> topology_m3 = <lib389.topologies.TopologyMain object at 0x7fac0f8dc350> base_m3 = <lib389.idm.nscontainer.nsContainer object at 0x7fac0fa22250> def test_nested_entries(self, topology_m3, base_m3): """Check that conflict properly resolved for operations with nested entries with children :id: 77f09b18-03d1-45da-940b-1ad2c2908eb6 :setup: Three master replication, test container for entries, enable plugin logging, audit log, error log for replica and access log for internal :steps: 1. Add 15 containers to m1 and wait for replication to happen 2. Pause replication 3. Create two child entries under each of two entries 4. Create three child entries under each of three entries 5. Create two parents on m1 and m2, then on m1 - create a child and delete one parent, on m2 - delete one parent and create a child 6. Test a few more parent-child combinations with three instances 7. Resume replication 8. Check that the entries on both masters are the same and replication is working :expectedresults: 1. It should pass 2. It should pass 3. It should pass 4. It should pass 5. It should pass 6. It should pass 7. It should pass 8. It should pass """ > pytest.xfail("Issue 49591 - work in progress") E _pytest.outcomes.XFailed: Issue 49591 - work in progress suites/replication/conflict_resolve_test.py:796: XFailed -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 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:106 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:106 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:139 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:153 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:1940 SUCCESS: bootstrap to ldap://server.example.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2009 SUCCESS: joined master from ldap://server.example.com:39001 to ldap://server.example.com:39002 [32mINFO [0m lib389.topologies:topologies.py:153 Joining master master3 to master1 ... [32mINFO [0m lib389.replica:replica.py:1940 SUCCESS: bootstrap to ldap://server.example.com:39003 completed [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39003 is was created [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39003 to ldap://server.example.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39003 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39003 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2009 SUCCESS: joined master from ldap://server.example.com:39001 to ldap://server.example.com:39003 [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master1 to master2 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master1 to master3 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39003 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master2 to master3 ... [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39003 is was created [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master3 to master1 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39003 to ldap://server.example.com:39001 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master3 to master2 ... [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39003 to ldap://server.example.com:39002 is was created | |||
XFailed | suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaPort-0-65535-9999999999999999999999999999999999999999999999999999999999999999999-invalid-389] | 0.06 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac0ff42cd0> attr = 'nsds5ReplicaPort', too_small = '0', too_big = '65535' overflow = '9999999999999999999999999999999999999999999999999999999999999999999' notnum = 'invalid', valid = '389' @pytest.mark.xfail(reason="Agreement validation current does not work.") @pytest.mark.parametrize("attr, too_small, too_big, overflow, notnum, valid", agmt_attrs) def test_agmt_num_add(topo, attr, too_small, too_big, overflow, notnum, valid): """Test all the number values you can set for a replica config entry :id: a8b47d4a-a089-4d70-8070-e6181209bf94 :parametrized: yes :setup: standalone instance :steps: 1. Use a value that is too small 2. Use a value that is too big 3. Use a value that overflows the int 4. Use a value with character value (not a number) 5. Use a valid value :expectedresults: 1. Add is rejected 2. Add is rejected 3. Add is rejected 4. Add is rejected 5. Add is allowed """ agmt_reset(topo) replica = replica_setup(topo) agmts = Agreements(topo.standalone, basedn=replica.dn) # Test too small perform_invalid_create(agmts, agmt_dict, attr, too_small) # Test too big > perform_invalid_create(agmts, agmt_dict, attr, too_big) suites/replication/replica_config_test.py:217: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ many = <lib389.agreement.Agreements object at 0x7fac0f8b2390> properties = {'cn': 'test_agreement', 'nsDS5ReplicaBindDN': 'uid=tester', 'nsDS5ReplicaBindMethod': 'SIMPLE', 'nsDS5ReplicaHost': 'localhost.localdomain', ...} attr = 'nsds5ReplicaPort', value = '65535' def perform_invalid_create(many, properties, attr, value): my_properties = copy.deepcopy(properties) my_properties[attr] = value with pytest.raises(ldap.LDAPError) as ei: > many.create(properties=my_properties) E Failed: DID NOT RAISE <class 'ldap.LDAPError'> suites/replication/replica_config_test.py:108: Failed | |||
XFailed | suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaPort-0-65535-9999999999999999999999999999999999999999999999999999999999999999999-invalid-389] | 0.14 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac0ff42cd0> attr = 'nsds5ReplicaPort', too_small = '0', too_big = '65535' overflow = '9999999999999999999999999999999999999999999999999999999999999999999' notnum = 'invalid', valid = '389' @pytest.mark.xfail(reason="Agreement validation current does not work.") @pytest.mark.parametrize("attr, too_small, too_big, overflow, notnum, valid", agmt_attrs) def test_agmt_num_modify(topo, attr, too_small, too_big, overflow, notnum, valid): """Test all the number values you can set for a replica config entry :id: a8b47d4a-a089-4d70-8070-e6181209bf95 :parametrized: yes :setup: standalone instance :steps: 1. Replace a value that is too small 2. Replace a value that is too big 3. Replace a value that overflows the int 4. Replace a value with character value (not a number) 5. Replace a vlue with a valid value :expectedresults: 1. Value is rejected 2. Value is rejected 3. Value is rejected 4. Value is rejected 5. Value is allowed """ agmt = agmt_setup(topo) # Value too small > perform_invalid_modify(agmt, attr, too_small) suites/replication/replica_config_test.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ o = <lib389.agreement.Agreement object at 0x7fac0ff87bd0> attr = 'nsds5ReplicaPort', value = '0' def perform_invalid_modify(o, attr, value): with pytest.raises(ldap.LDAPError) as ei: > o.replace(attr, value) E Failed: DID NOT RAISE <class 'ldap.LDAPError'> suites/replication/replica_config_test.py:113: Failed | |||
XFailed | suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6] | 0.15 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac0ff42cd0> attr = 'nsds5ReplicaTimeout', too_small = '-1', too_big = '9223372036854775807' overflow = '9999999999999999999999999999999999999999999999999999999999999999999' notnum = 'invalid', valid = '6' @pytest.mark.xfail(reason="Agreement validation current does not work.") @pytest.mark.parametrize("attr, too_small, too_big, overflow, notnum, valid", agmt_attrs) def test_agmt_num_modify(topo, attr, too_small, too_big, overflow, notnum, valid): """Test all the number values you can set for a replica config entry :id: a8b47d4a-a089-4d70-8070-e6181209bf95 :parametrized: yes :setup: standalone instance :steps: 1. Replace a value that is too small 2. Replace a value that is too big 3. Replace a value that overflows the int 4. Replace a value with character value (not a number) 5. Replace a vlue with a valid value :expectedresults: 1. Value is rejected 2. Value is rejected 3. Value is rejected 4. Value is rejected 5. Value is allowed """ agmt = agmt_setup(topo) # Value too small perform_invalid_modify(agmt, attr, too_small) # Value too big > perform_invalid_modify(agmt, attr, too_big) suites/replication/replica_config_test.py:255: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ o = <lib389.agreement.Agreement object at 0x7fac10161a90> attr = 'nsds5ReplicaTimeout', value = '9223372036854775807' def perform_invalid_modify(o, attr, value): with pytest.raises(ldap.LDAPError) as ei: > o.replace(attr, value) E Failed: DID NOT RAISE <class 'ldap.LDAPError'> suites/replication/replica_config_test.py:113: Failed | |||
XFailed | suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaBusyWaitTime--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6] | 0.15 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac0ff42cd0> attr = 'nsds5ReplicaBusyWaitTime', too_small = '-1' too_big = '9223372036854775807' overflow = '9999999999999999999999999999999999999999999999999999999999999999999' notnum = 'invalid', valid = '6' @pytest.mark.xfail(reason="Agreement validation current does not work.") @pytest.mark.parametrize("attr, too_small, too_big, overflow, notnum, valid", agmt_attrs) def test_agmt_num_modify(topo, attr, too_small, too_big, overflow, notnum, valid): """Test all the number values you can set for a replica config entry :id: a8b47d4a-a089-4d70-8070-e6181209bf95 :parametrized: yes :setup: standalone instance :steps: 1. Replace a value that is too small 2. Replace a value that is too big 3. Replace a value that overflows the int 4. Replace a value with character value (not a number) 5. Replace a vlue with a valid value :expectedresults: 1. Value is rejected 2. Value is rejected 3. Value is rejected 4. Value is rejected 5. Value is allowed """ agmt = agmt_setup(topo) # Value too small perform_invalid_modify(agmt, attr, too_small) # Value too big > perform_invalid_modify(agmt, attr, too_big) suites/replication/replica_config_test.py:255: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ o = <lib389.agreement.Agreement object at 0x7fac0fbae290> attr = 'nsds5ReplicaBusyWaitTime', value = '9223372036854775807' def perform_invalid_modify(o, attr, value): with pytest.raises(ldap.LDAPError) as ei: > o.replace(attr, value) E Failed: DID NOT RAISE <class 'ldap.LDAPError'> suites/replication/replica_config_test.py:113: Failed | |||
XFailed | suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaSessionPauseTime--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6] | 0.15 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac0ff42cd0> attr = 'nsds5ReplicaSessionPauseTime', too_small = '-1' too_big = '9223372036854775807' overflow = '9999999999999999999999999999999999999999999999999999999999999999999' notnum = 'invalid', valid = '6' @pytest.mark.xfail(reason="Agreement validation current does not work.") @pytest.mark.parametrize("attr, too_small, too_big, overflow, notnum, valid", agmt_attrs) def test_agmt_num_modify(topo, attr, too_small, too_big, overflow, notnum, valid): """Test all the number values you can set for a replica config entry :id: a8b47d4a-a089-4d70-8070-e6181209bf95 :parametrized: yes :setup: standalone instance :steps: 1. Replace a value that is too small 2. Replace a value that is too big 3. Replace a value that overflows the int 4. Replace a value with character value (not a number) 5. Replace a vlue with a valid value :expectedresults: 1. Value is rejected 2. Value is rejected 3. Value is rejected 4. Value is rejected 5. Value is allowed """ agmt = agmt_setup(topo) # Value too small perform_invalid_modify(agmt, attr, too_small) # Value too big > perform_invalid_modify(agmt, attr, too_big) suites/replication/replica_config_test.py:255: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ o = <lib389.agreement.Agreement object at 0x7fac0faa1510> attr = 'nsds5ReplicaSessionPauseTime', value = '9223372036854775807' def perform_invalid_modify(o, attr, value): with pytest.raises(ldap.LDAPError) as ei: > o.replace(attr, value) E Failed: DID NOT RAISE <class 'ldap.LDAPError'> suites/replication/replica_config_test.py:113: Failed | |||
XFailed | suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaFlowControlWindow--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6] | 0.15 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac0ff42cd0> attr = 'nsds5ReplicaFlowControlWindow', too_small = '-1' too_big = '9223372036854775807' overflow = '9999999999999999999999999999999999999999999999999999999999999999999' notnum = 'invalid', valid = '6' @pytest.mark.xfail(reason="Agreement validation current does not work.") @pytest.mark.parametrize("attr, too_small, too_big, overflow, notnum, valid", agmt_attrs) def test_agmt_num_modify(topo, attr, too_small, too_big, overflow, notnum, valid): """Test all the number values you can set for a replica config entry :id: a8b47d4a-a089-4d70-8070-e6181209bf95 :parametrized: yes :setup: standalone instance :steps: 1. Replace a value that is too small 2. Replace a value that is too big 3. Replace a value that overflows the int 4. Replace a value with character value (not a number) 5. Replace a vlue with a valid value :expectedresults: 1. Value is rejected 2. Value is rejected 3. Value is rejected 4. Value is rejected 5. Value is allowed """ agmt = agmt_setup(topo) # Value too small perform_invalid_modify(agmt, attr, too_small) # Value too big > perform_invalid_modify(agmt, attr, too_big) suites/replication/replica_config_test.py:255: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ o = <lib389.agreement.Agreement object at 0x7fac0f97b3d0> attr = 'nsds5ReplicaFlowControlWindow', value = '9223372036854775807' def perform_invalid_modify(o, attr, value): with pytest.raises(ldap.LDAPError) as ei: > o.replace(attr, value) E Failed: DID NOT RAISE <class 'ldap.LDAPError'> suites/replication/replica_config_test.py:113: Failed | |||
XFailed | suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaFlowControlPause--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6] | 0.15 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac0ff42cd0> attr = 'nsds5ReplicaFlowControlPause', too_small = '-1' too_big = '9223372036854775807' overflow = '9999999999999999999999999999999999999999999999999999999999999999999' notnum = 'invalid', valid = '6' @pytest.mark.xfail(reason="Agreement validation current does not work.") @pytest.mark.parametrize("attr, too_small, too_big, overflow, notnum, valid", agmt_attrs) def test_agmt_num_modify(topo, attr, too_small, too_big, overflow, notnum, valid): """Test all the number values you can set for a replica config entry :id: a8b47d4a-a089-4d70-8070-e6181209bf95 :parametrized: yes :setup: standalone instance :steps: 1. Replace a value that is too small 2. Replace a value that is too big 3. Replace a value that overflows the int 4. Replace a value with character value (not a number) 5. Replace a vlue with a valid value :expectedresults: 1. Value is rejected 2. Value is rejected 3. Value is rejected 4. Value is rejected 5. Value is allowed """ agmt = agmt_setup(topo) # Value too small perform_invalid_modify(agmt, attr, too_small) # Value too big > perform_invalid_modify(agmt, attr, too_big) suites/replication/replica_config_test.py:255: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ o = <lib389.agreement.Agreement object at 0x7fac0f8b74d0> attr = 'nsds5ReplicaFlowControlPause', value = '9223372036854775807' def perform_invalid_modify(o, attr, value): with pytest.raises(ldap.LDAPError) as ei: > o.replace(attr, value) E Failed: DID NOT RAISE <class 'ldap.LDAPError'> suites/replication/replica_config_test.py:113: Failed | |||
XFailed | suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaProtocolTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6] | 0.15 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac0ff42cd0> attr = 'nsds5ReplicaProtocolTimeout', too_small = '-1' too_big = '9223372036854775807' overflow = '9999999999999999999999999999999999999999999999999999999999999999999' notnum = 'invalid', valid = '6' @pytest.mark.xfail(reason="Agreement validation current does not work.") @pytest.mark.parametrize("attr, too_small, too_big, overflow, notnum, valid", agmt_attrs) def test_agmt_num_modify(topo, attr, too_small, too_big, overflow, notnum, valid): """Test all the number values you can set for a replica config entry :id: a8b47d4a-a089-4d70-8070-e6181209bf95 :parametrized: yes :setup: standalone instance :steps: 1. Replace a value that is too small 2. Replace a value that is too big 3. Replace a value that overflows the int 4. Replace a value with character value (not a number) 5. Replace a vlue with a valid value :expectedresults: 1. Value is rejected 2. Value is rejected 3. Value is rejected 4. Value is rejected 5. Value is allowed """ agmt = agmt_setup(topo) # Value too small perform_invalid_modify(agmt, attr, too_small) # Value too big > perform_invalid_modify(agmt, attr, too_big) suites/replication/replica_config_test.py:255: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ o = <lib389.agreement.Agreement object at 0x7fac103171d0> attr = 'nsds5ReplicaProtocolTimeout', value = '9223372036854775807' def perform_invalid_modify(o, attr, value): with pytest.raises(ldap.LDAPError) as ei: > o.replace(attr, value) E Failed: DID NOT RAISE <class 'ldap.LDAPError'> suites/replication/replica_config_test.py:113: Failed | |||
XFailed | suites/replication/ruvstore_test.py::test_memoryruv_sync_with_databaseruv | 0.04 | |
topo = <lib389.topologies.TopologyMain object at 0x7fac0fe97350> @pytest.mark.xfail(reason="No method to safety access DB ruv currently exists online.") def test_memoryruv_sync_with_databaseruv(topo): """Check if memory ruv and database ruv are synced :id: 5f38ac5f-6353-460d-bf60-49cafffda5b3 :setup: Replication with two masters. :steps: 1. Add user to server and compare memory ruv and database ruv. 2. Modify description of user and compare memory ruv and database ruv. 3. Modrdn of user and compare memory ruv and database ruv. 4. Delete user and compare memory ruv and database ruv. :expectedresults: 1. For add user, the memory ruv and database ruv should be the same. 2. For modify operation, the memory ruv and database ruv should be the same. 3. For modrdn operation, the memory ruv and database ruv should be the same. 4. For delete operation, the memory ruv and database ruv should be the same. """ log.info('Adding user: {} to master1'.format(TEST_ENTRY_NAME)) users = UserAccounts(topo.ms['master1'], DEFAULT_SUFFIX) tuser = users.create(properties=USER_PROPERTIES) > _compare_memoryruv_and_databaseruv(topo, 'add') suites/replication/ruvstore_test.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topo = <lib389.topologies.TopologyMain object at 0x7fac0fe97350> operation_type = 'add' def _compare_memoryruv_and_databaseruv(topo, operation_type): """Compare the memoryruv and databaseruv for ldap operations""" log.info('Checking memory ruv for ldap: {} operation'.format(operation_type)) replicas = Replicas(topo.ms['master1']) replica = replicas.list()[0] memory_ruv = replica.get_attr_val_utf8('nsds50ruv') log.info('Checking database ruv for ldap: {} operation'.format(operation_type)) > entry = replicas.get_ruv_entry(DEFAULT_SUFFIX) E AttributeError: 'Replicas' object has no attribute 'get_ruv_entry' suites/replication/ruvstore_test.py:81: AttributeError -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.replication.ruvstore_test:ruvstore_test.py:136 Adding user: rep2lusr to master1 [32mINFO [0m tests.suites.replication.ruvstore_test:ruvstore_test.py:75 Checking memory ruv for ldap: add operation [32mINFO [0m tests.suites.replication.ruvstore_test:ruvstore_test.py:80 Checking database ruv for ldap: add operation | |||
XPassed | suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6] | 0.30 | |
No log output captured. | |||
XPassed | suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaBusyWaitTime--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6] | 0.17 | |
No log output captured. | |||
XPassed | suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaSessionPauseTime--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6] | 0.17 | |
No log output captured. | |||
XPassed | suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaFlowControlWindow--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6] | 0.42 | |
No log output captured. | |||
XPassed | suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaFlowControlPause--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6] | 0.17 | |
No log output captured. | |||
XPassed | suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaProtocolTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6] | 0.17 | |
No log output captured. | |||
Skipped | suites/config/regression_test.py::test_set_cachememsize_to_custom_value::setup | 0.00 | |
('suites/config/regression_test.py', 34, 'Skipped: available memory is too low') | |||
Skipped | suites/filter/filterscanlimit_test.py::test_invalid_configuration::setup | 0.00 | |
('suites/filter/filterscanlimit_test.py', 172, 'Skipped: https://pagure.io/389-ds-base/issue/50201') | |||
Skipped | suites/memory_leaks/range_search_test.py::test_range_search::setup | 0.00 | |
('suites/memory_leaks/range_search_test.py', 24, "Skipped: Don't run if ASAN is not enabled") | |||
Skipped | suites/migration/export_data_test.py::test_export_data_from_source_host::setup | 0.00 | |
('suites/migration/export_data_test.py', 24, 'Skipped: This test is meant to execute in specific test environment') | |||
Skipped | suites/migration/import_data_test.py::test_import_data_to_target_host::setup | 0.00 | |
('suites/migration/import_data_test.py', 24, 'Skipped: This test is meant to execute in specific test environment') | |||
Skipped | tickets/ticket47462_test.py::test_ticket47462::setup | 0.00 | |
('tickets/ticket47462_test.py', 39, 'Skipped: Upgrade scripts are supported only on versions < 1.4.x') | |||
Skipped | tickets/ticket47815_test.py::test_ticket47815::setup | 0.00 | |
('tickets/ticket47815_test.py', 26, 'Skipped: Not implemented, or invalid by nsMemberOf') | |||
Skipped | tickets/ticket49121_test.py::test_ticket49121::setup | 0.00 | |
('tickets/ticket49121_test.py', 32, "Skipped: Don't run if ASAN is not enabled") | |||
Passed | suites/acl/acivattr_test.py::test_positive[(ENG_USER, ENG_MANAGER, REAL_EQ_ACI)] | 0.05 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/acivattr_test.py::test_positive[(ENG_USER, ENG_MANAGER, REAL_PRES_ACI)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_positive[(ENG_USER, ENG_MANAGER, REAL_SUB_ACI)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_positive[(ENG_USER, ENG_MANAGER, ROLE_PRES_ACI)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_positive[(ENG_USER, ENG_MANAGER, ROLE_SUB_ACI)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_positive[(ENG_USER, ENG_MANAGER, COS_EQ_ACI)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_positive[(ENG_USER, ENG_MANAGER, COS_PRES_ACI)] | 0.30 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_positive[(ENG_USER, ENG_MANAGER, COS_SUB_ACI)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_positive[(ENG_USER, ENG_MANAGER, LDAPURL_ACI)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_negative[(ENG_USER, SALES_MANAGER, REAL_EQ_ACI)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_negative[(ENG_USER, SALES_OU, REAL_PRES_ACI)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_negative[(ENG_USER, SALES_MANAGER, REAL_SUB_ACI)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_negative[(ENG_USER, SALES_MANAGER, ROLE_EQ_ACI)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_negative[(ENG_USER, SALES_MANAGER, ROLE_PRES_ACI)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_negative[(ENG_USER, SALES_MANAGER, ROLE_SUB_ACI)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_negative[(ENG_USER, SALES_MANAGER, COS_EQ_ACI)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_negative[(ENG_USER, SALES_MANAGER, COS_PRES_ACI)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_negative[(ENG_USER, SALES_MANAGER, COS_SUB_ACI)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_negative[(SALES_UESER, SALES_MANAGER, LDAPURL_ACI)] | 0.06 | |
No log output captured. | |||
Passed | suites/acl/acivattr_test.py::test_negative[(ENG_USER, ENG_MANAGER, ROLE_EQ_ACI)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/acl_deny_test.py::test_multi_deny_aci | 13.24 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389:acl_deny_test.py:39 Add uid=tuser1,ou=People,dc=example,dc=com [32mINFO [0m lib389:acl_deny_test.py:50 Add uid=tuser,ou=People,dc=example,dc=com -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_deny_test.py:82 Pass 1 [32mINFO [0m lib389:acl_deny_test.py:85 Testing two searches behave the same... [32mINFO [0m lib389:acl_deny_test.py:128 Testing search does not return any entries... [32mINFO [0m lib389:acl_deny_test.py:82 Pass 2 [32mINFO [0m lib389:acl_deny_test.py:85 Testing two searches behave the same... [32mINFO [0m lib389:acl_deny_test.py:128 Testing search does not return any entries... [32mINFO [0m lib389:acl_deny_test.py:192 Test PASSED | |||
Passed | suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[lang-ja] | 0.01 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 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:106 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:139 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:153 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:1940 SUCCESS: bootstrap to ldap://server.example.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2009 SUCCESS: joined master from ldap://server.example.com:39001 to ldap://server.example.com:39002 [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master1 to master2 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 already exists [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:77 ========Executing test with 'lang-ja' subtype======== [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:78 Add a target attribute [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:81 Add a user attribute [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:89 Add an ACI with attribute subtype -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:119 Search for the added attribute [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:126 The added attribute was found | |||
Passed | suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[binary] | 0.00 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:77 ========Executing test with 'binary' subtype======== [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:78 Add a target attribute [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:81 Add a user attribute [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:89 Add an ACI with attribute subtype -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:119 Search for the added attribute [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:126 The added attribute was found | |||
Passed | suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[phonetic] | 0.00 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:77 ========Executing test with 'phonetic' subtype======== [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:78 Add a target attribute [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:81 Add a user attribute [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:89 Add an ACI with attribute subtype -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:119 Search for the added attribute [32mINFO [0m tests.suites.acl.acl_test:acl_test.py:126 The added attribute was found | |||
Passed | suites/acl/acl_test.py::test_mode_default_add_deny | 0.05 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389:acl_test.py:234 ######## INITIALIZATION ######## [32mINFO [0m lib389:acl_test.py:237 Add uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:247 Add cn=staged user,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:251 Add cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:255 Add cn=excepts,cn=accounts,dc=example,dc=com -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:287 ######## mode moddn_aci : ADD (should fail) ######## [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:295 Try to add cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:304 Exception (expected): INSUFFICIENT_ACCESS | |||
Passed | suites/acl/acl_test.py::test_mode_default_delete_deny | 0.04 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:322 ######## DELETE (should fail) ######## [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:329 Try to delete cn=staged user,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:334 Exception (expected): INSUFFICIENT_ACCESS | |||
Passed | suites/acl/acl_test.py::test_moddn_staging_prod[0-cn=staged user,dc=example,dc=com-cn=accounts,dc=example,dc=com-False] | 0.39 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:369 ######## MOVE staging -> Prod (0) ######## [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:381 Try to MODDN uid=new_account0,cn=staged user,dc=example,dc=com -> uid=new_account0,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:388 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:392 ######## MOVE to and from equality filter ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:399 Try to MODDN uid=new_account0,cn=staged user,dc=example,dc=com -> uid=new_account0,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com | |||
Passed | suites/acl/acl_test.py::test_moddn_staging_prod[1-cn=staged user,dc=example,dc=com-cn=accounts,dc=example,dc=com-False] | 0.38 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:369 ######## MOVE staging -> Prod (1) ######## [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:381 Try to MODDN uid=new_account1,cn=staged user,dc=example,dc=com -> uid=new_account1,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:388 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:392 ######## MOVE to and from equality filter ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:399 Try to MODDN uid=new_account1,cn=staged user,dc=example,dc=com -> uid=new_account1,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com | |||
Passed | suites/acl/acl_test.py::test_moddn_staging_prod[2-cn=staged user,dc=example,dc=com-cn=bad*,dc=example,dc=com-True] | 0.36 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:369 ######## MOVE staging -> Prod (2) ######## [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:381 Try to MODDN uid=new_account2,cn=staged user,dc=example,dc=com -> uid=new_account2,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:388 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:392 ######## MOVE to and from equality filter ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:399 Try to MODDN uid=new_account2,cn=staged user,dc=example,dc=com -> uid=new_account2,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:402 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com | |||
Passed | suites/acl/acl_test.py::test_moddn_staging_prod[3-cn=st*,dc=example,dc=com-cn=accounts,dc=example,dc=com-False] | 0.38 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:369 ######## MOVE staging -> Prod (3) ######## [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:381 Try to MODDN uid=new_account3,cn=staged user,dc=example,dc=com -> uid=new_account3,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:388 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:392 ######## MOVE to and from equality filter ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:399 Try to MODDN uid=new_account3,cn=staged user,dc=example,dc=com -> uid=new_account3,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com | |||
Passed | suites/acl/acl_test.py::test_moddn_staging_prod[4-cn=bad*,dc=example,dc=com-cn=accounts,dc=example,dc=com-True] | 0.38 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:369 ######## MOVE staging -> Prod (4) ######## [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:381 Try to MODDN uid=new_account4,cn=staged user,dc=example,dc=com -> uid=new_account4,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:388 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:392 ######## MOVE to and from equality filter ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:399 Try to MODDN uid=new_account4,cn=staged user,dc=example,dc=com -> uid=new_account4,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:402 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com | |||
Passed | suites/acl/acl_test.py::test_moddn_staging_prod[5-cn=st*,dc=example,dc=com-cn=ac*,dc=example,dc=com-False] | 0.36 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:369 ######## MOVE staging -> Prod (5) ######## [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:381 Try to MODDN uid=new_account5,cn=staged user,dc=example,dc=com -> uid=new_account5,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:388 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:392 ######## MOVE to and from equality filter ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:399 Try to MODDN uid=new_account5,cn=staged user,dc=example,dc=com -> uid=new_account5,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com | |||
Passed | suites/acl/acl_test.py::test_moddn_staging_prod[6-None-cn=ac*,dc=example,dc=com-False] | 0.40 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:369 ######## MOVE staging -> Prod (6) ######## [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:381 Try to MODDN uid=new_account6,cn=staged user,dc=example,dc=com -> uid=new_account6,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:388 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:392 ######## MOVE to and from equality filter ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:399 Try to MODDN uid=new_account6,cn=staged user,dc=example,dc=com -> uid=new_account6,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com | |||
Passed | suites/acl/acl_test.py::test_moddn_staging_prod[7-cn=st*,dc=example,dc=com-None-False] | 0.36 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:369 ######## MOVE staging -> Prod (7) ######## [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:381 Try to MODDN uid=new_account7,cn=staged user,dc=example,dc=com -> uid=new_account7,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:388 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:392 ######## MOVE to and from equality filter ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:399 Try to MODDN uid=new_account7,cn=staged user,dc=example,dc=com -> uid=new_account7,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com | |||
Passed | suites/acl/acl_test.py::test_moddn_staging_prod[8-None-None-False] | 0.37 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:369 ######## MOVE staging -> Prod (8) ######## [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:381 Try to MODDN uid=new_account8,cn=staged user,dc=example,dc=com -> uid=new_account8,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:388 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:392 ######## MOVE to and from equality filter ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:399 Try to MODDN uid=new_account8,cn=staged user,dc=example,dc=com -> uid=new_account8,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com | |||
Passed | suites/acl/acl_test.py::test_moddn_staging_prod_9 | 1.61 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:445 ######## MOVE staging -> Prod (9) ######## [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:458 Try to MODDN uid=new_account9,cn=staged user,dc=example,dc=com -> uid=new_account9,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:465 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:471 Disable the moddn right [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:476 ######## MOVE to and from equality filter ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:484 Try to MODDN uid=new_account9,cn=staged user,dc=example,dc=com -> uid=new_account9,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:491 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:513 Try to MODDN uid=new_account9,cn=staged user,dc=example,dc=com -> uid=new_account9,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:524 Enable the moddn right [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:528 ######## MOVE staging -> Prod (10) ######## [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:540 Try to MODDN uid=new_account10,cn=staged user,dc=example,dc=com -> uid=new_account10,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:547 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:564 Try to MODDN uid=new_account10,cn=staged user,dc=example,dc=com -> uid=new_account10,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:571 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:580 ######## MOVE to and from equality filter ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:586 Try to MODDN uid=new_account10,cn=staged user,dc=example,dc=com -> uid=new_account10,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com | |||
Passed | suites/acl/acl_test.py::test_moddn_prod_staging | 0.69 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:615 ######## MOVE staging -> Prod (11) ######## [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:628 Try to MODDN uid=new_account11,cn=staged user,dc=example,dc=com -> uid=new_account11,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:635 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:639 ######## MOVE to and from equality filter ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:645 Try to MODDN uid=new_account11,cn=staged user,dc=example,dc=com -> uid=new_account11,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:660 Try to move back MODDN uid=new_account11,cn=accounts,dc=example,dc=com -> uid=new_account11,cn=staged user,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:667 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com | |||
Passed | suites/acl/acl_test.py::test_check_repl_M2_to_M1 | 1.13 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:697 Bind as cn=Directory Manager (M2) [32mINFO [0m lib389:acl_test.py:717 Update (M2) uid=new_account12,cn=staged user,dc=example,dc=com (description) [32mINFO [0m lib389:acl_test.py:730 Update uid=new_account12,cn=staged user,dc=example,dc=com (description) replicated on M1 | |||
Passed | suites/acl/acl_test.py::test_moddn_staging_prod_except | 0.38 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:755 ######## MOVE staging -> Prod (13) ######## [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:767 Try to MODDN uid=new_account13,cn=staged user,dc=example,dc=com -> uid=new_account13,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:774 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:778 ######## MOVE to and from equality filter ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:161 Add a DENY aci under cn=excepts,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:785 Try to MODDN uid=new_account13,cn=staged user,dc=example,dc=com -> uid=new_account13,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:791 ######## MOVE staging -> Prod/Except (14) ######## [32mINFO [0m lib389:acl_test.py:797 Try to MODDN uid=new_account14,cn=staged user,dc=example,dc=com -> uid=new_account14,cn=excepts,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:804 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:161 Add a DENY aci under cn=excepts,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com | |||
Passed | suites/acl/acl_test.py::test_mode_default_ger_no_moddn | 0.01 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:831 ######## mode moddn_aci : GER no moddn ######## [32mINFO [0m lib389:acl_test.py:842 dn: cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:842 dn: cn=excepts,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:842 dn: uid=new_account0,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:842 dn: uid=new_account1,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:842 dn: uid=new_account3,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:842 dn: uid=new_account5,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:842 dn: uid=new_account6,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:842 dn: uid=new_account7,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:842 dn: uid=new_account8,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:842 dn: uid=new_account9,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:842 dn: uid=new_account10,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:842 dn: uid=new_account11,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:842 dn: uid=new_account13,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:845 ######## entryLevelRights: b'v' | |||
Passed | suites/acl/acl_test.py::test_mode_default_ger_with_moddn | 0.33 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:869 ######## mode moddn_aci: GER with moddn ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:887 dn: cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:887 dn: cn=excepts,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:887 dn: uid=new_account0,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:887 dn: uid=new_account1,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:887 dn: uid=new_account3,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:887 dn: uid=new_account5,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:887 dn: uid=new_account6,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:887 dn: uid=new_account7,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:887 dn: uid=new_account8,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:887 dn: uid=new_account9,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:887 dn: uid=new_account10,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:887 dn: uid=new_account11,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:887 dn: uid=new_account13,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:890 ######## entryLevelRights: b'vn' [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com | |||
Passed | suites/acl/acl_test.py::test_mode_legacy_ger_no_moddn1 | 0.13 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:920 ######## Disable the moddn aci mod ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:924 ######## mode legacy 1: GER no moddn ######## [32mINFO [0m lib389:acl_test.py:934 dn: cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:934 dn: cn=excepts,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:934 dn: uid=new_account0,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:934 dn: uid=new_account1,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:934 dn: uid=new_account3,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:934 dn: uid=new_account5,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:934 dn: uid=new_account6,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:934 dn: uid=new_account7,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:934 dn: uid=new_account8,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:934 dn: uid=new_account9,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:934 dn: uid=new_account10,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:934 dn: uid=new_account11,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:934 dn: uid=new_account13,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:937 ######## entryLevelRights: b'v' | |||
Passed | suites/acl/acl_test.py::test_mode_legacy_ger_no_moddn2 | 0.45 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:963 ######## Disable the moddn aci mod ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:967 ######## mode legacy 2: GER no moddn ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:984 dn: cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:984 dn: cn=excepts,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:984 dn: uid=new_account0,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:984 dn: uid=new_account1,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:984 dn: uid=new_account3,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:984 dn: uid=new_account5,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:984 dn: uid=new_account6,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:984 dn: uid=new_account7,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:984 dn: uid=new_account8,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:984 dn: uid=new_account9,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:984 dn: uid=new_account10,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:984 dn: uid=new_account11,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:984 dn: uid=new_account13,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:987 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com | |||
Passed | suites/acl/acl_test.py::test_mode_legacy_ger_with_moddn | 0.40 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:1023 ######## Disable the moddn aci mod ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:1027 ######## mode legacy : GER with moddn ######## [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager [32mINFO [0m lib389:acl_test.py:140 Bind as uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1049 dn: cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1049 dn: cn=excepts,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1049 dn: uid=new_account0,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1049 dn: uid=new_account1,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1049 dn: uid=new_account3,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1049 dn: uid=new_account5,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1049 dn: uid=new_account6,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1049 dn: uid=new_account7,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1049 dn: uid=new_account8,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1049 dn: uid=new_account9,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1049 dn: uid=new_account10,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1049 dn: uid=new_account11,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1049 dn: uid=new_account13,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1052 ######## entryLevelRights: b'vn' [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager | |||
Passed | suites/acl/acl_test.py::test_rdn_write_get_ger | 0.01 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389:acl_test.py:1063 ######## Add entry tuser ######## -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:1087 ######## GER rights for anonymous ######## [32mINFO [0m lib389:acl_test.py:1097 dn: dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: cn=Directory Administrators,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: ou=Groups,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: ou=People,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: ou=Special Users,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: cn=Accounting Managers,ou=Groups,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: cn=HR Managers,ou=Groups,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: cn=QA Managers,ou=Groups,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: cn=PD Managers,ou=Groups,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: cn=replication_managers,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: ou=Services,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: cn=server.example.com:63701,ou=Services,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: cn=server.example.com:63702,ou=Services,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=bind_entry,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: cn=staged user,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: cn=excepts,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account0,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account1,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account2,cn=staged user,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account3,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account4,cn=staged user,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account5,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account6,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account7,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account8,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account9,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account10,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account11,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account12,cn=staged user,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account13,cn=accounts,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account14,cn=staged user,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account15,cn=staged user,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account16,cn=staged user,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account17,cn=staged user,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account18,cn=staged user,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: uid=new_account19,cn=staged user,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' [32mINFO [0m lib389:acl_test.py:1097 dn: cn=tuser,dc=example,dc=com [32mINFO [0m lib389:acl_test.py:1099 ######## entryLevelRights: b'v' | |||
Passed | suites/acl/acl_test.py::test_rdn_write_modrdn_anonymous | 0.17 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:acl_test.py:1126 dn: [32mINFO [0m lib389:acl_test.py:1128 ######## 'objectClass': [b'top'] [32mINFO [0m lib389:acl_test.py:1128 ######## 'defaultnamingcontext': [b'dc=example,dc=com'] [32mINFO [0m lib389:acl_test.py:1128 ######## 'dataversion': [b'020191231001949'] [32mINFO [0m lib389:acl_test.py:1128 ######## 'netscapemdsuffix': [b'cn=ldap://dc=server,dc=example,dc=com:39001'] [32mINFO [0m lib389:acl_test.py:1133 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:acl_test.py:1140 The entry was not renamed (expected) [32mINFO [0m lib389:acl_test.py:134 Bind as cn=Directory Manager | |||
Passed | suites/acl/deladd_test.py::test_allow_delete_access_to_groupdn | 0.32 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/deladd_test.py::test_allow_add_access_to_anyone | 0.05 | |
No log output captured. | |||
Passed | suites/acl/deladd_test.py::test_allow_delete_access_to_anyone | 0.05 | |
No log output captured. | |||
Passed | suites/acl/deladd_test.py::test_allow_delete_access_not_to_userdn | 0.05 | |
No log output captured. | |||
Passed | suites/acl/deladd_test.py::test_allow_delete_access_not_to_group | 0.06 | |
No log output captured. | |||
Passed | suites/acl/deladd_test.py::test_allow_add_access_to_parent | 0.06 | |
No log output captured. | |||
Passed | suites/acl/deladd_test.py::test_allow_delete_access_to_parent | 0.05 | |
No log output captured. | |||
Passed | suites/acl/deladd_test.py::test_allow_delete_access_to_dynamic_group | 0.17 | |
No log output captured. | |||
Passed | suites/acl/deladd_test.py::test_allow_delete_access_to_dynamic_group_uid | 0.07 | |
No log output captured. | |||
Passed | suites/acl/deladd_test.py::test_allow_delete_access_not_to_dynamic_group | 0.07 | |
No log output captured. | |||
Passed | suites/acl/enhanced_aci_modrnd_test.py::test_enhanced_aci_modrnd | 0.75 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m tests.suites.acl.enhanced_aci_modrnd_test:enhanced_aci_modrnd_test.py:32 Add a container: ou=test_ou_1,dc=example,dc=com [32mINFO [0m tests.suites.acl.enhanced_aci_modrnd_test:enhanced_aci_modrnd_test.py:39 Add a container: ou=test_ou_2,dc=example,dc=com [32mINFO [0m tests.suites.acl.enhanced_aci_modrnd_test:enhanced_aci_modrnd_test.py:46 Add a user: cn=test_user,ou=test_ou_1,dc=example,dc=com [32mINFO [0m tests.suites.acl.enhanced_aci_modrnd_test:enhanced_aci_modrnd_test.py:61 Add an ACI 'allow (all)' by cn=test_user,ou=test_ou_1,dc=example,dc=com to the ou=test_ou_1,dc=example,dc=com [32mINFO [0m tests.suites.acl.enhanced_aci_modrnd_test:enhanced_aci_modrnd_test.py:65 Add an ACI 'allow (all)' by cn=test_user,ou=test_ou_1,dc=example,dc=com to the ou=test_ou_2,dc=example,dc=com -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.acl.enhanced_aci_modrnd_test:enhanced_aci_modrnd_test.py:95 Bind as cn=test_user,ou=test_ou_1,dc=example,dc=com [32mINFO [0m tests.suites.acl.enhanced_aci_modrnd_test:enhanced_aci_modrnd_test.py:100 User MODRDN operation from ou=test_ou_1,dc=example,dc=com to ou=test_ou_2,dc=example,dc=com [32mINFO [0m tests.suites.acl.enhanced_aci_modrnd_test:enhanced_aci_modrnd_test.py:105 Check there is no user in ou=test_ou_1,dc=example,dc=com [32mINFO [0m tests.suites.acl.enhanced_aci_modrnd_test:enhanced_aci_modrnd_test.py:111 Check there is our user in ou=test_ou_2,dc=example,dc=com | |||
Passed | suites/acl/globalgroup_part2_test.py::test_undefined_in_group_eval_five | 0.06 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/globalgroup_part2_test.py::test_undefined_in_group_eval_six | 0.07 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_part2_test.py::test_undefined_in_group_eval_seven | 0.05 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_part2_test.py::test_undefined_in_group_eval_eight | 0.06 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_part2_test.py::test_undefined_in_group_eval_nine | 0.05 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_part2_test.py::test_undefined_in_group_eval_ten | 0.05 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_part2_test.py::test_undefined_in_group_eval_eleven | 0.06 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_part2_test.py::test_undefined_in_group_eval_twelve | 0.08 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_part2_test.py::test_undefined_in_group_eval_fourteen | 0.06 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_part2_test.py::test_undefined_in_group_eval_fifteen | 0.05 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_part2_test.py::test_undefined_in_group_eval_sixteen | 0.05 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_part2_test.py::test_undefined_in_group_eval_seventeen | 0.05 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_part2_test.py::test_undefined_in_group_eval_eighteen | 0.05 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_test.py::test_caching_changes | 0.06 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/globalgroup_test.py::test_deny_group_member_all_rights_to_user | 0.06 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_test.py::test_deny_group_member_all_rights_to_group_members | 0.06 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_test.py::test_deeply_nested_groups_aci_denial | 0.05 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_test.py::test_deeply_nested_groups_aci_denial_two | 0.05 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_test.py::test_deeply_nested_groups_aci_allow | 0.05 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_test.py::test_deeply_nested_groups_aci_allow_two | 0.05 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_test.py::test_undefined_in_group_eval | 0.05 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_test.py::test_undefined_in_group_eval_two | 0.06 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_test.py::test_undefined_in_group_eval_three | 0.05 | |
No log output captured. | |||
Passed | suites/acl/globalgroup_test.py::test_undefined_in_group_eval_four | 0.06 | |
No log output captured. | |||
Passed | suites/acl/keywords_part2_test.py::test_access_from_certain_network_only_ip | 4.18 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/keywords_part2_test.py::test_connectin_from_an_unauthorized_network | 0.14 | |
No log output captured. | |||
Passed | suites/acl/keywords_part2_test.py::test_ip_keyword_test_noip_cannot | 0.09 | |
No log output captured. | |||
Passed | suites/acl/keywords_part2_test.py::test_user_can_access_the_data_at_any_time | 0.08 | |
No log output captured. | |||
Passed | suites/acl/keywords_part2_test.py::test_user_can_access_the_data_only_in_the_morning | 0.09 | |
No log output captured. | |||
Passed | suites/acl/keywords_part2_test.py::test_user_can_access_the_data_only_in_the_afternoon | 0.08 | |
No log output captured. | |||
Passed | suites/acl/keywords_part2_test.py::test_timeofday_keyword | 1.13 | |
No log output captured. | |||
Passed | suites/acl/keywords_part2_test.py::test_dayofweek_keyword_test_everyday_can_access | 0.08 | |
No log output captured. | |||
Passed | suites/acl/keywords_part2_test.py::test_dayofweek_keyword_today_can_access | 0.08 | |
No log output captured. | |||
Passed | suites/acl/keywords_part2_test.py::test_user_cannot_access_the_data_at_all | 0.09 | |
No log output captured. | |||
Passed | suites/acl/keywords_test.py::test_user_binds_with_a_password_and_can_access_the_data | 0.06 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/keywords_test.py::test_user_binds_with_a_bad_password_and_cannot_access_the_data | 0.01 | |
No log output captured. | |||
Passed | suites/acl/keywords_test.py::test_anonymous_user_cannot_access_the_data | 0.27 | |
No log output captured. | |||
Passed | suites/acl/keywords_test.py::test_authenticated_but_has_no_rigth_on_the_data | 0.05 | |
No log output captured. | |||
Passed | suites/acl/keywords_test.py::test_the_bind_client_is_accessing_the_directory | 0.04 | |
No log output captured. | |||
Passed | suites/acl/keywords_test.py::test_users_binds_with_a_password_and_can_access_the_data | 0.04 | |
No log output captured. | |||
Passed | suites/acl/keywords_test.py::test_user_binds_without_any_password_and_cannot_access_the_data | 0.02 | |
No log output captured. | |||
Passed | suites/acl/keywords_test.py::test_user_can_access_the_data_when_connecting_from_any_machine | 0.05 | |
No log output captured. | |||
Passed | suites/acl/keywords_test.py::test_user_can_access_the_data_when_connecting_from_internal_ds_network_only | 0.04 | |
No log output captured. | |||
Passed | suites/acl/keywords_test.py::test_user_can_access_the_data_when_connecting_from_some_network_only | 0.04 | |
No log output captured. | |||
Passed | suites/acl/keywords_test.py::test_from_an_unauthorized_network | 0.12 | |
No log output captured. | |||
Passed | suites/acl/keywords_test.py::test_user_cannot_access_the_data_when_connecting_from_an_unauthorized_network_2 | 10.24 | |
No log output captured. | |||
Passed | suites/acl/keywords_test.py::test_user_cannot_access_the_data_if_not_from_a_certain_domain | 0.05 | |
No log output captured. | |||
Passed | suites/acl/keywords_test.py::test_dnsalias_keyword_test_nodns_cannot | 0.38 | |
No log output captured. | |||
Passed | suites/acl/keywords_test.py::test_user_can_access_from_ipv4_or_ipv6_address[127.0.0.1] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/keywords_test.py::test_user_can_access_from_ipv4_or_ipv6_address[[::1]] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/misc_test.py::test_accept_aci_in_addition_to_acl | 0.83 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/misc_test.py::test_more_then_40_acl_will_crash_slapd | 0.28 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389:misc_test.py:65 Exception (expected): ALREADY_EXISTS | |||
Passed | suites/acl/misc_test.py::test_search_access_should_not_include_read_access | 0.26 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389:misc_test.py:65 Exception (expected): ALREADY_EXISTS | |||
Passed | suites/acl/misc_test.py::test_only_allow_some_targetattr | 0.06 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389:misc_test.py:65 Exception (expected): ALREADY_EXISTS | |||
Passed | suites/acl/misc_test.py::test_only_allow_some_targetattr_two | 0.34 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389:misc_test.py:65 Exception (expected): ALREADY_EXISTS | |||
Passed | suites/acl/misc_test.py::test_memberurl_needs_to_be_normalized | 0.41 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389:misc_test.py:65 Exception (expected): ALREADY_EXISTS | |||
Passed | suites/acl/misc_test.py::test_greater_than_200_acls_can_be_created | 5.28 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389:misc_test.py:65 Exception (expected): ALREADY_EXISTS | |||
Passed | suites/acl/misc_test.py::test_server_bahaves_properly_with_very_long_attribute_names | 0.09 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389:misc_test.py:65 Exception (expected): ALREADY_EXISTS | |||
Passed | suites/acl/misc_test.py::test_do_bind_as_201_distinct_users | 19.36 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389:misc_test.py:65 Exception (expected): ALREADY_EXISTS | |||
Passed | suites/acl/modify_test.py::test_allow_write_access_to_targetattr_with_a_single_attribute | 1.08 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/modify_test.py::test_allow_write_access_to_targetattr_with_multiple_attibutes | 0.10 | |
No log output captured. | |||
Passed | suites/acl/modify_test.py::test_allow_write_access_to_userdn_all | 0.39 | |
No log output captured. | |||
Passed | suites/acl/modify_test.py::test_allow_write_access_to_userdn_with_wildcards_in_dn | 0.08 | |
No log output captured. | |||
Passed | suites/acl/modify_test.py::test_allow_write_access_to_userdn_with_multiple_dns | 0.22 | |
No log output captured. | |||
Passed | suites/acl/modify_test.py::test_allow_write_access_to_target_with_wildcards | 0.21 | |
No log output captured. | |||
Passed | suites/acl/modify_test.py::test_allow_write_access_to_userdnattr | 0.13 | |
No log output captured. | |||
Passed | suites/acl/modify_test.py::test_allow_selfwrite_access_to_anyone | 0.11 | |
No log output captured. | |||
Passed | suites/acl/modify_test.py::test_uniquemember_should_also_be_the_owner | 0.33 | |
No log output captured. | |||
Passed | suites/acl/modify_test.py::test_aci_with_both_allow_and_deny | 0.19 | |
No log output captured. | |||
Passed | suites/acl/modify_test.py::test_allow_owner_to_modify_entry | 0.14 | |
No log output captured. | |||
Passed | suites/acl/modrdn_test.py::test_allow_write_privilege_to_anyone | 0.02 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/modrdn_test.py::test_allow_write_privilege_to_dynamic_group_with_scope_set_to_base_in_ldap_url | 0.05 | |
No log output captured. | |||
Passed | suites/acl/modrdn_test.py::test_write_access_to_naming_atributes | 0.06 | |
No log output captured. | |||
Passed | suites/acl/modrdn_test.py::test_write_access_to_naming_atributes_two | 0.10 | |
No log output captured. | |||
Passed | suites/acl/modrdn_test.py::test_access_aci_list_contains_any_deny_rule | 0.13 | |
No log output captured. | |||
Passed | suites/acl/modrdn_test.py::test_renaming_target_entry | 0.10 | |
No log output captured. | |||
Passed | suites/acl/repeated_ldap_add_test.py::test_repeated_ldap_add | 33.33 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. ------------------------------Captured stdout call------------------------------ uid=buser123,ou=BOU,dc=example,dc=com inactivated. -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:184 Testing Bug 1347760 - Information disclosure via repeated use of LDAP ADD operation, etc. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:186 Disabling accesslog logbuffering [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:189 Bind as {cn=Directory Manager,password} [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:192 Adding ou=BOU a bind user belongs to. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:197 Adding a bind user. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:204 Adding a test user. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:211 Deleting aci in dc=example,dc=com. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:214 While binding as DM, acquire an access log path and instance dir [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:220 Bind case 1. the bind user has no rights to read the entry itself, bind should be successful. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:221 Bind as {uid=buser123,ou=BOU,dc=example,dc=com,buser123} who has no access rights. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:229 Access log path: /var/log/dirsrv/slapd-standalone1/access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:232 Bind case 2-1. the bind user does not exist, bind should fail with error INVALID_CREDENTIALS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:233 Bind as {uid=bogus,dc=example,dc=com,bogus} who does not exist. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:237 Exception (expected): INVALID_CREDENTIALS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:238 Desc Invalid credentials [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:246 Cause found - [30/Dec/2019:19:22:36.974359822 -0500] conn=1 op=11 RESULT err=49 tag=97 nentries=0 etime=0.004688852 - No such entry [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:250 Bind case 2-2. the bind user's suffix does not exist, bind should fail with error INVALID_CREDENTIALS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:251 Bind as {uid=bogus,ou=people,dc=bogus,bogus} who does not exist. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:260 Cause found - [30/Dec/2019:19:22:37.982377075 -0500] conn=1 op=12 RESULT err=49 tag=97 nentries=0 etime=0.003694321 - No suffix for bind dn found [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:264 Bind case 2-3. the bind user's password is wrong, bind should fail with error INVALID_CREDENTIALS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:265 Bind as {uid=buser123,ou=BOU,dc=example,dc=com,bogus} who does not exist. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:269 Exception (expected): INVALID_CREDENTIALS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:270 Desc Invalid credentials [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:278 Cause found - [30/Dec/2019:19:22:39.017877416 -0500] conn=1 op=13 RESULT err=49 tag=97 nentries=0 etime=0.031627489 - Invalid credentials [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:281 Adding aci for uid=buser123,ou=BOU,dc=example,dc=com to ou=BOU,dc=example,dc=com. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:283 aci: (targetattr="*")(version 3.0; acl "buser123"; allow(all) userdn = "ldap:///uid=buser123,ou=BOU,dc=example,dc=com";) [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:284 Bind as {cn=Directory Manager,password} [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:289 Bind case 3. the bind user has the right to read the entry itself, bind should be successful. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:290 Bind as {uid=buser123,ou=BOU,dc=example,dc=com,buser123} which should be ok. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:293 The following operations are against the subtree the bind user uid=buser123,ou=BOU,dc=example,dc=com has no rights. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:298 Search case 1. the bind user has no rights to read the search entry, it should return no search results with <class 'ldap.SUCCESS'> [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Searching existing entry uid=tuser0,ou=people,dc=example,dc=com, which should be ok. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:141 Search should return none [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:304 Search case 2-1. the search entry does not exist, the search should return no search results with SUCCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Searching non-existing entry uid=bogus,dc=example,dc=com, which should be ok. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:141 Search should return none [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:310 Search case 2-2. the search entry does not exist, the search should return no search results with SUCCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Searching non-existing entry uid=bogus,ou=people,dc=example,dc=com, which should be ok. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:141 Search should return none [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:317 Add case 1. the bind user has no rights AND the adding entry exists, it should fail with INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Adding existing entry uid=tuser0,ou=people,dc=example,dc=com, which should fail with INSUFFICIENT_ACCESS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Insufficient access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:323 Add case 2-1. the bind user has no rights AND the adding entry does not exist, it should fail with INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Adding non-existing entry uid=bogus,dc=example,dc=com, which should fail with INSUFFICIENT_ACCESS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Insufficient access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:329 Add case 2-2. the bind user has no rights AND the adding entry does not exist, it should fail with INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Adding non-existing entry uid=bogus,ou=people,dc=example,dc=com, which should fail with INSUFFICIENT_ACCESS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Insufficient access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:336 Modify case 1. the bind user has no rights AND the modifying entry exists, it should fail with INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Modifying existing entry uid=tuser0,ou=people,dc=example,dc=com, which should fail with INSUFFICIENT_ACCESS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Insufficient access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:342 Modify case 2-1. the bind user has no rights AND the modifying entry does not exist, it should fail with INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Modifying non-existing entry uid=bogus,dc=example,dc=com, which should fail with INSUFFICIENT_ACCESS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Insufficient access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:348 Modify case 2-2. the bind user has no rights AND the modifying entry does not exist, it should fail with INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Modifying non-existing entry uid=bogus,ou=people,dc=example,dc=com, which should fail with INSUFFICIENT_ACCESS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Insufficient access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:355 Modrdn case 1. the bind user has no rights AND the renaming entry exists, it should fail with INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Renaming existing entry uid=tuser0,ou=people,dc=example,dc=com, which should fail with INSUFFICIENT_ACCESS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Insufficient access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:361 Modrdn case 2-1. the bind user has no rights AND the renaming entry does not exist, it should fail with INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Renaming non-existing entry uid=bogus,dc=example,dc=com, which should fail with INSUFFICIENT_ACCESS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Insufficient access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:367 Modrdn case 2-2. the bind user has no rights AND the renaming entry does not exist, it should fail with INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Renaming non-existing entry uid=bogus,ou=people,dc=example,dc=com, which should fail with INSUFFICIENT_ACCESS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Insufficient access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:373 Modrdn case 3. the bind user has no rights AND the node moving an entry to exists, it should fail with INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Moving to existing superior ou=groups,dc=example,dc=com, which should fail with INSUFFICIENT_ACCESS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Insufficient access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:379 Modrdn case 4-1. the bind user has no rights AND the node moving an entry to does not, it should fail with INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Moving to non-existing superior ou=OU,dc=example,dc=com, which should fail with INSUFFICIENT_ACCESS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Insufficient access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:385 Modrdn case 4-2. the bind user has no rights AND the node moving an entry to does not, it should fail with INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Moving to non-existing superior ou=OU,dc=example,dc=com, which should fail with INSUFFICIENT_ACCESS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Insufficient access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:392 Delete case 1. the bind user has no rights AND the deleting entry exists, it should fail with INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Deleting existing entry uid=tuser0,ou=people,dc=example,dc=com, which should fail with INSUFFICIENT_ACCESS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Insufficient access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:398 Delete case 2-1. the bind user has no rights AND the deleting entry does not exist, it should fail with INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Deleting non-existing entry uid=bogus,dc=example,dc=com, which should fail with INSUFFICIENT_ACCESS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Insufficient access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:404 Delete case 2-2. the bind user has no rights AND the deleting entry does not exist, it should fail with INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Deleting non-existing entry uid=bogus,ou=people,dc=example,dc=com, which should fail with INSUFFICIENT_ACCESS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Insufficient access [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:407 EXTRA: Check no regressions [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:408 Adding aci for uid=buser123,ou=BOU,dc=example,dc=com to dc=example,dc=com. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:410 Bind as {cn=Directory Manager,password} [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:415 Bind as {uid=buser123,ou=BOU,dc=example,dc=com,buser123}. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:425 Search case. the search entry does not exist, the search should fail with NO_SUCH_OBJECT [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Searching non-existing entry uid=bogus,ou=people,dc=example,dc=com, which should fail with NO_SUCH_OBJECT. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): NO_SUCH_OBJECT [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc No such object [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:431 Add case. the adding entry already exists, it should fail with ALREADY_EXISTS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Adding existing entry uid=tuser0,ou=people,dc=example,dc=com, which should fail with ALREADY_EXISTS. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): ALREADY_EXISTS [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc Already exists [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:436 Modify case. the modifying entry does not exist, it should fail with NO_SUCH_OBJECT [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Modifying non-existing entry uid=bogus,dc=example,dc=com, which should fail with NO_SUCH_OBJECT. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): NO_SUCH_OBJECT [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc No such object [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:441 Modrdn case 1. the renaming entry does not exist, it should fail with NO_SUCH_OBJECT [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Renaming non-existing entry uid=bogus,dc=example,dc=com, which should fail with NO_SUCH_OBJECT. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): NO_SUCH_OBJECT [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc No such object [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:446 Modrdn case 2. the node moving an entry to does not, it should fail with NO_SUCH_OBJECT [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Moving to non-existing superior ou=OU,dc=example,dc=com, which should fail with NO_SUCH_OBJECT. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): NO_SUCH_OBJECT [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc No such object [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:451 Delete case. the deleting entry does not exist, it should fail with NO_SUCH_OBJECT [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:108 Deleting non-existing entry uid=bogus,dc=example,dc=com, which should fail with NO_SUCH_OBJECT. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:131 Exception (expected): NO_SUCH_OBJECT [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:132 Desc No such object [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:148 PASSED [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:454 Inactivate uid=buser123,ou=BOU,dc=example,dc=com [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:461 ['/usr/sbin/ns-inactivate.pl', '-Z', 'standalone1', '-D', 'cn=Directory Manager', '-w', 'password', '-I', 'uid=buser123,ou=BOU,dc=example,dc=com'] [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:465 Bind as {uid=buser123,ou=BOU,dc=example,dc=com,buser123} which should fail with UNWILLING_TO_PERFORM. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:469 Exception (expected): UNWILLING_TO_PERFORM [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:470 Desc Server is unwilling to perform [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:473 Bind as {uid=buser123,ou=BOU,dc=example,dc=com,bogus} which should fail with UNWILLING_TO_PERFORM. [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:477 Exception (expected): UNWILLING_TO_PERFORM [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:478 Desc Server is unwilling to perform [32mINFO [0m tests.suites.acl.repeated_ldap_add_test:repeated_ldap_add_test.py:481 SUCCESS | |||
Passed | suites/acl/roledn_test.py::test_mod_seealso_positive[(STEVE_ROLE, NESTED_ROLE_TESTER)] | 0.06 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/roledn_test.py::test_mod_seealso_positive[(HARRY_ROLE, NESTED_ROLE_TESTER)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/roledn_test.py::test_mod_seealso_positive[(MARY_ROLE, NOT_RULE_ACCESS)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/roledn_test.py::test_mod_seealso_positive[(STEVE_ROLE, OR_RULE_ACCESS)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/roledn_test.py::test_mod_seealso_positive[(HARRY_ROLE, OR_RULE_ACCESS)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/roledn_test.py::test_mod_seealso_positive[(STEVE_ROLE, ALL_ACCESS)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/roledn_test.py::test_mod_seealso_positive[(HARRY_ROLE, ALL_ACCESS)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/roledn_test.py::test_mod_seealso_positive[(MARY_ROLE, ALL_ACCESS)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/roledn_test.py::test_mod_seealso_negative[(MARY_ROLE, NESTED_ROLE_TESTER)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/roledn_test.py::test_mod_seealso_negative[(STEVE_ROLE, NOT_RULE_ACCESS)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/roledn_test.py::test_mod_seealso_negative[(HARRY_ROLE, NOT_RULE_ACCESS)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/roledn_test.py::test_mod_seealso_negative[(MARY_ROLE , OR_RULE_ACCESS)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/roledn_test.py::test_mod_anonseealso_positive[NOT_RULE_ACCESS] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/roledn_test.py::test_mod_anonseealso_positive[ALL_ACCESS] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/roledn_test.py::test_mod_anonseealso_negaive[NESTED_ROLE_TESTER] | 0.02 | |
No log output captured. | |||
Passed | suites/acl/roledn_test.py::test_mod_anonseealso_negaive[OR_RULE_ACCESS] | 0.02 | |
No log output captured. | |||
Passed | suites/acl/search_real_part2_test.py::test_deny_all_access_with__target_set_on_non_leaf | 1.34 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/search_real_part2_test.py::test_deny_all_access_with__target_set_on_wildcard_non_leaf | 0.91 | |
No log output captured. | |||
Passed | suites/acl/search_real_part2_test.py::test_deny_all_access_with__target_set_on_wildcard_leaf | 0.95 | |
No log output captured. | |||
Passed | suites/acl/search_real_part2_test.py::test_deny_all_access_with_targetfilter_using_equality_search | 0.73 | |
No log output captured. | |||
Passed | suites/acl/search_real_part2_test.py::test_deny_all_access_with_targetfilter_using_equality_search_two | 1.03 | |
No log output captured. | |||
Passed | suites/acl/search_real_part2_test.py::test_deny_all_access_with_targetfilter_using_substring_search | 0.78 | |
No log output captured. | |||
Passed | suites/acl/search_real_part2_test.py::test_deny_all_access_with_targetfilter_using_substring_search_two | 0.90 | |
No log output captured. | |||
Passed | suites/acl/search_real_part2_test.py::test_deny_all_access_with_targetfilter_using_boolean_or_of_two_equality_search | 0.14 | |
No log output captured. | |||
Passed | suites/acl/search_real_part2_test.py::test_deny_all_access_to__userdn_two | 0.83 | |
No log output captured. | |||
Passed | suites/acl/search_real_part2_test.py::test_deny_all_access_with_userdn | 0.80 | |
No log output captured. | |||
Passed | suites/acl/search_real_part2_test.py::test_deny_all_access_with_targetfilter_using_presence_search | 0.15 | |
No log output captured. | |||
Passed | suites/acl/search_real_part3_test.py::test_deny_search_access_to_userdn_with_ldap_url | 0.69 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/search_real_part3_test.py::test_deny_search_access_to_userdn_with_ldap_url_two | 0.72 | |
No log output captured. | |||
Passed | suites/acl/search_real_part3_test.py::test_deny_search_access_to_userdn_with_ldap_url_matching_all_users | 1.04 | |
No log output captured. | |||
Passed | suites/acl/search_real_part3_test.py::test_deny_read_access_to_a_dynamic_group | 0.58 | |
No log output captured. | |||
Passed | suites/acl/search_real_part3_test.py::test_deny_read_access_to_dynamic_group_with_host_port_set_on_ldap_url | 0.49 | |
No log output captured. | |||
Passed | suites/acl/search_real_part3_test.py::test_deny_read_access_to_dynamic_group_with_scope_set_to_one_in_ldap_url | 0.57 | |
No log output captured. | |||
Passed | suites/acl/search_real_part3_test.py::test_deny_read_access_to_dynamic_group_two | 0.75 | |
No log output captured. | |||
Passed | suites/acl/search_real_part3_test.py::test_deny_access_to_group_should_deny_access_to_all_uniquemember | 0.82 | |
No log output captured. | |||
Passed | suites/acl/search_real_part3_test.py::test_entry_with_lots_100_attributes | 9.20 | |
No log output captured. | |||
Passed | suites/acl/search_real_part3_test.py::test_groupdnattr_value_is_another_group | 0.18 | |
No log output captured. | |||
Passed | suites/acl/search_real_test.py::test_deny_all_access_with_target_set | 0.99 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/search_real_test.py::test_deny_all_access_to_a_target_with_wild_card | 0.68 | |
No log output captured. | |||
Passed | suites/acl/search_real_test.py::test_deny_all_access_without_a_target_set | 0.96 | |
No log output captured. | |||
Passed | suites/acl/search_real_test.py::test_deny_read_search_and_compare_access_with_target_and_targetattr_set | 0.71 | |
No log output captured. | |||
Passed | suites/acl/search_real_test.py::test_deny_read_access_to_multiple_groupdns | 0.96 | |
No log output captured. | |||
Passed | suites/acl/search_real_test.py::test_deny_all_access_to_userdnattr | 0.70 | |
No log output captured. | |||
Passed | suites/acl/search_real_test.py::test_deny_all_access_with__target_set | 0.96 | |
No log output captured. | |||
Passed | suites/acl/search_real_test.py::test_deny_all_access_with__targetattr_set | 1.67 | |
No log output captured. | |||
Passed | suites/acl/search_real_test.py::test_deny_all_access_with_targetattr_set | 0.69 | |
No log output captured. | |||
Passed | suites/acl/selfdn_permissions_test.py::test_selfdn_permission_add | 0.76 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m lib389:selfdn_permissions_test.py:58 Add OCticket47653 that allows 'member' attribute [32mINFO [0m lib389:selfdn_permissions_test.py:63 Add cn=bind_entry, dc=example,dc=com -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:selfdn_permissions_test.py:106 ######################### ADD ###################### [32mINFO [0m lib389:selfdn_permissions_test.py:109 Bind as cn=bind_entry, dc=example,dc=com [32mINFO [0m lib389:selfdn_permissions_test.py:139 Try to add Add cn=test_entry, dc=example,dc=com (aci is missing): dn: cn=test_entry, dc=example,dc=com cn: test_entry member: cn=bind_entry, dc=example,dc=com objectclass: top objectclass: person objectclass: OCticket47653 postalAddress: here postalCode: 1234 sn: test_entry [32mINFO [0m lib389:selfdn_permissions_test.py:143 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:selfdn_permissions_test.py:147 Bind as cn=Directory Manager and add the ADD SELFDN aci [32mINFO [0m lib389:selfdn_permissions_test.py:159 Bind as cn=bind_entry, dc=example,dc=com [32mINFO [0m lib389:selfdn_permissions_test.py:164 Try to add Add cn=test_entry, dc=example,dc=com (member is missing) [32mINFO [0m lib389:selfdn_permissions_test.py:172 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:selfdn_permissions_test.py:178 Try to add Add cn=test_entry, dc=example,dc=com (with several member values) [32mINFO [0m lib389:selfdn_permissions_test.py:181 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:selfdn_permissions_test.py:184 Try to add Add cn=test_entry, dc=example,dc=com should be successful | |||
Passed | suites/acl/selfdn_permissions_test.py::test_selfdn_permission_search | 0.36 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:selfdn_permissions_test.py:205 ######################### SEARCH ###################### [32mINFO [0m lib389:selfdn_permissions_test.py:207 Bind as cn=bind_entry, dc=example,dc=com [32mINFO [0m lib389:selfdn_permissions_test.py:211 Try to search cn=test_entry, dc=example,dc=com (aci is missing) [32mINFO [0m lib389:selfdn_permissions_test.py:216 Bind as cn=Directory Manager and add the READ/SEARCH SELFDN aci [32mINFO [0m lib389:selfdn_permissions_test.py:229 Bind as cn=bind_entry, dc=example,dc=com [32mINFO [0m lib389:selfdn_permissions_test.py:233 Try to search cn=test_entry, dc=example,dc=com should be successful | |||
Passed | suites/acl/selfdn_permissions_test.py::test_selfdn_permission_modify | 0.49 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:selfdn_permissions_test.py:256 Bind as cn=bind_entry, dc=example,dc=com [32mINFO [0m lib389:selfdn_permissions_test.py:259 ######################### MODIFY ###################### [32mINFO [0m lib389:selfdn_permissions_test.py:263 Try to modify cn=test_entry, dc=example,dc=com (aci is missing) [32mINFO [0m lib389:selfdn_permissions_test.py:267 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:selfdn_permissions_test.py:271 Bind as cn=Directory Manager and add the WRITE SELFDN aci [32mINFO [0m lib389:selfdn_permissions_test.py:284 Bind as cn=bind_entry, dc=example,dc=com [32mINFO [0m lib389:selfdn_permissions_test.py:288 Try to modify cn=test_entry, dc=example,dc=com. It should succeeds | |||
Passed | suites/acl/selfdn_permissions_test.py::test_selfdn_permission_delete | 0.33 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:selfdn_permissions_test.py:313 ######################### DELETE ###################### [32mINFO [0m lib389:selfdn_permissions_test.py:316 Bind as cn=bind_entry, dc=example,dc=com [32mINFO [0m lib389:selfdn_permissions_test.py:321 Try to delete cn=test_entry, dc=example,dc=com (aci is missing) [32mINFO [0m lib389:selfdn_permissions_test.py:324 Exception (expected): INSUFFICIENT_ACCESS [32mINFO [0m lib389:selfdn_permissions_test.py:328 Bind as cn=Directory Manager and add the READ/SEARCH SELFDN aci [32mINFO [0m lib389:selfdn_permissions_test.py:340 Bind as cn=bind_entry, dc=example,dc=com [32mINFO [0m lib389:selfdn_permissions_test.py:344 Try to delete cn=test_entry, dc=example,dc=com should be successful | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_1] | 0.03 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_2] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_3] | 0.02 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_4] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_5] | 0.18 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_6] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_7] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_8] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_9] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_10] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_11] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_12] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_13] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_14] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_15] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_16] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_17] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_19] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_21] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_22] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_targattrfilters_23] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_Missing_acl_mispel] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_Missing_acl_string] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_Wrong_version_string] | 0.02 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_Missing_version_string] | 0.02 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_Authenticate_statement] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_Multiple_targets] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_Target_set_to_self] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_target_set_with_ldap_instead_of_ldap] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_target_set_with_more_than_three] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_target_set_with_less_than_three] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_bind_rule_set_with_less_than_three] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_Use_semicolon_instead_of_comma_in_permission] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_Use_double_equal_instead_of_equal_in_the_target] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_use_double_equal_instead_of_equal_in_user_and_group_access] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_donot_cote_the_name_of_the_aci] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_extra_parentheses_case_1] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_extra_parentheses_case_2] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_extra_parentheses_case_3] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_no_semicolon_at_the_end_of_the_aci] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_a_character_different_of_a_semicolon_at_the_end_of_the_aci] | 0.02 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_bad_filter] | 0.02 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_Use_double_equal_instead_of_equal_in_the_targattrfilters] | 0.02 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_aci_invalid_syntax[test_Use_double_equal_instead_of_equal_inside_the_targattrfilters] | 0.01 | |
No log output captured. | |||
Passed | suites/acl/syntax_test.py::test_target_set_above_the_entry_test | 0.01 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_positive[(CAN,ROLEDNACCESS)] | 0.26 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_positive[(CAN,USERDNACCESS)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_positive[(CAN,GROUPDNACCESS)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_positive[(CAN,LDAPURLACCESS)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_positive[(CAN,ATTRNAMEACCESS)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_positive[(LEVEL_0, OU_2)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_positive[(LEVEL_1,ANCESTORS)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_positive[(LEVEL_2,GRANDPARENTS)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_positive[(LEVEL_4,OU_2)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_positive[(LEVEL_4, ANCESTORS)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_positive[(LEVEL_4,GRANDPARENTS)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_positive[(LEVEL_4,PARENTS)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_positive[(LEVEL_4,CHILDREN)] | 0.04 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_negative[(CANNOT,ROLEDNACCESS)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_negative[(CANNOT,USERDNACCESS)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_negative[(CANNOT,GROUPDNACCESS)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_negative[(CANNOT,LDAPURLACCESS)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_negative[(CANNOT,ATTRNAMEACCESS)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_negative[(LEVEL_0, ANCESTORS)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_negative[(LEVEL_0,GRANDPARENTS)] | 0.30 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_negative[(LEVEL_0,PARENTS)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_negative[(LEVEL_0,CHILDREN)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_negative[(LEVEL_2,PARENTS)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_mod_see_also_negative[(LEVEL_4,GRANDSONS)] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_last_three[uid=Ananda Borah,ou=Accounting,dc=example,dc=com-uid=USERDNACCESS,ou=Accounting,dc=example,dc=com] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_last_three[uid=Ananda Borah,ou=Accounting,dc=example,dc=com-uid=ROLEDNACCESS,ou=Accounting,dc=example,dc=com] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/userattr_test.py::test_last_three[uid=Ananda Borah,ou=Accounting,dc=example,dc=com-uid=GROUPDNACCESS,ou=Accounting,dc=example,dc=com] | 0.05 | |
No log output captured. | |||
Passed | suites/acl/valueacl_part2_test.py::test_we_can_search_as_expected | 0.01 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/valueacl_part2_test.py::test_we_can_mod_title_as_expected | 0.05 | |
No log output captured. | |||
Passed | suites/acl/valueacl_part2_test.py::test_modify_with_multiple_filters | 0.05 | |
No log output captured. | |||
Passed | suites/acl/valueacl_part2_test.py::test_denied_by_multiple_filters | 0.05 | |
No log output captured. | |||
Passed | suites/acl/valueacl_part2_test.py::test_allowed_add_one_attribute | 0.05 | |
No log output captured. | |||
Passed | suites/acl/valueacl_part2_test.py::test_cannot_add_an_entry_with_attribute_values_we_are_not_allowed_add | 0.06 | |
No log output captured. | |||
Passed | suites/acl/valueacl_part2_test.py::test_on_modrdn | 0.04 | |
No log output captured. | |||
Passed | suites/acl/valueacl_part2_test.py::test_on_modrdn_allow | 0.05 | |
No log output captured. | |||
Passed | suites/acl/valueacl_part2_test.py::test_targattrfilters_keyword | 0.12 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_delete_an_attribute_value_we_are_not_allowed_to_delete | 0.07 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/acl/valueacl_test.py::test_donot_allow_write_access_to_title_if_value_is_not_architect | 0.06 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_delete_an_attribute_value_we_are_allowed_to_delete | 0.30 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_delete_an_attribute_value_we_are_not_allowed_to_deleted | 0.05 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_allow_modify_replace | 0.16 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_allow_modify_delete | 0.09 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_replace_an_attribute_if_we_lack | 0.06 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_remove_an_attribute_if_we_have_del_rights_to_all_attr_value | 0.05 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_remove_an_attribute_if_we_donot_have_del_rights_to_all_attr_value | 0.06 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_remove_an_attribute_if_we_have_del_rights_to_all_attr_values | 0.05 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_cantnot_delete_an_entry_with_attribute_values_we_are_not_allowed_delete | 0.06 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_we_can_add_and_delete_an_entry_with_attribute_values_we_are_allowed_add_and_delete | 0.06 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_allow_title | 0.06 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_allow_to_modify | 0.05 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_selfwrite_does_not_confer_write_on_a_targattrfilters_atribute | 0.05 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_selfwrite_continues_to_give_rights_to_attr_in_targetattr_list | 0.05 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_add_an_attribute_value_we_are_allowed_to_add_with_ldapanyone | 0.05 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_hierarchy | 0.06 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_targattrfilters_and_search_permissions_and_that_ldapmodify_works_as_expected | 0.07 | |
No log output captured. | |||
Passed | suites/acl/valueacl_test.py::test_targattrfilters_and_search_permissions_and_that_ldapmodify_works_as_expected_two | 0.01 | |
No log output captured. | |||
Passed | suites/attr_encryption/attr_encryption_test.py::test_basic | 5.07 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:35 Enable TLS for attribute encryption [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:38 Enables attribute encryption [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:42 Enables attribute encryption for employeeNumber and telephoneNumber [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:46 Add a test user with encrypted attributes -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:80 Restart the server [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:86 Extracting values of cn from the list of objects in encrypt_attrs [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:87 And appending the cn values in a list [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:92 Check employeenumber encryption is enabled [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:95 Check telephoneNumber encryption is enabled [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:98 Check that encrypted attribute is present for user i.e. telephonenumber | |||
Passed | suites/attr_encryption/attr_encryption_test.py::test_export_import_ciphertext | 11.98 | |
------------------------------Captured stderr call------------------------------ ldiffile: /var/lib/dirsrv/slapd-standalone1/ldif/export_ciphertext.ldif -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:125 Export data as ciphertext [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:136 Check that the attribute is present in the exported file [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:137 Check that the encrypted value of attribute is not present in the exported file [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:143 Delete the test user entry with encrypted data [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:146 Import data as ciphertext, which was exported previously [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:157 Check that the data with encrypted attribute is imported properly | |||
Passed | suites/attr_encryption/attr_encryption_test.py::test_export_import_plaintext | 12.16 | |
------------------------------Captured stderr call------------------------------ [30/Dec/2019:19:25:53.896868639 -0500] - INFO - slapd_extract_cert - CA CERT NAME: Self-Signed-CA [30/Dec/2019:19:25:53.903253557 -0500] - WARN - Security Initialization - SSL alert: Sending pin request to SVRCore. You may need to run systemd-tty-ask-password-agent to provide the password. [30/Dec/2019:19:25:53.908782456 -0500] - INFO - slapd_extract_cert - SERVER CERT NAME: Server-Cert ldiffile: /var/lib/dirsrv/slapd-standalone1/ldif/export_plaintext.ldif [30/Dec/2019:19:25:59.322804199 -0500] - INFO - slapd_extract_cert - CA CERT NAME: Self-Signed-CA [30/Dec/2019:19:25:59.328025498 -0500] - WARN - Security Initialization - SSL alert: Sending pin request to SVRCore. You may need to run systemd-tty-ask-password-agent to provide the password. [30/Dec/2019:19:25:59.332344170 -0500] - INFO - slapd_extract_cert - SERVER CERT NAME: Server-Cert -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:186 Export data as plain text [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:197 Check that the attribute is present in the exported file [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:198 Check that the plain text value of the encrypted attribute is present in the exported file [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:202 Delete the test user entry with encrypted data [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:205 Import data as plain text, which was exported previously [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:216 Check that the attribute is imported properly | |||
Passed | suites/attr_encryption/attr_encryption_test.py::test_attr_encryption_unindexed | 5.08 | |
------------------------------Captured stderr call------------------------------ ldiffile: /var/lib/dirsrv/slapd-standalone1/ldif/emp_num_ciphertext.ldif -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:238 Export data as cipher text [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:249 Check that the attribute is present in the exported file [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:250 Check that the encrypted value of attribute is not present in the exported file | |||
Passed | suites/attr_encryption/attr_encryption_test.py::test_attr_encryption_multiple_backends | 9.03 | |
------------------------------Captured stderr call------------------------------ ldiffile: /var/lib/dirsrv/slapd-standalone1/ldif/export_db1.ldif ldiffile: /var/lib/dirsrv/slapd-standalone1/ldif/export_db2.ldif -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:282 Add two test backends [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:302 Enables attribute encryption for telephoneNumber in test_backend1 [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:307 Enables attribute encryption for employeeNumber in test_backend2 [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:312 Add a test user with encrypted attributes in both backends [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:321 Export data as ciphertext from both backends [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:338 Check that the attribute is present in the exported file in db1 [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:339 Check that the encrypted value of attribute is not present in the exported file in db1 [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:345 Check that the attribute is present in the exported file in db2 [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:346 Check that the encrypted value of attribute is not present in the exported file in db2 [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:352 Delete test backends | |||
Passed | suites/attr_encryption/attr_encryption_test.py::test_attr_encryption_backends | 9.53 | |
------------------------------Captured stderr call------------------------------ ldiffile: /var/lib/dirsrv/slapd-standalone1/ldif/export_db1.ldif ldiffile: /var/lib/dirsrv/slapd-standalone1/ldif/export_db2.ldif -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:380 Add two test backends [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:399 Enables attribute encryption for telephoneNumber in test_backend1 [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:404 Add a test user with telephoneNumber in both backends [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:413 Export data as ciphertext from both backends [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:430 Check that the attribute is present in the exported file in db1 [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:431 Check that the encrypted value of attribute is not present in the exported file in db1 [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:437 Check that the attribute is present in the exported file in db2 [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:438 Check that the value of attribute is also present in the exported file in db2 [32mINFO [0m tests.suites.attr_encryption.attr_encryption_test:attr_encryption_test.py:444 Delete test backends | |||
Passed | suites/automember_plugin/automember_mod_test.py::test_mods | 12.03 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.automember_plugin.automember_mod_test:automember_mod_test.py:135 Test PASSED | |||
Passed | suites/automember_plugin/automember_test.py::test_automemberscope | 0.18 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/automember_plugin/automember_test.py::test_automemberfilter | 0.01 | |
No log output captured. | |||
Passed | suites/automember_plugin/automember_test.py::test_adduser | 0.29 | |
No log output captured. | |||
Passed | suites/automember_plugin/automember_test.py::test_delete_default_group | 4.19 | |
No log output captured. | |||
Passed | suites/automember_plugin/automember_test.py::test_delete_target_group | 5.09 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_disable_the_plug_in | 0.51 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 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:139 Creating replication topology. | |||
Passed | suites/automember_plugin/basic_test.py::test_custom_config_area | 0.51 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_ability_to_control_behavior_of_modifiers_name | 10.29 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_posixaccount_objectclass_automemberdefaultgroup | 0.31 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_duplicated_member_attributes_added_when_the_entry_is_re_created | 0.60 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_multi_valued_automemberdefaultgroup_for_hostgroups | 0.21 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_plugin_creates_member_attributes_of_the_automemberdefaultgroup | 0.06 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_multi_valued_automemberdefaultgroup_with_uniquemember | 10.92 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_invalid_automembergroupingattr_member | 1.02 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_valid_and_invalid_automembergroupingattr | 0.37 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_add_regular_expressions_for_user_groups_and_check_for_member_attribute_after_adding_users | 0.12 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_users_with_gid_nos_matching_the_inclusive_regular_expression | 0.07 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_users_with_manager_role_matching_inclusive_regular_expression | 0.05 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_users_with_matching_gidrole_for_inclusive_regular_expression | 0.06 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_users_with_gid_nos_matching_the_exclusive_regular_expression | 0.06 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_users_junior_role_matching_the_exclusive_regular_expression | 0.06 | |
No log output captured. | |||
Passed | suites/automember_plugin/basic_test.py::test_users_with_matching_gid_role_for_the_exclusive_regex_expression | 0.06 | |
No log output captured. | |||
Passed | suites/automember_plugin/configuration_test.py::test_configuration | 4.80 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/backups/backup_test.py::test_missing_backend | 6.06 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/basic/basic_test.py::test_basic_ops | 0.58 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/basic/basic_test.py::test_basic_import_export | 47.91 | |
------------------------------Captured stderr call------------------------------ ldiffile: /var/lib/dirsrv/slapd-standalone1/ldif/export.ldif | |||
Passed | suites/basic/basic_test.py::test_basic_backup | 9.99 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:tasks.py:589 Backup task backup_12302019_192915 completed successfully [32mINFO [0m lib389:tasks.py:643 Restore task restore_12302019_192917 completed successfully | |||
Passed | suites/basic/basic_test.py::test_basic_db2index | 6.22 | |
------------------------------Captured stderr call------------------------------ [30/Dec/2019:19:29:28.235403149 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.239413342 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.242267265 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.245561941 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.248456049 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:28.251089400 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.254639846 -0500] - INFO - ldbm_instance_config_cachememsize_set - force a minimal value 512000 [30/Dec/2019:19:29:28.257879438 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.261081930 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.264135687 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.267033714 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.269994639 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:28.272614748 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.275548181 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.278155892 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.280541922 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.283201065 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.287673868 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:28.290594982 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.293463624 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.296738742 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.299540219 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.302314220 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.304938207 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:28.307617235 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.310348955 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.312759880 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.315611372 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.318681486 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.321181489 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:28.323691945 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.326710159 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.329752792 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.334179907 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.336837464 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.339469279 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:28.345315064 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.348495261 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.352829448 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.355454045 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.357962005 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.360519140 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:28.363068167 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.368973312 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.371944692 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.374679000 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.377308986 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.379972720 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:28.382661836 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.386344980 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.388969348 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.392413192 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.395159293 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.398001244 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:28.401604234 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.403987850 -0500] - INFO - check_and_set_import_cache - pagesize: 4096, available bytes 7778009088, process usage 22638592 [30/Dec/2019:19:29:28.411857423 -0500] - INFO - check_and_set_import_cache - Import allocates 3038284KB import cache. [30/Dec/2019:19:29:28.415338049 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.417842043 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.420669793 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.423502156 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.426423245 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:28.429055204 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.432474162 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.442734269 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.445778617 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.448847113 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.451878063 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:28.454583204 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.460541457 -0500] - INFO - bdb_copy_directory - Backing up file 0 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/givenName.db) [30/Dec/2019:19:29:28.463555622 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/givenName.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/givenName.db [30/Dec/2019:19:29:28.466466694 -0500] - INFO - bdb_copy_directory - Backing up file 1 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/aci.db) [30/Dec/2019:19:29:28.469291679 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/aci.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/aci.db [30/Dec/2019:19:29:28.472204833 -0500] - INFO - bdb_copy_directory - Backing up file 2 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/sn.db) [30/Dec/2019:19:29:28.475228134 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/sn.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/sn.db [30/Dec/2019:19:29:28.479961621 -0500] - INFO - bdb_copy_directory - Backing up file 3 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/numsubordinates.db) [30/Dec/2019:19:29:28.483044809 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/numsubordinates.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/numsubordinates.db [30/Dec/2019:19:29:28.486093472 -0500] - INFO - bdb_copy_directory - Backing up file 4 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/entryusn.db) [30/Dec/2019:19:29:28.489080051 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/entryusn.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/entryusn.db [30/Dec/2019:19:29:28.492250382 -0500] - INFO - bdb_copy_directory - Backing up file 5 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/nsuniqueid.db) [30/Dec/2019:19:29:28.495845447 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/nsuniqueid.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/nsuniqueid.db [30/Dec/2019:19:29:28.499235367 -0500] - INFO - bdb_copy_directory - Backing up file 6 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/ancestorid.db) [30/Dec/2019:19:29:28.502410369 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/ancestorid.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/ancestorid.db [30/Dec/2019:19:29:28.505421427 -0500] - INFO - bdb_copy_directory - Backing up file 7 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/parentid.db) [30/Dec/2019:19:29:28.508411651 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/parentid.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/parentid.db [30/Dec/2019:19:29:28.511481507 -0500] - INFO - bdb_copy_directory - Backing up file 8 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/mail.db) [30/Dec/2019:19:29:28.514554943 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/mail.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/mail.db [30/Dec/2019:19:29:28.517590925 -0500] - INFO - bdb_copy_directory - Backing up file 9 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/telephoneNumber.db) [30/Dec/2019:19:29:28.520292843 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/telephoneNumber.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/telephoneNumber.db [30/Dec/2019:19:29:28.523406385 -0500] - INFO - bdb_copy_directory - Backing up file 10 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/cn.db) [30/Dec/2019:19:29:28.526351747 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/cn.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/cn.db [30/Dec/2019:19:29:28.529249261 -0500] - INFO - bdb_copy_directory - Backing up file 11 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/DBVERSION) [30/Dec/2019:19:29:28.535380800 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/DBVERSION to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/DBVERSION [30/Dec/2019:19:29:28.538417354 -0500] - INFO - bdb_copy_directory - Backing up file 12 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/uid.db) [30/Dec/2019:19:29:28.541390434 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/uid.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/uid.db [30/Dec/2019:19:29:28.544112311 -0500] - INFO - bdb_copy_directory - Backing up file 13 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/entryrdn.db) [30/Dec/2019:19:29:28.547192155 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/entryrdn.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/entryrdn.db [30/Dec/2019:19:29:28.549721037 -0500] - INFO - bdb_copy_directory - Backing up file 14 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/uniquemember.db) [30/Dec/2019:19:29:28.553732976 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/uniquemember.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/uniquemember.db [30/Dec/2019:19:29:28.559075735 -0500] - INFO - bdb_copy_directory - Backing up file 15 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/id2entry.db) [30/Dec/2019:19:29:28.561814539 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/id2entry.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/id2entry.db [30/Dec/2019:19:29:28.568910008 -0500] - INFO - bdb_copy_directory - Backing up file 16 (/var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/objectclass.db) [30/Dec/2019:19:29:28.571853126 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/userRoot/objectclass.db to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/userRoot/objectclass.db [30/Dec/2019:19:29:28.575001319 -0500] - INFO - upgradedb_core - userRoot: Start upgradedb. [30/Dec/2019:19:29:28.577988778 -0500] - INFO - bdb_instance_start - Import is running with nsslapd-db-private-import-mem on; No other process is allowed to access the database [30/Dec/2019:19:29:28.580655097 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.583404530 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.586079833 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:28.588632501 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.591450085 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:28.594002060 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:28.596560047 -0500] - INFO - check_and_set_import_cache - pagesize: 4096, available bytes 7777787904, process usage 23388160 [30/Dec/2019:19:29:28.599230434 -0500] - INFO - check_and_set_import_cache - Import allocates 3038198KB import cache. [30/Dec/2019:19:29:28.779808093 -0500] - INFO - import_main_offline - reindex userRoot: Index buffering enabled with bucket size 100 [30/Dec/2019:19:29:29.485572933 -0500] - INFO - import_monitor_threads - reindex userRoot: Workers finished; cleaning up... [30/Dec/2019:19:29:29.689111778 -0500] - INFO - import_monitor_threads - reindex userRoot: Workers cleaned up. [30/Dec/2019:19:29:29.693036375 -0500] - INFO - import_main_offline - reindex userRoot: Cleaning up producer thread... [30/Dec/2019:19:29:29.696087190 -0500] - INFO - import_main_offline - reindex userRoot: Indexing complete. Post-processing... [30/Dec/2019:19:29:29.698649935 -0500] - INFO - import_main_offline - reindex userRoot: Generating numsubordinates (this may take several minutes to complete)... [30/Dec/2019:19:29:29.701381520 -0500] - INFO - import_main_offline - reindex userRoot: Generating numSubordinates complete. [30/Dec/2019:19:29:29.704106859 -0500] - INFO - bdb_get_nonleaf_ids - reindex userRoot: Gathering ancestorid non-leaf IDs... [30/Dec/2019:19:29:29.708450973 -0500] - INFO - bdb_get_nonleaf_ids - reindex userRoot: Finished gathering ancestorid non-leaf IDs. [30/Dec/2019:19:29:29.711450660 -0500] - INFO - ldbm_get_nonleaf_ids - reindex userRoot: Starting sort of ancestorid non-leaf IDs... [30/Dec/2019:19:29:29.714143812 -0500] - INFO - ldbm_get_nonleaf_ids - reindex userRoot: Finished sort of ancestorid non-leaf IDs. [30/Dec/2019:19:29:29.720214779 -0500] - INFO - bdb_ancestorid_new_idl_create_index - reindex userRoot: Creating ancestorid index (new idl)... [30/Dec/2019:19:29:29.723837147 -0500] - INFO - bdb_ancestorid_new_idl_create_index - reindex userRoot: Created ancestorid index (new idl). [30/Dec/2019:19:29:29.726765049 -0500] - INFO - import_main_offline - reindex userRoot: Flushing caches... [30/Dec/2019:19:29:29.729758694 -0500] - INFO - import_main_offline - reindex userRoot: Closing files... [30/Dec/2019:19:29:29.806073494 -0500] - INFO - import_main_offline - reindex userRoot: Reindexing complete. Processed 160 entries in 1 seconds. (160.00 entries/sec) [30/Dec/2019:19:29:29.810287115 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/log.0000000001 to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/log.0000000001 [30/Dec/2019:19:29:29.823166225 -0500] - INFO - dblayer_copyfile - Copying /var/lib/dirsrv/slapd-standalone1/db/DBVERSION to /var/lib/dirsrv/slapd-standalone1/bak/reindex_2019-12-30T19:29:28.105303/DBVERSION [30/Dec/2019:19:29:29.826516118 -0500] - INFO - bdb_pre_close - All database threads now stopped [30/Dec/2019:19:29:29.997790308 -0500] - INFO - slapd_exemode_db2index - Backend Instance: userRoot [30/Dec/2019:19:29:30.002934998 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.005687453 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.008199435 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.010831301 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.013560168 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:30.016766087 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.020376041 -0500] - INFO - ldbm_instance_config_cachememsize_set - force a minimal value 512000 [30/Dec/2019:19:29:30.023296863 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.026128620 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.028980247 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.031767724 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.034376183 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:30.036771273 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.039896833 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.042979546 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.045773661 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.048867035 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.051519533 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:30.054498230 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.057321771 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.060566185 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.066985608 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.069524348 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.072439369 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:30.075520391 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.078314921 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.081082044 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.083579374 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.086214630 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.089320312 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:30.092166841 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.097233135 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.099913488 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.102678104 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.105601429 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.108390131 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:30.110966561 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.113716550 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.119594823 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.122459558 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.125390336 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.128260273 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:30.131492540 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.137479572 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.141167031 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.144378367 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.147395484 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.150051760 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:30.152928021 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.155931787 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.158313268 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.160892544 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.163336058 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.166021072 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:30.170111411 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.172897958 -0500] - INFO - bdb_instance_start - Import is running with nsslapd-db-private-import-mem on; No other process is allowed to access the database [30/Dec/2019:19:29:30.176086307 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.178719182 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.181066010 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.183598934 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.186203145 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:30.189167464 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.191428849 -0500] - INFO - check_and_set_import_cache - pagesize: 4096, available bytes 7777947648, process usage 22544384 [30/Dec/2019:19:29:30.194086203 -0500] - INFO - check_and_set_import_cache - Import allocates 3038260KB import cache. [30/Dec/2019:19:29:30.196717625 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.199493817 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.202113056 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2 [30/Dec/2019:19:29:30.204443476 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.207201433 -0500] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2 [30/Dec/2019:19:29:30.209933002 -0500] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform [30/Dec/2019:19:29:30.369444436 -0500] - INFO - bdb_db2index - userRoot: Indexing attribute: uid [30/Dec/2019:19:29:30.372963909 -0500] - ERR - libdb - BDB1566 txn_checkpoint interface requires an environment configured for the transaction subsystem [30/Dec/2019:19:29:30.378759300 -0500] - ERR - dblayer_force_checkpoint - Checkpoint FAILED, error Invalid argument (22) [30/Dec/2019:19:29:30.393682892 -0500] - INFO - bdb_db2index - userRoot: Finished indexing. [30/Dec/2019:19:29:30.417745806 -0500] - INFO - bdb_pre_close - All database threads now stopped | |||
Passed | suites/basic/basic_test.py::test_basic_acl | 0.29 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_basic_searches | 0.34 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_search_req_attrs[attrs0-cn-False] | 0.00 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_search_req_attrs[attrs1-cn-True] | 0.00 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_search_req_attrs[attrs2-nsUniqueId-True] | 0.00 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_search_req_attrs[attrs3-cn-True] | 0.00 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_search_req_attrs[attrs4-cn-True] | 0.00 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_basic_referrals | 4.32 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_basic_systemctl | 12.48 | |
------------------------------Captured stderr call------------------------------ Job for dirsrv@standalone1.service failed because the control process exited with error code. See "systemctl status dirsrv@standalone1.service" and "journalctl -xe" for details. | |||
Passed | suites/basic/basic_test.py::test_basic_ldapagent | 5.02 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_basic_dse_survives_kill9 | 11.72 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_def_rootdse_attr[namingContexts] | 0.02 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_def_rootdse_attr[supportedLDAPVersion] | 0.01 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_def_rootdse_attr[supportedControl] | 0.02 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_def_rootdse_attr[supportedExtension] | 0.02 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_def_rootdse_attr[supportedSASLMechanisms] | 0.02 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_def_rootdse_attr[vendorName] | 0.02 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_def_rootdse_attr[vendorVersion] | 0.02 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_mod_def_rootdse_attr[namingContexts] | 0.00 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedLDAPVersion] | 0.00 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedControl] | 0.01 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedExtension] | 0.00 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedSASLMechanisms] | 0.25 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_mod_def_rootdse_attr[vendorName] | 0.24 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_mod_def_rootdse_attr[vendorVersion] | 0.25 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_basic_anonymous_search | 0.03 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_search_original_type | 0.02 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_search_ou | 0.01 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_connection_buffer_size | 0.03 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_critical_msg_on_empty_range_idl | 5.60 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_ldbm_modification_audit_log | 13.40 | |
No log output captured. | |||
Passed | suites/basic/basic_test.py::test_dscreate | 13.72 | |
------------------------------Captured stdout call------------------------------ Starting installation... Completed installation for test_dscreate | |||
Passed | suites/basic/basic_test.py::test_dscreate_longname | 0.00 | |
-----------------------------Captured stdout setup------------------------------ Starting installation... Completed installation for test_longname_deadbeef_deadbeef_deadbeef_deadbeef_deadbeef -------------------------------Captured log call-------------------------------- [35mDEBUG [0m RootDSE:_mapped_object.py:605 get_attr_vals('supportedControl') | |||
Passed | suites/betxns/betxn_test.py::test_betxt_7bit | 4.80 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.betxns.betxn_test:betxn_test.py:50 Running test_betxt_7bit... [32mINFO [0m tests.suites.betxns.betxn_test:betxn_test.py:76 test_betxt_7bit: PASSED | |||
Passed | suites/betxns/betxn_test.py::test_betxn_attr_uniqueness | 4.87 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.betxns.betxn_test:betxn_test.py:127 test_betxn_attr_uniqueness: PASSED | |||
Passed | suites/betxns/betxn_test.py::test_betxn_memberof | 5.63 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.betxns.betxn_test:betxn_test.py:173 test_betxn_memberof: PASSED | |||
Passed | suites/betxns/betxn_test.py::test_betxn_modrdn_memberof_cache_corruption | 4.38 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.betxns.betxn_test:betxn_test.py:227 test_betxn_modrdn_memberof: PASSED | |||
Passed | suites/betxns/betxn_test.py::test_ri_and_mep_cache_corruption | 0.43 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.betxns.betxn_test:betxn_test.py:337 Test PASSED | |||
Passed | suites/clu/clu_test.py::test_clu_pwdhash | 0.05 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.clu.clu_test:clu_test.py:40 Running test_clu_pwdhash... [32mINFO [0m tests.suites.clu.clu_test:clu_test.py:54 pwdhash generated: {SSHA}SmfjLT6/h8/TQhx/JnhwCc8T9V3q4rc9chkb1Q== [32mINFO [0m tests.suites.clu.clu_test:clu_test.py:55 test_clu_pwdhash: PASSED | |||
Passed | suites/clu/clu_test.py::test_clu_pwdhash_mod | 0.07 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.clu.clu_test:clu_test.py:78 Running test_clu_pwdhash_mod... [32mINFO [0m tests.suites.clu.clu_test:clu_test.py:87 pwdhash generated: {SSHA256}RFCgFHn/YBsMUX2cuRw+9AuBnpFty2eg+cNyJ9TDPy4fBlMlIGJ+mQ== [32mINFO [0m tests.suites.clu.clu_test:clu_test.py:88 returned the hashed string using the algorithm set in nsslapd-rootpwstoragescheme | |||
Passed | suites/config/autotuning_test.py::test_threads_basic | 0.25 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:39 Set nsslapd-threadnumber: -1 to enable autotuning [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:42 Assert nsslapd-threadnumber is equal to the documented expected value | |||
Passed | suites/config/autotuning_test.py::test_threads_invalid_value[-2] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:59 Set nsslapd-threadnumber: -2. Operation should fail | |||
Passed | suites/config/autotuning_test.py::test_threads_invalid_value[0] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:59 Set nsslapd-threadnumber: 0. Operation should fail | |||
Passed | suites/config/autotuning_test.py::test_threads_invalid_value[invalid] | 0.19 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:59 Set nsslapd-threadnumber: invalid. Operation should fail | |||
Passed | suites/config/autotuning_test.py::test_threads_back_from_manual_value | 0.05 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:81 Set nsslapd-threadnumber: -1 to enable autotuning and save the new value [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:85 Set nsslapd-threadnumber to the autotuned value decreased by 2 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:90 Set nsslapd-threadnumber: -1 to enable autotuning [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:93 Assert nsslapd-threadnumber is back to the autotuned value | |||
Passed | suites/config/autotuning_test.py::test_cache_autosize_non_zero[-] | 6.95 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:141 Check nsslapd-dbcachesize and nsslapd-cachememsize before the test [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:142 nsslapd-dbcachesize == b'166964838' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:143 nsslapd-cachememsize == b'603979776' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:144 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:145 nsslapd-cache-autosize == b'10' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:146 nsslapd-cache-autosize-split == b'25' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:152 Delete nsslapd-cache-autosize [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:162 Delete nsslapd-cache-autosize-split [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:168 Trying to set nsslapd-cachememsize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:171 Trying to set nsslapd-dbcachesize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:188 Check nsslapd-dbcachesize and nsslapd-cachememsize in the appropriate range. [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:189 nsslapd-dbcachesize == b'166964838' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:190 nsslapd-cachememsize == b'603979776' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:191 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:192 nsslapd-cache-autosize == b'10' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:193 nsslapd-cache-autosize-split == b'25' | |||
Passed | suites/config/autotuning_test.py::test_cache_autosize_non_zero[-0] | 4.80 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:141 Check nsslapd-dbcachesize and nsslapd-cachememsize before the test [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:142 nsslapd-dbcachesize == b'166964838' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:143 nsslapd-cachememsize == b'603979776' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:144 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:145 nsslapd-cache-autosize == b'10' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:146 nsslapd-cache-autosize-split == b'25' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:152 Delete nsslapd-cache-autosize [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:159 Set nsslapd-cache-autosize-split to 0 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:168 Trying to set nsslapd-cachememsize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:171 Trying to set nsslapd-dbcachesize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:188 Check nsslapd-dbcachesize and nsslapd-cachememsize in the appropriate range. [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:189 nsslapd-dbcachesize == b'166964838' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:190 nsslapd-cachememsize == b'603979776' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:191 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:192 nsslapd-cache-autosize == b'10' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:193 nsslapd-cache-autosize-split == b'0' | |||
Passed | suites/config/autotuning_test.py::test_cache_autosize_non_zero[10-400] | 5.01 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:141 Check nsslapd-dbcachesize and nsslapd-cachememsize before the test [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:142 nsslapd-dbcachesize == b'166964838' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:143 nsslapd-cachememsize == b'603979776' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:144 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:145 nsslapd-cache-autosize == b'10' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:146 nsslapd-cache-autosize-split == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:149 Set nsslapd-cache-autosize to 10 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:159 Set nsslapd-cache-autosize-split to 40 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:168 Trying to set nsslapd-cachememsize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:171 Trying to set nsslapd-dbcachesize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:188 Check nsslapd-dbcachesize and nsslapd-cachememsize in the appropriate range. [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:189 nsslapd-dbcachesize == b'267143740' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:190 nsslapd-cachememsize == b'469762048' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:191 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:192 nsslapd-cache-autosize == b'10' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:193 nsslapd-cache-autosize-split == b'40' | |||
Passed | suites/config/autotuning_test.py::test_cache_autosize_non_zero[-40] | 5.15 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:141 Check nsslapd-dbcachesize and nsslapd-cachememsize before the test [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:142 nsslapd-dbcachesize == b'267143740' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:143 nsslapd-cachememsize == b'469762048' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:144 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:145 nsslapd-cache-autosize == b'10' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:146 nsslapd-cache-autosize-split == b'40' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:152 Delete nsslapd-cache-autosize [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:159 Set nsslapd-cache-autosize-split to 40 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:168 Trying to set nsslapd-cachememsize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:171 Trying to set nsslapd-dbcachesize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:188 Check nsslapd-dbcachesize and nsslapd-cachememsize in the appropriate range. [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:189 nsslapd-dbcachesize == b'267143740' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:190 nsslapd-cachememsize == b'469762048' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:191 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:192 nsslapd-cache-autosize == b'10' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:193 nsslapd-cache-autosize-split == b'40' | |||
Passed | suites/config/autotuning_test.py::test_cache_autosize_non_zero[10-] | 4.84 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:141 Check nsslapd-dbcachesize and nsslapd-cachememsize before the test [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:142 nsslapd-dbcachesize == b'267143740' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:143 nsslapd-cachememsize == b'469762048' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:144 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:145 nsslapd-cache-autosize == b'10' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:146 nsslapd-cache-autosize-split == b'40' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:149 Set nsslapd-cache-autosize to 10 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:162 Delete nsslapd-cache-autosize-split [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:168 Trying to set nsslapd-cachememsize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:171 Trying to set nsslapd-dbcachesize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:188 Check nsslapd-dbcachesize and nsslapd-cachememsize in the appropriate range. [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:189 nsslapd-dbcachesize == b'166964838' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:190 nsslapd-cachememsize == b'603979776' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:191 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:192 nsslapd-cache-autosize == b'10' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:193 nsslapd-cache-autosize-split == b'25' | |||
Passed | suites/config/autotuning_test.py::test_cache_autosize_non_zero[10-401] | 5.03 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:141 Check nsslapd-dbcachesize and nsslapd-cachememsize before the test [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:142 nsslapd-dbcachesize == b'166964838' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:143 nsslapd-cachememsize == b'603979776' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:144 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:145 nsslapd-cache-autosize == b'10' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:146 nsslapd-cache-autosize-split == b'25' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:149 Set nsslapd-cache-autosize to 10 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:159 Set nsslapd-cache-autosize-split to 40 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:168 Trying to set nsslapd-cachememsize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:171 Trying to set nsslapd-dbcachesize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:188 Check nsslapd-dbcachesize and nsslapd-cachememsize in the appropriate range. [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:189 nsslapd-dbcachesize == b'267143740' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:190 nsslapd-cachememsize == b'469762048' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:191 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:192 nsslapd-cache-autosize == b'10' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:193 nsslapd-cache-autosize-split == b'40' | |||
Passed | suites/config/autotuning_test.py::test_cache_autosize_non_zero[10-0] | 5.01 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:141 Check nsslapd-dbcachesize and nsslapd-cachememsize before the test [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:142 nsslapd-dbcachesize == b'267143740' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:143 nsslapd-cachememsize == b'469762048' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:144 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:145 nsslapd-cache-autosize == b'10' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:146 nsslapd-cache-autosize-split == b'40' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:149 Set nsslapd-cache-autosize to 10 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:159 Set nsslapd-cache-autosize-split to 0 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:168 Trying to set nsslapd-cachememsize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:171 Trying to set nsslapd-dbcachesize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:188 Check nsslapd-dbcachesize and nsslapd-cachememsize in the appropriate range. [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:189 nsslapd-dbcachesize == b'166964838' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:190 nsslapd-cachememsize == b'603979776' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:191 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:192 nsslapd-cache-autosize == b'10' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:193 nsslapd-cache-autosize-split == b'0' | |||
Passed | suites/config/autotuning_test.py::test_cache_autosize_basic_sane[0] | 10.78 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:245 Check nsslapd-dbcachesize and nsslapd-cachememsize before the test [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:246 nsslapd-dbcachesize == b'166964838' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:247 nsslapd-cachememsize == b'603979776' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:248 nsslapd-cache-autosize == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:249 nsslapd-cache-autosize-split == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:252 Set nsslapd-cache-autosize-split to 0 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:261 Set nsslapd-dbcachesize to 0 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:263 Set nsslapd-cachememsize to 0 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:279 Check nsslapd-dbcachesize and nsslapd-cachememsize in the appropriate range. [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:280 nsslapd-dbcachesize == b'166964838' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:281 nsslapd-cachememsize == b'603979776' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:282 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:283 nsslapd-cache-autosize == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:284 nsslapd-cache-autosize-split == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:245 Check nsslapd-dbcachesize and nsslapd-cachememsize before the test [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:246 nsslapd-dbcachesize == b'166964838' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:247 nsslapd-cachememsize == b'603979776' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:248 nsslapd-cache-autosize == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:249 nsslapd-cache-autosize-split == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:252 Set nsslapd-cache-autosize-split to 0 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:261 Set nsslapd-dbcachesize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:263 Set nsslapd-cachememsize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:279 Check nsslapd-dbcachesize and nsslapd-cachememsize in the appropriate range. [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:280 nsslapd-dbcachesize == b'33333333' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:281 nsslapd-cachememsize == b'33333333' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:282 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:283 nsslapd-cache-autosize == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:284 nsslapd-cache-autosize-split == b'0' | |||
Passed | suites/config/autotuning_test.py::test_cache_autosize_basic_sane[] | 9.37 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:245 Check nsslapd-dbcachesize and nsslapd-cachememsize before the test [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:246 nsslapd-dbcachesize == b'33333333' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:247 nsslapd-cachememsize == b'33333333' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:248 nsslapd-cache-autosize == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:249 nsslapd-cache-autosize-split == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:255 Delete nsslapd-cache-autosize-split [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:261 Set nsslapd-dbcachesize to 0 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:263 Set nsslapd-cachememsize to 0 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:279 Check nsslapd-dbcachesize and nsslapd-cachememsize in the appropriate range. [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:280 nsslapd-dbcachesize == b'166964838' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:281 nsslapd-cachememsize == b'603979776' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:282 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:283 nsslapd-cache-autosize == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:284 nsslapd-cache-autosize-split == b'25' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:245 Check nsslapd-dbcachesize and nsslapd-cachememsize before the test [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:246 nsslapd-dbcachesize == b'166964838' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:247 nsslapd-cachememsize == b'603979776' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:248 nsslapd-cache-autosize == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:249 nsslapd-cache-autosize-split == b'25' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:255 Delete nsslapd-cache-autosize-split [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:261 Set nsslapd-dbcachesize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:263 Set nsslapd-cachememsize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:279 Check nsslapd-dbcachesize and nsslapd-cachememsize in the appropriate range. [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:280 nsslapd-dbcachesize == b'33333333' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:281 nsslapd-cachememsize == b'33333333' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:282 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:283 nsslapd-cache-autosize == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:284 nsslapd-cache-autosize-split == b'25' | |||
Passed | suites/config/autotuning_test.py::test_cache_autosize_basic_sane[40] | 9.76 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:245 Check nsslapd-dbcachesize and nsslapd-cachememsize before the test [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:246 nsslapd-dbcachesize == b'33333333' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:247 nsslapd-cachememsize == b'33333333' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:248 nsslapd-cache-autosize == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:249 nsslapd-cache-autosize-split == b'25' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:252 Set nsslapd-cache-autosize-split to 40 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:261 Set nsslapd-dbcachesize to 0 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:263 Set nsslapd-cachememsize to 0 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:279 Check nsslapd-dbcachesize and nsslapd-cachememsize in the appropriate range. [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:280 nsslapd-dbcachesize == b'267143740' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:281 nsslapd-cachememsize == b'469762048' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:282 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:283 nsslapd-cache-autosize == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:284 nsslapd-cache-autosize-split == b'40' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:245 Check nsslapd-dbcachesize and nsslapd-cachememsize before the test [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:246 nsslapd-dbcachesize == b'267143740' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:247 nsslapd-cachememsize == b'469762048' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:248 nsslapd-cache-autosize == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:249 nsslapd-cache-autosize-split == b'40' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:252 Set nsslapd-cache-autosize-split to 40 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:261 Set nsslapd-dbcachesize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:263 Set nsslapd-cachememsize to 33333333 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:279 Check nsslapd-dbcachesize and nsslapd-cachememsize in the appropriate range. [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:280 nsslapd-dbcachesize == b'33333333' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:281 nsslapd-cachememsize == b'33333333' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:282 nsslapd-dncachememsize == b'67108864' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:283 nsslapd-cache-autosize == b'0' [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:284 nsslapd-cache-autosize-split == b'40' | |||
Passed | suites/config/autotuning_test.py::test_cache_autosize_invalid_values[-2] | 0.29 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:318 Set nsslapd-cache-autosize-split to -2 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:324 Set nsslapd-cache-autosize to -2 | |||
Passed | suites/config/autotuning_test.py::test_cache_autosize_invalid_values[102] | 0.54 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:318 Set nsslapd-cache-autosize-split to 102 [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:324 Set nsslapd-cache-autosize to 102 | |||
Passed | suites/config/autotuning_test.py::test_cache_autosize_invalid_values[invalid] | 0.34 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:318 Set nsslapd-cache-autosize-split to invalid [32mINFO [0m tests.suites.config.autotuning_test:autotuning_test.py:324 Set nsslapd-cache-autosize to invalid | |||
Passed | suites/config/config_test.py::test_maxbersize_repl | 19.39 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 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:106 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:139 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:153 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:1940 SUCCESS: bootstrap to ldap://server.example.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2009 SUCCESS: joined master from ldap://server.example.com:39001 to ldap://server.example.com:39002 [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master1 to master2 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 already exists -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.config_test:config_test.py:67 Set nsslapd-maxbersize: 20K to master2 [32mINFO [0m tests.suites.config.config_test:config_test.py:72 Try to add attribute with a big value to master2 - expect to FAIL [32mINFO [0m tests.suites.config.config_test:config_test.py:79 Try to add attribute with a big value to master1 - expect to PASS [32mINFO [0m tests.suites.config.config_test:config_test.py:84 Check if a big value was successfully added to master1 [32mINFO [0m tests.suites.config.config_test:config_test.py:88 Check if a big value was successfully replicated to master2 | |||
Passed | suites/config/config_test.py::test_config_listen_backport_size | 0.28 | |
No log output captured. | |||
Passed | suites/config/config_test.py::test_config_deadlock_policy | 0.35 | |
No log output captured. | |||
Passed | suites/config/config_test.py::test_defaultnamingcontext | 1.33 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.config_test:config_test.py:218 Check the attribute nsslapd-defaultnamingcontext is present in cn=config [32mINFO [0m tests.suites.config.config_test:config_test.py:221 Delete nsslapd-defaultnamingcontext attribute [32mINFO [0m tests.suites.config.config_test:config_test.py:228 modify nsslapd-defaultnamingcontext with new suffix [32mINFO [0m tests.suites.config.config_test:config_test.py:231 Add new invalid value at runtime to nsslapd-defaultnamingcontext [32mINFO [0m tests.suites.config.config_test:config_test.py:235 Modify nsslapd-defaultnamingcontext with blank value [32mINFO [0m tests.suites.config.config_test:config_test.py:238 Add new suffix when nsslapd-defaultnamingcontext is empty [32mINFO [0m tests.suites.config.config_test:config_test.py:242 Check the value of the nsslapd-defaultnamingcontext automatically have the new suffix [32mINFO [0m tests.suites.config.config_test:config_test.py:245 Adding new suffix when nsslapd-defaultnamingcontext is not empty [32mINFO [0m tests.suites.config.config_test:config_test.py:249 Check the value of the nsslapd-defaultnamingcontext has not changed [32mINFO [0m tests.suites.config.config_test:config_test.py:252 Remove the newly added suffix and check the values of the attribute is not changed [32mINFO [0m tests.suites.config.config_test:config_test.py:256 Remove all the suffix at the end | |||
Passed | suites/config/config_test.py::test_allow_add_delete_config_attributes | 3.61 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.config_test:config_test.py:306 Add a new valid attribute at runtime to cn=config [32mINFO [0m tests.suites.config.config_test:config_test.py:310 Delete nsslapd-listenhost to restore the default value [32mINFO [0m tests.suites.config.config_test:config_test.py:315 Add new invalid attribute at runtime to cn=config [32mINFO [0m tests.suites.config.config_test:config_test.py:319 Make sure the invalid attribute is not added | |||
Passed | suites/config/config_test.py::test_ignore_virtual_attrs | 0.12 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.config_test:config_test.py:352 Check the attribute nsslapd-ignore-virtual-attrs is present in cn=config [32mINFO [0m tests.suites.config.config_test:config_test.py:355 Check the default value of attribute nsslapd-ignore-virtual-attrs should be OFF [32mINFO [0m tests.suites.config.config_test:config_test.py:358 Set the valid values i.e. on/ON and off/OFF for nsslapd-ignore-virtual-attrs [32mINFO [0m tests.suites.config.config_test:config_test.py:363 Set invalid value for attribute nsslapd-ignore-virtual-attrs [32mINFO [0m tests.suites.config.config_test:config_test.py:374 Add cosPointer, cosTemplate and test entry to default suffix, where virtual attribute is postal code [32mINFO [0m tests.suites.config.config_test:config_test.py:387 Test if virtual attribute i.e. postal code shown in test entry while nsslapd-ignore-virtual-attrs: off [32mINFO [0m tests.suites.config.config_test:config_test.py:390 Set nsslapd-ignore-virtual-attrs=on [32mINFO [0m tests.suites.config.config_test:config_test.py:393 Test if virtual attribute i.e. postal code not shown while nsslapd-ignore-virtual-attrs: on | |||
Passed | suites/config/config_test.py::test_ndn_cache_enabled | 10.17 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.config_test:config_test.py:421 Check the attribute nsslapd-ndn-cache-enabled is present in cn=config [32mINFO [0m tests.suites.config.config_test:config_test.py:424 Check the attribute nsslapd-ndn-cache-enabled has the default value set as ON [32mINFO [0m tests.suites.config.config_test:config_test.py:427 Check the attribute nsslapd-ndn-cache-max-size is present in cn=config [32mINFO [0m tests.suites.config.config_test:config_test.py:433 Ticket#49593 : NDN cache stats should be under the global stats - Implemented in 1.4 [32mINFO [0m tests.suites.config.config_test:config_test.py:434 Fetch the monitor value according to the ds version [32mINFO [0m tests.suites.config.config_test:config_test.py:440 Check the backend monitor output for Normalized DN cache statistics, while nsslapd-ndn-cache-enabled is off [32mINFO [0m tests.suites.config.config_test:config_test.py:446 Check the backend monitor output for Normalized DN cache statistics, while nsslapd-ndn-cache-enabled is on [32mINFO [0m tests.suites.config.config_test:config_test.py:452 Set invalid value for nsslapd-ndn-cache-enabled [32mINFO [0m tests.suites.config.config_test:config_test.py:456 Set invalid value for nsslapd-ndn-cache-max-size | |||
Passed | suites/config/regression_test.py::test_maxbersize_repl | 8.04 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.regression_test:regression_test.py:100 Set nsslapd-errorlog-maxlogsize before nsslapd-errorlog-logmaxdiskspace [32mINFO [0m tests.suites.config.regression_test:regression_test.py:104 Assert no init_dse_file errors in the error log [32mINFO [0m tests.suites.config.regression_test:regression_test.py:108 Set nsslapd-errorlog-maxlogsize after nsslapd-errorlog-logmaxdiskspace [32mINFO [0m tests.suites.config.regression_test:regression_test.py:112 Assert no init_dse_file errors in the error log | |||
Passed | suites/config/removed_config_49298_test.py::test_restore_config | 3.76 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.removed_config_49298_test:removed_config_49298_test.py:43 /etc/dirsrv/slapd-standalone1 | |||
Passed | suites/config/removed_config_49298_test.py::test_removed_config | 2.35 | |
------------------------------Captured stderr call------------------------------ Job for dirsrv@standalone1.service failed because the control process exited with error code. See "systemctl status dirsrv@standalone1.service" and "journalctl -xe" for details. -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.config.removed_config_49298_test:removed_config_49298_test.py:72 /etc/dirsrv/slapd-standalone1 | |||
Passed | suites/cos/cos_test.py::test_positive | 0.55 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/cos/indirect_cos_test.py::test_indirect_cos | 1.58 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m tests.suites.cos.indirect_cos_test:indirect_cos_test.py:107 Add custom schema... [32mINFO [0m tests.suites.cos.indirect_cos_test:indirect_cos_test.py:120 Add test user... [32mINFO [0m tests.suites.cos.indirect_cos_test:indirect_cos_test.py:137 Setup indirect COS... -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.cos.indirect_cos_test:indirect_cos_test.py:157 Checking user... [32mINFO [0m tests.suites.cos.indirect_cos_test:indirect_cos_test.py:56 Create password policy for subtree ou=people,dc=example,dc=com [32mINFO [0m tests.suites.cos.indirect_cos_test:indirect_cos_test.py:164 Checking user... | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_verify_operation_when_disk_monitoring_is_off | 4.71 | |
-----------------------------Captured stdout setup------------------------------ Relabeled /var/log/dirsrv/slapd-standalone1 from unconfined_u:object_r:user_tmp_t:s0 to system_u:object_r:dirsrv_var_log_t:s0 -----------------------------Captured stderr setup------------------------------ chown: cannot access '/var/log/dirsrv/slapd-standalone1/*': No such file or directory -------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. ------------------------------Captured stderr call------------------------------ 25+0 records in 25+0 records out 26214400 bytes (26 MB, 25 MiB) copied, 0.0128439 s, 2.0 GB/s dd: error writing '/var/log/dirsrv/slapd-standalone1/foo1': No space left on device 10+0 records in 9+0 records out 10452992 bytes (10 MB, 10 MiB) copied, 0.00570118 s, 1.8 GB/s | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_free_up_the_disk_space_and_change_ds_config | 4.49 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_verify_operation_with_nsslapd_disk_monitoring_logging_critical_off | 34.71 | |
------------------------------Captured stderr call------------------------------ 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.00549771 s, 1.9 GB/s | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_operation_with_nsslapd_disk_monitoring_logging_critical_on_below_half_of_the_threshold | 25.60 | |
------------------------------Captured stderr call------------------------------ 31+0 records in 31+0 records out 32505856 bytes (33 MB, 31 MiB) copied, 0.0434832 s, 748 MB/s | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_setting_nsslapd_disk_monitoring_logging_critical_to_off | 3.54 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_operation_with_nsslapd_disk_monitoring_logging_critical_off | 69.77 | |
------------------------------Captured stderr call------------------------------ 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.00998364 s, 1.1 GB/s | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_operation_with_nsslapd_disk_monitoring_logging_critical_off_below_half_of_the_threshold | 160.63 | |
------------------------------Captured stderr call------------------------------ 30+0 records in 30+0 records out 31457280 bytes (31 MB, 30 MiB) copied, 0.0414254 s, 759 MB/s | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_go_straight_below_half_of_the_threshold | 108.60 | |
------------------------------Captured stderr call------------------------------ 31+0 records in 31+0 records out 32505856 bytes (33 MB, 31 MiB) copied, 0.0406303 s, 800 MB/s | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_go_straight_below_4kb | 18.40 | |
------------------------------Captured stderr call------------------------------ 25+0 records in 25+0 records out 26214400 bytes (26 MB, 25 MiB) copied, 0.0360608 s, 727 MB/s dd: error writing '/var/log/dirsrv/slapd-standalone1/foo1': No space left on device 10+0 records in 9+0 records out 9580544 bytes (9.6 MB, 9.1 MiB) copied, 0.0127937 s, 749 MB/s | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_threshold_to_overflow_value | 0.03 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_threshold_is_reached_to_half | 14.54 | |
------------------------------Captured stderr call------------------------------ 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0172888 s, 607 MB/s | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-threshold--2] | 0.00 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-threshold-9223372036854775808] | 0.00 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-threshold-2047] | 0.00 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-threshold-0] | 0.00 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-threshold--1294967296] | 0.00 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-threshold-invalid] | 0.00 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-invalid] | 0.00 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-1] | 0.00 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-grace-period-00] | 0.00 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-grace-period-525 948] | 0.00 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-grace-period--10] | 0.00 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-logging-critical-oninvalid] | 0.00 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-grace-period--11] | 0.00 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-grace-period-01] | 0.00 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_monitoring_test.py::test_valid_operations_are_permitted | 3.66 | |
No log output captured. | |||
Passed | suites/disk_monitoring/disk_space_test.py::test_basic | 0.18 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. -------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:disk_space_test.py:35 Check that "partition", "size", "used", "available", "use%" words are present in the string [32mINFO [0m lib389:disk_space_test.py:39 Check that the sizes are numbers | |||
Passed | suites/ds_logs/ds_logs_test.py::test_check_default | 0.00 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. -------------------------------Captured log call-------------------------------- [35mDEBUG [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:208 on | |||
Passed | suites/ds_logs/ds_logs_test.py::test_plugin_set_invalid | 0.19 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:227 test_plugin_set_invalid - Expect to fail with junk value | |||
Passed | suites/ds_logs/ds_logs_test.py::test_log_plugin_on | 7.26 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:254 Bug 1273549 - Check access logs for millisecond, when attribute is ON [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:255 perform any ldap operation, which will trigger the logs [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:36 Adding 10 users [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:259 Restart the server to flush the logs [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:262 parse the access logs | |||
Passed | suites/ds_logs/ds_logs_test.py::test_log_plugin_off | 14.10 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:294 Bug 1273549 - Check access logs for missing millisecond, when attribute is OFF [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:296 test_log_plugin_off - set the configuration attribute to OFF [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:299 Restart the server to flush the logs [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:302 test_log_plugin_off - delete the previous access logs [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:308 Restart the server to flush the logs [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:311 check access log that microseconds are not present | |||
Passed | suites/ds_logs/ds_logs_test.py::test_internal_log_server_level_0 | 5.23 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:338 Set nsslapd-plugin-logging to on [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:341 Configure access log level to 0 [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:345 Restart the server to flush the logs [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:349 Check if access log does not contain internal log of MOD operation [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:355 Check if the other internal operations are not present | |||
Passed | suites/ds_logs/ds_logs_test.py::test_internal_log_server_level_4 | 4.83 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:386 Set nsslapd-plugin-logging to on [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:389 Configure access log level to 4 [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:393 Restart the server to flush the logs [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:398 Check if access log contains internal MOD operation in correct format [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:404 Check if the other internal operations have the correct format | |||
Passed | suites/ds_logs/ds_logs_test.py::test_internal_log_level_260 | 4.29 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:102 Enable automember plugin [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:106 Enable Referential Integrity plugin [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:110 Set nsslapd-plugin-logging to on [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:113 Restart the server [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:120 Configure access log level to 260 [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:86 Renaming user [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:89 Delete the user [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:92 Delete automember entry, org. unit and group for the next test -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:443 Restart the server to flush the logs [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:447 Check the access logs for ADD operation of the user [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:463 Check the access logs for MOD operation of the user [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:476 Check the access logs for DEL operation of the user [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:487 Check if the other internal operations have the correct format | |||
Passed | suites/ds_logs/ds_logs_test.py::test_internal_log_level_131076 | 5.49 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:120 Configure access log level to 131076 [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:86 Renaming user [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:89 Delete the user [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:92 Delete automember entry, org. unit and group for the next test -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:525 Restart the server to flush the logs [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:529 Check the access logs for ADD operation of the user [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:545 Check the access logs for MOD operation of the user [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:558 Check the access logs for DEL operation of the user [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:569 Check if the other internal operations have the correct format | |||
Passed | suites/ds_logs/ds_logs_test.py::test_internal_log_level_516 | 4.38 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:120 Configure access log level to 516 [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:86 Renaming user [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:89 Delete the user [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:92 Delete automember entry, org. unit and group for the next test -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:607 Restart the server to flush the logs [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:611 Check the access logs for ADD operation of the user [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:630 Check the access logs for MOD operation of the user [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:646 Check the access logs for DEL operation of the user [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:660 Check if the other internal operations have the correct format | |||
Passed | suites/ds_logs/ds_logs_test.py::test_access_log_truncated_search_message | 4.84 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:687 Make a search [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:690 Restart the server to flush the logs | |||
Passed | suites/ds_logs/ds_logs_test.py::test_etime_at_border_of_second | 22.29 | |
No log output captured. | |||
Passed | suites/ds_logs/ds_logs_test.py::test_log_base_dn_when_invalid_attr_request | 4.03 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:771 Set accesslog logbuffering to off to get the log in real time [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:774 delete the previous access logs to get a fresh new one [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:777 Search the default suffix, with invalid '"" ""' attribute request [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:778 A Protocol error exception should be raised, see https://pagure.io/389-ds-base/issue/49969 [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:784 Check the access logs for correct messages | |||
Passed | suites/ds_logs/ds_logs_test.py::test_audit_log_rotate_and_check_string | 22.04 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:830 Doing modifications to rotate audit log [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:835 Doing one more modification just in case [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:842 Check that DS string is present on first line [32mINFO [0m tests.suites.ds_logs.ds_logs_test:ds_logs_test.py:846 Check that DS string is present only once | |||
Passed | suites/ds_logs/regression_test.py::test_default_loglevel_stripped[24576] | 0.19 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/ds_logs/regression_test.py::test_default_loglevel_stripped[16512] | 0.03 | |
No log output captured. | |||
Passed | suites/ds_logs/regression_test.py::test_default_loglevel_stripped[16385] | 0.85 | |
No log output captured. | |||
Passed | suites/ds_logs/regression_test.py::test_dse_config_loglevel_error | 18.77 | |
No log output captured. | |||
Passed | suites/ds_tools/logpipe_test.py::test_user_permissions | 0.05 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. [32mINFO [0m tests.suites.ds_tools.logpipe_test:logpipe_test.py:32 Add system test user - dirsrv_testuser -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.ds_tools.logpipe_test:logpipe_test.py:68 Try to create a logpipe in the log directory with "-u" option specifying the user | |||
Passed | suites/ds_tools/replcheck_test.py::test_state | 0.55 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 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:106 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:139 Creating replication topology. [32mINFO [0m lib389.topologies:topologies.py:153 Joining master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:1940 SUCCESS: bootstrap to ldap://server.example.com:39002 completed [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 is was created [32mINFO [0m lib389.replica:replica.py:2221 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 is was created [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39001 to ldap://server.example.com:39002 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldap://server.example.com:39002 to ldap://server.example.com:39001 is working [32mINFO [0m lib389.replica:replica.py:2009 SUCCESS: joined master from ldap://server.example.com:39001 to ldap://server.example.com:39002 [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master1 to master2 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39001 to ldap://server.example.com:39002 already exists [32mINFO [0m lib389.topologies:topologies.py:161 Ensuring master master2 to master1 ... [32mINFO [0m lib389.replica:replica.py:2194 SUCCESS: Agreement from ldap://server.example.com:39002 to ldap://server.example.com:39001 already exists [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldaps://server.example.com:63701 to ldaps://server.example.com:63702 is working [32mINFO [0m tests.suites.ds_tools.replcheck_test:replcheck_test.py:101 Export LDAPTLS_CACERTDIR env variable for ds-replcheck [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldaps://server.example.com:63701 to ldaps://server.example.com:63702 is working [32mINFO [0m lib389.replica:replica.py:2352 SUCCESS: Replication from ldaps://server.example.com:63702 to ldaps://server.example.com:63701 is working | |||
Passed | suites/ds_tools/replcheck_test.py::test_check_ruv | 17.59 | |
------------------------------Captured stderr call------------------------------ ldiffile: /tmp/export_master1.ldif ldiffile: /tmp/export_master2.ldif | |||
Passed | suites/ds_tools/replcheck_test.py::test_missing_entries | 19.19 | |
------------------------------Captured stderr call------------------------------ ldiffile: /tmp/export_master1.ldif ldiffile: /tmp/export_master2.ldif | |||
Passed | suites/ds_tools/replcheck_test.py::test_tombstones | 22.32 | |
------------------------------Captured stderr call------------------------------ ldiffile: /tmp/export_master1.ldif ldiffile: /tmp/export_master2.ldif | |||
Passed | suites/ds_tools/replcheck_test.py::test_conflict_entries | 28.64 | |
------------------------------Captured stderr call------------------------------ ldiffile: /tmp/export_master1.ldif ldiffile: /tmp/export_master2.ldif | |||
Passed | suites/ds_tools/replcheck_test.py::test_inconsistencies | 24.14 | |
------------------------------Captured stderr call------------------------------ ldiffile: /tmp/export_master1.ldif ldiffile: /tmp/export_master2.ldif | |||
Passed | suites/ds_tools/replcheck_test.py::test_suffix_exists | 0.55 | |
No log output captured. | |||
Passed | suites/ds_tools/replcheck_test.py::test_check_missing_tombstones | 19.23 | |
------------------------------Captured stderr call------------------------------ ldiffile: /tmp/export_master1.ldif ldiffile: /tmp/export_master2.ldif | |||
Passed | suites/filter/basic_filter_test.py::test_search_attr | 0.48 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/filter/bitw_filter_test.py::test_bitwise_plugin_status | 0.00 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/filter/bitw_filter_test.py::test_search_disabled_accounts | 0.01 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_plugin_can_be_disabled | 3.55 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_plugin_is_disabled | 0.01 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_enabling_works_fine | 5.02 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.803:=513))-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.803:=16777216))-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.803:=8388608))-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.804:=5))-3] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.804:=8))-3] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.804:=7))-5] | 0.18 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testerperson) (testUserAccountControl:1.2.840.113556.1.4.804:=7))-0] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (&(testUserAccountControl:1.2.840.113556.1.4.803:=98536)(testUserAccountControl:1.2.840.113556.1.4.803:=912)))-0] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (&(testUserAccountControl:1.2.840.113556.1.4.804:=87)(testUserAccountControl:1.2.840.113556.1.4.804:=91)))-8] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (&(testUserAccountControl:1.2.840.113556.1.4.803:=89536)(testUserAccountControl:1.2.840.113556.1.4.804:=79)))-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (|(testUserAccountControl:1.2.840.113556.1.4.803:=89536)(testUserAccountControl:1.2.840.113556.1.4.804:=79)))-8] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (|(testUserAccountControl:1.2.840.113556.1.4.803:=89)(testUserAccountControl:1.2.840.113556.1.4.803:=536)))-0] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.803:=x))-13] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.803:=&\*#$%))-13] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.803:=-65536))-0] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.803:=-1))-0] | 0.17 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.803:=-))-13] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.803:=))-13] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.803:=\*))-13] | 0.17 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.804:=\*))-0] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.803:=6552))-0] | 0.18 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson\))(testUserAccountControl:1.2.840.113556.1.4.804:=6552))-0] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_all_together[(& (objectclass=testperson) (testUserAccountControl:1.2.840.113556.1.4.803:=65536))-5] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_5_entries | 0.27 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_5_entries1 | 0.22 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_5_entries3 | 0.03 | |
No log output captured. | |||
Passed | suites/filter/bitw_filter_test.py::test_5_entries4 | 0.02 | |
No log output captured. | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(sn=last1)(givenname=first1))-1] | 0.00 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid=uid1)(sn=last1)(givenname=first1))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(sn=last1)(givenname=first1)))-1] | 0.18 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid=uid1)(&(sn=last1)(givenname=first1)))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(&(sn=last1))(&(givenname=first1))))-1] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid=uid1)(&(&(sn=last1))(&(givenname=first1))))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid=*)(sn=last3)(givenname=*))-1] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid=*)(sn=last3)(givenname=*))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid=*)(&(sn=last3)(givenname=*)))-1] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid=*)(&(sn=last3)(givenname=*)))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid=uid5)(&(&(sn=*))(&(givenname=*))))-1] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid=uid5)(&(&(sn=*))(&(givenname=*))))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(objectclass=*)(uid=*)(sn=last*))-5] | 0.01 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(objectclass=*)(uid=*)(sn=last*))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(objectclass=*)(uid=*)(sn=last1))-1] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(objectclass=*)(uid=*)(sn=last1))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(|(uid=uid1)(sn=last1)(givenname=first1))-1] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(|(uid=uid1)(sn=last1)(givenname=first1))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(|(uid=uid1)(|(sn=last1)(givenname=first1)))-1] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(|(uid=uid1)(|(sn=last1)(givenname=first1)))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(|(uid=uid1)(|(|(sn=last1))(|(givenname=first1))))-1] | 0.01 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(|(uid=uid1)(|(|(sn=last1))(|(givenname=first1))))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(|(objectclass=*)(sn=last1)(|(givenname=first1)))-14] | 0.01 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(|(objectclass=*)(sn=last1)(|(givenname=first1)))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(|(&(objectclass=*)(sn=last1))(|(givenname=first1)))-1] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(|(&(objectclass=*)(sn=last1))(|(givenname=first1)))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(|(&(objectclass=*)(sn=last))(|(givenname=first1)))-1] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(|(&(objectclass=*)(sn=last))(|(givenname=first1)))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(!(cn=NULL)))-1] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid=uid1)(!(cn=NULL)))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(!(cn=NULL))(uid=uid1))-1] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(!(cn=NULL))(uid=uid1))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid=*)(&(!(uid=1))(!(givenname=first1))))-4] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid=*)(&(!(uid=1))(!(givenname=first1))))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(|(uid=uid1)(uid=NULL))(sn=last1))-1] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(|(uid=uid1)(uid=NULL))(sn=last1))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(|(uid=uid1)(uid=NULL))(!(sn=NULL)))-1] | 0.01 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(|(uid=uid1)(uid=NULL))(!(sn=NULL)))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(|(uid=uid1)(sn=last2))(givenname=first1))-1] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(|(uid=uid1)(sn=last2))(givenname=first1))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(|(&(uid=uid1)(!(uid=NULL)))(sn=last2))-2] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(|(&(uid=uid1)(!(uid=NULL)))(sn=last2))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(|(&(uid=uid1)(uid=NULL))(sn=last2))-1] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(|(&(uid=uid1)(uid=NULL))(sn=last2))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid=uid5)(sn=*)(cn=*)(givenname=*)(uid=u*)(sn=la*)(cn=full*)(givenname=f*)(uid>=u)(!(givenname=NULL)))-1] | 0.01 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid=uid5)(sn=*)(cn=*)(givenname=*)(uid=u*)(sn=la*)(cn=full*)(givenname=f*)(uid>=u)(!(givenname=NULL)))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(|(&(objectclass=*)(sn=last))(&(givenname=first1)))-1] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(|(&(objectclass=*)(sn=last))(&(givenname=first1)))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(sn=last1)(givenname=NULL))-0] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid=uid1)(sn=last1)(givenname=NULL))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(sn=last1)(givenname=NULL)))-0] | 0.01 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid=uid1)(&(sn=last1)(givenname=NULL)))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(&(sn=last1))(&(givenname=NULL))))-0] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid=uid1)(&(&(sn=last1))(&(givenname=NULL))))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(&(sn=last1))(&(givenname=NULL)(sn=*)))(|(sn=NULL)))-0] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid=uid1)(&(&(sn=last1))(&(givenname=NULL)(sn=*)))(|(sn=NULL)))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(&(sn=last*))(&(givenname=first*)))(&(sn=NULL)))-0] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid=uid1)(&(&(sn=last*))(&(givenname=first*)))(&(sn=NULL)))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(|(uid=NULL)(sn=NULL)(givenname=NULL))-0] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(|(uid=NULL)(sn=NULL)(givenname=NULL))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(|(uid=NULL)(|(sn=NULL)(givenname=NULL)))-0] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(|(uid=NULL)(|(sn=NULL)(givenname=NULL)))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(|(uid=NULL)(|(|(sn=NULL))(|(givenname=NULL))))-0] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(|(uid=NULL)(|(|(sn=NULL))(|(givenname=NULL))))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(|(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*))-5] | 0.01 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(|(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*)(uid=*))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(uid>=uid3)-3] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(uid>=uid3)"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid=*)(uid>=uid3))-3] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid=*)(uid>=uid3))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(|(uid>=uid3)(uid<=uid5))-5] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(|(uid>=uid3)(uid<=uid5))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(&(uid>=uid3)(uid<=uid5))-3] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(&(uid>=uid3)(uid<=uid5))"... | |||
Passed | suites/filter/complex_filters_test.py::test_filters[(|(&(uid>=uid3)(uid<=uid5))(uid=*))-5] | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.complex_filters_test:complex_filters_test.py:122 Testing filter "(|(&(uid>=uid3)(uid<=uid5))(uid=*))"... | |||
Passed | suites/filter/filter_cert_test.py::test_positive | 16.54 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index0] | 0.01 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index2] | 0.07 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index3] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index4] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index5] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index6] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index7] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index8] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index9] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index10] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index11] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index12] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index13] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index14] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index15] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index16] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_valid_invalid_attributes[index17] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod0] | 0.03 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod1] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod2] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod3] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod4] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod5] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod6] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod7] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod8] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod9] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod10] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod11] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod12] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod13] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod14] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod15] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod16] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods[mod17] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode0] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode1] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode2] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode3] | 0.03 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode4] | 0.03 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode5] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode6] | 0.07 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode7] | 0.03 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode8] | 0.08 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode9] | 0.03 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode10] | 0.19 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode11] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode12] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode13] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode14] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode15] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode16] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_replace[mode17] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode0] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode1] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode2] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode3] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode4] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode5] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode6] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode7] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode8] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode9] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode10] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode11] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode12] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode13] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode14] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode15] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode16] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_mods_delete[mode17] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_search_positive_negative | 0.10 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrbitStringMatch:bitStringMatch:='0001'B)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseExactIA5Match:caseExactIA5Match:=Sprain)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseExactMatch:caseExactMatch:=ÇélIné Ändrè)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseExactMatch:caseExactOrderingMatch:=ÇélIné Ändrè)-5] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrgeneralizedTimeMatch:generalizedTimeMatch:=20100218171300Z)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrgeneralizedTimeMatch:generalizedTimeOrderingMatch:=20100218171300Z)-6] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrbooleanMatch:booleanMatch:=TRUE)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreIA5Match:caseIgnoreIA5Match:=sprain1)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreMatch:caseIgnoreMatch:=ÇélIné Ändrè1)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreMatch:caseIgnoreOrderingMatch:=ÇélIné Ändrè1)-6] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreListMatch:caseIgnoreListMatch:=foo1$bar)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrobjectIdentifierMatch:objectIdentifierMatch:=1.3.6.1.4.1.1466.115.121.1.15)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrdirectoryStringFirstComponentMatch:directoryStringFirstComponentMatch:=ÇélIné Ändrè1)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrobjectIdentifierFirstComponentMatch:objectIdentifierFirstComponentMatch:=1.3.6.1.4.1.1466.115.121.1.15)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrdistinguishedNameMatch:distinguishedNameMatch:=cn=foo1,cn=bar)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrintegerMatch:integerMatch:=-2)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrintegerMatch:integerOrderingMatch:=-2)-6] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrintegerFirstComponentMatch:integerFirstComponentMatch:=-2)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attruniqueMemberMatch:uniqueMemberMatch:=cn=foo1,cn=bar#'0001'B)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrnumericStringMatch:numericStringMatch:=00001)-10] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrnumericStringMatch:numericStringMatch:=00001)-11] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrtelephoneNumberMatch:telephoneNumberMatch:=+1 408 555 4798)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attroctetStringMatch:octetStringMatch:=AAAAAAAAAAAAAAE=)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attroctetStringMatch:octetStringOrderingMatch:=AAAAAAAAAAAAAAE=)-6] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseExactMatch=*ÇélIné Ändrè*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseExactMatch=ÇélIné Ändrè*)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseExactMatch=*ÇélIné Ändrè)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseExactMatch=*é Ä*)-5] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseExactIA5Match=*Sprain*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseExactIA5Match=Sprain*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseExactIA5Match=*Sprain)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseExactIA5Match=*rai*)-3] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreIA5Match=*sprain1*)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreIA5Match=sprain1*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreIA5Match=*sprain1)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreIA5Match=*rai*)-6] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreMatch=*ÇélIné Ändrè1*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreMatch=ÇélIné Ändrè1*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreMatch=*ÇélIné Ändrè1)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreMatch=*é Ä*)-6] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreListMatch=*foo1$bar*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreListMatch=foo1$bar*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreListMatch=*foo1$bar)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrcaseIgnoreListMatch=*1$b*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrnumericStringMatch=*00001*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrnumericStringMatch=00001*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrnumericStringMatch=*00001)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrnumericStringMatch=*000*)-6] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrtelephoneNumberMatch=*+1 408 555 4798*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrtelephoneNumberMatch=+1 408 555 4798*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrtelephoneNumberMatch=*+1 408 555 4798)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_index_match_test.py::test_do_extensible_search[(attrtelephoneNumberMatch=* 55*)-6] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_positive[(|(|(ou=nothing1)(ou=people))(|(ou=nothing2)(ou=nothing3)))] | 0.01 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/filter/filter_indexing_test.py::test_positive[(|(|(ou=people)(ou=nothing1))(|(ou=nothing2)(ou=nothing3)))] | 0.18 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_positive[(|(|(ou=nothing1)(ou=nothing2))(|(ou=people)(ou=nothing3)))] | 0.18 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_positive[(|(|(ou=nothing1)(ou=nothing2))(|(ou=nothing3)(ou=people)))] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_positive[(&(sn<=0000000000000000)(givenname>=FFFFFFFFFFFFFFFF))] | 0.16 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_positive[(&(sn>=0000000000000000)(sn<=1111111111111111))] | 0.17 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_positive[(&(sn>=0000000000000000)(givenname<=FFFFFFFFFFFFFFFF))] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing_schema | 5.32 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing[(uidNumber=18446744073709551617)] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing[(gidNumber=18446744073709551617)] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing[(MYINTATTR=18446744073709551617)] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing[(&(uidNumber=*)(!(uidNumber=18446744073709551617)))] | 0.17 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing[(&(gidNumber=*)(!(gidNumber=18446744073709551617)))] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing[(&(uidNumber=*)(!(gidNumber=18446744073709551617)))] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing[(&(myintattr=*)(!(myintattr=18446744073709551617)))] | 0.18 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing[(uidNumber>=-18446744073709551617)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing[(gidNumber>=-18446744073709551617)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing[(uidNumber<=18446744073709551617)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing[(gidNumber<=18446744073709551617)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing[(myintattr<=18446744073709551617)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing_negative[(gidNumber=54321)] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing_negative[(uidNumber=54321)] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing_negative[(myintattr=54321)] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing_negative[(gidNumber<=-999999999999999999999999999999)] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing_negative[(uidNumber<=-999999999999999999999999999999)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing_negative[(myintattr<=-999999999999999999999999999999)] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing_negative[(gidNumber>=999999999999999999999999999999)] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing_negative[(uidNumber>=999999999999999999999999999999)] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_indexing_test.py::test_indexing_negative[(myintattr>=999999999999999999999999999999)] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_logic_test.py::test_eq | 0.01 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/filter/filter_logic_test.py::test_sub | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_logic_test.py::test_not_eq | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_logic_test.py::test_ranges | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_logic_test.py::test_and_eq | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_logic_test.py::test_range | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_logic_test.py::test_and_allid_shortcut | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_logic_test.py::test_or_eq | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_logic_test.py::test_and_not_eq | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_logic_test.py::test_or_not_eq | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_logic_test.py::test_and_range | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_logic_test.py::test_or_range | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_logic_test.py::test_and_and_eq | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_logic_test.py::test_or_or_eq | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_logic_test.py::test_and_or_eq | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_logic_test.py::test_or_and_eq | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_matching_rules | 0.07 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/filter/filter_match_test.py::test_add_attribute_types | 2.14 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule0] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule2] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule3] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule4] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule5] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule6] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule7] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule8] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule9] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule10] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule11] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule12] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule13] | 0.03 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule14] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule15] | 0.10 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule16] | 0.03 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_attributes[rule17] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode0] | 0.03 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode1] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode2] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode3] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode4] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode5] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode6] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode7] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode8] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode9] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode10] | 0.03 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode11] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode12] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode13] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode14] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode15] | 0.02 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode16] | 0.03 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_modes[mode17] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode0] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode1] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode2] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode3] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode4] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode5] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode6] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode7] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode8] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode9] | 0.12 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode10] | 0.03 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode11] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode12] | 0.17 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode13] | 0.07 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode14] | 0.09 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode15] | 0.08 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode16] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_valid_invalid_mode_replace[mode17] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrbitStringMatch='0001'B)-1-(attrbitStringMatch:bitStringMatch:='000100000'B)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrgeneralizedTimeMatch=20100218171300Z)-1-(attrcaseExactIA5Match=SPRAIN)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrcaseExactMatch>=ÇélIné Ändrè)-5-(attrcaseExactMatch=ÇéLINé ÄNDRè)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrcaseExactMatch:caseExactMatch:=ÇélIné Ändrè)-1-(attrcaseExactMatch>=çéliné ändrè)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrcaseExactIA5Match=Sprain)-1-(attrgeneralizedTimeMatch=20300218171300Z)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrbooleanMatch=TRUE)-1-(attrgeneralizedTimeMatch>=20300218171300Z)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrcaseIgnoreIA5Match=sprain1)-1-(attrcaseIgnoreIA5Match=sprain9999)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrcaseIgnoreMatch=ÇélIné Ändrè1)-1-(attrcaseIgnoreMatch=ÇélIné Ändrè9999)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrcaseIgnoreMatch>=ÇélIné Ändrè1)-6-(attrcaseIgnoreMatch>=ÇélIné Ändrè9999)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrcaseIgnoreListMatch=foo1$bar)-1-(attrcaseIgnoreListMatch=foo1$bar$baz$biff)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrobjectIdentifierMatch=1.3.6.1.4.1.1466.115.121.1.15)-1-(attrobjectIdentifierMatch=1.3.6.1.4.1.1466.115.121.1.15.99999)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrgeneralizedTimeMatch>=20100218171300Z)-6-(attroctetStringMatch>=AAAAAAAAAAABAQQ=)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrdirectoryStringFirstComponentMatch=ÇélIné Ändrè1)-1-(attrdirectoryStringFirstComponentMatch=ÇélIné Ändrè9999)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrobjectIdentifierFirstComponentMatch=1.3.6.1.4.1.1466.115.121.1.15)-1-(attrobjectIdentifierFirstComponentMatch=1.3.6.1.4.1.1466.115.121.1.15.99999)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrdistinguishedNameMatch=cn=foo1,cn=bar)-1-(attrdistinguishedNameMatch=cn=foo1,cn=bar,cn=baz)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrintegerMatch=-2)-1-(attrintegerMatch=-20)] | 0.26 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrintegerMatch>=-2)-6-(attrintegerMatch>=20)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrintegerFirstComponentMatch=-2)-1-(attrintegerFirstComponentMatch=-20)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attruniqueMemberMatch=cn=foo1,cn=bar#'0001'B)-1-(attruniqueMemberMatch=cn=foo1,cn=bar#'00010000'B)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrnumericStringMatch=00001)-1-(attrnumericStringMatch=000000001)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrnumericStringMatch>=00001)-6-(attrnumericStringMatch>=01)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attrtelephoneNumberMatch=+1 408 555 4798)-1-(attrtelephoneNumberMatch=+2 408 555 4798)] | 0.18 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attroctetStringMatch=AAAAAAAAAAAAAAE=)-1-(attroctetStringMatch=AAAAAAAAAAAAAAEB)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_match_count[(attroctetStringMatch>=AAAAAAAAAAAAAAE=)-6-(attroctetStringMatch>=AAAAAAAAAAABAQE=)] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrbitStringMatch:bitStringMatch:='0001'B)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseExactIA5Match:caseExactIA5Match:=Sprain)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseExactMatch:caseExactMatch:=ÇélIné Ändrè)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseExactMatch:caseExactOrderingMatch:=ÇélIné Ändrè)-5] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrgeneralizedTimeMatch:generalizedTimeMatch:=20100218171300Z)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrgeneralizedTimeMatch:generalizedTimeOrderingMatch:=20100218171300Z)-6] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrbooleanMatch:booleanMatch:=TRUE)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreIA5Match:caseIgnoreIA5Match:=sprain1)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreMatch:caseIgnoreMatch:=ÇélIné Ändrè1)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreMatch:caseIgnoreOrderingMatch:=ÇélIné Ändrè1)-6] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreListMatch:caseIgnoreListMatch:=foo1$bar)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrobjectIdentifierMatch:objectIdentifierMatch:=1.3.6.1.4.1.1466.115.121.1.15)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrdirectoryStringFirstComponentMatch:directoryStringFirstComponentMatch:=ÇélIné Ändrè1)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrobjectIdentifierFirstComponentMatch:objectIdentifierFirstComponentMatch:=1.3.6.1.4.1.1466.115.121.1.15)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrdistinguishedNameMatch:distinguishedNameMatch:=cn=foo1,cn=bar)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrintegerMatch:integerMatch:=-2)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrintegerMatch:integerOrderingMatch:=-2)-6] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrintegerFirstComponentMatch:integerFirstComponentMatch:=-2)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attruniqueMemberMatch:uniqueMemberMatch:=cn=foo1,cn=bar#'0001'B)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrnumericStringMatch:numericStringMatch:=00001)-10] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrnumericStringMatch:numericStringMatch:=00001)-11] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrtelephoneNumberMatch:telephoneNumberMatch:=+1 408 555 4798)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attroctetStringMatch:octetStringMatch:=AAAAAAAAAAAAAAE=)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attroctetStringMatch:octetStringOrderingMatch:=AAAAAAAAAAAAAAE=)-6] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseExactMatch=*ÇélIné Ändrè*)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseExactMatch=ÇélIné Ändrè*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseExactMatch=*ÇélIné Ändrè)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseExactMatch=*é Ä*)-5] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseExactIA5Match=*Sprain*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseExactIA5Match=Sprain*)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseExactIA5Match=*Sprain)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseExactIA5Match=*rai*)-3] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreIA5Match=*sprain1*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreIA5Match=sprain1*)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreIA5Match=*sprain1)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreIA5Match=*rai*)-6] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreMatch=*ÇélIné Ändrè1*)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreMatch=ÇélIné Ändrè1*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreMatch=*ÇélIné Ändrè1)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreMatch=*é Ä*)-6] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreListMatch=*foo1$bar*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreListMatch=foo1$bar*)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreListMatch=*foo1$bar)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrcaseIgnoreListMatch=*1$b*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrnumericStringMatch=*00001*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrnumericStringMatch=00001*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrnumericStringMatch=*00001)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrnumericStringMatch=*000*)-6] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrtelephoneNumberMatch=*+1 408 555 4798*)-1] | 0.00 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrtelephoneNumberMatch=+1 408 555 4798*)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrtelephoneNumberMatch=*+1 408 555 4798)-1] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_match_test.py::test_extensible_search[(attrtelephoneNumberMatch=* 55*)-6] | 0.01 | |
No log output captured. | |||
Passed | suites/filter/filter_test.py::test_filter_escaped | 0.10 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. -------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.filter_test:filter_test.py:42 Running test_filter_escaped... [32mINFO [0m tests.suites.filter.filter_test:filter_test.py:78 test_filter_escaped: PASSED | |||
Passed | suites/filter/filter_test.py::test_filter_search_original_attrs | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.filter_test:filter_test.py:95 Running test_filter_search_original_attrs... [32mINFO [0m tests.suites.filter.filter_test:filter_test.py:108 test_filter_search_original_attrs: PASSED | |||
Passed | suites/filter/filter_test.py::test_filter_scope_one | 0.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.filter_test:filter_test.py:128 Search user using ldapsearch with scope one [32mINFO [0m tests.suites.filter.filter_test:filter_test.py:130 [dn: cn=Directory Administrators,dc=example,dc=com cn: Directory Administrators ] [32mINFO [0m tests.suites.filter.filter_test:filter_test.py:132 Search should only have one entry | |||
Passed | suites/filter/filter_test.py::test_filter_with_attribute_subtype | 0.15 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m lib389:filter_test.py:157 Bind as cn=Directory Manager [32mINFO [0m lib389:filter_test.py:164 ######################### ADD ###################### [32mINFO [0m lib389:filter_test.py:187 Try to add Add cn=test_entry both, dc=example,dc=com: dn: cn=test_entry both, dc=example,dc=com cn: test_entry both cn;en: test_entry en cn;fr: test_entry fr objectclass: top objectclass: person sn: test_entry both [32mINFO [0m lib389:filter_test.py:190 Try to add Add cn=test_entry en only, dc=example,dc=com: dn: cn=test_entry en only, dc=example,dc=com cn: test_entry en only cn;en: test_entry en objectclass: top objectclass: person sn: test_entry en only [32mINFO [0m lib389:filter_test.py:193 ######################### SEARCH ###################### [32mINFO [0m lib389:filter_test.py:197 Try to search with filter (&(sn=test_entry en only)(!(cn=test_entry fr))) [32mINFO [0m lib389:filter_test.py:201 Found cn=test_entry en only,dc=example,dc=com [32mINFO [0m lib389:filter_test.py:205 Try to search with filter (&(sn=test_entry en only)(!(cn;fr=test_entry fr))) [32mINFO [0m lib389:filter_test.py:209 Found cn=test_entry en only,dc=example,dc=com [32mINFO [0m lib389:filter_test.py:213 Try to search with filter (&(sn=test_entry en only)(!(cn;en=test_entry en))) [32mINFO [0m lib389:filter_test.py:216 Found none [32mINFO [0m lib389:filter_test.py:218 ######################### DELETE ###################### [32mINFO [0m lib389:filter_test.py:220 Try to delete cn=test_entry both, dc=example,dc=com [32mINFO [0m lib389:filter_test.py:223 Try to delete cn=test_entry en only, dc=example,dc=com [32mINFO [0m tests.suites.filter.filter_test:filter_test.py:226 Testcase PASSED | |||
Passed | suites/filter/filter_test.py::test_extended_search | 0.03 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m tests.suites.filter.filter_test:filter_test.py:254 Running test_filter_escaped... [32mINFO [0m lib389:filter_test.py:271 Try to search with filter (cn:de:=ext-test-entry) [32mINFO [0m lib389:filter_test.py:277 Try to search with filter (cn:caseIgnoreIA5Match:=EXT-TEST-ENTRY) [32mINFO [0m lib389:filter_test.py:283 Try to search with filter (cn:caseIgnoreMatch:=EXT-TEST-ENTRY) [32mINFO [0m lib389:filter_test.py:289 Try to search with filter (cn:caseExactMatch:=EXT-TEST-ENTRY) [32mINFO [0m lib389:filter_test.py:295 Try to search with filter (cn:caseExactMatch:=ext-test-entry) [32mINFO [0m lib389:filter_test.py:301 Try to search with filter (cn:caseExactIA5Match:=EXT-TEST-ENTRY) [32mINFO [0m lib389:filter_test.py:307 Try to search with filter (cn:caseExactIA5Match:=ext-test-entry) | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_telephone[(telephonenumber=*7393)] | 0.05 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_telephone[(telephonenumber=*408*3)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid=mward)] | 0.29 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(l=sunnyvale)0] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(mail=jreu*)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(mail=*exam*)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid=*)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:2.16.840.1.113730.3.3.2.15.1:=>AAA)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:es:=>AAA)] | 0.07 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:2.16.840.1.113730.3.3.2.15.1.5:=AAA)] | 0.07 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:2.16.840.1.113730.3.3.2.15.1:=>user100)] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:es:=>user100)] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:2.16.840.1.113730.3.3.2.15.1.5:=user100)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:2.16.840.1.113730.3.3.2.15.1.1:=user1)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:2.16.840.1.113730.3.3.2.15.1.1:=z)] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid=user1)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid<=Z)] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid>=1)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid>=A)] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid>=user20)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:2.16.840.1.113730.3.3.2.18.1.2:=user20)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:2.16.840.1.113730.3.3.2.18.1.2:=z)] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:2.16.840.1.113730.3.3.2.18.1:=>=A)] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:fr:=>=A)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:2.16.840.1.113730.3.3.2.18.1.4:=A)] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:2.16.840.1.113730.3.3.2.18.1:=>=user20)] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:fr:=>=user20)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:2.16.840.1.113730.3.3.2.18.1.4:=user20)] | 0.30 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:2.16.840.1.113730.3.3.2.18.1:=>=z)] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid:fr:=>=z)] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(description=This is the special * attribute value)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(description=*x*)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid=ptyler)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid=*wal*)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(roomNumber=0312)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(uid=mw*)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(roomNumber=2295)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(l=Cupertino)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(objectclass=inetorgperson)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(l=sunnyvale)1] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(roomNumber=200)] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(roomNumber=201)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(roomNumber=202)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(l=*)] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(!(sn~=tiller))(!(uid=ptyler)))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(!(sn~=tiller)) (uid=ptyler))] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(uid=*wal*) (roomNumber=0312))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(!(uid=*wal*))(!(roomNumber=0312)))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(!(uid=*wal*))(roomNumber=0312))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(uid=*wal*)(!(roomNumber=0312)))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(uid=*wal*)(|(sn~=tiller) (roomNumber=2295)))] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(&(uid=*wal*) (roomNumber=2295))(&(uid=*wal*) (sn~=tiller)))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(uid=*wal*)(&(sn~=tiller) (roomNumber=2295)))0] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(|(uid=*wal*) (sn~=tiller))(|(uid=*wal*) (roomNumber=2295)))0] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(uid=*wal*) (roomNumber=2295))0] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(roomNumber=2295) (uid=*wal*))0] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(roomNumber=2295) (uid=*wal*))0] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(uid=*wal*)(&(sn~=tiller) (roomNumber=2295)))1] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(uid=*wal*) (roomNumber=2295))] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(uid=*wal*) (l=*))] | 0.28 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(l=Cupertino) (|(uid=*wal*)(&(sn~=tiller) (roomNumber=2295))))] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(!(l=Cupertino))(!(|(uid=*wal*)(&(sn~=tiller) (roomNumber=2295)))))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(!(l=Cupertino))(|(uid=*wal*)(&(sn~=tiller) (roomNumber=2295))))] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(l=Cupertino)(!(|(uid=*wal*)(&(sn~=tiller) (roomNumber=2295)))))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(l=Cupertino) (|(uid=*wal*)(&(sn~=tiller) (roomNumber=2295))))] | 0.20 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(!(l=Cupertino))(!(|(uid=*wal*)(&(sn~=tiller) (roomNumber=2295)))))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(!(l=Cupertino))(|(uid=*wal*)(&(sn~=tiller) (roomNumber=2295))))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(l=Cupertino)(!(|(uid=*wal*)(&(sn~=tiller) (roomNumber=2295)))))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(!(uid=user1))(objectclass=inetorgperson))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(!(uid=user1))(objectclass=inetorgperson))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(!(mail=cnewport@example.com))(l=sunnyvale))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(|(uid=*wal*) (sn~=tiller))(|(uid=*wal*) (roomNumber=2295)))1] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(uid=*wal*) (roomNumber=2295))1] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(roomNumber=2295) (uid=*wal*))1] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(roomNumber=2295) (uid=*wal*))1] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(!(roomNumber=200))(!(roomNumber=201))(!(roomNumber=202))(l=sunnyvale))] | 0.07 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(!(uid=user40))(&(!(uid=user1))(!(uid=user20))(!(uid=user30))(objectclass=inetorgperson)))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(!(uid=user40))(&(!(uid=user1))(!(uid=user20))(!(uid=user30))(objectclass=inetorgperson)))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(!(roomNumber=2254))(&(!(roomNumber=200))(!(roomNumber=201))(!(roomNumber=202))(l=sunnyvale)))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(!(roomNumber=2254))(&(!(roomNumber=200))(!(roomNumber=201))(!(roomNumber=202))(l=sunnyvale)))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(!(uid=user1))(!(uid:2.16.840.1.113730.3.3.2.18.1:=<=user20))(!(uid=user30)))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(!(uid=user1))(!(uid:2.16.840.1.113730.3.3.2.18.1:=<=user20))(!(uid=user30)))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(!(roomNumber=4012))(!(roomNumber=3924))(!(roomNumber=4508)))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(!(roomNumber=4012))(!(roomNumber=3924))(!(roomNumber=4508)))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(& (objectclass=inetorgperson)(!(uid=user1))(!(uid:2.16.840.1.113730.3.3.2.18.1:=<=user20))(!(uid=user30)))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(| (objectclass=inetorgperson)(!(uid=user1))(!(uid:2.16.840.1.113730.3.3.2.18.1:=<=user20))(!(uid=user30)))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(l=sunnyvale)(!(roomNumber=4012))(!(roomNumber=3924))(!(roomNumber=4508)))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(l=sunnyvale)(!(roomNumber=4012))(!(roomNumber=3924))(!(roomNumber=4508)))] | 0.07 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(!(|(!(l=*))(!(l=sunnyvale))))] | 0.07 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(!(l=*))(!(l=sunnyvale)))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(!(l=Cupertino))(!(mail=*exam*))(!(|(uid=*wal*) (l=*))))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(!(l=Cupertino))(!(mail=*exam*))(|(uid=*wal*) (l=*)))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(!(l=Cupertino))(mail=*exam*) (|(uid=*wal*) (l=*)))] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(l=Cupertino) (mail=*exam*) (|(uid=*wal*) (l=*)))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(!(l=Cupertino))(!(mail=*exam*))(!(|(uid=*wal*) (l=*))))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(!(l=Cupertino))(!(mail=*exam*))(|(uid=*wal*) (l=*)))] | 0.07 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(!(l=Cupertino))(mail=*exam*)(!(|(uid=*wal*) (l=*))))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(!(l=Cupertino))(mail=*exam*) (|(uid=*wal*) (l=*)))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(l=Cupertino)(!(mail=*exam*))(!(|(uid=*wal*) (l=*))))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(l=Cupertino)(!(mail=*exam*))(|(uid=*wal*) (l=*)))] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(|(l=Cupertino) (mail=*exam*)(!(|(uid=*wal*) (l=*))))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_positive[(&(l=Cupertino)(!(mail=*exam*))(|(uid=*wal*) (l=*)))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(userpassword=*)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(fred=*)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid:2.16.840.1.113730.3.3.2.15.1:=<1)] | 0.06 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid:es:=<1)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid:2.16.840.1.113730.3.3.2.15.1.1:=1)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid:2.16.840.1.113730.3.3.2.15.1:=<user1)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid:es:=<user1)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid:2.16.840.1.113730.3.3.2.15.1:=<z)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid:es:=<z)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid<=1)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid<=A)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid>=Z)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid:2.16.840.1.113730.3.3.2.18.1:=<=A)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid:fr:=<=A)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid:2.16.840.1.113730.3.3.2.18.1.2:=A)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid:2.16.840.1.113730.3.3.2.18.1:=<=user20)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid:fr:=<=user20)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid:2.16.840.1.113730.3.3.2.18.1:=<=z)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid:fr:=<=z)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid:2.16.840.1.113730.3.3.2.18.1.4:=z)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(sn~=tiller)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(givenName~=pricella)] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(mail=cnewport@example.com)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid=user20)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid=user30)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(uid=user40)] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(&(sn~=tiller) (givenName~=pricella))] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(&(sn~=tiller)(!(uid=ptyler)))] | 0.05 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(&(!(l=Cupertino))(mail=*exam*)(!(|(uid=*wal*) (l=*))))] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(&(l=Cupertino)(!(mail=*exam*))(!(|(uid=*wal*) (l=*))))] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(&(l=Cupertino) (mail=*exam*)(!(|(uid=*wal*) (l=*))))] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filter_with_non_root_user_test.py::test_all_negative[(&(l=Cupertino) (mail=*exam*) (|(uid=*wal*) (l=*)))] | 0.04 | |
No log output captured. | |||
Passed | suites/filter/filterscanlimit_test.py::test_idlistscanlimit | 10.31 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/filter/large_filter_test.py::test_large_filter[(&(objectClass=person)(|(manager=uid=fmcdonnagh,dc=anuj,dc=com)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_0,dc=anuj,dc=com)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_1,dc=anuj,dc=com)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_2,dc=anuj,dc=com)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_3,dc=anuj,dc=com)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_4,dc=anuj,dc=com)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_5,dc=anuj,dc=com)(manager=uid=jvedder, dc=anuj, dc=com)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_6,dc=anuj,dc=com)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_7,dc=anuj,dc=com)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_8,dc=anuj,dc=com)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_9,dc=anuj,dc=com)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_10,dc=anuj,dc=com)(manager=uid=cnewport, dc=anuj, dc=com)))] | 0.05 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/filter/large_filter_test.py::test_large_filter[(&(objectClass=person)(|(manager=uid=fmcdonnagh *)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_0,*)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_1,*)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_2,*)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_3,*)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_4,*)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_5,*)(manager=uid=jvedder,*)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_6,*)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_7,*)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_8,*)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_9,*)(manager=cn=no_such_entry_with_a_really_long_dn_component_to_stress_the_filter_handling_code_10,*)(manager=uid=cnewport,*)))] | 0.15 | |
No log output captured. | |||
Passed | suites/filter/rfc3673_all_oper_attrs_test.py::test_supported_features | 0.00 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m lib389.topologies:topologies.py:106 Instance with parameters {'ldap-port': 38901, 'ldap-secureport': 63601, 'server-id': 'standalone1', 'suffix': 'dc=example,dc=com'} was created. | |||
Passed | suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-False-oper_attr_list0] | 0.43 | |