{
'host' : STAF_REMOTE_HOSTNAME,
'port' : 3000,
}
{
'host' : STAF_REMOTE_HOSTNAME,
'port' : 4000,
}
'Got 2 free ports: %s and %s' % (FREE_PORT_1, FREE_PORT_2)
'Ports: LDAP port conflict'
'%s %s' % (c, p)
{ 'location' : STAF_REMOTE_HOSTNAME,
'name' : 'Launch setup command with LDAP port conflict',
'command' : c,
'arguments' : p,
'path' : ODS_UNZIPPED,
'expectedRC': 2,
'outputFile': '%s/ports-setup-ldap-conflict.txt' % OUT_GROUP,
}
'Ports: LDAPS port conflict'
'%s %s' % (c, p)
{ 'location' : STAF_REMOTE_HOSTNAME,
'name' : 'Launch setup command with LDAPS port conflict',
'command' : c,
'arguments' : p,
'path' : ODS_UNZIPPED,
'expectedRC': 2,
'outputFile': '%s/ports-setup-ldaps-conflict.txt' % OUT_GROUP,
}
'Ports: JMX port conflict'
'%s %s' % (c, p)
{ 'location' : STAF_REMOTE_HOSTNAME,
'name' : 'Launch setup command with JMX port conflict',
'command' : c,
'arguments' : p,
'path' : ODS_UNZIPPED,
'expectedRC': 2,
'outputFile': '%s/ports-setup-jmx-conflict.txt' % OUT_GROUP,
}
'Ports: '
'Prepare Open DS ZIP (in %s)' % PORTS_I1_ROOT
{ 'name' : 'Create directory to contain I1',
'location' : STAF_REMOTE_HOSTNAME,
'service' : 'FS',
'request' : 'CREATE',
'arguments' : 'DIRECTORY %s FAILIFEXISTS' % PORTS_I1_BASE
}
{ 'returncode' : RC,
'expected' : 0,
'result' : 'FAIL to create directory',
}
{ 'name' : 'Extract OpenDS ZIP file',
'location' : STAF_REMOTE_HOSTNAME,
'service' : 'ZIP',
'request' : 'UNZIP',
'arguments' : 'ZIPFILE %s/%s TODIRECTORY %s RESTOREPERMISSION' \
% (DIRECTORY_INSTANCE_DIR, ZIPNAME, PORTS_I1_BASE)
}
{ 'returncode' : RC,
'expected' : 0,
'result' : 'FAIL to unzip OpenDS ZIP file',
}
'%s %s' % (c, p)
{ 'location' : STAF_REMOTE_HOSTNAME,
'name' : 'Setup command for I1 (port conflict but nocheck)',
'command' : c,
'arguments' : p,
'path' : PORTS_I1_ROOT,
'expectedRC': 0,
'outputFile': '%s/ports-setup-confl-nocheck-i1.txt' % OUT_GROUP,
}
'%s %s' % (c, p)
{ 'location' : STAF_REMOTE_HOSTNAME,
'name' : 'start DS (will raise port conflict)',
'command' : c,
'arguments' : p,
'path' : PORTS_I1_ROOT,
'expectedRC': 1,
'outputFile': '%s/ports-start-conflict-i1.txt' % OUT_GROUP,
}
'%s %s' % (c, p)
{ 'location' : STAF_REMOTE_HOSTNAME,
'name' : 'Uninstall I1',
'command' : c,
'arguments' : p,
'path' : PORTS_I1_ROOT,
'expectedRC': 0,
'outputFile': '%s/ports-uninstall-conflict-i1.txt' % OUT_GROUP,
}
'Ports: Unauthorized LDAP port'
'%s %s' % (c, p)
{ 'location' : STAF_REMOTE_HOSTNAME,
'name' : 'Launch setup command with unauthorized LDAP port',
'command' : c,
'arguments' : p,
'path' : ODS_UNZIPPED,
'expectedRC': 2,
'outputFile': '%s/ports-unauthorized-ldap.txt' % OUT_GROUP,
}
'Stop instance'
{ 'location' : STAF_REMOTE_HOSTNAME,
'dsPath' : '%s/%s' % (ODS_UNZIPPED, OPENDSNAME),
'dsPort' : 1,
'dsBindDN' : 'cn=Directory Manager' ,
'dsBindPwd' : 'kangourou' ,
'expectedRC' : 'noCheck'
}