report.html

Report generated on 24-Jun-2018 at 19:23:04 by pytest-html v1.19.0

Environment

389-ds-base 1.4.0.11-20180624git87876bc.fc28
Packages {'pytest': '3.6.2', 'py': '1.5.3', 'pluggy': '0.6.0'}
Platform Linux-4.16.12-300.fc28.x86_64-x86_64-with-fedora-28-Twenty_Eight
Plugins {'metadata': '1.7.0', 'html': '1.19.0'}
Python 3.6.5
cyrus-sasl 2.1.27-0.2rc7.fc28
nspr 4.19.0-1.fc28
nss 3.37.3-1.1.fc28
openldap 2.4.46-1.fc28

Summary

2 tests ran in 307.21 seconds.

0 passed, 17 skipped, 2 failed, 775 errors, 0 expected failures, 0 unexpected passes

Results

Result Test Duration Links
Error suites/acl/acl_deny_test.py::test_multi_deny_aci::setup 1.03
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03112be0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[lang-ja]::setup 1.02
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[binary]::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[phonetic]::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_mode_default_add_deny::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_mode_default_delete_deny::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod[6-None-cn=ac*,dc=example,dc=com-False]::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod[7-cn=st*,dc=example,dc=com-None-False]::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod[8-None-None-False]::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod_9::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_moddn_prod_staging::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_check_repl_M2_to_M1::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_moddn_staging_prod_except::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_mode_default_ger_no_moddn::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_mode_default_ger_with_moddn::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_mode_legacy_ger_no_moddn1::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_mode_legacy_ger_no_moddn2::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_mode_legacy_ger_with_moddn::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_rdn_write_get_ger::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/acl_test.py::test_rdn_write_modrdn_anonymous::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03154160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03853400>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0387e048>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033d6080>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/acl/selfdn_permissions_test.py::test_selfdn_permission_search::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033d6080>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/selfdn_permissions_test.py::test_selfdn_permission_modify::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033d6080>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/acl/selfdn_permissions_test.py::test_selfdn_permission_delete::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033d6080>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03373b70>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/automember_plugin/automember_test.py::test_automemberfilter::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03373b70>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/automember_plugin/automember_test.py::test_adduser::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03373b70>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/basic/basic_test.py::test_basic_import_export::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_basic_backup::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_basic_db2index::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_basic_acl::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_basic_searches::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_basic_referrals::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_basic_systemctl::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_basic_ldapagent::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_basic_dse::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_def_rootdse_attr[namingContexts]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_def_rootdse_attr[supportedLDAPVersion]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_def_rootdse_attr[supportedControl]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_def_rootdse_attr[supportedExtension]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_def_rootdse_attr[supportedSASLMechanisms]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_def_rootdse_attr[vendorName]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_def_rootdse_attr[vendorVersion]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_mod_def_rootdse_attr[namingContexts]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedLDAPVersion]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedControl]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedExtension]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedSASLMechanisms]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_mod_def_rootdse_attr[vendorName]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/basic/basic_test.py::test_mod_def_rootdse_attr[vendorVersion]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed033e3518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/betxns/betxn_test.py::test_betxt_7bit::setup 1.02
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0319b438>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/betxns/betxn_test.py::test_betxn_attr_uniqueness::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0319b438>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/betxns/betxn_test.py::test_betxn_memberof::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0319b438>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0352e4a8>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/clu/clu_test.py::test_clu_pwdhash_mod::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0352e4a8>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/config/autotuning_test.py::test_threads_invalid_value[-2]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_threads_invalid_value[0]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_threads_invalid_value[invalid]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_threads_back_from_manual_value::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_non_zero[-]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_non_zero[-0]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_non_zero[10-400]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_non_zero[-40]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_non_zero[10-]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_non_zero[10-401]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_non_zero[10-0]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_basic_sane[0]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_basic_sane[]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_basic_sane[40]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_invalid_values[-2]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_invalid_values[102]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/autotuning_test.py::test_cache_autosize_invalid_values[invalid]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed037ad2b0>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02a02978>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/config/config_test.py::test_config_listen_backport_size::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02a02978>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/config/config_test.py::test_config_deadlock_policy::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02a02978>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed029c5160>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03018d30>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/config/removed_config_49298_test.py::test_removed_config::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03018d30>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0331ad30>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02a83518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/ds_logs/ds_logs_test.py::test_plugin_set_invalid::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02a83518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/ds_logs/ds_logs_test.py::test_log_plugin_on::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02a83518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/ds_logs/ds_logs_test.py::test_log_plugin_off::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02a83518>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02948ba8>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/ds_logs/regression_test.py::test_default_loglevel_stripped[16512]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02948ba8>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/ds_logs/regression_test.py::test_default_loglevel_stripped[16385]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02948ba8>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/ds_logs/regression_test.py::test_dse_config_loglevel_error::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02948ba8>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0332fc88>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/ds_tools/replcheck_test.py::test_check_ruv::setup 1.02
request = <SubRequest 'topo' for <Function 'test_check_ruv'>>

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

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

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

self = <lib389.DirSrv object at 0x7fed02a33c88>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/ds_tools/replcheck_test.py::test_missing_entries::setup 0.00
request = <SubRequest 'topo' for <Function 'test_check_ruv'>>

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

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

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

self = <lib389.DirSrv object at 0x7fed02a33c88>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/ds_tools/replcheck_test.py::test_tombstones::setup 0.00
request = <SubRequest 'topo' for <Function 'test_check_ruv'>>

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

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

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

self = <lib389.DirSrv object at 0x7fed02a33c88>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/ds_tools/replcheck_test.py::test_conflict_entries::setup 0.00
request = <SubRequest 'topo' for <Function 'test_check_ruv'>>

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

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

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

self = <lib389.DirSrv object at 0x7fed02a33c88>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/ds_tools/replcheck_test.py::test_inconsistencies::setup 0.00
request = <SubRequest 'topo' for <Function 'test_check_ruv'>>

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

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

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

self = <lib389.DirSrv object at 0x7fed02a33c88>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281b828>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/dynamic_plugins/dynamic_plugins_test.py::test_memory_corruption::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281b828>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/dynamic_plugins/dynamic_plugins_test.py::test_stress::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281b828>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(sn=last1)(givenname=first1)))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(&(sn=last1))(&(givenname=first1))))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=*)(sn=last3)(givenname=*))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=*)(&(sn=last3)(givenname=*)))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid5)(&(&(sn=*))(&(givenname=*))))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(objectclass=*)(uid=*)(sn=last*))-5]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

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

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(objectclass=*)(uid=*)(sn=last1))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(uid=uid1)(sn=last1)(givenname=first1))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(uid=uid1)(|(sn=last1)(givenname=first1)))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(uid=uid1)(|(|(sn=last1))(|(givenname=first1))))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(objectclass=*)(sn=last1)(|(givenname=first1)))-14]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(&(objectclass=*)(sn=last1))(|(givenname=first1)))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(&(objectclass=*)(sn=last))(|(givenname=first1)))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(!(cn=NULL)))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(!(cn=NULL))(uid=uid1))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=*)(&(!(uid=1))(!(givenname=first1))))-4]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(|(uid=uid1)(uid=NULL))(sn=last1))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(|(uid=uid1)(uid=NULL))(!(sn=NULL)))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(|(uid=uid1)(sn=last2))(givenname=first1))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(&(uid=uid1)(!(uid=NULL)))(sn=last2))-2]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(&(uid=uid1)(uid=NULL))(sn=last2))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(&(objectclass=*)(sn=last))(&(givenname=first1)))-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(sn=last1)(givenname=NULL))-0]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(sn=last1)(givenname=NULL)))-0]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(&(sn=last1))(&(givenname=NULL))))-0]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(&(sn=last1))(&(givenname=NULL)(sn=*)))(|(sn=NULL)))-0]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=uid1)(&(&(sn=last*))(&(givenname=first*)))(&(sn=NULL)))-0]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(uid=NULL)(sn=NULL)(givenname=NULL))-0]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(uid=NULL)(|(sn=NULL)(givenname=NULL)))-0]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(uid=NULL)(|(|(sn=NULL))(|(givenname=NULL))))-0]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(uid>=uid3)-3]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid=*)(uid>=uid3))-3]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(uid>=uid3)(uid<=uid5))-5]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(&(uid>=uid3)(uid<=uid5))-3]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/complex_filters_test.py::test_filters[(|(&(uid>=uid3)(uid<=uid5))(uid=*))-5]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0281a438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/filter/filter_logic_test.py::test_sub::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_logic_test.py::test_not_eq::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_logic_test.py::test_ranges::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_logic_test.py::test_and_eq::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_logic_test.py::test_range::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_logic_test.py::test_and_allid_shortcut::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_logic_test.py::test_or_eq::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_logic_test.py::test_and_not_eq::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_logic_test.py::test_or_not_eq::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_logic_test.py::test_and_range::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_logic_test.py::test_or_range::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_logic_test.py::test_and_and_eq::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_logic_test.py::test_or_or_eq::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_logic_test.py::test_and_or_eq::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_logic_test.py::test_or_and_eq::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed038a4550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0249d2b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/filter/filter_test.py::test_filter_search_original_attrs::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0249d2b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_test.py::test_filter_scope_one::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0249d2b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/filter_test.py::test_filter_with_attribute_subtype::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0249d2b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-False-oper_attr_list0]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-False-oper_attr_list0-*]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-False-oper_attr_list0-objectClass]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-True-oper_attr_list1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-True-oper_attr_list1-*]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-True-oper_attr_list1-objectClass]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[cn=config-False-oper_attr_list6]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[cn=config-False-oper_attr_list6-*]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[cn=config-False-oper_attr_list6-objectClass]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed027854e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed036ab320>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/get_effective_rights/acceptance_test.py::test_group_aci_template_entry::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed036ab320>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:270:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0293c438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/gssapi/simple_gssapi_test.py::test_invalid_sasl_map::setup 0.00
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.6/site-packages/lib389/topologies.py:270:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0293c438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/gssapi/simple_gssapi_test.py::test_missing_user::setup 0.00
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.6/site-packages/lib389/topologies.py:270:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0293c438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/gssapi/simple_gssapi_test.py::test_support_mech::setup 0.00
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.6/site-packages/lib389/topologies.py:270:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0293c438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/gssapi/simple_gssapi_test.py::test_rejected_mech::setup 0.00
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.6/site-packages/lib389/topologies.py:270:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0293c438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed021d7c88>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/import/regression_test.py::test_del_suffix_import::setup 1.02
request = <SubRequest 'topo' for <Function 'test_del_suffix_import'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02169f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/import/regression_test.py::test_del_suffix_backend::setup 0.00
request = <SubRequest 'topo' for <Function 'test_del_suffix_import'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02169f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02155c50>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:465:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02407a20>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02023128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/memberof_plugin/regression_test.py::test_memberof_with_changelog_reset::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed02023128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01f27390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/paged_results/paged_results_test.py::test_search_success[5-5]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_success[5-25]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_sort_success::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_abandon::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_with_timelimit::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_dns_ip_aci[dns = "server.example.com"]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_dns_ip_aci[ip = "10.8.244.236"]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_multiple_paging::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_invalid_cookie[1000]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_invalid_cookie[-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_abandon_with_zero_size::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_pagedsizelimit_success::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_nspagedsizelimit[5-15-PASS]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_nspagedsizelimit[15-5-SIZELIMIT_EXCEEDED]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_paged_limits[conf_attr_values0-ADMINLIMIT_EXCEEDED]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_paged_limits[conf_attr_values1-PASS]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_paged_user_limits[conf_attr_values0-ADMINLIMIT_EXCEEDED]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_search_paged_user_limits[conf_attr_values1-PASS]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_ger_basic::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_multi_suffix_search::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_success[None]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_success[-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_success[1000]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_failure[0]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_failure[1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed025ef4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01f1e320>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01f1dc18>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01bc7400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/password/pwdAdmin_test.py::test_pwdAdmin_no_admin::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01bc7400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdAdmin_test.py::test_pwdAdmin_modify::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01bc7400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdAdmin_test.py::test_pwdAdmin_group::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01bc7400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdAdmin_test.py::test_pwdAdmin_config_validation::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01bc7400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01cce2b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/password/pwdPolicy_attribute_test.py::test_change_pwd[off-off-UNWILLING_TO_PERFORM]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01cce2b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_attribute_test.py::test_change_pwd[off-on-None]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01cce2b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_attribute_test.py::test_change_pwd[on-on-None]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01cce2b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_attribute_test.py::test_pwd_min_age::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01cce2b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01f084e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/password/pwdPolicy_controls_test.py::test_pwd_expired_grace_limit::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01f084e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_controls_test.py::test_pwd_expiring_with_warning::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01f084e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_controls_test.py::test_pwd_expiring_with_no_warning::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01f084e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01be6400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_no_restrictions[on-off]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01be6400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_no_restrictions[off-on]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01be6400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_restrictions[cn=config]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01be6400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01be6400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01c252b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01fe0c18>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01a4b3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/password/pwdPolicy_warning_test.py::test_different_values[junk123]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01a4b3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_warning_test.py::test_different_values[on]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01a4b3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_warning_test.py::test_different_values[off]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01a4b3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_warning_test.py::test_expiry_time::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01a4b3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_warning_test.py::test_password_warning[passwordSendExpiringTime-off]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01a4b3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_warning_test.py::test_password_warning[passwordWarning-3600]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01a4b3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_warning_test.py::test_with_different_password_states::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01a4b3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_warning_test.py::test_default_behavior::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01a4b3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_warning_test.py::test_when_maxage_and_warning_are_the_same::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01a4b3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwdPolicy_warning_test.py::test_with_local_policy::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01a4b3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[CRYPT]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[CRYPT-MD5]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[CRYPT-SHA256]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[CRYPT-SHA512]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[MD5]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SHA]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SHA256]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SHA384]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SHA512]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SMD5]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SSHA]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SSHA256]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SSHA384]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[SSHA512]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[PBKDF2_SHA256]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pwd_algo_test[DEFAULT]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/pwd_algo_test.py::test_pbkdf2_algo::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01b7a5f8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01c6bf60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01844898>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01808048>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/password/regression_test.py::test_trivial_passw_check[CNpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[SNpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[UIDpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[MAILpwtest1@redhat.com]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[GNpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[CNpwtest1ZZZZ]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZZZZZCNpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZCNpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[CNpwtest1Z]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZCNpwtest1Z]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZZCNpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[CNpwtest1ZZ]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZZCNpwtest1ZZ]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZZZCNpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[CNpwtest1ZZZ]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZZZCNpwtest1ZZZ]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_trivial_passw_check[ZZZZZZCNpwtest1ZZZZZZZZ]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[CNpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[SNpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[UIDpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[MAILpwtest1@redhat.com]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[GNpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[CNpwtest1ZZZZ]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZZZZZCNpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZCNpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[CNpwtest1Z]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZCNpwtest1Z]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZZCNpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[CNpwtest1ZZ]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZZCNpwtest1ZZ]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZZZCNpwtest1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[CNpwtest1ZZZ]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZZZCNpwtest1ZZZ]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/password/regression_test.py::test_global_vs_local[ZZZZZZCNpwtest1ZZZZZZZZ]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01886860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:328:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01717908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/plugins/acceptance_test.py::test_attruniq::setup 0.00
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.6/site-packages/lib389/topologies.py:328:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01717908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/acceptance_test.py::test_automember::setup 0.00
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.6/site-packages/lib389/topologies.py:328:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01717908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/acceptance_test.py::test_dna::setup 0.00
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.6/site-packages/lib389/topologies.py:328:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01717908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/acceptance_test.py::test_linkedattrs::setup 0.00
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.6/site-packages/lib389/topologies.py:328:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01717908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/acceptance_test.py::test_memberof::setup 0.00
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.6/site-packages/lib389/topologies.py:328:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01717908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/acceptance_test.py::test_mep::setup 0.00
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.6/site-packages/lib389/topologies.py:328:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01717908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/acceptance_test.py::test_passthru::setup 0.00
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.6/site-packages/lib389/topologies.py:328:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01717908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/acceptance_test.py::test_referint::setup 0.00
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.6/site-packages/lib389/topologies.py:328:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01717908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/acceptance_test.py::test_retrocl::setup 0.00
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.6/site-packages/lib389/topologies.py:328:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01717908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/acceptance_test.py::test_rootdn::setup 0.00
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.6/site-packages/lib389/topologies.py:328:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01717908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed019a3438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/plugins/accpol_test.py::test_glremv_lastlogin::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed019a3438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/accpol_test.py::test_glact_login::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed019a3438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/accpol_test.py::test_glinact_limit::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed019a3438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/accpol_test.py::test_glnologin_attr::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed019a3438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/accpol_test.py::test_glnoalt_stattr::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed019a3438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/accpol_test.py::test_glattr_modtime::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed019a3438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/accpol_test.py::test_glnoalt_nologin::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed019a3438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/accpol_test.py::test_glinact_nsact::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed019a3438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/accpol_test.py::test_glinact_acclock::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed019a3438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/accpol_test.py::test_glnact_pwexp::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed019a3438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/accpol_test.py::test_locact_inact::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed019a3438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/accpol_test.py::test_locinact_modrdn::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed019a3438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/accpol_test.py::test_locact_modrdn::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed019a3438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/attr_nsslapd-pluginarg_test.py::test_duplicate_values::setup 1.02
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0137f4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/plugins/attr_nsslapd-pluginarg_test.py::test_multiple_value::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0137f4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/attr_nsslapd-pluginarg_test.py::test_missing_args::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0137f4e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/attr_uniqueness_test.py::test_attr_uniqueness_init::setup 1.11
request = <SubRequest 'topology_st' for <Function 'test_attr_uniqueness_init'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed014320f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/plugins/attr_uniqueness_test.py::test_attr_uniqueness::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_attr_uniqueness_init'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed014320f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/dna_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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed014364e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_001::setup 1.02
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_003::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_004::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_005::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_006::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_007::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_008::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_009::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_010::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_011::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_012::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_013::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_014::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_015::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_016::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_017::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_018::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_019::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_020::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_021::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_022::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_023::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_024::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_MultiGrpAttr_025::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/memberof_test.py::test_memberof_auto_add_oc::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_memberof_MultiGrpAttr_001'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01268be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed014052e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/plugins/rootdn_plugin_test.py::test_rootdn_init::setup 1.02
request = <SubRequest 'topology_st' for <Function 'test_rootdn_init'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed013e6d30>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/plugins/rootdn_plugin_test.py::test_rootdn_access_specific_time::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_rootdn_init'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed013e6d30>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/rootdn_plugin_test.py::test_rootdn_access_day_of_week::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_rootdn_init'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed013e6d30>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/rootdn_plugin_test.py::test_rootdn_access_denied_ip::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_rootdn_init'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed013e6d30>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/rootdn_plugin_test.py::test_rootdn_access_denied_host::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_rootdn_init'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed013e6d30>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/rootdn_plugin_test.py::test_rootdn_access_allowed_ip::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_rootdn_init'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed013e6d30>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/rootdn_plugin_test.py::test_rootdn_access_allowed_host::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_rootdn_init'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed013e6d30>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/plugins/rootdn_plugin_test.py::test_rootdn_config_validate::setup 0.00
request = <SubRequest 'topology_st' for <Function 'test_rootdn_init'>>

@pytest.fixture(scope="module")
def topology_st(request):
"""Create DS standalone instance"""

> topology = create_topology({ReplicaRole.STANDALONE: 1})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed013e6d30>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0104a588>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00f2bf98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/replication/acceptance_test.py::test_modify_entry::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00f2bf98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/acceptance_test.py::test_delete_entry::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00f2bf98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/acceptance_test.py::test_modrdn_entry[0]::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00f2bf98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/acceptance_test.py::test_modrdn_entry[1]::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00f2bf98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/acceptance_test.py::test_modrdn_after_pause::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00f2bf98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/acceptance_test.py::test_modify_stripattrs::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00f2bf98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/acceptance_test.py::test_new_suffix::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00f2bf98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/acceptance_test.py::test_many_attrs::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00f2bf98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/acceptance_test.py::test_double_delete::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00f2bf98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/acceptance_test.py::test_password_repl_error::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00f2bf98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/acceptance_test.py::test_invalid_agmt::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00f2bf98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/acceptance_test.py::test_warining_for_invalid_replica::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00f2bf98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:465:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0145d080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0146c940>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/replication/changelog_test.py::test_verify_changelog_online_backup::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0146c940>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/changelog_test.py::test_verify_changelog_offline_backup::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0146c940>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/changelog_test.py::test_changelog_maxage::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0146c940>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/changelog_test.py::test_ticket47669_changelog_triminterval::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0146c940>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/changelog_test.py::test_changelog_compactdbinterval::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0146c940>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/changelog_test.py::test_retrochangelog_maxage::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0146c940>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:361:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00ebc128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/replication/changelog_trimming_test.py::test_max_entries::setup 0.00
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.6/site-packages/lib389/topologies.py:361:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00ebc128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00ef8470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/replication/cleanallruv_test.py::test_clean_restart::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00ef8470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/cleanallruv_test.py::test_clean_force::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00ef8470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/cleanallruv_test.py::test_abort::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00ef8470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/cleanallruv_test.py::test_abort_restart::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00ef8470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/cleanallruv_test.py::test_abort_certify::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00ef8470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/cleanallruv_test.py::test_stress_clean::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00ef8470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/cleanallruv_test.py::test_multiple_tasks_with_force::setup 0.00
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00ef8470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00fc6d68>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/replication/conflict_resolve_test.py::TestTwoMasters::()::test_complex_add_modify_modrdn_delete::setup 0.00
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.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00fc6d68>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/conflict_resolve_test.py::TestTwoMasters::()::test_memberof_groups::setup 0.00
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.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00fc6d68>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/conflict_resolve_test.py::TestTwoMasters::()::test_managed_entries::setup 0.00
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.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00fc6d68>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/conflict_resolve_test.py::TestTwoMasters::()::test_nested_entries_with_children::setup 0.00
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.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00fc6d68>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00b37828>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00d062b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/replication/encryption_cl5_test.py::test_algorithm_unhashed[3DES]::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00d062b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03456128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/replication/regression_test.py::test_repl_modrdn::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03456128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/regression_test.py::test_password_repl_error::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03456128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/regression_test.py::test_invalid_agmt::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed03456128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:412:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed01d36668>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/replication/replica_config_test.py::test_replica_num_add[nsDS5Flags--1-2-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsDS5ReplicaId-0-65535-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsds5ReplicaPurgeDelay--2-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsDS5ReplicaBindDnGroupCheckInterval--2-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsds5ReplicaTombstonePurgeInterval--2-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsds5ReplicaProtocolTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsds5ReplicaReleaseTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsds5ReplicaBackoffMin-0-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-3]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_add[nsds5ReplicaBackoffMax-0-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsDS5Flags--1-2-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsds5ReplicaPurgeDelay--2-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsDS5ReplicaBindDnGroupCheckInterval--2-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsds5ReplicaTombstonePurgeInterval--2-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsds5ReplicaProtocolTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsds5ReplicaReleaseTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-1]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsds5ReplicaBackoffMin-0-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-3]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/replica_config_test.py::test_replica_num_modify[nsds5ReplicaBackoffMax-0-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00adff60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed012cbf98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00cc1da0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:328:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00cc0978>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0095c0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/replication/tls_client_auth_repl_test.py::test_extract_pemfiles::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0095c0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:361:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009b92b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009b5b00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/replication/wait_for_async_feature_test.py::test_multi_value::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009b5b00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr0]::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009b5b00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr1]::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009b5b00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr2]::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009b5b00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr3]::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009b5b00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr0]::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009b5b00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr1]::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009b5b00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr2]::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009b5b00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr3]::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009b5b00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009aa2e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00e73ba8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0084c320>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/schema/schema_reload_test.py::test_valid_schema::setup 1.02
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00e56c88>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/schema/schema_reload_test.py::test_invalid_schema::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00e56c88>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00e5f0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error suites/schema/schema_replication_test.py::test_schema_replication_two::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00e5f0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_three::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00e5f0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_four::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00e5f0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_five::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00e5f0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_six::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00e5f0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_seven::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00e5f0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_eight::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00e5f0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error suites/schema/schema_replication_test.py::test_schema_replication_nine::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00e5f0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed010975c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0064a550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00942940>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed006bd390>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00539fd0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed006fd0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47573_test.py::test_ticket47573_one::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed006fd0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47573_test.py::test_ticket47573_two::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed006fd0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47573_test.py::test_ticket47573_three::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed006fd0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0064ce10>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47619_test.py::test_ticket47619_create_index::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0064ce10>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47619_test.py::test_ticket47619_reindex::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0064ce10>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47619_test.py::test_ticket47619_check_indexed_search::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0064ce10>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47640_test.py::test_ticket47640::setup 1.02
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00650470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed028d1080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47653MMR_test.py::test_ticket47653_add::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed028d1080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47653MMR_test.py::test_ticket47653_modify::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed028d1080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47676_test.py::test_ticket47676_init::setup 1.02
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed007a39b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47676_test.py::test_ticket47676_skip_oc_at::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed007a39b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47676_test.py::test_ticket47676_reject_action::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed007a39b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47714_test.py::test_ticket47714_init::setup 1.02
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed004dd128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47714_test.py::test_ticket47714_run_0::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed004dd128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47714_test.py::test_ticket47714_run_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed004dd128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009e3198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47721_test.py::test_ticket47721_0::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009e3198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47721_test.py::test_ticket47721_1::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009e3198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47721_test.py::test_ticket47721_2::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009e3198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47721_test.py::test_ticket47721_3::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009e3198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47721_test.py::test_ticket47721_4::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed009e3198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed004836d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed005ca4a8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47787_test.py::test_ticket47787_2::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed005ca4a8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00535208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003e67f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47823_test.py::test_ticket47823_one_container_add::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47823_test.py::test_ticket47823_one_container_mod::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47823_test.py::test_ticket47823_one_container_modrdn::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47823_test.py::test_ticket47823_multi_containers_add::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47823_test.py::test_ticket47823_multi_containers_mod::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47823_test.py::test_ticket47823_multi_containers_modrdn::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47823_test.py::test_ticket47823_across_multi_containers_add::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47823_test.py::test_ticket47823_across_multi_containers_mod::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47823_test.py::test_ticket47823_across_multi_containers_modrdn::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47823_test.py::test_ticket47823_invalid_config_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47823_test.py::test_ticket47823_invalid_config_2::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47823_test.py::test_ticket47823_invalid_config_3::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47823_test.py::test_ticket47823_invalid_config_4::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47823_test.py::test_ticket47823_invalid_config_5::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47823_test.py::test_ticket47823_invalid_config_6::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47823_test.py::test_ticket47823_invalid_config_7::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0062db00>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47828_test.py::test_ticket47828_run_0::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_2::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_3::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_4::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_5::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_6::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_7::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_8::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_9::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_10::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_11::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_12::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_13::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_14::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_15::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_16::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_17::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_18::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_19::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_20::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_21::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_22::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_23::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_24::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_25::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_26::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_27::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_28::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_29::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_30::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47828_test.py::test_ticket47828_run_31::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed003ba5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_init::setup 1.02
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47829_test.py::test_ticket47829_mod_active_user_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_active_user_2::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_active_user_3::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_2::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_3::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_out_user_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_out_user_2::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_out_user_3::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_active_user_modrdn_active_user_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_active_user_modrdn_stage_user_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_active_user_modrdn_out_user_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_modrdn_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_modrdn_active_user_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_modrdn_stage_user_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_2::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_3::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_4::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed002eecf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47833_test.py::test_ticket47829_init::setup 1.02
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfff80438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47833_test.py::test_ticket47829_mod_stage_user_modrdn_stage_user_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfff80438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47838_init::setup 1.02
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47838_test.py::test_47838_run_0::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47838_run_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47838_run_2::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47838_run_3::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47838_run_4::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47838_run_5::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47838_run_6::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47838_run_7::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47838_run_8::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47838_run_9::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47838_run_10::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47838_run_11::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47928_run_0::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47928_run_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47928_run_2::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47928_run_3::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47838_test.py::test_47838_run_last::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffccd630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47869MMR_test.py::test_ticket47869_init::setup 1.02
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed022ba160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47869MMR_test.py::test_ticket47869_check::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed022ba160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffb654a8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47871_test.py::test_ticket47871_1::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffb654a8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47871_test.py::test_ticket47871_2::setup 0.00
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffb654a8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffdbd0f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffcb66d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47910_test.py::test_ticket47910_logconv_start_end_negative::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffcb66d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47910_test.py::test_ticket47910_logconv_start_end_invalid::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffcb66d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47910_test.py::test_ticket47910_logconv_noaccesslogs::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffcb66d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffbddba8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47920_test.py::test_ticket47920_mod_readentry_ctrl::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffbddba8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffc8f828>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffa6acf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47927_test.py::test_ticket47927_one::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffa6acf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47927_test.py::test_ticket47927_two::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffa6acf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47927_test.py::test_ticket47927_three::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffa6acf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47927_test.py::test_ticket47927_four::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffa6acf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47927_test.py::test_ticket47927_five::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffa6acf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47927_test.py::test_ticket47927_six::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffa6acf8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffc27128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff94df60>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed000db588>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff975160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffc206d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47966_test.py::test_ticket47966::setup 1.02
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00178518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffeb89b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed000f2278>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47973_test.py::test_ticket47973_case::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed000f2278>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47976_test.py::test_ticket47976_init::setup 1.02
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff8ce438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47976_test.py::test_ticket47976_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff8ce438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47976_test.py::test_ticket47976_2::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff8ce438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47976_test.py::test_ticket47976_3::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff8ce438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0006d6a0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00077518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47988_test.py::test_ticket47988_init::setup 1.02
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff933908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket47988_test.py::test_ticket47988_1::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff933908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47988_test.py::test_ticket47988_2::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff933908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47988_test.py::test_ticket47988_3::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff933908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47988_test.py::test_ticket47988_4::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff933908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47988_test.py::test_ticket47988_5::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff933908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket47988_test.py::test_ticket47988_6::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff933908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff7b99e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48005_test.py::test_ticket48005_memberof::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff7b99e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48005_test.py::test_ticket48005_automember::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff7b99e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48005_test.py::test_ticket48005_syntaxvalidate::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff7b99e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48005_test.py::test_ticket48005_usn::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff7b99e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48005_test.py::test_ticket48005_schemareload::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff7b99e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48013_test.py::test_ticket48013::setup 1.02
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff866470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff89c978>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff79b278>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff74ba20>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff67e358>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48194_test.py::test_run_0::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff67e358>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48194_test.py::test_run_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff67e358>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48194_test.py::test_run_2::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff67e358>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48194_test.py::test_run_3::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff67e358>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48194_test.py::test_run_4::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff67e358>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48194_test.py::test_run_5::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff67e358>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48194_test.py::test_run_6::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff67e358>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48194_test.py::test_run_8::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff67e358>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48194_test.py::test_run_9::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff67e358>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48194_test.py::test_run_11::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff67e358>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff7475c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff4fecc0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff4e4860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48226_test.py::test_ticket48226_1::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff4e4860>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff555208>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff3b2400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff831e48>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffaca128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48252_test.py::test_ticket48252_run_0::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffaca128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48252_test.py::test_ticket48252_run_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffaca128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecffacfbe0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff4287b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48266_test.py::test_ticket48266_check_repl_desc::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff4287b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48266_test.py::test_ticket48266_count_csn_evaluation::setup 0.00
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff4287b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff5173c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48270_test.py::test_ticket48270_homeDirectory_indexed_cis::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff5173c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48270_test.py::test_ticket48270_homeDirectory_mixed_value::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff5173c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48270_test.py::test_ticket48270_extensible_search::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff5173c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48272_test.py::test_ticket48272::setup 1.02
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff5f15c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff465cc0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48294_test.py::test_48294_run_0::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff465cc0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48294_test.py::test_48294_run_1::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff465cc0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48294_test.py::test_48294_run_2::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff465cc0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48295_test.py::test_48295_init::setup 1.02
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff9ac438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48295_test.py::test_48295_run::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff9ac438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff30c0f0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:465:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff21df28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:412:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff26f5c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48354_test.py::test_ticket48354::setup 1.02
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff32d240>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48362_test.py::test_ticket48362::setup 1.02
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff1996d8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff1c24e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48366_test.py::test_ticket48366_search_user::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff1c24e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48366_test.py::test_ticket48366_search_dm::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff1c24e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff216c18>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff0dd0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff49fd30>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48497_test.py::test_ticket48497_homeDirectory_mixed_value::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff49fd30>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48497_test.py::test_ticket48497_extensible_search::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff49fd30>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48497_test.py::test_ticket48497_homeDirectory_index_cfg::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff49fd30>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48497_test.py::test_ticket48497_homeDirectory_index_run::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff49fd30>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff0dbc88>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfeff24e0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff139be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48745_test.py::test_ticket48745_homeDirectory_indexed_cis::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff139be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48745_test.py::test_ticket48745_homeDirectory_mixed_value::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff139be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48745_test.py::test_ticket48745_extensible_search_after_index::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff139be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff127198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48746_test.py::test_ticket48746_homeDirectory_indexed_cis::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff127198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48746_test.py::test_ticket48746_homeDirectory_mixed_value::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff127198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48746_test.py::test_ticket48746_extensible_search_after_index::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff127198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48746_test.py::test_ticket48746_homeDirectory_indexed_ces::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff127198>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff9fa048>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfef905c0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfef62f98>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfefa6588>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfef38c50>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfef109b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff381320>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48844_test.py::test_ticket48844_bitwise_on::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff381320>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48844_test.py::test_ticket48844_bitwise_off::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff381320>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff15f0b8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfee0b588>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfeebcf28>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfee9e588>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48906_test.py::test_ticket48906_dblock_default::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfee9e588>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48906_test.py::test_ticket48906_dblock_ldap_update::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfee9e588>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48906_test.py::test_ticket48906_dblock_edit_update::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfee9e588>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket48906_test.py::test_ticket48906_dblock_robust::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfee9e588>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff3c0438>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:447:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff3a4080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfeed06a0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfed3c400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket48961_test.py::test_ticket48961_deleteall::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfed3c400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfeeec160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfeeec160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfeeec160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfeeec160>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:412:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff1eaa20>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:412:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfec63400>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfec5b908>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfec472b0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfed67a58>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket49072_test.py::test_ticket49072_filter::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfed67a58>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfed486a0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfeb2e278>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfec94048>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfeba9080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket49104_test.py::test_ticket49104::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfeba9080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket49121_test.py::test_ticket49121::setup 1.02
request = <SubRequest 'topology_m2' for <Function 'test_ticket49121'>>

@pytest.fixture(scope="module")
def topology_m2(request):
"""Create Replication Deployment with two masters"""

> topology = create_topology({ReplicaRole.MASTER: 2})

/usr/local/lib/python3.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff2a8470>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfeba0be0>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:429:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfec1c748>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfeb23048>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfeb199e8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00df9550>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff3c9c18>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket49273_test.py::test_49273_corrupt_dbversion::setup 1.03
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfedcd3c8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00e03ba8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfe93b278>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed00dcd048>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecff3e9080>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfe924dd8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:412:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfe9fa518>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfea02128>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfea7f710>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfedac4a8>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfebeb898>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists OK user dirsrv exists
Error tickets/ticket548_test.py::test_ticket548_test_global_policy::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfebeb898>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
Error tickets/ticket548_test.py::test_ticket548_test_subtree_policy::setup 0.00
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.6/site-packages/lib389/topologies.py:241:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:133: in create_topology
topo = _create_instances(topo_dict, suffix)
/usr/local/lib/python3.6/site-packages/lib389/topologies.py:89: in _create_instances
instance.create()
/usr/local/lib/python3.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fecfebeb898>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: 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.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0069ec18>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
----------------------------- Captured stdout call -----------------------------
OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stderr call -----------------------------
INFO:setup_ds_test:set SER_INST_SCRIPTS_ENABLED to true INFO:setup_ds_test:create_instance - Installs the instance and Sets the value of InstScriptsEnabled to true OR false. INFO:setup_ds_test:Set up the instance and set the config_attr ------------------------------ 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.03
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.6/site-packages/lib389/__init__.py:959: in create
self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <lib389.DirSrv object at 0x7fed0091f630>

def _createDirsrv(self):
"""Create a new instance of directory server

@param self - containing the set properties

SER_HOST (host)
SER_PORT (port)
SER_SECURE_PORT (sslport)
SER_ROOT_DN (binddn)
SER_ROOT_PW (bindpw)
SER_CREATION_SUFFIX (creation_suffix)
SER_USER_ID (userid)
SER_SERVERID_PROP (serverid)
SER_GROUP_ID (groupid)
SER_DEPLOYED_DIR (prefix)
SER_BACKUP_INST_DIR (backupdir)

@return None

@raise None

}
"""

DirSrvTools.lib389User(user=DEFAULT_USER)
prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)

if not os.path.isfile(prog):
self.log.error("Can't find file: %r, removing extension" % prog)
prog = prog[:-3]

# Create and extract a service keytab
args = {SER_HOST: self.host,
SER_PORT: self.port,
SER_SECURE_PORT: self.sslport,
SER_ROOT_DN: self.binddn,
SER_ROOT_PW: self.bindpw,
SER_CREATION_SUFFIX: self.creation_suffix,
SER_USER_ID: self.userid,
SER_SERVERID_PROP: self.serverid,
SER_GROUP_ID: self.groupid,
SER_BACKUP_INST_DIR: self.backupdir,
SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}

if self.inst_scripts is not None:
args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts

content = formatInfData(args)
result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.ds_paths.prefix)
if result != 0:
> raise Exception('Failed to run setup-ds.pl')
E Exception: Failed to run setup-ds.pl

/usr/local/lib/python3.6/site-packages/lib389/__init__.py:884: Exception
----------------------------- Captured stdout call -----------------------------
OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stderr call -----------------------------
INFO:setup_ds_test:set SER_INST_SCRIPTS_ENABLED to false INFO:setup_ds_test:create_instance - Installs the instance and Sets the value of InstScriptsEnabled to true OR false. INFO:setup_ds_test:Set up the instance and set the config_attr ------------------------------ 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
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 suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaPort-0-65535-9999999999999999999999999999999999999999999999999999999999999999999-invalid-389]::setup 0.00
('suites/replication/replica_config_test.py', 180, 'Skipped: Agreement validation current does not work.')
Skipped suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
('suites/replication/replica_config_test.py', 180, 'Skipped: Agreement validation current does not work.')
Skipped suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaBusyWaitTime--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
('suites/replication/replica_config_test.py', 180, 'Skipped: Agreement validation current does not work.')
Skipped suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaSessionPauseTime--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
('suites/replication/replica_config_test.py', 180, 'Skipped: Agreement validation current does not work.')
Skipped suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaFlowControlWindow--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
('suites/replication/replica_config_test.py', 180, 'Skipped: Agreement validation current does not work.')
Skipped suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaFlowControlPause--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
('suites/replication/replica_config_test.py', 180, 'Skipped: Agreement validation current does not work.')
Skipped suites/replication/replica_config_test.py::test_agmt_num_add[nsds5ReplicaProtocolTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
('suites/replication/replica_config_test.py', 180, 'Skipped: Agreement validation current does not work.')
Skipped suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaPort-0-65535-9999999999999999999999999999999999999999999999999999999999999999999-invalid-389]::setup 0.00
('suites/replication/replica_config_test.py', 219, 'Skipped: Agreement validation current does not work.')
Skipped suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
('suites/replication/replica_config_test.py', 219, 'Skipped: Agreement validation current does not work.')
Skipped suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaBusyWaitTime--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
('suites/replication/replica_config_test.py', 219, 'Skipped: Agreement validation current does not work.')
Skipped suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaSessionPauseTime--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
('suites/replication/replica_config_test.py', 219, 'Skipped: Agreement validation current does not work.')
Skipped suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaFlowControlWindow--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
('suites/replication/replica_config_test.py', 219, 'Skipped: Agreement validation current does not work.')
Skipped suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaFlowControlPause--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
('suites/replication/replica_config_test.py', 219, 'Skipped: Agreement validation current does not work.')
Skipped suites/replication/replica_config_test.py::test_agmt_num_modify[nsds5ReplicaProtocolTimeout--1-9223372036854775807-9999999999999999999999999999999999999999999999999999999999999999999-invalid-6]::setup 0.00
('suites/replication/replica_config_test.py', 219, 'Skipped: Agreement validation current does not work.')
Skipped suites/replication/ruvstore_test.py::test_memoryruv_sync_with_databaseruv::setup 0.00
('suites/replication/ruvstore_test.py', 115, 'Skipped: No method to safety access DB ruv currenty exists online.')
Skipped tickets/ticket47815_test.py::test_ticket47815::setup 0.00
('tickets/ticket47815_test.py', 23, 'Skipped: Not implemented, or invalid by nsMemberOf')