report.html

Report generated on 27-Jan-2019 at 19:24:38 by pytest-html v1.20.0

Environment

389-ds-base 1.4.1.0-20190128gitabdf8aa.fc29
Packages {'pytest': '4.1.1', 'py': '1.5.4', 'pluggy': '0.8.1'}
Platform Linux-4.19.13-300.fc29.x86_64-x86_64-with-fedora-29-Twenty_Nine
Plugins {'metadata': '1.8.0', 'html': '1.20.0'}
Python 3.7.2
cyrus-sasl 2.1.27-0.3rc7.fc29
nspr 4.20.0-1.fc29
nss 3.41.0-3.fc29
openldap 2.4.46-9.fc29

Summary

22 tests ran in 380.35 seconds.

4 passed, 4 skipped, 2 failed, 864 errors, 16 expected failures, 0 unexpected passes

Results

Result Test Duration Links
Error suites/acl/acl_deny_test.py::test_multi_deny_aci::setup 1.28
request = <SubRequest 'topo' for <Function test_multi_deny_aci>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ede4a20>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[lang-ja]::setup 1.05
request = <SubRequest 'topology_m2' for <Function test_aci_attr_subtype_targetattr[lang-ja]>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[binary]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[phonetic]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_mode_default_add_deny::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_mode_default_delete_deny::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod[0-cn=staged user,dc=example,dc=com-cn=accounts,dc=example,dc=com-False]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod[1-cn=staged user,dc=example,dc=com-cn=accounts,dc=example,dc=com-False]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod[2-cn=staged user,dc=example,dc=com-cn=bad*,dc=example,dc=com-True]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod[3-cn=st*,dc=example,dc=com-cn=accounts,dc=example,dc=com-False]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod[4-cn=bad*,dc=example,dc=com-cn=accounts,dc=example,dc=com-True]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod[5-cn=st*,dc=example,dc=com-cn=ac*,dc=example,dc=com-False]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod[6-None-cn=ac*,dc=example,dc=com-False]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod[7-cn=st*,dc=example,dc=com-None-False]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod[8-None-None-False]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod_9::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_moddn_prod_staging::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_check_repl_M2_to_M1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod_except::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_mode_default_ger_no_moddn::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_mode_default_ger_with_moddn::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_mode_legacy_ger_no_moddn1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_mode_legacy_ger_no_moddn2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_mode_legacy_ger_with_moddn::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_rdn_write_get_ger::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/acl_test.py::test_rdn_write_modrdn_anonymous::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f460240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/enhanced_aci_modrnd_test.py::test_enhanced_aci_modrnd::setup 1.02
request = <SubRequest 'topology_st' for <Function test_enhanced_aci_modrnd>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f29af98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/repeated_ldap_add_test.py::test_repeated_ldap_add::setup 1.02
request = <SubRequest 'topology_st' for <Function test_repeated_ldap_add>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f0e51d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/selfdn_permissions_test.py::test_selfdn_permission_add::setup 1.02
request = <SubRequest 'topology_st' for <Function test_selfdn_permission_add>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ef98b70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/selfdn_permissions_test.py::test_selfdn_permission_search::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ef98b70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/selfdn_permissions_test.py::test_selfdn_permission_modify::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ef98b70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/acl/selfdn_permissions_test.py::test_selfdn_permission_delete::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ef98b70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/attr_encryption/attr_encryption_test.py::test_basic::setup 1.02
request = <SubRequest 'topo' for <Function test_basic>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f726208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/attr_encryption/attr_encryption_test.py::test_export_import_ciphertext::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f726208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/attr_encryption/attr_encryption_test.py::test_export_import_plaintext::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f726208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/attr_encryption/attr_encryption_test.py::test_attr_encryption_unindexed::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f726208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/attr_encryption/attr_encryption_test.py::test_attr_encryption_multiple_backends::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f726208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/attr_encryption/attr_encryption_test.py::test_attr_encryption_backends::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f726208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/automember_plugin/automember_mod_test.py::test_mods::setup 1.02
request = <SubRequest 'topo' for <Function test_mods>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f072470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/automember_plugin/automember_test.py::test_automemberscope::setup 1.02
request = <SubRequest 'topo' for <Function test_automemberscope>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2fa470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/automember_plugin/automember_test.py::test_automemberfilter::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2fa470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/automember_plugin/automember_test.py::test_adduser::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2fa470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_basic_ops::setup 1.02
request = <SubRequest 'topology_st' for <Function test_basic_ops>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_basic_import_export::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_basic_backup::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_basic_db2index::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_basic_acl::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_basic_searches::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_basic_referrals::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_basic_systemctl::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_basic_ldapagent::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_basic_dse_survives_kill9::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_def_rootdse_attr[namingContexts]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_def_rootdse_attr[supportedLDAPVersion]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_def_rootdse_attr[supportedControl]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_def_rootdse_attr[supportedExtension]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_def_rootdse_attr[supportedSASLMechanisms]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_def_rootdse_attr[vendorName]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_def_rootdse_attr[vendorVersion]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_mod_def_rootdse_attr[namingContexts]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedLDAPVersion]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedControl]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedExtension]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedSASLMechanisms]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_mod_def_rootdse_attr[vendorName]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_mod_def_rootdse_attr[vendorVersion]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_basic_anonymous_search::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_search_original_type::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_search_ou::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_connection_buffer_size::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_critical_msg_on_empty_range_idl::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/basic/basic_test.py::test_ticketldbm_audit::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f32e160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/betxns/betxn_test.py::test_betxt_7bit::setup 1.03
request = <SubRequest 'topology_st' for <Function test_betxt_7bit>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f3b0518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/betxns/betxn_test.py::test_betxn_attr_uniqueness::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f3b0518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/betxns/betxn_test.py::test_betxn_memberof::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f3b0518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/clu/clu_test.py::test_clu_pwdhash::setup 1.02
request = <SubRequest 'topology_st' for <Function test_clu_pwdhash>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2ca9b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/clu/clu_test.py::test_clu_pwdhash_mod::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2ca9b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_threads_basic::setup 1.02
request = <SubRequest 'topo' for <Function test_threads_basic>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_threads_invalid_value[-2]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_threads_invalid_value[0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_threads_invalid_value[invalid]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_threads_back_from_manual_value::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_non_zero[-]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_non_zero[-0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_non_zero[10-400]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_non_zero[-40]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_non_zero[10-]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_non_zero[10-401]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_non_zero[10-0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_basic_sane[0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_basic_sane[]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_basic_sane[40]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_invalid_values[-2]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_invalid_values[102]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_invalid_values[invalid]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f2654e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/config_test.py::test_maxbersize_repl::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_maxbersize_repl>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7da35128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/config_test.py::test_config_listen_backport_size::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7da35128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/config_test.py::test_config_deadlock_policy::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7da35128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/config_test.py::test_defaultnamingcontext::setup 1.02
request = <SubRequest 'topo' for <Function test_defaultnamingcontext>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ee52ac8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/config_test.py::test_allow_add_delete_config_attributes::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ee52ac8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/config_test.py::test_ignore_virtual_attrs::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ee52ac8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/config_test.py::test_ndn_cache_enabled::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ee52ac8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/regression_test.py::test_maxbersize_repl::setup 1.02
request = <SubRequest 'topo' for <Function test_maxbersize_repl>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7dc01a90>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/removed_config_49298_test.py::test_restore_config::setup 1.02
request = <SubRequest 'topo' for <Function test_restore_config>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7dc06198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/config/removed_config_49298_test.py::test_removed_config::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7dc06198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/cos/indirect_cos_test.py::test_indirect_cos::setup 1.02
request = <SubRequest 'topo' for <Function test_indirect_cos>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7dc54ef0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_verify_operation_when_disk_monitoring_is_off::setup 1.02
request = <SubRequest 'topo' for <Function test_verify_operation_when_disk_monitoring_is_off>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_free_up_the_disk_space_and_change_ds_config::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_verify_operation_with_nsslapd_disk_monitoring_logging_critical_off::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_operation_with_nsslapd_disk_monitoring_logging_critical_on_below_half_of_the_threshold::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_setting_nsslapd_disk_monitoring_logging_critical_to_off::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_operation_with_nsslapd_disk_monitoring_logging_critical_off::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_operation_with_nsslapd_disk_monitoring_logging_critical_off_below_half_of_the_threshold::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_go_straight_below_half_of_the_threshold::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_go_straight_below_4kb::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_threshold_to_overflow_value::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_threshold_is_reached_to_half::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-threshold--2]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-threshold-9223372036854775808]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-threshold-2047]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-threshold-0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-threshold--1294967296]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-threshold-invalid]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-invalid]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-grace-period-00]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-grace-period-525 948]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-grace-period--10]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-logging-critical-oninvalid]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-grace-period--11]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_negagtive_parameterize[nsslapd-disk-monitoring-grace-period-01]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/disk_monitoring/disk_monitoring_test.py::test_valid_operations_are_permitted::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7f675fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/ds_logs/ds_logs_test.py::test_check_default::setup 1.02
request = <SubRequest 'topology_st' for <Function test_check_default>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d4b0b70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/ds_logs/ds_logs_test.py::test_plugin_set_invalid::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d4b0b70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/ds_logs/ds_logs_test.py::test_log_plugin_on::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d4b0b70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/ds_logs/ds_logs_test.py::test_log_plugin_off::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d4b0b70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/ds_logs/regression_test.py::test_default_loglevel_stripped[24576]::setup 1.02
request = <SubRequest 'topo' for <Function test_default_loglevel_stripped[24576]>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d7dd400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/ds_logs/regression_test.py::test_default_loglevel_stripped[16512]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d7dd400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/ds_logs/regression_test.py::test_default_loglevel_stripped[16385]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d7dd400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/ds_logs/regression_test.py::test_dse_config_loglevel_error::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d7dd400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/ds_tools/logpipe_test.py::test_user_permissions::setup 1.02
request = <SubRequest 'topo' for <Function test_user_permissions>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d5b7dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/ds_tools/replcheck_test.py::test_state::setup 1.02
request = <SubRequest 'topo' for <Function test_state>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d500208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/ds_tools/replcheck_test.py::test_check_ruv::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d500208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/ds_tools/replcheck_test.py::test_missing_entries::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d500208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/ds_tools/replcheck_test.py::test_tombstones::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d500208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/ds_tools/replcheck_test.py::test_conflict_entries::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d500208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/ds_tools/replcheck_test.py::test_inconsistencies::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d500208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/dynamic_plugins/dynamic_plugins_test.py::test_acceptance::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_acceptance>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d5960f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/dynamic_plugins/dynamic_plugins_test.py::test_memory_corruption::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d5960f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/dynamic_plugins/dynamic_plugins_test.py::test_stress::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d5960f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(sn=last1)(givenname=first1))-1]::setup 1.02
request = <SubRequest 'topo' for <Function test_filters[(&(uid=uid1)(sn=last1)(givenname=first1))-1]>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(sn=last1)(givenname=first1)))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(&(sn=last1))(&(givenname=first1))))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=*)(sn=last3)(givenname=*))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=*)(&(sn=last3)(givenname=*)))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid5)(&(&(sn=*))(&(givenname=*))))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(objectclass=*)(uid=*)(sn=last*))-5]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(objectclass=*)(uid=*)(sn=last1))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(uid=uid1)(sn=last1)(givenname=first1))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(uid=uid1)(|(sn=last1)(givenname=first1)))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(uid=uid1)(|(|(sn=last1))(|(givenname=first1))))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(objectclass=*)(sn=last1)(|(givenname=first1)))-14]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(&(objectclass=*)(sn=last1))(|(givenname=first1)))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(&(objectclass=*)(sn=last))(|(givenname=first1)))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(!(cn=NULL)))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(!(cn=NULL))(uid=uid1))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=*)(&(!(uid=1))(!(givenname=first1))))-4]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(|(uid=uid1)(uid=NULL))(sn=last1))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(|(uid=uid1)(uid=NULL))(!(sn=NULL)))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(|(uid=uid1)(sn=last2))(givenname=first1))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(&(uid=uid1)(!(uid=NULL)))(sn=last2))-2]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(&(uid=uid1)(uid=NULL))(sn=last2))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error 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]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(&(objectclass=*)(sn=last))(&(givenname=first1)))-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(sn=last1)(givenname=NULL))-0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(sn=last1)(givenname=NULL)))-0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(&(sn=last1))(&(givenname=NULL))))-0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(&(sn=last1))(&(givenname=NULL)(sn=*)))(|(sn=NULL)))-0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(&(sn=last*))(&(givenname=first*)))(&(sn=NULL)))-0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(uid=NULL)(sn=NULL)(givenname=NULL))-0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(uid=NULL)(|(sn=NULL)(givenname=NULL)))-0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(uid=NULL)(|(|(sn=NULL))(|(givenname=NULL))))-0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error 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]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(uid>=uid3)-3]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=*)(uid>=uid3))-3]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(uid>=uid3)(uid<=uid5))-5]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid>=uid3)(uid<=uid5))-3]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(&(uid>=uid3)(uid<=uid5))(uid=*))-5]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d683f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_eq::setup 1.02
request = <SubRequest 'topology_st' for <Function test_eq>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_sub::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_not_eq::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_ranges::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_and_eq::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_range::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_and_allid_shortcut::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_or_eq::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_and_not_eq::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_or_not_eq::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_and_range::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_or_range::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_and_and_eq::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_or_or_eq::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_and_or_eq::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_logic_test.py::test_or_and_eq::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d2d3160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_test.py::test_filter_escaped::setup 1.02
request = <SubRequest 'topology_st' for <Function test_filter_escaped>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d49d080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_test.py::test_filter_search_original_attrs::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d49d080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_test.py::test_filter_scope_one::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d49d080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_test.py::test_filter_with_attribute_subtype::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d49d080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/filter_test.py::test_extended_search::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d49d080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_supported_features::setup 1.02
request = <SubRequest 'topology_st' for <Function test_supported_features>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-False-oper_attr_list0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-False-oper_attr_list0-*]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-False-oper_attr_list0-objectClass]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-True-oper_attr_list1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-True-oper_attr_list1-*]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-True-oper_attr_list1-objectClass]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-False-oper_attr_list2]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-False-oper_attr_list2-*]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-False-oper_attr_list2-objectClass]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-True-oper_attr_list3]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-True-oper_attr_list3-*]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-True-oper_attr_list3-objectClass]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-False-oper_attr_list4]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-False-oper_attr_list4-*]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-False-oper_attr_list4-objectClass]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-True-oper_attr_list5]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-True-oper_attr_list5-*]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-True-oper_attr_list5-objectClass]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[cn=config-False-oper_attr_list6]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[cn=config-False-oper_attr_list6-*]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[cn=config-False-oper_attr_list6-objectClass]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0149e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/fourwaymmr/fourwaymmr_test.py::test_verify_trees::setup 1.02
request = <SubRequest 'topo_m4' for <Function test_verify_trees>>

@pytest.fixture(scope="module")
def topology_m4(request):
"""Create Replication Deployment with four masters"""

> topology = create_topology({ReplicaRole.MASTER: 4})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cd7cf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/fourwaymmr/fourwaymmr_test.py::test_sync_through_to_all_4_masters::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cd7cf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/fourwaymmr/fourwaymmr_test.py::test_modify_some_data_in_m3::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cd7cf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/fourwaymmr/fourwaymmr_test.py::test_delete_a_few_entries_in_m4::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cd7cf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/fourwaymmr/fourwaymmr_test.py::test_replicated_multivalued_entries::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cd7cf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/fourwaymmr/fourwaymmr_test.py::test_bad_replication_agreement::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cd7cf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/fourwaymmr/fourwaymmr_test.py::test_nsds5replicaenabled_verify::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cd7cf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/fourwaymmr/fourwaymmr_test.py::test_create_an_entry_on_the_supplier::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cd7cf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/fourwaymmr/fourwaymmr_test.py::test_bob_acceptance_tests::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cd7cf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/fourwaymmr/fourwaymmr_test.py::test_replica_backup_and_restore::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cd7cf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/get_effective_rights/acceptance_test.py::test_group_aci_entry_exists::setup 1.02
request = <SubRequest 'topo' for <Function test_group_aci_entry_exists>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0c5080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/get_effective_rights/acceptance_test.py::test_group_aci_template_entry::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d0c5080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/gssapi/simple_gssapi_test.py::test_gssapi_bind::setup 1.02
request = <SubRequest 'topology_st_gssapi' for <Function test_gssapi_bind>>

@pytest.fixture(scope="module")
def topology_st_gssapi(request):
"""Create a DS standalone instance with GSSAPI enabled.

This will alter the instance to remove the secure port, to allow
GSSAPI to function.
"""
hostname = socket.gethostname().split('.', 1)

# Assert we have a domain setup in some kind.
assert len(hostname) == 2

REALM = hostname[1].upper()

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:270:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ccadf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/gssapi/simple_gssapi_test.py::test_invalid_sasl_map::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:270: in topology_st_gssapi
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ccadf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/gssapi/simple_gssapi_test.py::test_missing_user::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:270: in topology_st_gssapi
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ccadf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/gssapi/simple_gssapi_test.py::test_support_mech::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:270: in topology_st_gssapi
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ccadf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/gssapi/simple_gssapi_test.py::test_rejected_mech::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:270: in topology_st_gssapi
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ccadf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/gssapi_repl/gssapi_repl_test.py::test_gssapi_repl::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_gssapi_repl>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d18c828>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/import/regression_test.py::test_import_be_default::setup 1.02
request = <SubRequest 'topo' for <Function test_import_be_default>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ce2eb00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/import/regression_test.py::test_del_suffix_import::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ce2eb00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/import/regression_test.py::test_del_suffix_backend::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ce2eb00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/mapping_tree/referral_during_tot_init_test.py::test_referral_during_tot::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_referral_during_tot>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cbca0f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/memberof_plugin/regression_test.py::test_memberof_with_repl::setup 1.02
request = <SubRequest 'topo' for <Function test_memberof_with_repl>>

@pytest.fixture(scope="module")
def topology_m1h1c1(request):
"""Create Replication Deployment with one master, one consumer and one hub"""

topo_roles = {ReplicaRole.MASTER: 1, ReplicaRole.HUB: 1, ReplicaRole.CONSUMER: 1}
> topology = _create_instances(topo_roles, DEFAULT_SUFFIX)

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:465:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ce0dc50>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/memberof_plugin/regression_test.py::test_scheme_violation_errors_logged::setup 1.02
request = <SubRequest 'topo_m2' for <Function test_scheme_violation_errors_logged>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d19c4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/memberof_plugin/regression_test.py::test_memberof_with_changelog_reset::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d19c4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/memberof_plugin/regression_test.py::test_memberof_group::setup 1.02
request = <SubRequest 'topology_st' for <Function test_memberof_group>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d189588>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/memberof_plugin/regression_test.py::test_entrycache_on_modrdn_failure::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d189588>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/memberof_plugin/regression_test.py::test_silent_memberof_failure::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d189588>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/monitor/monitor_test.py::test_monitor::setup 1.02
request = <SubRequest 'topo' for <Function test_monitor>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb76898>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_success[6-5]::setup 1.02
request = <SubRequest 'topology_st' for <Function test_search_success[6-5]>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_success[5-5]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_success[5-25]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_limits_fail[50-200-cn=config,cn=ldbm database,cn=plugins,cn=config-nsslapd-idlistscanlimit-100-UNWILLING_TO_PERFORM]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_limits_fail[5-15-cn=config-nsslapd-timelimit-20-UNAVAILABLE_CRITICAL_EXTENSION]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_limits_fail[21-50-cn=config-nsslapd-sizelimit-20-SIZELIMIT_EXCEEDED]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_limits_fail[21-50-cn=config-nsslapd-pagedsizelimit-5-SIZELIMIT_EXCEEDED]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_limits_fail[5-50-cn=config,cn=ldbm database,cn=plugins,cn=config-nsslapd-lookthroughlimit-20-ADMINLIMIT_EXCEEDED]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_sort_success::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_abandon::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_with_timelimit::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_dns_ip_aci[dns = "server.example.com"]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_dns_ip_aci[ip = "10.8.249.37"]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_multiple_paging::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_invalid_cookie[1000]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_invalid_cookie[-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_abandon_with_zero_size::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_pagedsizelimit_success::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_nspagedsizelimit[5-15-PASS]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_nspagedsizelimit[15-5-SIZELIMIT_EXCEEDED]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_paged_limits[conf_attr_values0-ADMINLIMIT_EXCEEDED]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_paged_limits[conf_attr_values1-PASS]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_paged_user_limits[conf_attr_values0-ADMINLIMIT_EXCEEDED]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_search_paged_user_limits[conf_attr_values1-PASS]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_ger_basic::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_multi_suffix_search::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_success[None]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_success[-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_success[1000]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_failure[0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_failure[1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cb4e780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/password_test.py::test_password_delete_specific_password::setup 1.02
request = <SubRequest 'topology_st' for <Function test_password_delete_specific_password>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c9b49b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pbkdf2_upgrade_plugin_test.py::test_pbkdf2_upgrade::setup 1.02
request = <SubRequest 'topology_st' for <Function test_pbkdf2_upgrade>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cc0feb8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdAdmin_test.py::test_pwdAdmin_bypass::setup 1.02
request = <SubRequest 'topology_st' for <Function test_pwdAdmin_bypass>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d82a6a0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdAdmin_test.py::test_pwdAdmin_no_admin::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d82a6a0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdAdmin_test.py::test_pwdAdmin_modify::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d82a6a0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdAdmin_test.py::test_pwdAdmin_group::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d82a6a0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdAdmin_test.py::test_pwdAdmin_config_validation::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7d82a6a0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdModify_test.py::test_pwd_modify_with_different_operation::setup 1.02
request = <SubRequest 'topo' for <Function test_pwd_modify_with_different_operation>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c779f60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdModify_test.py::test_pwd_modify_with_password_policy::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c779f60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdModify_test.py::test_pwd_modify_with_subsuffix::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c779f60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_attribute_test.py::test_change_pwd[on-off-UNWILLING_TO_PERFORM]::setup 1.02
request = <SubRequest 'topology_st' for <Function test_change_pwd[on-off-UNWILLING_TO_PERFORM]>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c88c7b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_attribute_test.py::test_change_pwd[off-off-UNWILLING_TO_PERFORM]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c88c7b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_attribute_test.py::test_change_pwd[off-on-None]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c88c7b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_attribute_test.py::test_change_pwd[on-on-None]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c88c7b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_attribute_test.py::test_pwd_min_age::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c88c7b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_controls_test.py::test_pwd_must_change::setup 1.02
request = <SubRequest 'topo' for <Function test_pwd_must_change>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c98c048>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_controls_test.py::test_pwd_expired_grace_limit::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c98c048>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_controls_test.py::test_pwd_expiring_with_warning::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c98c048>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_controls_test.py::test_pwd_expiring_with_no_warning::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c98c048>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_no_restrictions[off-off]::setup 1.02
request = <SubRequest 'topology_st' for <Function test_entry_has_no_restrictions[off-off]>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c710940>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_no_restrictions[on-off]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c710940>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_no_restrictions[off-on]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c710940>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_restrictions[cn=config]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c710940>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_restrictions[cn="cn=nsPwPolicyEntry,ou=People,dc=example,dc=com",cn=nsPwPolicyContainer,ou=People,dc=example,dc=com]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c710940>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_syntax_test.py::test_basic::setup 1.02
request = <SubRequest 'topology_st' for <Function test_basic>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c660198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_token_test.py::test_token_lengths::setup 1.02
request = <SubRequest 'topo' for <Function test_token_lengths>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c5a7e10>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_warning_test.py::test_different_values[ ]::setup 1.02
request = <SubRequest 'topology_st' for <Function test_different_values[ ]>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c764400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_warning_test.py::test_different_values[junk123]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c764400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_warning_test.py::test_different_values[on]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c764400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_warning_test.py::test_different_values[off]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c764400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_warning_test.py::test_expiry_time::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c764400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_warning_test.py::test_password_warning[passwordSendExpiringTime-off]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c764400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_warning_test.py::test_password_warning[passwordWarning-3600]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c764400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_warning_test.py::test_with_different_password_states::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c764400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_warning_test.py::test_default_behavior::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c764400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_warning_test.py::test_when_maxage_and_warning_are_the_same::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c764400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_warning_test.py::test_with_local_policy::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c764400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwdPolicy_warning_test.py::test_search_shadowWarning_when_passwordWarning_is_lower::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c764400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[CLEAR]::setup 1.02
request = <SubRequest 'topology_st' for <Function test_pwd_algo_test[CLEAR]>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[CRYPT]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[CRYPT-MD5]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[CRYPT-SHA256]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[CRYPT-SHA512]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[MD5]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SHA]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SHA256]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SHA384]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SHA512]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SMD5]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SSHA]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SSHA256]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SSHA384]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SSHA512]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[PBKDF2_SHA256]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[DEFAULT]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_algo_test.py::test_pbkdf2_algo::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c21ada0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_lockout_bypass_test.py::test_lockout_bypass::setup 1.02
request = <SubRequest 'topology_st' for <Function test_lockout_bypass>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c2c3518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwd_log_test.py::test_hide_unhashed_pwd::setup 1.02
request = <SubRequest 'topology_st' for <Function test_hide_unhashed_pwd>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c4850b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/pwp_history_test.py::test_basic::setup 1.02
request = <SubRequest 'topology_st' for <Function test_basic>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c422d30>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_pwp_local_unlock::setup 1.02
request = <SubRequest 'topo' for <Function test_pwp_local_unlock>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[CNpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[SNpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[UIDpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[MAILpwtest1@redhat.com]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[GNpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[CNpwtest1ZZZZ]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZZZZZCNpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZCNpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[CNpwtest1Z]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZCNpwtest1Z]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZZCNpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[CNpwtest1ZZ]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZZCNpwtest1ZZ]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZZZCNpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[CNpwtest1ZZZ]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZZZCNpwtest1ZZZ]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZZZZZZCNpwtest1ZZZZZZZZ]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[CNpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[SNpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[UIDpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[MAILpwtest1@redhat.com]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[GNpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[CNpwtest1ZZZZ]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZZZZZCNpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZCNpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[CNpwtest1Z]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZCNpwtest1Z]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZZCNpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[CNpwtest1ZZ]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZZCNpwtest1ZZ]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZZZCNpwtest1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[CNpwtest1ZZZ]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZZZCNpwtest1ZZZ]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZZZZZZCNpwtest1ZZZZZZZZ]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cddd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/acceptance_test.py::test_acctpolicy::setup 1.02
request = <SubRequest 'topo' for <Function test_acctpolicy>>

@pytest.fixture(scope="module")
def topology_i2(request):
"""Create two instance DS deployment"""

> topology = create_topology({ReplicaRole.STANDALONE: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:328:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c0da208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/acceptance_test.py::test_attruniq::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:328: in topology_i2
topology = create_topology({ReplicaRole.STANDALONE: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c0da208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/acceptance_test.py::test_automember::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:328: in topology_i2
topology = create_topology({ReplicaRole.STANDALONE: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c0da208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/acceptance_test.py::test_dna::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:328: in topology_i2
topology = create_topology({ReplicaRole.STANDALONE: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c0da208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/acceptance_test.py::test_linkedattrs::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:328: in topology_i2
topology = create_topology({ReplicaRole.STANDALONE: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c0da208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/acceptance_test.py::test_memberof::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:328: in topology_i2
topology = create_topology({ReplicaRole.STANDALONE: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c0da208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/acceptance_test.py::test_mep::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:328: in topology_i2
topology = create_topology({ReplicaRole.STANDALONE: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c0da208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/acceptance_test.py::test_passthru::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:328: in topology_i2
topology = create_topology({ReplicaRole.STANDALONE: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c0da208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/acceptance_test.py::test_referint::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:328: in topology_i2
topology = create_topology({ReplicaRole.STANDALONE: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c0da208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/acceptance_test.py::test_retrocl::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:328: in topology_i2
topology = create_topology({ReplicaRole.STANDALONE: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c0da208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/acceptance_test.py::test_rootdn::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:328: in topology_i2
topology = create_topology({ReplicaRole.STANDALONE: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c0da208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/accpol_test.py::test_glact_inact::setup 1.02
request = <SubRequest 'topology_st' for <Function test_glact_inact>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cadc390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/accpol_test.py::test_glremv_lastlogin::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cadc390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/accpol_test.py::test_glact_login::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cadc390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/accpol_test.py::test_glinact_limit::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cadc390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/accpol_test.py::test_glnologin_attr::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cadc390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/accpol_test.py::test_glnoalt_stattr::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cadc390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/accpol_test.py::test_glattr_modtime::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cadc390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/accpol_test.py::test_glnoalt_nologin::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cadc390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/accpol_test.py::test_glinact_nsact::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cadc390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/accpol_test.py::test_glinact_acclock::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cadc390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/accpol_test.py::test_glnact_pwexp::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cadc390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/accpol_test.py::test_locact_inact::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cadc390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/accpol_test.py::test_locinact_modrdn::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cadc390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/accpol_test.py::test_locact_modrdn::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7cadc390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/attr_nsslapd-pluginarg_test.py::test_duplicate_values::setup 1.03
request = <SubRequest 'topology_st' for <Function test_duplicate_values>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bf933c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/attr_nsslapd-pluginarg_test.py::test_multiple_value::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bf933c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/attr_nsslapd-pluginarg_test.py::test_missing_args::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bf933c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/cos_test.py::test_cos_operational_default::setup 1.04
request = <SubRequest 'topo' for <Function test_cos_operational_default>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7c3c1b38>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_betxnpostoperation_replace::setup 1.02
request = <SubRequest 'topology_st' for <Function test_betxnpostoperation_replace>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_memberofgroupattr_add::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_enable::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_member_add::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_member_delete_gr1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_member_delete_gr2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_member_delete_all::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_member_after_restart::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_memberofgroupattr_uid::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_member_add_duplicate_usr1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_member_add_duplicate_usr2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_member_uniquemember_same_user::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_member_not_exists::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_member_not_exists_complex::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_complex_group_scenario_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_complex_group_scenario_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_complex_group_scenario_3::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_complex_group_scenario_4::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_complex_group_scenario_5::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_complex_group_scenario_6::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_complex_group_scenario_7::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_complex_group_scenario_8::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_complex_group_scenario_9::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/memberof_test.py::test_memberof_auto_add_oc::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7beeffd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/pluginpath_validation_test.py::test_pluginpath_validation::setup 1.02
request = <SubRequest 'topology_st' for <Function test_pluginpath_validation>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bd17b38>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/referint_test.py::test_referential_false_failure::setup 1.02
request = <SubRequest 'topo' for <Function test_referential_false_failure>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bcddf60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/rootdn_plugin_test.py::test_rootdn_access_specific_time::setup 1.02
request = <SubRequest 'topology_st' for <Function test_rootdn_access_specific_time>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bce6748>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/rootdn_plugin_test.py::test_rootdn_access_day_of_week::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bce6748>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/rootdn_plugin_test.py::test_rootdn_access_denied_ip::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bce6748>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/rootdn_plugin_test.py::test_rootdn_access_denied_host::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bce6748>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/rootdn_plugin_test.py::test_rootdn_access_allowed_ip::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bce6748>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/rootdn_plugin_test.py::test_rootdn_access_allowed_host::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bce6748>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/plugins/rootdn_plugin_test.py::test_rootdn_config_validate::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bce6748>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/psearch/psearch_test.py::test_psearch::setup 1.02
request = <SubRequest 'topology_st' for <Function test_psearch>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7be97da0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/acceptance_test.py::test_add_entry::setup 1.02
request = <SubRequest 'topo_m4' for <Function test_add_entry>>

@pytest.fixture(scope="module")
def topology_m4(request):
"""Create Replication Deployment with four masters"""

> topology = create_topology({ReplicaRole.MASTER: 4})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bae3be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/acceptance_test.py::test_modify_entry::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bae3be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/acceptance_test.py::test_delete_entry::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bae3be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/acceptance_test.py::test_modrdn_entry[0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bae3be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/acceptance_test.py::test_modrdn_entry[1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bae3be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/acceptance_test.py::test_modrdn_after_pause::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bae3be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/acceptance_test.py::test_modify_stripattrs::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bae3be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/acceptance_test.py::test_new_suffix::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bae3be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/acceptance_test.py::test_many_attrs::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bae3be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/acceptance_test.py::test_double_delete::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bae3be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/acceptance_test.py::test_password_repl_error::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bae3be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/acceptance_test.py::test_invalid_agmt::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bae3be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/acceptance_test.py::test_warining_for_invalid_replica::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bae3be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/cascading_test.py::test_basic_with_hub::setup 1.02
request = <SubRequest 'topo' for <Function test_basic_with_hub>>

@pytest.fixture(scope="module")
def topology_m1h1c1(request):
"""Create Replication Deployment with one master, one consumer and one hub"""

topo_roles = {ReplicaRole.MASTER: 1, ReplicaRole.HUB: 1, ReplicaRole.CONSUMER: 1}
> topology = _create_instances(topo_roles, DEFAULT_SUFFIX)

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:465:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bf60470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/changelog_test.py::test_verify_changelog::setup 1.02
request = <SubRequest 'topo' for <Function test_verify_changelog>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bf80dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/changelog_test.py::test_verify_changelog_online_backup::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bf80dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/changelog_test.py::test_verify_changelog_offline_backup::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bf80dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/changelog_test.py::test_changelog_maxage::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bf80dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/changelog_test.py::test_ticket47669_changelog_triminterval::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bf80dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/changelog_test.py::test_changelog_compactdbinterval::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bf80dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/changelog_test.py::test_retrochangelog_maxage::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bf80dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/changelog_trimming_test.py::test_max_age::setup 1.02
request = <SubRequest 'topo' for <Function test_max_age>>

@pytest.fixture(scope="module")
def topology_m1(request):
"""Create Replication Deployment with one master and one consumer"""

> topology = create_topology({ReplicaRole.MASTER: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:361:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b7b6470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/changelog_trimming_test.py::test_max_entries::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:361: in topology_m1
topology = create_topology({ReplicaRole.MASTER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b7b6470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/cleanallruv_test.py::test_clean::setup 1.02
request = <SubRequest 'topology_m4' for <Function test_clean>>

@pytest.fixture(scope="module")
def topology_m4(request):
"""Create Replication Deployment with four masters"""

> topology = create_topology({ReplicaRole.MASTER: 4})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b67a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/cleanallruv_test.py::test_clean_restart::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b67a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/cleanallruv_test.py::test_clean_force::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b67a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/cleanallruv_test.py::test_abort::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b67a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/cleanallruv_test.py::test_abort_restart::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b67a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/cleanallruv_test.py::test_abort_certify::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b67a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/cleanallruv_test.py::test_stress_clean::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b67a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/cleanallruv_test.py::test_multiple_tasks_with_force::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429: in topology_m4
topology = create_topology({ReplicaRole.MASTER: 4})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b67a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/conflict_resolve_test.py::TestTwoMasters::test_add_modrdn::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_add_modrdn>>

@pytest.fixture(scope="class")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

suites/replication/conftest.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b6152e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/conflict_resolve_test.py::TestTwoMasters::test_complex_add_modify_modrdn_delete::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
suites/replication/conftest.py:28: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b6152e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/conflict_resolve_test.py::TestTwoMasters::test_memberof_groups::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
suites/replication/conftest.py:28: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b6152e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/conflict_resolve_test.py::TestTwoMasters::test_managed_entries::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
suites/replication/conftest.py:28: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b6152e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/conflict_resolve_test.py::TestTwoMasters::test_nested_entries_with_children::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
suites/replication/conftest.py:28: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b6152e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/conflict_resolve_test.py::TestThreeMasters::test_nested_entries::setup 1.02
request = <SubRequest 'topology_m3' for <Function test_nested_entries>>

@pytest.fixture(scope="class")
def topology_m3(request):
"""Create Replication Deployment with three masters"""

> topology = create_topology({ReplicaRole.MASTER: 3})

suites/replication/conftest.py:44:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b395c50>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/encryption_cl5_test.py::test_algorithm_unhashed[AES]::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_algorithm_unhashed[AES]>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7be42860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/encryption_cl5_test.py::test_algorithm_unhashed[3DES]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7be42860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/regression_nsslapd_plugin_binddn_tracking_test.py::test_nsslapd_plugin_binddn_tracking::setup 1.02
request = <SubRequest 'topo_m2' for <Function test_nsslapd_plugin_binddn_tracking>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b7d7390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/regression_test.py::test_double_delete::setup 1.02
request = <SubRequest 'topo_m2' for <Function test_double_delete>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bc6ed68>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/regression_test.py::test_repl_modrdn::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bc6ed68>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/regression_test.py::test_password_repl_error::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bc6ed68>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/regression_test.py::test_invalid_agmt::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bc6ed68>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/regression_test.py::test_fetch_bindDnGroup::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bc6ed68>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/regression_test.py::test_cleanallruv_repl::setup 1.02
request = <SubRequest 'topo_m3' for <Function test_cleanallruv_repl>>

@pytest.fixture(scope="module")
def topology_m3(request):
"""Create Replication Deployment with three masters"""

> topology = create_topology({ReplicaRole.MASTER: 3})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:412:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7bc766d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsDS5ReplicaType--1-4-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 1.02
request = <SubRequest 'topo' for <Function test_replica_num_add[nsDS5ReplicaType--1-4-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsDS5Flags--1-2-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsDS5ReplicaId-0-65535-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsds5ReplicaPurgeDelay--2-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsDS5ReplicaBindDnGroupCheckInterval--2-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsds5ReplicaTombstonePurgeInterval--2-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsds5ReplicaProtocolTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsds5ReplicaReleaseTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsds5ReplicaBackoffMin-0-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-3]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsds5ReplicaBackoffMax-0-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsDS5Flags--1-2-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsds5ReplicaPurgeDelay--2-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsDS5ReplicaBindDnGroupCheckInterval--2-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsds5ReplicaTombstonePurgeInterval--2-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsds5ReplicaProtocolTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsds5ReplicaReleaseTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsds5ReplicaBackoffMin-0-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-3]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsds5ReplicaBackoffMax-0-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/ruvstore_test.py::test_ruv_entry_backup::setup 1.02
request = <SubRequest 'topo' for <Function test_ruv_entry_backup>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b522630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/single_master_test.py::test_mail_attr_repl::setup 1.02
request = <SubRequest 'topo_r' for <Function test_mail_attr_repl>>

@pytest.fixture(scope="module")
def topology_m1c1(request):
"""Create Replication Deployment with one master and one consumer"""

topology = create_topology({ReplicaRole.MASTER: 1,
> ReplicaRole.CONSUMER: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7afcccc0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/single_master_test.py::test_lastupdate_attr_before_init::setup 1.02
request = <SubRequest 'topo_nr' for <Function test_lastupdate_attr_before_init>>

@pytest.fixture(scope="module")
def topology_i2(request):
"""Create two instance DS deployment"""

> topology = create_topology({ReplicaRole.STANDALONE: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:328:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b2fc828>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/tls_client_auth_repl_test.py::test_ssl_transport::setup 1.02
request = <SubRequest 'topo_m2' for <Function test_ssl_transport>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b472390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/tls_client_auth_repl_test.py::test_extract_pemfiles::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b472390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/tombstone_test.py::test_purge_success::setup 1.02
request = <SubRequest 'topology_m1' for <Function test_purge_success>>

@pytest.fixture(scope="module")
def topology_m1(request):
"""Create Replication Deployment with one master and one consumer"""

> topology = create_topology({ReplicaRole.MASTER: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:361:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b458668>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/wait_for_async_feature_test.py::test_not_int_value::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_not_int_value>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7af8c0f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/wait_for_async_feature_test.py::test_multi_value::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7af8c0f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7af8c0f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7af8c0f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr2]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7af8c0f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr3]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7af8c0f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr0]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7af8c0f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr1]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7af8c0f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr2]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7af8c0f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr3]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7af8c0f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/sasl/allowed_mechs_test.py::test_basic_feature::setup 1.02
request = <SubRequest 'topology_st' for <Function test_basic_feature>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9492b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/sasl/plain_test.py::test_basic_feature::setup 1.02
request = <SubRequest 'topology_st' for <Function test_basic_feature>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b84edd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/sasl/regression_test.py::test_openldap_no_nss_crypto::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_openldap_no_nss_crypto>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b00f198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/schema/schema_reload_test.py::test_valid_schema::setup 1.03
request = <SubRequest 'topo' for <Function test_valid_schema>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b2a8fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/schema/schema_reload_test.py::test_invalid_schema::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b2a8fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_one::setup 1.02
request = <SubRequest 'topology_m1c1' for <Function test_schema_replication_one>>

@pytest.fixture(scope="module")
def topology_m1c1(request):
"""Create Replication Deployment with one master and one consumer"""

topology = create_topology({ReplicaRole.MASTER: 1,
> ReplicaRole.CONSUMER: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b030518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_two::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b030518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_three::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b030518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_four::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b030518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_five::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b030518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_six::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b030518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_seven::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b030518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_eight::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b030518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_nine::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b030518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/schema/test_eduperson.py::test_account_locking::setup 1.02
request = <SubRequest 'topology' for <Function test_account_locking>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b81b898>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/schema/test_schema.py::test_schema_comparewithfiles::setup 1.02
request = <SubRequest 'topology_st' for <Function test_schema_comparewithfiles>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b831940>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/setup_ds/remove_test.py::test_basic[True]::setup 1.09
request = <SubRequest 'topology_st' for <Function test_basic[True]>>

@pytest.fixture(scope="function")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

suites/setup_ds/remove_test.py:23:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b1006d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/setup_ds/remove_test.py::test_basic[False]::setup 1.08
request = <SubRequest 'topology_st' for <Function test_basic[False]>>

@pytest.fixture(scope="function")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

suites/setup_ds/remove_test.py:23:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b100400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]::setup 1.02
request = <SubRequest 'topo' for <Function test_check_desc_attr_state[description-Test1usr1-ldap.MOD_ADD-exp_values0-vucsn]>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_desc_attr_state[description-Test1usr2-ldap.MOD_ADD-exp_values1-vucsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_desc_attr_state[description-Test1usr3-ldap.MOD_ADD-exp_values2-vucsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_desc_attr_state[description-Test1usr4-ldap.MOD_REPLACE-exp_values3-adcsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_desc_attr_state[description-Test1usr4-ldap.MOD_DELETE-exp_values4-vdcsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_cn_attr_state[cn-TestCN1-ldap.MOD_ADD-exp_values0-vucsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_cn_attr_state[cn-TestCN2-ldap.MOD_ADD-exp_values1-vucsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_cn_attr_state[cn-TestnewCN3-ldap.MOD_REPLACE-exp_values2-adcsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_cn_attr_state[cn-TestnewCN3-ldap.MOD_DELETE-None-None]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_single_value_attr_state[preferredlanguage-Chinese-ldap.MOD_REPLACE-exp_values0-vucsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_single_value_attr_state[preferredlanguage-French-ldap.MOD_ADD-None-None]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_single_value_attr_state[preferredlanguage-German-ldap.MOD_REPLACE-exp_values2-adcsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_single_value_attr_state[preferredlanguage-German-ldap.MOD_DELETE-exp_values3-vdcsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_subtype_attr_state[roomnumber;office-Tower1-ldap.MOD_ADD-exp_values0-vucsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_subtype_attr_state[roomnumber;office-Tower2-ldap.MOD_ADD-exp_values1-vucsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_subtype_attr_state[roomnumber;office-Tower3-ldap.MOD_ADD-exp_values2-vucsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_subtype_attr_state[roomnumber;office-Tower4-ldap.MOD_REPLACE-exp_values3-adcsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_subtype_attr_state[roomnumber;office-Tower4-ldap.MOD_DELETE-exp_values4-vucsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_jpeg_attr_state[jpegphoto-thedeadbeef1-ldap.MOD_ADD-exp_values0-vucsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_jpeg_attr_state[jpegphoto-thedeadbeef2-ldap.MOD_ADD-exp_values1-vucsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_jpeg_attr_state[jpegphoto-thedeadbeef3-ldap.MOD_ADD-exp_values2-vucsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_jpeg_attr_state[jpegphoto-thedeadbeef2-ldap.MOD_REPLACE-exp_values3-adcsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/stat/mmt_state_test.py::test_check_jpeg_attr_state[jpegphoto-thedeadbeef2-ldap.MOD_DELETE-exp_values4-vdcsn]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4a8240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/syntax/mr_test.py::test_sss_mr::setup 1.02
request = <SubRequest 'topo' for <Function test_sss_mr>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a7622b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/tls/tls_check_crl_test.py::test_tls_check_crl::setup 1.02
request = <SubRequest 'topology_st' for <Function test_tls_check_crl>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7af0ddd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error suites/vlv/regression_test.py::test_bulk_import_when_the_backend_with_vlv_was_recreated::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_bulk_import_when_the_backend_with_vlv_was_recreated>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ab59198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47462_test.py::test_ticket47462::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_ticket47462>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a68ee10>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47560_test.py::test_ticket47560::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47560>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8bd9b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47573_test.py::test_ticket47573_init::setup 1.02
request = <SubRequest 'topology_m1c1' for <Function test_ticket47573_init>>

@pytest.fixture(scope="module")
def topology_m1c1(request):
"""Create Replication Deployment with one master and one consumer"""

topology = create_topology({ReplicaRole.MASTER: 1,
> ReplicaRole.CONSUMER: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a544208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47573_test.py::test_ticket47573_one::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a544208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47573_test.py::test_ticket47573_two::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a544208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47573_test.py::test_ticket47573_three::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a544208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47619_test.py::test_ticket47619_init::setup 1.02
request = <SubRequest 'topology_m1c1' for <Function test_ticket47619_init>>

@pytest.fixture(scope="module")
def topology_m1c1(request):
"""Create Replication Deployment with one master and one consumer"""

topology = create_topology({ReplicaRole.MASTER: 1,
> ReplicaRole.CONSUMER: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a538dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47619_test.py::test_ticket47619_create_index::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a538dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47619_test.py::test_ticket47619_reindex::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a538dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47619_test.py::test_ticket47619_check_indexed_search::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a538dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47640_test.py::test_ticket47640::setup 1.16
request = <SubRequest 'topology_st' for <Function test_ticket47640>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a577710>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47653MMR_test.py::test_ticket47653_init::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_ticket47653_init>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a981198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47653MMR_test.py::test_ticket47653_add::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a981198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47653MMR_test.py::test_ticket47653_modify::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a981198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47676_test.py::test_ticket47676_init::setup 1.18
request = <SubRequest 'topology_m2' for <Function test_ticket47676_init>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b16c160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47676_test.py::test_ticket47676_skip_oc_at::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b16c160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47676_test.py::test_ticket47676_reject_action::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b16c160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47714_test.py::test_ticket47714_init::setup 1.03
request = <SubRequest 'topology_st' for <Function test_ticket47714_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a5e7860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47714_test.py::test_ticket47714_run_0::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a5e7860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47714_test.py::test_ticket47714_run_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a5e7860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47721_test.py::test_ticket47721_init::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_ticket47721_init>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a54e470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47721_test.py::test_ticket47721_0::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a54e470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47721_test.py::test_ticket47721_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a54e470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47721_test.py::test_ticket47721_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a54e470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47721_test.py::test_ticket47721_3::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a54e470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47721_test.py::test_ticket47721_4::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a54e470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47781_test.py::test_ticket47781::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47781>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a1725c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47787_test.py::test_ticket47787_init::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_ticket47787_init>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a487be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47787_test.py::test_ticket47787_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a487be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47808_test.py::test_ticket47808_run::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47808_run>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a4de2b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47819_test.py::test_ticket47819::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47819>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a9878d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_init::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47823_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_one_container_add::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_one_container_mod::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_one_container_modrdn::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_multi_containers_add::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_multi_containers_mod::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_multi_containers_modrdn::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_across_multi_containers_add::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_across_multi_containers_mod::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_across_multi_containers_modrdn::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_invalid_config_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_invalid_config_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_invalid_config_3::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_invalid_config_4::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_invalid_config_5::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_invalid_config_6::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47823_test.py::test_ticket47823_invalid_config_7::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a987908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_init::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47828_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_0::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_3::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_4::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_5::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_6::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_7::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_8::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_9::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_10::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_11::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_12::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_13::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_14::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_15::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_16::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_17::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_18::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_19::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_20::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_21::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_22::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_23::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_24::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_25::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_26::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_27::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_28::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_29::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_30::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_31::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79e9bb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_init::setup 1.03
request = <SubRequest 'topology_st' for <Function test_ticket47829_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_active_user_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_active_user_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_active_user_3::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_3::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_out_user_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_out_user_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_out_user_3::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_active_user_modrdn_active_user_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_active_user_modrdn_stage_user_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_active_user_modrdn_out_user_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_modrdn_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_modrdn_active_user_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_modrdn_stage_user_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_3::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_4::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f8d3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47833_test.py::test_ticket47829_init::setup 1.03
request = <SubRequest 'topology_st' for <Function test_ticket47829_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a026da0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47833_test.py::test_ticket47829_mod_stage_user_modrdn_stage_user_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a026da0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47838_init::setup 1.04
request = <SubRequest 'topology_st' for <Function test_47838_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47838_run_0::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47838_run_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47838_run_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47838_run_3::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47838_run_4::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47838_run_5::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47838_run_6::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47838_run_7::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47838_run_8::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47838_run_9::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47838_run_10::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47838_run_11::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47928_run_0::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47928_run_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47928_run_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47928_run_3::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47838_test.py::test_47838_run_last::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a8d56d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47869MMR_test.py::test_ticket47869_init::setup 1.03
request = <SubRequest 'topology_m2' for <Function test_ticket47869_init>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79a5e0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47869MMR_test.py::test_ticket47869_check::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79a5e0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47871_test.py::test_ticket47871_init::setup 1.02
request = <SubRequest 'topology_m1c1' for <Function test_ticket47871_init>>

@pytest.fixture(scope="module")
def topology_m1c1(request):
"""Create Replication Deployment with one master and one consumer"""

topology = create_topology({ReplicaRole.MASTER: 1,
> ReplicaRole.CONSUMER: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f0cdd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47871_test.py::test_ticket47871_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f0cdd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47871_test.py::test_ticket47871_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378: in topology_m1c1
ReplicaRole.CONSUMER: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f0cdd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47900_test.py::test_ticket47900::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47900>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79adc780>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47910_test.py::test_ticket47910_logconv_start_end_positive::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47910_logconv_start_end_positive>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a089518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47910_test.py::test_ticket47910_logconv_start_end_negative::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a089518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47910_test.py::test_ticket47910_logconv_start_end_invalid::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a089518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47910_test.py::test_ticket47910_logconv_noaccesslogs::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a089518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47920_test.py::test_ticket47920_init::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47920_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f17048>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47920_test.py::test_ticket47920_mod_readentry_ctrl::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f17048>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47921_test.py::test_ticket47921::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47921>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a028908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47927_test.py::test_ticket47927_init::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47927_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d798b79b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47927_test.py::test_ticket47927_one::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d798b79b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47927_test.py::test_ticket47927_two::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d798b79b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47927_test.py::test_ticket47927_three::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d798b79b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47927_test.py::test_ticket47927_four::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d798b79b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47927_test.py::test_ticket47927_five::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d798b79b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47927_test.py::test_ticket47927_six::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d798b79b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47931_test.py::test_ticket47931::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47931>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a32ab70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47937_test.py::test_ticket47937::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47937>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79a01eb8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47950_test.py::test_ticket47950::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47950>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79b98710>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47953_test.py::test_ticket47953::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47953>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d797ac0f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47963_test.py::test_ticket47963::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47963>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79952e48>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47966_test.py::test_ticket47966::setup 1.03
request = <SubRequest 'topology_m2' for <Function test_ticket47966>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79f113c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47970_test.py::test_ticket47970::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47970>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79a30e10>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47973_test.py::test_ticket47973::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47973>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79b615f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47973_test.py::test_ticket47973_case::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79b615f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47976_test.py::test_ticket47976_init::setup 1.03
request = <SubRequest 'topology_st' for <Function test_ticket47976_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79a3e080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47976_test.py::test_ticket47976_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79a3e080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47976_test.py::test_ticket47976_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79a3e080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47976_test.py::test_ticket47976_3::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79a3e080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47980_test.py::test_ticket47980::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47980>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7997aa20>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47981_test.py::test_ticket47981::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket47981>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a32da58>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47988_test.py::test_ticket47988_init::setup 1.03
request = <SubRequest 'topology_m2' for <Function test_ticket47988_init>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7972c198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47988_test.py::test_ticket47988_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7972c198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47988_test.py::test_ticket47988_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7972c198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47988_test.py::test_ticket47988_3::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7972c198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47988_test.py::test_ticket47988_4::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7972c198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47988_test.py::test_ticket47988_5::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7972c198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket47988_test.py::test_ticket47988_6::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7972c198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48005_test.py::test_ticket48005_setup::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48005_setup>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d796628d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48005_test.py::test_ticket48005_memberof::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d796628d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48005_test.py::test_ticket48005_automember::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d796628d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48005_test.py::test_ticket48005_syntaxvalidate::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d796628d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48005_test.py::test_ticket48005_usn::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d796628d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48005_test.py::test_ticket48005_schemareload::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d796628d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48013_test.py::test_ticket48013::setup 1.03
request = <SubRequest 'topology_st' for <Function test_ticket48013>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7964a048>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48026_test.py::test_ticket48026::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48026>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d796e11d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48109_test.py::test_ticket48109::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48109>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79683080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48170_test.py::test_ticket48170::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48170>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79900a90>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48194_test.py::test_init::setup 1.02
request = <SubRequest 'topology_st' for <Function test_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a208198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48194_test.py::test_run_0::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a208198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48194_test.py::test_run_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a208198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48194_test.py::test_run_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a208198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48194_test.py::test_run_3::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a208198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48194_test.py::test_run_4::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a208198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48194_test.py::test_run_5::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a208198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48194_test.py::test_run_6::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a208198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48194_test.py::test_run_8::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a208198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48194_test.py::test_run_9::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a208198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48194_test.py::test_run_11::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a208198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48212_test.py::test_ticket48212::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48212>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d795d9470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48214_test.py::test_ticket48214_run::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48214_run>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79313c18>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48226_test.py::test_ticket48226_set_purgedelay::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_ticket48226_set_purgedelay>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a1ff860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48226_test.py::test_ticket48226_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7a1ff860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48228_test.py::test_ticket48228_test_global_policy::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48228_test_global_policy>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79749978>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48233_test.py::test_ticket48233::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48233>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d793d5a90>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48234_test.py::test_ticket48234::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48234>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79117198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48252_test.py::test_ticket48252_setup::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48252_setup>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7954cf60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48252_test.py::test_ticket48252_run_0::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7954cf60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48252_test.py::test_ticket48252_run_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7954cf60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48265_test.py::test_ticket48265_test::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48265_test>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d794409e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48266_test.py::test_ticket48266_fractional::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_ticket48266_fractional>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7921fb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48266_test.py::test_ticket48266_check_repl_desc::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7921fb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48266_test.py::test_ticket48266_count_csn_evaluation::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7921fb70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48270_test.py::test_ticket48270_init::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48270_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79344160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48270_test.py::test_ticket48270_homeDirectory_indexed_cis::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79344160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48270_test.py::test_ticket48270_homeDirectory_mixed_value::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79344160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48270_test.py::test_ticket48270_extensible_search::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79344160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48272_test.py::test_ticket48272::setup 1.03
request = <SubRequest 'topology_st' for <Function test_ticket48272>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d791c9b70>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48294_test.py::test_48294_init::setup 1.02
request = <SubRequest 'topology_st' for <Function test_48294_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79218cc0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48294_test.py::test_48294_run_0::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79218cc0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48294_test.py::test_48294_run_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79218cc0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48294_test.py::test_48294_run_2::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79218cc0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48295_test.py::test_48295_init::setup 1.03
request = <SubRequest 'topology_st' for <Function test_48295_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d795ae0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48295_test.py::test_48295_run::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d795ae0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48312_test.py::test_ticket48312::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48312>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d790127f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48325_test.py::test_ticket48325::setup 1.02
request = <SubRequest 'topology_m1h1c1' for <Function test_ticket48325>>

@pytest.fixture(scope="module")
def topology_m1h1c1(request):
"""Create Replication Deployment with one master, one consumer and one hub"""

topo_roles = {ReplicaRole.MASTER: 1, ReplicaRole.HUB: 1, ReplicaRole.CONSUMER: 1}
> topology = _create_instances(topo_roles, DEFAULT_SUFFIX)

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:465:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79103fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48342_test.py::test_ticket4026::setup 1.02
request = <SubRequest 'topology_m3' for <Function test_ticket4026>>

@pytest.fixture(scope="module")
def topology_m3(request):
"""Create Replication Deployment with three masters"""

> topology = create_topology({ReplicaRole.MASTER: 3})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:412:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79123710>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48354_test.py::test_ticket48354::setup 1.03
request = <SubRequest 'topology_st' for <Function test_ticket48354>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78f530b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48362_test.py::test_ticket48362::setup 1.03
request = <SubRequest 'topology_m2' for <Function test_ticket48362>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d790f7e48>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48366_test.py::test_ticket48366_init::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48366_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d792980b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48366_test.py::test_ticket48366_search_user::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d792980b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48366_test.py::test_ticket48366_search_dm::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d792980b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48370_test.py::test_ticket48370::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48370>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d792a05c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48383_test.py::test_ticket48383::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48383>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79556208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48497_test.py::test_ticket48497_init::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48497_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79167dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48497_test.py::test_ticket48497_homeDirectory_mixed_value::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79167dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48497_test.py::test_ticket48497_extensible_search::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79167dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48497_test.py::test_ticket48497_homeDirectory_index_cfg::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79167dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48497_test.py::test_ticket48497_homeDirectory_index_run::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79167dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48637_test.py::test_ticket48637::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48637>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7917d748>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48665_test.py::test_ticket48665::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48665>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7955f4a8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48745_test.py::test_ticket48745_init::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48745_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78db7be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48745_test.py::test_ticket48745_homeDirectory_indexed_cis::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78db7be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48745_test.py::test_ticket48745_homeDirectory_mixed_value::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78db7be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48745_test.py::test_ticket48745_extensible_search_after_index::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78db7be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48746_test.py::test_ticket48746_init::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48746_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78c1a5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48746_test.py::test_ticket48746_homeDirectory_indexed_cis::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78c1a5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48746_test.py::test_ticket48746_homeDirectory_mixed_value::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78c1a5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48746_test.py::test_ticket48746_extensible_search_after_index::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78c1a5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48746_test.py::test_ticket48746_homeDirectory_indexed_ces::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78c1a5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48755_test.py::test_ticket48755::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_ticket48755>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79826240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48759_test.py::test_ticket48759::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48759>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78fb7dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48784_test.py::test_ticket48784::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_ticket48784>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78da5240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48798_test.py::test_ticket48798::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48798>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78eeef60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48799_test.py::test_ticket48799::setup 1.02
request = <SubRequest 'topology_m1c1' for <Function test_ticket48799>>

@pytest.fixture(scope="module")
def topology_m1c1(request):
"""Create Replication Deployment with one master and one consumer"""

topology = create_topology({ReplicaRole.MASTER: 1,
> ReplicaRole.CONSUMER: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78ede710>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48808_test.py::test_ticket48808::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48808>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78c692b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48844_test.py::test_ticket48844_init::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48844_init>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78cf9dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48844_test.py::test_ticket48844_bitwise_on::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78cf9dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48844_test.py::test_ticket48844_bitwise_off::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78cf9dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48891_test.py::test_ticket48891_setup::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48891_setup>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d797899b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48893_test.py::test_ticket48893::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48893>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78f81b00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48896_test.py::test_ticket48896::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48896>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d792e4160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48906_test.py::test_ticket48906_setup::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48906_setup>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78f54dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48906_test.py::test_ticket48906_dblock_default::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78f54dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48906_test.py::test_ticket48906_dblock_ldap_update::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78f54dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48906_test.py::test_ticket48906_dblock_edit_update::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78f54dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48906_test.py::test_ticket48906_dblock_robust::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78f54dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48916_test.py::test_ticket48916::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_ticket48916>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d790397f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48944_test.py::test_ticket48944::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket48944>>

@pytest.fixture(scope="module")
def topology_m2c2(request):
"""Create Replication Deployment with two masters and two consumers"""

topology = create_topology({ReplicaRole.MASTER: 2,
> ReplicaRole.CONSUMER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:447:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78f4d668>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48956_test.py::test_ticket48956::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48956>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d793661d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48961_test.py::test_ticket48961_storagescheme::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket48961_storagescheme>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79493e80>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48961_test.py::test_ticket48961_deleteall::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79493e80>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48973_test.py::test_ticket48973_init::setup 1.02
request = <SubRequest 'topology' for <Function test_ticket48973_init>>

@pytest.fixture(scope="module")
def topology(request):
# Creating standalone instance ...
standalone = DirSrv(verbose=False)
args_instance[SER_HOST] = HOST_STANDALONE
args_instance[SER_PORT] = PORT_STANDALONE
args_instance[SER_SERVERID_PROP] = SERVERID_STANDALONE
args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX
args_standalone = args_instance.copy()
standalone.allocate(args_standalone)
instance_standalone = standalone.exists()
if instance_standalone:
standalone.delete()
> standalone.create()

tickets/ticket48973_test.py:50:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79497f28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48973_test.py::test_ticket48973_ces_not_indexed::setup 0.00
request = <SubRequest 'topology' for <Function test_ticket48973_init>>

@pytest.fixture(scope="module")
def topology(request):
# Creating standalone instance ...
standalone = DirSrv(verbose=False)
args_instance[SER_HOST] = HOST_STANDALONE
args_instance[SER_PORT] = PORT_STANDALONE
args_instance[SER_SERVERID_PROP] = SERVERID_STANDALONE
args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX
args_standalone = args_instance.copy()
standalone.allocate(args_standalone)
instance_standalone = standalone.exists()
if instance_standalone:
standalone.delete()
> standalone.create()

tickets/ticket48973_test.py:50:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79497f28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48973_test.py::test_ticket48973_homeDirectory_indexing::setup 0.00
request = <SubRequest 'topology' for <Function test_ticket48973_init>>

@pytest.fixture(scope="module")
def topology(request):
# Creating standalone instance ...
standalone = DirSrv(verbose=False)
args_instance[SER_HOST] = HOST_STANDALONE
args_instance[SER_PORT] = PORT_STANDALONE
args_instance[SER_SERVERID_PROP] = SERVERID_STANDALONE
args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX
args_standalone = args_instance.copy()
standalone.allocate(args_standalone)
instance_standalone = standalone.exists()
if instance_standalone:
standalone.delete()
> standalone.create()

tickets/ticket48973_test.py:50:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79497f28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket48973_test.py::test_ticket48973_homeDirectory_caseExactIA5Match_caseIgnoreIA5Match_indexing::setup 0.00
request = <SubRequest 'topology' for <Function test_ticket48973_init>>

@pytest.fixture(scope="module")
def topology(request):
# Creating standalone instance ...
standalone = DirSrv(verbose=False)
args_instance[SER_HOST] = HOST_STANDALONE
args_instance[SER_PORT] = PORT_STANDALONE
args_instance[SER_SERVERID_PROP] = SERVERID_STANDALONE
args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX
args_standalone = args_instance.copy()
standalone.allocate(args_standalone)
instance_standalone = standalone.exists()
if instance_standalone:
standalone.delete()
> standalone.create()

tickets/ticket48973_test.py:50:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79497f28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49008_test.py::test_ticket49008::setup 1.02
request = <SubRequest 'T' for <Function test_ticket49008>>

@pytest.fixture(scope="module")
def topology_m3(request):
"""Create Replication Deployment with three masters"""

> topology = create_topology({ReplicaRole.MASTER: 3})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:412:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d791fdd30>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49020_test.py::test_ticket49020::setup 1.02
request = <SubRequest 'T' for <Function test_ticket49020>>

@pytest.fixture(scope="module")
def topology_m3(request):
"""Create Replication Deployment with three masters"""

> topology = create_topology({ReplicaRole.MASTER: 3})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:412:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78c5c198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49039_test.py::test_ticket49039::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket49039>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78b96080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49071_test.py::test_ticket49071::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket49071>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79306a90>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49072_test.py::test_ticket49072_basedn::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket49072_basedn>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d788f4160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49072_test.py::test_ticket49072_filter::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d788f4160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49073_test.py::test_ticket49073::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_ticket49073>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78ae80f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49076_test.py::test_ticket49076::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket49076>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d788b10b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49095_test.py::test_ticket49095::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket49095>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d791d6e10>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49104_test.py::test_ticket49104_setup::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket49104_setup>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7920b5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49104_test.py::test_ticket49104::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7920b5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49122_test.py::test_ticket49122::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket49122>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d791e9cc0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49180_test.py::test_ticket49180::setup 1.02
request = <SubRequest 'topology_m4' for <Function test_ticket49180>>

@pytest.fixture(scope="module")
def topology_m4(request):
"""Create Replication Deployment with four masters"""

> topology = create_topology({ReplicaRole.MASTER: 4})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7893fbe0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49184_test.py::test_ticket49184::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket49184>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78a9c898>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49192_test.py::test_ticket49192::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket49192>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78aef320>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49227_test.py::test_ticket49227::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket49227>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d79477be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49249_test.py::test_ticket49249::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket49249>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7948d6d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49273_test.py::test_49273_corrupt_dbversion::setup 1.02
request = <SubRequest 'topology_st' for <Function test_49273_corrupt_dbversion>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7945d048>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49287_test.py::test_ticket49287::setup 1.02
request = <SubRequest 'topology_m2' for <Function test_ticket49287>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d787ad160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49290_test.py::test_49290_range_unindexed_notes::setup 1.02
request = <SubRequest 'topology_st' for <Function test_49290_range_unindexed_notes>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d790a5160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49303_test.py::test_ticket49303::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket49303>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78798b00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49386_test.py::test_ticket49386::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket49386>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7884c198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49441_test.py::test_ticket49441::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket49441>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78922dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49460_test.py::test_ticket_49460::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket_49460>>

@pytest.fixture(scope="module")
def topology_m3(request):
"""Create Replication Deployment with three masters"""

> topology = create_topology({ReplicaRole.MASTER: 3})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:412:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78912278>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49471_test.py::test_ticket49471::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket49471>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d789cb5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49540_test.py::test_ticket49540::setup 1.02
request = <SubRequest 'topo' for <Function test_ticket49540>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78e88a20>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket49788_test.py::test_ticket49781::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket49781>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d785a6208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket50078_test.py::test_ticket50078::setup 1.02
request = <SubRequest 'topology_m1h1c1' for <Function test_ticket50078>>

@pytest.fixture(scope="module")
def topology_m1h1c1(request):
"""Create Replication Deployment with one master, one consumer and one hub"""

topo_roles = {ReplicaRole.MASTER: 1, ReplicaRole.HUB: 1, ReplicaRole.CONSUMER: 1}
> topology = _create_instances(topo_roles, DEFAULT_SUFFIX)

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:465:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78e10dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket548_test.py::test_ticket548_test_with_no_policy::setup 1.02
request = <SubRequest 'topology_st' for <Function test_ticket548_test_with_no_policy>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78e44278>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket548_test.py::test_ticket548_test_global_policy::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78e44278>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Error tickets/ticket548_test.py::test_ticket548_test_subtree_policy::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d78e44278>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Failed suites/setup_ds/setup_ds_test.py::test_slapd_InstScriptsEnabled[true] 1.02
config_attr = 'true'

@pytest.mark.parametrize("config_attr", ('true', 'false'))
def test_slapd_InstScriptsEnabled(config_attr):
"""Tests InstScriptsEnabled attribute with "True" and "False" options

:id: 02faac7f-c44d-4a3e-bf2d-1021e51da1ed

:setup: Standalone instance with slapd.InstScriptsEnabled option as "True" and "False"

:steps:
1. Execute setup-ds.pl with slapd.InstScriptsEnabled option as "True".
2. Check if /usr/lib64/dirsrv/slapd-instance instance script directory is created or not.
3. Execute setup-ds.pl with slapd.InstScriptsEnabled option as "False".
4. Check if /usr/lib64/dirsrv/slapd-instance instance script directory is created or not.

:expectedresults:
1. Instance should be created.
2. /usr/lib64/dirsrv/slapd-instance instance script directory should be created.
3. Instance should be created.
4. /usr/lib64/dirsrv/slapd-instance instance script directory should not be created.
"""

log.info('set SER_INST_SCRIPTS_ENABLED to {}'.format(config_attr))
> standalone = create_instance(config_attr)

suites/setup_ds/setup_ds_test.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
suites/setup_ds/setup_ds_test.py:35: in create_instance
standalone.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b4b7080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
------------------------------ Captured log call -------------------------------
setup_ds_test.py 61 INFO set SER_INST_SCRIPTS_ENABLED to true setup_ds_test.py 18 INFO create_instance - Installs the instance and Sets the value of InstScriptsEnabled to true OR false. setup_ds_test.py 20 INFO Set up the instance and set the config_attr
Failed suites/setup_ds/setup_ds_test.py::test_slapd_InstScriptsEnabled[false] 1.02
config_attr = 'false'

@pytest.mark.parametrize("config_attr", ('true', 'false'))
def test_slapd_InstScriptsEnabled(config_attr):
"""Tests InstScriptsEnabled attribute with "True" and "False" options

:id: 02faac7f-c44d-4a3e-bf2d-1021e51da1ed

:setup: Standalone instance with slapd.InstScriptsEnabled option as "True" and "False"

:steps:
1. Execute setup-ds.pl with slapd.InstScriptsEnabled option as "True".
2. Check if /usr/lib64/dirsrv/slapd-instance instance script directory is created or not.
3. Execute setup-ds.pl with slapd.InstScriptsEnabled option as "False".
4. Check if /usr/lib64/dirsrv/slapd-instance instance script directory is created or not.

:expectedresults:
1. Instance should be created.
2. /usr/lib64/dirsrv/slapd-instance instance script directory should be created.
3. Instance should be created.
4. /usr/lib64/dirsrv/slapd-instance instance script directory should not be created.
"""

log.info('set SER_INST_SCRIPTS_ENABLED to {}'.format(config_attr))
> standalone = create_instance(config_attr)

suites/setup_ds/setup_ds_test.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
suites/setup_ds/setup_ds_test.py:35: in create_instance
standalone.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ad1de10>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
------------------------------ Captured log call -------------------------------
setup_ds_test.py 61 INFO set SER_INST_SCRIPTS_ENABLED to false setup_ds_test.py 18 INFO create_instance - Installs the instance and Sets the value of InstScriptsEnabled to true OR false. setup_ds_test.py 20 INFO Set up the instance and set the config_attr
XFailed suites/config/config_test.py::test_defaultnamingcontext_1::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7ee52ac8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
XFailed suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaPort-0-65535-9999999999999999999999999999999999999999999999999999999999999999999-invalid-389]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
XFailed suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
XFailed suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaBusyWaitTime--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
XFailed suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaSessionPauseTime--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
XFailed suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaFlowControlWindow--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
XFailed suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaFlowControlPause--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
XFailed suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaProtocolTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
XFailed suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaPort-0-65535-9999999999999999999999999999999999999999999999999999999999999999999-invalid-389]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
XFailed suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
XFailed suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaBusyWaitTime--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
XFailed suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaSessionPauseTime--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
XFailed suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaFlowControlWindow--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
XFailed suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaFlowControlPause--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
XFailed suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaProtocolTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:241: in topology_st
topology = create_topology({ReplicaRole.STANDALONE: 1})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b9511d0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
XFailed suites/replication/ruvstore_test.py::test_memoryruv_sync_with_databaseruv::setup 0.00
tp = <class 'Exception'>, value = None, tb = None

def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)

/usr/local/lib/python3.7/site-packages/six.py:692:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:395: in topology_m2
topology = create_topology({ReplicaRole.MASTER: 2})
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.7/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.7/site-packages/lib389/__init__.py:973: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7f6d7b522630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension", prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception
Skipped suites/config/regression_test.py::test_set_cachememsize_to_custom_value::setup 0.00
('suites/config/regression_test.py', 31, 'Skipped: available memory is too low')
Skipped suites/memory_leaks/range_search_test.py::test_range_search::setup 0.00
('suites/memory_leaks/range_search_test.py', 21, "Skipped: Don't run if ASAN is not enabled")
Skipped tickets/ticket47815_test.py::test_ticket47815::setup 0.00
('tickets/ticket47815_test.py', 23, 'Skipped: Not implemented, or invalid by nsMemberOf')
Skipped tickets/ticket49121_test.py::test_ticket49121::setup 0.00
('tickets/ticket49121_test.py', 30, "Skipped: Don't run if ASAN is not enabled")
Passed suites/basic/basic_test.py::test_dscreate 10.69
No log output captured.
Passed suites/setup_ds/dscreate_test.py::test_setup_ds_minimal_dry 0.15
------------------------------ Captured log setup ------------------------------
dscreate_test.py 38 DEBUG Instance allocated __init__.py 528 DEBUG Allocate <class 'lib389.DirSrv'> with None __init__.py 551 DEBUG Allocate <class 'lib389.DirSrv'> with server.example.com:54321 __init__.py 579 DEBUG Allocate <class 'lib389.DirSrv'> with server.example.com:54321 __init__.py 784 DEBUG dir (sys) : /etc/sysconfig __init__.py 786 DEBUG dir (priv): /root/.dirsrv------------------------------ Captured log call -------------------------------
setup.py 611 INFO Starting installation... __init__.py 784 DEBUG dir (sys) : /etc/sysconfig __init__.py 786 DEBUG dir (priv): /root/.dirsrv setup.py 623 INFO NOOP: Dry run requested __init__.py 784 DEBUG dir (sys) : /etc/sysconfig __init__.py 786 DEBUG dir (priv): /root/.dirsrv
Passed suites/setup_ds/dscreate_test.py::test_setup_ds_minimal 20.07
------------------------------ Captured log setup ------------------------------
dscreate_test.py 38 DEBUG Instance allocated __init__.py 528 DEBUG Allocate <class 'lib389.DirSrv'> with None __init__.py 551 DEBUG Allocate <class 'lib389.DirSrv'> with server.example.com:54321 __init__.py 579 DEBUG Allocate <class 'lib389.DirSrv'> with server.example.com:54321 __init__.py 784 DEBUG dir (sys) : /etc/sysconfig __init__.py 786 DEBUG dir (priv): /root/.dirsrv----------------------------- Captured stderr call -----------------------------
Created symlink /etc/systemd/system/multi-user.target.wants/dirsrv@standalone.service → /usr/lib/systemd/system/dirsrv@.service. Removed /etc/systemd/system/multi-user.target.wants/dirsrv@standalone.service. ------------------------------ Captured log call -------------------------------
setup.py 611 INFO Starting installation... __init__.py 784 DEBUG dir (sys) : /etc/sysconfig __init__.py 786 DEBUG dir (priv): /root/.dirsrv __init__.py 528 DEBUG Allocate <class 'lib389.DirSrv'> with None __init__.py 551 DEBUG Allocate <class 'lib389.DirSrv'> with server.example.com:54321 __init__.py 579 DEBUG Allocate <class 'lib389.DirSrv'> with server.example.com:54321 __init__.py 784 DEBUG dir (sys) : /etc/sysconfig __init__.py 786 DEBUG dir (priv): /root/.dirsrv __init__.py 820 DEBUG List from /root/.dirsrv __init__.py 822 DEBUG list instance {'SERVER_ID': 'standalone', 'server-id': 'standalone', 'SERVER_DIR': '/usr/lib64', 'SERVERBIN_DIR': '/usr/sbin', 'CONFIG_DIR': '/etc/dirsrv/slapd-standalone', 'INST_DIR': '/usr/lib64/dirsrv/slapd-standalone', 'RUN_DIR': '/var/run/dirsrv', 'DS_ROOT': '', 'PRODUCT_NAME': 'slapd', 'hostname': b'server.example.com', 'ldap-port': 54321, 'ldap-secureport': None, 'root-dn': b'cn=Directory Manager', 'user-id': b'dirsrv', 'suffix': None, 'ldapi_enabled': None, 'ldapi_socket': None, 'ldapi_autobind': None} nss_ssl.py 142 DEBUG nss cmd: /usr/bin/certutil -N -d /etc/dirsrv/slapd-standalone -f /etc/dirsrv/slapd-standalone/pwdfile.txt nss_ssl.py 144 DEBUG nss output: nss_ssl.py 142 DEBUG nss cmd: /usr/bin/certutil -N -d /etc/dirsrv/ssca/ -f /etc/dirsrv/ssca//pwdfile.txt nss_ssl.py 144 DEBUG nss output: nss_ssl.py 207 DEBUG nss cmd: /usr/bin/certutil -S -n Self-Signed-CA -s CN=ssca.389ds.example.com,O=testing,L=389ds,ST=Queensland,C=AU -x -g 4096 -t CT,, -v 24 --keyUsage certSigning -d /etc/dirsrv/ssca/ -z /etc/dirsrv/ssca//noise.txt -f /etc/dirsrv/ssca//pwdfile.txt nss_ssl.py 209 DEBUG nss output: Generating key. This may take a few moments... nss_ssl.py 221 DEBUG nss cmd: /usr/bin/certutil -L -n Self-Signed-CA -d /etc/dirsrv/ssca/ -a nss_ssl.py 226 DEBUG nss cmd: /usr/bin/c_rehash /etc/dirsrv/ssca/ nss_ssl.py 510 DEBUG nss cmd: /usr/bin/certutil -R --keyUsage digitalSignature,nonRepudiation,keyEncipherment,dataEncipherment --nsCertType sslClient,sslServer --extKeyUsage clientAuth,serverAuth -s CN=server.example.com,givenName=efebabf3-f8fe-4628-a07b-89dee1450316,O=testing,L=389ds,ST=Queensland,C=AU -8 server.example.com -g 4096 -d /etc/dirsrv/slapd-standalone -z /etc/dirsrv/slapd-standalone/noise.txt -f /etc/dirsrv/slapd-standalone/pwdfile.txt -a -o /etc/dirsrv/slapd-standalone/Server-Cert.csr nss_ssl.py 536 DEBUG nss cmd: /usr/bin/certutil -C -d /etc/dirsrv/ssca/ -f /etc/dirsrv/ssca//pwdfile.txt -v 24 -a -i /etc/dirsrv/slapd-standalone/Server-Cert.csr -o /etc/dirsrv/slapd-standalone/Server-Cert.crt -c Self-Signed-CA nss_ssl.py 553 DEBUG nss cmd: /usr/bin/c_rehash /etc/dirsrv/slapd-standalone nss_ssl.py 566 DEBUG nss cmd: /usr/bin/certutil -A -n Self-Signed-CA -t CT,, -a -i /etc/dirsrv/slapd-standalone/ca.crt -d /etc/dirsrv/slapd-standalone -f /etc/dirsrv/slapd-standalone/pwdfile.txt nss_ssl.py 581 DEBUG nss cmd: /usr/bin/certutil -A -n Server-Cert -t ,, -a -i /etc/dirsrv/slapd-standalone/Server-Cert.crt -d /etc/dirsrv/slapd-standalone -f /etc/dirsrv/slapd-standalone/pwdfile.txt nss_ssl.py 590 DEBUG nss cmd: /usr/bin/certutil -V -d /etc/dirsrv/slapd-standalone -n Server-Cert -u YCV utils.py 230 DEBUG port 636 already in [389, 636, 3268, 3269, 7389], skipping port relabel __init__.py 1074 DEBUG open(): Connecting to uri ldap://server.example.com:54321/ __init__.py 1082 DEBUG Using dirsrv ca certificate /etc/dirsrv/slapd-standalone __init__.py 1091 DEBUG Using external ca certificate /etc/dirsrv/slapd-standalone __init__.py 1104 DEBUG Using external ca certificate /etc/dirsrv/slapd-standalone __init__.py 1112 DEBUG Using certificate policy 1 __init__.py 1113 DEBUG ldap.OPT_X_TLS_REQUIRE_CERT = 1 __init__.py 1167 DEBUG open(): bound as cn=Directory Manager __init__.py 1074 DEBUG open(): Connecting to uri ldap://server.example.com:54321/ __init__.py 1082 DEBUG Using dirsrv ca certificate /etc/dirsrv/slapd-standalone __init__.py 1091 DEBUG Using external ca certificate /etc/dirsrv/slapd-standalone __init__.py 1104 DEBUG Using external ca certificate /etc/dirsrv/slapd-standalone __init__.py 1112 DEBUG Using certificate policy 1 __init__.py 1113 DEBUG ldap.OPT_X_TLS_REQUIRE_CERT = 1 __init__.py 1167 DEBUG open(): bound as cn=Directory Manager _mapped_object.py 356 DEBUG cn=config set REPLACE: ('nsslapd-secureport', '636') _mapped_object.py 356 DEBUG cn=config set REPLACE: ('nsslapd-security', 'on') _mapped_object.py 356 DEBUG cn=config set REPLACE: ('nsslapd-ldapifilepath', '/var/run/slapd-standalone.socket') _mapped_object.py 356 DEBUG cn=config set REPLACE: ('nsslapd-ldapilisten', 'on') _mapped_object.py 356 DEBUG cn=config set REPLACE: ('nsslapd-ldapiautobind', 'on') _mapped_object.py 356 DEBUG cn=config set REPLACE: ('nsslapd-ldapimaprootdn', 'cn=Directory Manager') _mapped_object.py 356 DEBUG cn=config set REPLACE: ('nsslapd-rootpw', 'password') __init__.py 784 DEBUG dir (sys) : /etc/sysconfig __init__.py 786 DEBUG dir (priv): /root/.dirsrv __init__.py 820 DEBUG List from /root/.dirsrv __init__.py 822 DEBUG list instance {'SERVER_ID': 'standalone', 'server-id': 'standalone', 'SERVER_DIR': '/usr/lib64', 'SERVERBIN_DIR': '/usr/sbin', 'CONFIG_DIR': '/etc/dirsrv/slapd-standalone', 'INST_DIR': '/usr/lib64/dirsrv/slapd-standalone', 'RUN_DIR': '/var/run/dirsrv', 'DS_ROOT': '', 'PRODUCT_NAME': 'slapd', 'hostname': b'server.example.com', 'ldap-port': 54321, 'ldap-secureport': 636, 'root-dn': b'cn=Directory Manager', 'user-id': b'dirsrv', 'suffix': None, 'ldapi_enabled': b'on', 'ldapi_socket': b'/var/run/slapd-standalone.socket', 'ldapi_autobind': b'on'} __init__.py 1074 DEBUG open(): Connecting to uri ldap://server.example.com:54321/ __init__.py 1082 DEBUG Using dirsrv ca certificate /etc/dirsrv/slapd-standalone __init__.py 1091 DEBUG Using external ca certificate /etc/dirsrv/slapd-standalone __init__.py 1104 DEBUG Using external ca certificate /etc/dirsrv/slapd-standalone __init__.py 1112 DEBUG Using certificate policy 1 __init__.py 1113 DEBUG ldap.OPT_X_TLS_REQUIRE_CERT = 1 __init__.py 1167 DEBUG open(): bound as cn=Directory Manager __init__.py 1074 DEBUG open(): Connecting to uri ldap://server.example.com:54321/ __init__.py 1082 DEBUG Using dirsrv ca certificate /etc/dirsrv/slapd-standalone __init__.py 1091 DEBUG Using external ca certificate /etc/dirsrv/slapd-standalone __init__.py 1104 DEBUG Using external ca certificate /etc/dirsrv/slapd-standalone __init__.py 1112 DEBUG Using certificate policy 1 __init__.py 1113 DEBUG ldap.OPT_X_TLS_REQUIRE_CERT = 1 __init__.py 1167 DEBUG open(): bound as cn=Directory Manager remove.py 20 DEBUG Removing instance standalone remove.py 22 DEBUG Stopping instance standalone remove.py 49 DEBUG Checking for instance marker at /etc/sysconfig/dirsrv-standalone remove.py 60 DEBUG Copying /etc/dirsrv/slapd-standalone to /etc/dirsrv/slapd-standalone.removed remove.py 70 DEBUG Removing /var/lib/dirsrv/slapd-standalone/bak remove.py 70 DEBUG Removing /etc/dirsrv/slapd-standalone remove.py 70 DEBUG Removing /etc/dirsrv/slapd-standalone remove.py 70 DEBUG Removing /var/lib/dirsrv/slapd-standalone/db remove.py 70 DEBUG Removing /var/lib/dirsrv/slapd-standalone/db/../ remove.py 70 DEBUG Removing /var/lib/dirsrv/slapd-standalone/changelogdb remove.py 70 DEBUG Removing /var/lib/dirsrv/slapd-standalone/ldif remove.py 70 DEBUG Removing /var/lock/dirsrv/slapd-standalone remove.py 70 DEBUG Removing /var/log/dirsrv/slapd-standalone remove.py 70 DEBUG Removing /etc/tmpfiles.d/dirsrv-standalone.conf remove.py 70 DEBUG Removing /usr/lib64/dirsrv/slapd-standalone remove.py 78 DEBUG Removing /etc/sysconfig/dirsrv-standalone remove.py 81 DEBUG Removing the systemd symlink remove.py 85 DEBUG Removing the port label __init__.py 784 DEBUG dir (sys) : /etc/sysconfig __init__.py 786 DEBUG dir (priv): /root/.dirsrv remove.py 108 DEBUG Complete
Passed suites/setup_ds/dscreate_test.py::test_setup_ds_inf_minimal 0.00
------------------------------ Captured log setup ------------------------------
dscreate_test.py 38 DEBUG Instance allocated __init__.py 528 DEBUG Allocate <class 'lib389.DirSrv'> with None __init__.py 551 DEBUG Allocate <class 'lib389.DirSrv'> with server.example.com:54321 __init__.py 579 DEBUG Allocate <class 'lib389.DirSrv'> with server.example.com:54321 __init__.py 784 DEBUG dir (sys) : /etc/sysconfig __init__.py 786 DEBUG dir (priv): /root/.dirsrv