report.html

Report generated on 16-Jan-2019 at 17:29:15 by pytest-html v1.20.0

Environment

Packages {'pytest': '3.6.4', 'py': '1.5.4', 'pluggy': '0.6.0'}
Platform Linux-4.18.16-300.fc29.x86_64-x86_64-with-fedora-29-Twenty_Nine
Plugins {'metadata': '1.8.0', 'html': '1.20.0'}
Python 3.7.0

Summary

0 tests ran in 1.51 seconds.

0 passed, 0 skipped, 0 failed, 1 errors, 0 expected failures, 0 unexpected passes

Results

Result Test Duration
Error dirsrvtests/tests/suites/basic/basic_test.py::test_basic_ops::setup 1.14
request = <SubRequest 'topology_st' for <Function 'test_basic_ops'>>

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

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

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

self = <lib389.DirSrv object at 0x7f710f0a7400>

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

@param self - containing the set properties

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

@return None

@raise None

}
"""

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

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

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

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

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

/usr/local/lib/python3.7/site-packages/lib389/__init__.py:894: Exception