Location of target host
'ERROR config.py : OPENDSDIR variable not defined'
'ERROR config.py : TMPDIR variable not defined'
'ERROR config.py : JAVA_HOME variable not defined'
{
'location' : STAXServiceMachine,
'string2grep' : 'NEED_VALUE',
'expect2Find' : FALSE,
'caseSensitive' : FALSE,
'file' : '%s/config.py' % TESTS_DIR,
'fileFd' : NO_FILE
}
{
'location' : STAXServiceMachine,
'string2grep' : 'NEED_VALUE',
'expect2Find' : FALSE,
'caseSensitive' : FALSE,
'file' : configurationFile,
'fileFd' : NO_FILE
}
'preamble before running the system test'
instances list
clients list
'=================== PREAMBLE ========================='
{ 'location' : instance.getHost(),
'foldername' : instance.getLogDir(),
'fileFd' : NO_FILE
}
{ 'location' : instance.getHost(),
'foldername' : LOG_TMP_DIR,
'fileFd' : NO_FILE
}
{
'sleepForMilliSeconds' : '1000',
'silentMode' : 'TRUE',
'fileFd' : NO_FILE
}
{ 'location' : instance.getHost(),
'foldername' : LOCAL_TESTS_DIR,
'fileFd' : NO_FILE
}
{
'remoteHost' : fullHostName,
'fromDirectory' : '%s/phases/shared/java' % TESTS_DIR,
'toDirectory' : '%s/phases/shared/java' % LOCAL_TESTS_DIR,
'fileFd' : NO_FILE
}
{ 'instance' : instance }
{'scheduler':scheduler}
{ 'location' : client.getHost(),
'foldername' : client.getLogDir(),
'fileFd' : NO_FILE
}
{ 'location' : client.getHost(),
'foldername' : LOG_TMP_DIR,
'fileFd' : NO_FILE
}
{
'sleepForMilliSeconds' : '1000',
'silentMode' : 'TRUE',
'fileFd' : NO_FILE
}
{
'remoteHost' : fullHostName,
'fromDirectory' : '%s/clients' % TESTS_DIR,
'toDirectory' : '%s/clients' % LOCAL_TESTS_DIR,
'fileFd' : NO_FILE
}
{
'location' : STAXServiceMachine,
'fileName' : '%s/scenario/%s/clients' % \
(TESTS_DIR,DIR_NAME),
}
{
'remoteHost' : fullHostName,
'fromDirectory' : '%s/scenario/%s/clients' % \
(TESTS_DIR,DIR_NAME),
'toDirectory' : '%s/scenario/%s/clients' % \
(LOCAL_TESTS_DIR,DIR_NAME),
'fileFd' : NO_FILE
}
'== Found %s Error(s) during this phase' % (ERR_NUM[0])
'postamble after running the system test'
instances list
clients list
'=================== POSTAMBLE ========================='
{ 'location' : instance.getHost(),
'remoteHost' : STAXServiceMachine,
'fromDirectory' : instance.getLogDir(),
'toDirectory' : instance.getLogDir(),
'fileFd' : NO_FILE
}
{ 'location' : instance.getHost(),
'dsPath' : instance.getInstallDir(),
'dsInstanceHost' : instance.getHost(),
'dsInstancePort' : instance.getLDAPPort(),
'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
'dsScope' : 'sub',
'dsBaseDN' : 'cn=monitor',
'dsFilter' : 'objectclass=*',
'expectedRC' : 0,
'fileFd' : NO_FILE,
'outputFile' : '%s/cnMonitor.txt' % instance.getLogDir()
}
{
'srcFile' : '%s/cnMonitor.txt' % instance.getLogDir(),
'destFile' : '%s/cnMonitor.txt' % instance.getLogDir(),
'location' : instance.getHost(),
'remoteHost' : STAXServiceMachine,
'fileFd' : NO_FILE
}
{
'srcFile' : '%s/config/config.ldif' % instance.getInstallDir(),
'destFile' : '%s/config.ldif' % instance.getLogDir(),
'location' : instance.getHost(),
'remoteHost' : STAXServiceMachine,
'fileFd' : NO_FILE
}
{'scheduler':scheduler}
{ 'location' : client.getHost(),
'remoteHost' : STAXServiceMachine,
'fromDirectory' : client.getLogDir(),
'toDirectory' : client.getLogDir(),
'fileFd' : NO_FILE
}
{
'srcFile' : '%s/report/result.xsl' % (TESTS_DIR),
'destFile' : '%s/result.xsl' % LOG_DIR,
'remoteHost' : STAXServiceMachine,
'fileFd' : NO_FILE
}
{
'srcFile' : '%s/report/result.css' % (TESTS_DIR),
'destFile' : '%s/result.css' % LOG_DIR,
'remoteHost' : STAXServiceMachine,
'fileFd' : NO_FILE
}
'***************************************************'
'****** RUN IS FINISHED '
'****** Results stored on %s ' % STAXServiceMachine
'****** %s' % LOG_DIR
'****** Found %s ERROR(S)' % ERR_NUM_TOTAL
'***************************************************'