'Could not create the topology. Bailing out.'
'Could not start at least one server in the topology. Bailing out.'
'starting the search tests'
{ 'filters' : 'search' }
{ 'filters' : 'before-modify' }
{ 'functionName' : 'modifyIndex',
'functionException' : 'LDAP.ModifyException',
'functionFailureTC' : '%s: %s: %s' % (CurrentTestPath['group'], CurrentTestPath['suite'], STAXCurrentBlock ) ,
'functionMessage' : 'Adding substring index to attribute uid' ,
'functionArguments' : { 'operation' : 'add' ,
'indexAttribute' : 'uid' ,
'indexProperty' : 'index-type' ,
'indexPropertyValue' : 'substring'
}
}
{ 'functionName' : 'StopDsWithScript' ,
'functionException' : 'CLI.stop-ds' ,
'functionFailureTC' : 'Indexes - Modify' ,
'functionArguments' : { 'location' : STAF_LOCAL_HOSTNAME ,
'dsHost' : DIRECTORY_INSTANCE_HOST,
'dsPort' : DIRECTORY_INSTANCE_PORT,
'dsBindDN' : DIRECTORY_INSTANCE_DN ,
'dsBindPwd' : DIRECTORY_INSTANCE_PSWD }
}
{ 'functionName' : 'CLI_rebuild-index' ,
'functionException' : 'CLI.RebuildIndex' ,
'functionFailureTC' : 'Indexes - Modify' ,
'functionArguments' : { 'baseDN' : DIRECTORY_INSTANCE_SFX ,
'attributes' : [ 'uid' ] }
}
{ 'functionName' : 'StartDsWithScript',
'functionException' : 'CLI.start-ds' ,
'functionFailureTC' : 'Indexes - Modify' ,
'functionArguments' : { 'location' : STAF_LOCAL_HOSTNAME }
}
{ 'filters' : 'after-modify' }
'Fatal Error: Failed to alter index for attribute uid'
'Fatal Error: Failed to rebuild index for attribute uid'
{ 'filters' : 'before-add' }
{ 'functionName' : 'addIndex' ,
'functionException' : 'LDAP.AddIndexException' ,
'functionFailureTC' : 'Indexes - Add' ,
'functionMessage' : 'Adding presence and equality index to attribute st',
'functionArguments' : { 'indexAttribute' : 'l' ,
'indexTypes' : [ 'presence', 'equality' ]
}
}
{ 'functionName' : 'StopDsWithScript' ,
'functionException' : 'CLI.stop-ds' ,
'functionFailureTC' : '%s: %s: %s' % (CurrentTestPath['group'], CurrentTestPath['suite'], STAXCurrentBlock ) ,
'functionArguments' : { 'location' : STAF_LOCAL_HOSTNAME ,
'dsHost' : DIRECTORY_INSTANCE_HOST,
'dsPort' : DIRECTORY_INSTANCE_PORT,
'dsBindDN' : DIRECTORY_INSTANCE_DN ,
'dsBindPwd' : DIRECTORY_INSTANCE_PSWD
}
}
{ 'functionName' : 'CLI_rebuild-index' ,
'functionException' : 'CLI.RebuildIndex' ,
'functionFailureTC' : 'Indexes - Modify' ,
'functionArguments' : { 'baseDN' : DIRECTORY_INSTANCE_SFX ,
'attributes' : [ 'l' ]
}
}
{ 'functionName' : 'StartDsWithScript',
'functionException' : 'CLI.start-ds' ,
'functionFailureTC' : '%s: %s: ' ,
'functionArguments' : { 'location' : STAF_LOCAL_HOSTNAME }
}
{ 'filters' : 'after-add' }
'Fatal Error: Failed to add index for attribute l'
'Fatal Error: Failed to rebuild index for attribute l'
{ 'filters' : 'before-remove' }
{ 'functionName' : 'removeIndex' ,
'functionException' : 'LDAP.RemoveIndexException' ,
'functionFailureTC' : '%s: %s: %s' % (CurrentTestPath['group'], CurrentTestPath['suite'], STAXCurrentBlock),
'functionMessage' : 'Removing index on attribute l' ,
'functionArguments' : { 'indexAttribute' : 'l' }
}
{ 'filters' : 'after-remove' }
'Fatal Error: Failed to remove index for attribute l'
{ 'filters' : 'before-entry-limit' }
{ 'functionName' : 'modifyIndex' ,
'functionException' : 'LDAP.ModifyIndexException' ,
'functionFailureTC' : '%s: %s: %s' % (CurrentTestPath['group'], CurrentTestPath['suite'], STAXCurrentBlock),
'functionMessage' : 'Modify index entry limit on attribute uid' ,
'functionArguments' : { 'operation' : 'set' ,
'indexAttribute' : 'uid' ,
'indexProperty' : 'index-entry-limit' ,
'indexPropertyValue' : '3'
}
}
{ 'filters' : 'after-entry-limit' }
'Fatal Error: Failed to remove index for attribute l'
'Searching attribute [%s] with filter[%s]' % (test.getAttribute(),test.getFilter())
{ 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
'dsBaseDN' : 'ou=People,dc=example,%s' % DIRECTORY_INSTANCE_SFX ,
'dsFilter' : '%s' % test.getFilter() ,
'attributes' : 'debugsearchindex' ,
'expectedRC' : 'noCheck' }
'%s searchReturnCode=[%s] srt=[%s] searchResultString=[%s] string looked for=[%s]' % (test.desc(), searchReturnCode, srt, searchResultString, test.getSearchString())
{ 'functionName' : 'createTopology' ,
'functionMessage' : 'Create DS topology as described in config.py',
'functionException' : 'Topology.CreationException' ,
'functionArguments' : { 'initialiseInstance' : True }
}
{ 'functionName' : 'StartDsWithScript' ,
'functionMessage' : 'Start DS to run on port %s' % (DIRECTORY_INSTANCE_PORT) ,
'functionArguments' : { 'location' : STAF_REMOTE_HOSTNAME }
}
{ 'functionName' : 'isAlive' ,
'functionMessage' : 'Checking if the server is available' ,
'functionException' : 'Topology.StartException' ,
'functionArguments' : { 'noOfLoops' : 5 ,
'noOfMilliSeconds' : 2000 }
}
{ 'functionName' : 'StopDsWithScript' ,
'functionMessage' : 'Stop DS running on port %s' % (DIRECTORY_INSTANCE_PORT),
'functionArguments' : { 'location' : STAF_REMOTE_HOSTNAME ,
'dsHost' : DIRECTORY_INSTANCE_HOST ,
'dsPort' : DIRECTORY_INSTANCE_PORT ,
'dsBindDN' : DIRECTORY_INSTANCE_DN ,
'dsBindPwd' : DIRECTORY_INSTANCE_PSWD }
}
{ 'functionName' : 'removeTopology',
'functionMessage' : 'Remove DS topology created for the Test Suite'
}