See
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
Changes:
[firstyear] Ticket 49387 - pbkdf2 settings were too aggressive
------------------------------------------
[...truncated 4024 lines...]
+ cp -pr README.devel
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ exit 0
Provides: 389-ds-base-libs = 1.4.0.0-20171003gitee25b88.fc25 389-ds-base-libs(x86-64) =
1.4.0.0-20171003gitee25b88.fc25 libldaputil.so.0()(64bit)
libns-dshttpd-1.4.0.0.20171003gitee25b88.so()(64bit) libnunc-stans.so.0()(64bit)
libsds.so.0()(64bit) libslapd.so.0()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <=
4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit)
libcom_err.so.2()(64bit) libevent-2.0.so.5()(64bit) libgcc_s.so.1()(64bit)
libk5crypto.so.3()(64bit) libkrb5.so.3()(64bit) libkrb5.so.3(krb5_3_MIT)(64bit)
liblber-2.4.so.2()(64bit) libldap_r-2.4.so.2()(64bit) libldaputil.so.0()(64bit)
libm.so.6()(64bit) libnspr4.so()(64bit) libnss3.so()(64bit) libnss3.so(NSS_3.10.2)(64bit)
libnss3.so(NSS_3.12)(64bit) libnss3.so(NSS_3.2)(64bit) libnss3.so(NSS_3.3)(64bit)
libnss3.so(NSS_3.4)(64bit) libnss3.so(NSS_3.6)(64bit) libnss3.so(NSS_3.9)(64bit)
libpcre.so.1()(64bit) libplc4.so()(64bit) libplds4.so()(64bit) libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit) libsasl2.so.3()(64bit) libsds.so.0()(64bit)
libslapd.so.0()(64bit) libssl3.so()(64bit) libssl3.so(NSS_3.12.6)(64bit)
libssl3.so(NSS_3.14)(64bit) libssl3.so(NSS_3.2)(64bit) libssl3.so(NSS_3.20)(64bit)
libssl3.so(NSS_3.4)(64bit) libstdc++.so.6()(64bit) libsvrcore.so.0()(64bit)
libsystemd.so.0()(64bit) libtcmalloc.so.4()(64bit) rtld(GNU_HASH)
Processing files: 389-ds-base-devel-1.4.0.0-20171003gitee25b88.fc25.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PICNLY
+ umask 022
+ cd
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cd 389-ds-base-1.4.0.0.20171003gitee25b88
+
DOCDIR=<http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/ws/source/389-ds-base/rpmbuild/BUILDROOT/389-ds-base-1.4.0.0-20171003gitee25b88.fc25.x86_64/usr/share/doc/389-ds-base-devel>
+ export DOCDIR
+ /usr/bin/mkdir -p
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cp -pr LICENSE
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cp -pr LICENSE.GPLv3+
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cp -pr LICENSE.openssl
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cp -pr README.devel
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ exit 0
Provides: 389-ds-base-devel = 1.4.0.0-20171003gitee25b88.fc25 389-ds-base-devel(x86-64) =
1.4.0.0-20171003gitee25b88.fc25 pkgconfig(dirsrv) = 1.4.0.0.20171003gitee25b88
pkgconfig(libsds) = 1.4.0.0.20171003gitee25b88 pkgconfig(nunc-stans) =
1.4.0.0.20171003gitee25b88
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <=
4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/pkg-config libldaputil.so.0()(64bit) libnunc-stans.so.0()(64bit)
libsds.so.0()(64bit) libslapd.so.0()(64bit) pkgconfig(nspr)
Processing files: 389-ds-base-snmp-1.4.0.0-20171003gitee25b88.fc25.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZPmito
+ umask 022
+ cd
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cd 389-ds-base-1.4.0.0.20171003gitee25b88
+
DOCDIR=<http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/ws/source/389-ds-base/rpmbuild/BUILDROOT/389-ds-base-1.4.0.0-20171003gitee25b88.fc25.x86_64/usr/share/doc/389-ds-base-snmp>
+ export DOCDIR
+ /usr/bin/mkdir -p
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cp -pr LICENSE
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cp -pr LICENSE.GPLv3+
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cp -pr LICENSE.openssl
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cp -pr README.devel
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ exit 0
Provides: 389-ds-base-snmp = 1.4.0.0-20171003gitee25b88.fc25 389-ds-base-snmp(x86-64) =
1.4.0.0-20171003gitee25b88.fc25 config(389-ds-base-snmp) =
1.4.0.0-20171003gitee25b88.fc25
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <=
4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /bin/sh
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit)
libcrypto.so.10()(64bit) libdl.so.2()(64bit) liblber-2.4.so.2()(64bit)
libldap-2.4.so.2()(64bit) libm.so.6()(64bit) libnetsnmp.so.30()(64bit)
libnetsnmpagent.so.30()(64bit) libnetsnmpmibs.so.30()(64bit) libnspr4.so()(64bit)
libnss3.so()(64bit) libplc4.so()(64bit) libplds4.so()(64bit) libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit) librpm.so.7()(64bit) librpmio.so.7()(64bit)
libsasl2.so.3()(64bit) libsensors.so.4()(64bit) libssl.so.10()(64bit) libssl3.so()(64bit)
libtcmalloc.so.4()(64bit) libwrap.so.0()(64bit) rtld(GNU_HASH)
Obsoletes: 389-ds-base <= 1.3.5.4
Processing files: python2-389-ds-base-tests-1.4.0.0-20171003gitee25b88.fc25.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.juUmkO
+ umask 022
+ cd
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cd 389-ds-base-1.4.0.0.20171003gitee25b88
+
DOCDIR=<http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/ws/source/389-ds-base/rpmbuild/BUILDROOT/389-ds-base-1.4.0.0-20171003gitee25b88.fc25.x86_64/usr/share/doc/python2-389-ds-base-tests>
+ export DOCDIR
+ /usr/bin/mkdir -p
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cp -pr LICENSE
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cp -pr LICENSE.GPLv3+
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ exit 0
Provides: python2-389-ds-base-tests = 1.4.0.0-20171003gitee25b88.fc25
python2.7dist(dirsrvtests) = 1.4.0.0 python2dist(dirsrvtests) = 1.4.0.0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <=
4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <=
4.0-1
Requires: python(abi) = 2.7
Processing files: python3-389-ds-base-tests-1.4.0.0-20171003gitee25b88.fc25.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.De8dO2
+ umask 022
+ cd
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cd 389-ds-base-1.4.0.0.20171003gitee25b88
+
DOCDIR=<http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/ws/source/389-ds-base/rpmbuild/BUILDROOT/389-ds-base-1.4.0.0-20171003gitee25b88.fc25.x86_64/usr/share/doc/python3-389-ds-base-tests>
+ export DOCDIR
+ /usr/bin/mkdir -p
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cp -pr LICENSE
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cp -pr LICENSE.GPLv3+
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ exit 0
Provides: python3-389-ds-base-tests = 1.4.0.0-20171003gitee25b88.fc25
python3.5dist(dirsrvtests) = 1.4.0.0 python3dist(dirsrvtests) = 1.4.0.0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <=
4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: python(abi) = 3.5
Processing files: 389-ds-base-debuginfo-1.4.0.0-20171003gitee25b88.fc25.x86_64
Provides: 389-ds-base-debuginfo = 1.4.0.0-20171003gitee25b88.fc25
389-ds-base-debuginfo(x86-64) = 1.4.0.0-20171003gitee25b88.fc25
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <=
4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
Wrote:
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
Wrote:
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
Wrote:
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
Wrote:
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
Wrote:
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
Wrote:
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
Wrote:
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
Wrote:
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rggZfr
+ umask 022
+ cd
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cd 389-ds-base-1.4.0.0.20171003gitee25b88
+ rm -rf
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ exit 0
cp
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
dist/rpms/
cp
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
dist/rpms/
cp
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
dist/srpms/
rm -rf
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
+ cd dist/rpms/
+ sudo rpm -iUvh 389-ds-base-1.4.0.0-20171003gitee25b88.fc25.x86_64.rpm
389-ds-base-libs-1.4.0.0-20171003gitee25b88.fc25.x86_64.rpm
389-ds-base-debuginfo-1.4.0.0-20171003gitee25b88.fc25.x86_64.rpm
389-ds-base-devel-1.4.0.0-20171003gitee25b88.fc25.x86_64.rpm
389-ds-base-snmp-1.4.0.0-20171003gitee25b88.fc25.x86_64.rpm
Preparing... ########################################
Updating / installing...
389-ds-base-libs-1.4.0.0-20171003gitee########################################
389-ds-base-1.4.0.0-20171003gitee25b88########################################
389-ds-base-snmp-1.4.0.0-20171003gitee########################################
389-ds-base-devel-1.4.0.0-20171003gite########################################
389-ds-base-debuginfo-1.4.0.0-20171003########################################
Cleaning up / removing...
389-ds-base-devel-1.3.5.19-1.fc25 ########################################
389-ds-base-1.3.5.19-1.fc25 ########################################
389-ds-base-libs-1.3.5.19-1.fc25 ########################################
+ '[' 0 -ne 0 ']'
+ sudo sysctl -w fs.suid_dumpable=1
fs.suid_dumpable = 1
+ sudo chmod 777 /etc/sysconfig/dirsrv.systemd
+ sudo echo LimitCORE=infinity
+ sudo systemctl daemon-reload
+ echo Run the lib389 tests...
Run the lib389 tests...
+ cd ../../dirsrvtests/tests/suites/basic
++ date
+ DATE='Tue Oct 3 03:13:04 CEST 2017'
++ sudo
PYTHONPATH=<http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/ws/source/lib389/>
py.test -v -x basic_test.py
+ RESULT='============================= test session starts
==============================
platform linux2 -- Python 2.7.13, pytest-2.9.2, py-1.4.34, pluggy-0.3.1 --
/usr/bin/python2
cachedir: .cache
rootdir:
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
inifile:
plugins: sourceorder-0.5, multihost-1.1
collecting ... collected 23 items
basic_test.py::test_basic_ops PASSED
basic_test.py::test_basic_import_export FAILEDInstance slapd-standalone1 removed.
=================================== FAILURES ===================================
___________________________ test_basic_import_export ___________________________
topology_st = <lib389.topologies.TopologyMain object at 0x7f9795af0a50>
import_example_ldif = None
def test_basic_import_export(topology_st, import_example_ldif):
"""Test online and offline LDIF import & export
:id: 3ceeea11-9235-4e20-b80e-7203b2c6e149
:setup: Standalone instance
:steps:
1. Generate a test ldif (50k entries)
2. Import test ldif file using Online import.
3. Import test ldif file using Offline import (ldif2db).
4. Export test ldif file using Online export.
5. Export test ldif file using Offline export (db2ldif).
6. Cleanup - Import the Example LDIF for the other tests in this suite
:expectedresults:
1. Test ldif file creation should PASS.
2. Online import should PASS.
3. Offline import should PASS.
4. Online export should PASS.
5. Offline export should PASS.
6. Cleanup should PASS.
"""
log.info('\''Running test_basic_import_export...'\'')
tmp_dir = '\''/tmp'\''
#
# Test online/offline LDIF imports
#
topology_st.standalone.start()
# Generate a test ldif (50k entries)
ldif_dir = topology_st.standalone.get_ldif_dir()
import_ldif = ldif_dir + '\''/basic_import.ldif'\''
dbgen(topology_st.standalone, 50000, import_ldif, DEFAULT_SUFFIX)
# Online
try:
topology_st.standalone.tasks.importLDIF(suffix=DEFAULT_SUFFIX,
input_file=import_ldif,
args={TASK_WAIT:
True})
basic_test.py:263:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../../../lib389/lib389/tasks.py:193: in importLDIF
(done, exitCode) = self.conn.tasks.checkTask(entry, True)
../../../../../lib389/lib389/tasks.py:126: in checkTask
entry = self.conn.getEntry(dn, attrlist=attrlist)
../../../../../lib389/lib389/__init__.py:1664: in getEntry
restype, obj = self.result(res)
../../../../../lib389/lib389/__init__.py:130: in inner
objtype, data = f(*args, **kwargs)
/usr/lib64/python2.7/site-packages/ldap/ldapobject.py:503: in result
resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout)
../../../../../lib389/lib389/__init__.py:162: in inner
return f(*args, **kwargs)
/usr/lib64/python2.7/site-packages/ldap/ldapobject.py:507: in result2
resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,timeout)
../../../../../lib389/lib389/__init__.py:162: in inner
return f(*args, **kwargs)
/usr/lib64/python2.7/site-packages/ldap/ldapobject.py:514: in result3
resp_ctrl_classes=resp_ctrl_classes
../../../../../lib389/lib389/__init__.py:162: in inner
return f(*args, **kwargs)
/usr/lib64/python2.7/site-packages/ldap/ldapobject.py:521: in result4
ldap_result =
self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
../../../../../lib389/lib389/__init__.py:162: in inner
return f(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <lib389.DirSrv object at 0x7f97934a7c10>
func = <built-in method result4 of LDAP object at 0x7f97934afe18>
args = (22, 1, -1, 0, 0, 0), kwargs = {}, diagnostic_message_success = None
e = SERVER_DOWN({'\''desc'\'': "Can'\''t contact
LDAP server"},)
def _ldap_call(self,func,*args,**kwargs):
"""
Wrapper method mainly for serializing calls into OpenLDAP libs
and trace logs
"""
self._ldap_object_lock.acquire()
if __debug__:
if self._trace_level>=1:
self._trace_file.write('\''*** %s %s - %s\n%s\n'\'' % (
repr(self),
self._uri,
'\''.'\''.join((self.__class__.__name__,func.__name__)),
pprint.pformat((args,kwargs))
))
if self._trace_level>=9:
traceback.print_stack(limit=self._trace_stack_limit,file=self._trace_file)
diagnostic_message_success = None
try:
try:
result = func(*args,**kwargs)
E SERVER_DOWN:
{'\''desc'\'': "Can'\''t contact LDAP
server"}
/usr/lib64/python2.7/site-packages/ldap/ldapobject.py:106: SERVER_DOWN
----------------------------- Captured stderr call -----------------------------
INFO:dirsrvtests.tests.suites.basic.basic_test:Running test_basic_import_export...
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
===================== 1 failed, 1 passed in 25.54 seconds ======================'
+ '[' 2 -ne 0 ']'
+ echo CI Tests 'FAILED!'
CI Tests FAILED!
+ echo ============================= test session starts ==============================
platform linux2 -- Python 2.7.13, pytest-2.9.2, py-1.4.34, pluggy-0.3.1 --
/usr/bin/python2 cachedir: .cache rootdir:
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
inifile: plugins: sourceorder-0.5, multihost-1.1 collecting ... collected 23 items
basic_test.py::test_basic_ops PASSED basic_test.py::test_basic_import_export
FAILEDInstance slapd-standalone1 removed. =================================== FAILURES
=================================== ___________________________ test_basic_import_export
___________________________ topology_st = '<lib389.topologies.TopologyMain'
object at '0x7f9795af0a50>' import_example_ldif = None def
'test_basic_import_export(topology_st,' 'import_example_ldif):'
'"""Test' online and offline LDIF import '&' export
:id: 3ceeea11-9235-4e20-b80e-7203b2c6e149 :setup: Standalone instance :steps: 1. Generate
a test ldif '(50k' 'entries)' 2. Import test ldif file using Online
import. 3. Import test ldif file using Offline import '(ldif2db).' 4. Export test
ldif file using Online export. 5. Export test ldif file using Offline export
'(db2ldif).' 6. Cleanup - Import the Example LDIF for the other tests in this
suite :expectedresults: 1. Test ldif file creation should PASS. 2. Online import should
PASS. 3. Offline import should PASS. 4. Online export should PASS. 5. Offline export
should PASS. 6. Cleanup should PASS. '"""'
'log.info('\''Running'
'test_basic_import_export...'\'')' tmp_dir =
''\''/tmp'\''' '#' '#' Test online/offline
LDIF imports '#' 'topology_st.standalone.start()' '#' Generate a
test ldif '(50k' 'entries)' ldif_dir =
'topology_st.standalone.get_ldif_dir()' import_ldif = ldif_dir +
''\''/basic_import.ldif'\'''
'dbgen(topology_st.standalone,' 50000, import_ldif, 'DEFAULT_SUFFIX)'
'#' Online try:
'topology_st.standalone.tasks.importLDIF(suffix=DEFAULT_SUFFIX,'
input_file=import_ldif, '>' 'args={TASK_WAIT:' 'True})'
basic_test.py:263: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ ../../../../../lib389/lib389/tasks.py:193: in importLDIF '(done,'
'exitCode)' = 'self.conn.tasks.checkTask(entry,' 'True)'
../../../../../lib389/lib389/tasks.py:126: in checkTask entry =
'self.conn.getEntry(dn,' 'attrlist=attrlist)'
../../../../../lib389/lib389/__init__.py:1664: in getEntry restype, obj =
'self.result(res)' ../../../../../lib389/lib389/__init__.py:130: in inner objtype,
data = 'f(*args,' '**kwargs)'
/usr/lib64/python2.7/site-packages/ldap/ldapobject.py:503: in result resp_type, resp_data,
resp_msgid = 'self.result2(msgid,all,timeout)'
../../../../../lib389/lib389/__init__.py:162: in inner return 'f(*args,'
'**kwargs)' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:507: in result2
resp_type, resp_data, resp_msgid, resp_ctrls = 'self.result3(msgid,all,timeout)'
../../../../../lib389/lib389/__init__.py:162: in inner return 'f(*args,'
'**kwargs)' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:514: in result3
resp_ctrl_classes=resp_ctrl_classes ../../../../../lib389/lib389/__init__.py:162: in inner
return 'f(*args,' '**kwargs)'
/usr/lib64/python2.7/site-packages/ldap/ldapobject.py:521: in result4 ldap_result =
'self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)'
../../../../../lib389/lib389/__init__.py:162: in inner return 'f(*args,'
'**kwargs)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ self = '<lib389.DirSrv' object at '0x7f97934a7c10>' func =
'<built-in' method result4 of LDAP object at '0x7f97934afe18>' args
= '(22,' 1, -1, 0, 0, '0),' kwargs = '{},'
diagnostic_message_success = None e =
'SERVER_DOWN({'\''desc'\'':'
'"Can'\''t' contact LDAP 'server"},)' def
'_ldap_call(self,func,*args,**kwargs):' '"""' Wrapper
method mainly for serializing calls into OpenLDAP libs and trace logs
'"""' 'self._ldap_object_lock.acquire()' if __debug__: if
'self._trace_level>=1:' 'self._trace_file.write('\''***' %s
%s - '%s\n%s\n'\''' % '(' 'repr(self),' self._uri,
''\''.'\''.join((self.__class__.__name__,func.__name__)),'
'pprint.pformat((args,kwargs))' '))' if 'self._trace_level>=9:'
'traceback.print_stack(limit=self._trace_stack_limit,file=self._trace_file)'
diagnostic_message_success = None try: try: '>' result =
'func(*args,**kwargs)' E SERVER_DOWN:
'{'\''desc'\'':' '"Can'\''t'
contact LDAP 'server"}'
/usr/lib64/python2.7/site-packages/ldap/ldapobject.py:106: SERVER_DOWN
----------------------------- Captured stderr call -----------------------------
INFO:dirsrvtests.tests.suites.basic.basic_test:Running test_basic_import_export...
'!!!!!!!!!!!!!!!!!!!!' Interrupted: stopping after 1 failures
'!!!!!!!!!!!!!!!!!!!!' ===================== 1 failed, 1 passed in 25.54 seconds
======================
============================= test session starts ============================== platform
linux2 -- Python 2.7.13, pytest-2.9.2, py-1.4.34, pluggy-0.3.1 -- /usr/bin/python2
cachedir: .cache rootdir:
<
http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/COMMIT_SANITY_TEST/...
inifile: plugins: sourceorder-0.5, multihost-1.1 collecting ... collected 23 items
basic_test.py::test_basic_ops PASSED basic_test.py::test_basic_import_export
FAILEDInstance slapd-standalone1 removed. =================================== FAILURES
=================================== ___________________________ test_basic_import_export
___________________________ topology_st = <lib389.topologies.TopologyMain object at
0x7f9795af0a50> import_example_ldif = None def test_basic_import_export(topology_st,
import_example_ldif): """Test online and offline LDIF import & export
:id: 3ceeea11-9235-4e20-b80e-7203b2c6e149 :setup: Standalone instance :steps: 1. Generate
a test ldif (50k entries) 2. Import test ldif file using Online import. 3. Import test
ldif file using Offline import (ldif2db). 4. Export test ldif file using Online export. 5.
Export test ldif file using Offline export (db2ldif). 6. Cleanup - Import the Example LDIF
for the other tests in this suite :expectedresults: 1. Test ldif file creation should
PASS. 2. Online import should PASS. 3. Offline import should PASS. 4. Online export should
PASS. 5. Offline export should PASS. 6. Cleanup should PASS. """
log.info('Running test_basic_import_export...') tmp_dir = '/tmp' # # Test
online/offline LDIF imports # topology_st.standalone.start() # Generate a test ldif (50k
entries) ldif_dir = topology_st.standalone.get_ldif_dir() import_ldif = ldif_dir +
'/basic_import.ldif' dbgen(topology_st.standalone, 50000, import_ldif,
DEFAULT_SUFFIX) # Online try:
topology_st.standalone.tasks.importLDIF(suffix=DEFAULT_SUFFIX, input_file=import_ldif,
> args={TASK_WAIT: True}) basic_test.py:263: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../../lib389/lib389/tasks.py:193: in
importLDIF (done, exitCode) = self.conn.tasks.checkTask(entry, True)
../../../../../lib389/lib389/tasks.py:126: in checkTask entry = self.conn.getEntry(dn,
attrlist=attrlist) ../../../../../lib389/lib389/__init__.py:1664: in getEntry restype, obj
= self.result(res) ../../../../../lib389/lib389/__init__.py:130: in inner objtype, data =
f(*args, **kwargs) /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:503: in result
resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout)
../../../../../lib389/lib389/__init__.py:162: in inner return f(*args, **kwargs)
/usr/lib64/python2.7/site-packages/ldap/ldapobject.py:507: in result2 resp_type,
resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,timeout)
../../../../../lib389/lib389/__init__.py:162: in inner return f(*args, **kwargs)
/usr/lib64/python2.7/site-packages/ldap/ldapobject.py:514: in result3
resp_ctrl_classes=resp_ctrl_classes ../../../../../lib389/lib389/__init__.py:162: in inner
return f(*args, **kwargs) /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:521: in
result4 ldap_result =
self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
../../../../../lib389/lib389/__init__.py:162: in inner return f(*args, **kwargs) _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =
<lib389.DirSrv object at 0x7f97934a7c10> func = <built-in method result4 of LDAP
object at 0x7f97934afe18> args = (22, 1, -1, 0, 0, 0), kwargs = {},
diagnostic_message_success = None e = SERVER_DOWN({'desc': "Can't contact
LDAP server"},) def _ldap_call(self,func,*args,**kwargs): """ Wrapper
method mainly for serializing calls into OpenLDAP libs and trace logs """
self._ldap_object_lock.acquire() if __debug__: if self._trace_level>=1:
self._trace_file.write('*** %s %s - %s\n%s\n' % ( repr(self), self._uri,
'.'.join((self.__class__.__name__,func.__name__)), pprint.pformat((args,kwargs))
)) if self._trace_level>=9:
traceback.print_stack(limit=self._trace_stack_limit,file=self._trace_file)
diagnostic_message_success = None try: try: > result = func(*args,**kwargs) E
SERVER_DOWN: {'desc': "Can't contact LDAP server"}
/usr/lib64/python2.7/site-packages/ldap/ldapobject.py:106: SERVER_DOWN
----------------------------- Captured stderr call -----------------------------
INFO:dirsrvtests.tests.suites.basic.basic_test:Running test_basic_import_export...
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
===================== 1 failed, 1 passed in 25.54 seconds ======================
+ MSG=FAILED
+ RC=1
+ '[' 1 -ne 0 ']'
+ sudo /usr/sbin/sendmail mreynolds(a)redhat.com
+ exit 1
Build step 'Execute shell' marked build as failure