Plan for merge of lib389 and svrcore
by William Brown
Hi all,
As you may know, we have planned to merge the lib389, svrcore codebases
into the 389-ds-base source tree.
The current status of the plan is:
* merge all remaining patches on lib389
* bring in svrcore, and have rpm-obsoletes from svrcore to a
389-ds-svrcore package
* bring in lib389 source
* clone all open lib389 tickets to 389-ds-base
* archive both projects,
We are on track to do this likely in the next 2 months, so please pay
attention to when this happens. The goal is to make builds, release and
distribution simpler. It's also a major step forward to using our lib389
based CLI tools by default for the server,
Thanks,
--
Sincerely,
William Brown
Software Engineer
Red Hat, Australia/Brisbane
5 years, 11 months
Build failed in Jenkins: NIGHTLY #97
by mareynol@redhat.com
See <http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/NIGHTLY/97/display/...>
------------------------------------------
[...truncated 7547 lines...]
except ldap.LDAPError as e:
log.error('\''Failed to add COS template for branch6: error '\'' + e.message['\''desc'\''])
assert False
# Add the COS definition
try:
topology_st.standalone.add_s(Entry((BRANCH6_COS_DEF, {
'\''objectclass'\'': '\''top ldapsubentry cosSuperDefinition cosPointerDefinition'\''.split(),
'\''cn'\'': '\''cn=nsPwPolicyEntry,ou=lower,ou=lower,ou=people,dc=example,dc=com'\'',
'\''costemplatedn'\'': BRANCH6_COS_TMPL,
'\''cosAttribute'\'': '\''pwdpolicysubentry default operational-default'\''
})))
except ldap.LDAPError as e:
log.error('\''Failed to add COS def for branch6: error '\'' + e.message['\''desc'\''])
assert False
time.sleep(2)
#
# Now check that each user has its expected passwordPolicy subentry
#
try:
entries = topology_st.standalone.search_s(USER1_DN, ldap.SCOPE_BASE, '\''(objectclass=top)'\'', ['\''pwdpolicysubentry'\''])
if not entries[0].hasValue('\''pwdpolicysubentry'\'', BRANCH1_PWP):
log.fatal('\''User %s does not have expected pwdpolicysubentry!'\'')
assert False
except ldap.LDAPError as e:
log.fatal('\''Unable to search for entry %s: error %s'\'' % (USER1_DN, e.message['\''desc'\'']))
> assert False
E assert False
tickets/ticket47980_test.py:541: AssertionError
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists
OK user dirsrv exists
---------------------------- Captured stderr setup -----------------------------
INFO:lib389.topologies:Instance with parameters {'\''ldap-port'\'': 38901, '\''suffix'\'': '\''dc=example,dc=com'\'', '\''krb5_realm'\'': None, '\''deployed-dir'\'': '\''/usr'\'', '\''inst-backupdir'\'': '\''/tmp'\'', '\''hostname'\'': '\''localhost'\'', '\''server-id'\'': '\''standalone1'\'', '\''root-pw'\'': '\''password'\'', '\''root-dn'\'': '\''cn=Directory Manager'\'', '\''group-id'\'': None, '\''InstScriptsEnabled'\'': None, '\''user-id'\'': None, '\''ldap-secureport'\'': None} was created.
----------------------------- Captured stderr call -----------------------------
INFO:dirsrvtests.tests.tickets.ticket47980_test:Testing Ticket 47980 - Testing multiple nested COS pointer definitions are processed correctly
CRITICAL:dirsrvtests.tests.tickets.ticket47980_test:Unable to search for entry uid=user1,ou=level1,dc=example,dc=com: error Operations error
_______________________________ test_ticket48944 _______________________________
topo = <lib389.topologies.TopologyMain object at 0x7f02fe830990>
def test_ticket48944(topo):
"""On a read only replica invalid state info can accumulate
:ID: 833be131-f3bf-493e-97c6-3121438a07b1
:feature: Account Policy Plugin
:setup: Two master and two consumer setup
:steps: 1. Configure Account policy plugin with alwaysrecordlogin set to yes
2. Check if entries are synced across masters and consumers
3. Stop all masters and consumers
4. Start master1 and bind as user1 to create lastLoginTime attribute
5. Start master2 and wait for the sync of lastLoginTime attribute
6. Stop master1 and bind as user1 from master2
7. Check if lastLoginTime attribute is updated and greater than master1
8. Stop master2, start consumer1, consumer2 and then master2
9. Check if lastLoginTime attribute is updated on both consumers
10. Bind as user1 to both consumers and check the value is updated
11. Check if lastLoginTime attribute is not updated from consumers
12. Start master1 and make sure the lastLoginTime attribute is not updated on consumers
13. Bind as user1 from master1 and check if all masters and consumers have the same value
14. Check error logs of consumers for "deletedattribute;deleted" message
:expectedresults: No accumulation of replica invalid state info on consumers
"""
log.info("Ticket 48944 - On a read only replica invalid state info can accumulate")
user_name = '\''newbzusr'\''
tuserdn = '\''uid={}1,ou=people,{}'\''.format(user_name, SUFFIX)
inst_list = ['\''master1'\'', '\''master2'\'', '\''consumer1'\'', '\''consumer2'\'']
for inst_name in inst_list:
_enable_plugin(topo, inst_name)
log.info('\''Sleep for 10secs for the server to come up'\'')
time.sleep(10)
log.info('\''Add few entries to server and check if entries are replicated'\'')
for nos in range(10):
userdn = '\''uid={}{},ou=people,{}'\''.format(user_name, nos, SUFFIX)
try:
topo.ms['\''master1'\''].add_s(Entry((userdn, {
'\''objectclass'\'': '\''top person'\''.split(),
'\''objectclass'\'': '\''inetorgperson'\'',
'\''cn'\'': user_name,
'\''sn'\'': user_name,
'\''userpassword'\'': USER_PW,
'\''mail'\'': '\''{}(a)redhat.com'\''.format(user_name)})))
except ldap.LDAPError as e:
log.error('\''Failed to add {} user: error {}'\''.format(userdn, e.message['\''desc'\'']))
raise e
log.info('\''Checking if entries are synced across masters and consumers'\'')
entries_m1 = topo.ms['\''master1'\''].search_s(SUFFIX, ldap.SCOPE_SUBTREE, '\''uid={}*'\''.format(user_name), ['\''uid=*'\''])
exp_entries = str(entries_m1).count('\''dn: uid={}*'\''.format(user_name))
entries_m2 = topo.ms['\''master2'\''].search_s(SUFFIX, ldap.SCOPE_SUBTREE, '\''uid={}*'\''.format(user_name), ['\''uid=*'\''])
act_entries = str(entries_m2).count('\''dn: uid={}*'\''.format(user_name))
assert act_entries == exp_entries
inst_list = ['\''consumer1'\'', '\''consumer2'\'']
for inst in inst_list:
entries_other = topo.cs[inst].search_s(SUFFIX, ldap.SCOPE_SUBTREE, '\''uid={}*'\''.format(user_name), ['\''uid=*'\''])
act_entries = str(entries_other).count('\''dn: uid={}*'\''.format(user_name))
assert act_entries == exp_entries
topo.ms['\''master2'\''].stop(timeout=10)
topo.ms['\''master1'\''].stop(timeout=10)
topo.cs['\''consumer1'\''].stop(timeout=10)
topo.cs['\''consumer2'\''].stop(timeout=10)
topo.ms['\''master1'\''].start(timeout=10)
lastLogin_m1_1 = _last_login_time(topo, tuserdn, '\''master1'\'', '\''bind_n_check'\'')
log.info('\''Start master2 to sync lastLoginTime attribute from master1'\'')
topo.ms['\''master2'\''].start(timeout=10)
time.sleep(5)
log.info('\''Stop master1'\'')
topo.ms['\''master1'\''].stop(timeout=10)
log.info('\''Bind as user1 to master2 and check if lastLoginTime attribute is greater than master1'\'')
> lastLogin_m2_1 = _last_login_time(topo, tuserdn, '\''master2'\'', '\''bind_n_check'\'')
<http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/NIGHTLY/ws/source/3...>:156:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
<http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/NIGHTLY/ws/source/3...>:34: in _last_login_time
topo.ms[inst_name].simple_bind_s(userdn, USER_PW)
<http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/NIGHTLY/ws/source/l...>:162: in inner
return f(*args, **kwargs)
/usr/lib64/python2.7/site-packages/ldap/ldapobject.py:223: in simple_bind_s
resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
<http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/NIGHTLY/ws/source/l...>: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
<http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/NIGHTLY/ws/source/l...>: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)
<http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/NIGHTLY/ws/source/l...>:162: in inner
return f(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <lib389.DirSrv object at 0x7f02fe84bb10>
func = <built-in method result4 of LDAP object at 0x7f0308a4bdf0>
args = (2, 1, -1, 0, 0, 0), kwargs = {}, diagnostic_message_success = None
e = INVALID_CREDENTIALS({'\''desc'\'': '\''Invalid credentials'\''},)
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 INVALID_CREDENTIALS: {'\''desc'\'': '\''Invalid credentials'\''}
/usr/lib64/python2.7/site-packages/ldap/ldapobject.py:106: INVALID_CREDENTIALS
---------------------------- Captured stdout setup -----------------------------
OK group dirsrv exists
OK user dirsrv exists
OK group dirsrv exists
OK user dirsrv exists
OK group dirsrv exists
OK user dirsrv exists
OK group dirsrv exists
OK user dirsrv exists
('\''Update succeeded: status '\'', '\''0 Total update succeeded'\'')
('\''Update succeeded: status '\'', '\''0 Total update succeeded'\'')
('\''Update succeeded: status '\'', '\''0 Total update succeeded'\'')
---------------------------- Captured stderr setup -----------------------------
INFO:lib389.topologies:Instance with parameters {'\''ldap-port'\'': 39201, '\''suffix'\'': '\''dc=example,dc=com'\'', '\''krb5_realm'\'': None, '\''deployed-dir'\'': '\''/usr'\'', '\''inst-backupdir'\'': '\''/tmp'\'', '\''hostname'\'': '\''localhost'\'', '\''server-id'\'': '\''consumer1'\'', '\''root-pw'\'': '\''password'\'', '\''root-dn'\'': '\''cn=Directory Manager'\'', '\''group-id'\'': None, '\''InstScriptsEnabled'\'': None, '\''user-id'\'': None, '\''ldap-secureport'\'': None} was created.
INFO:lib389:Found entry dn: cn=replrepl,cn=config
cn: bind dn pseudo user
cn: replrepl
objectClass: top
objectClass: person
sn: bind dn pseudo user
userPassword: {SSHA512}Lzrv2s3GvWhLHrkNeyyarm1zjwNa/WNGWn/5aqSYcJhMeWVl487Kj0fFlIxDDt/n0aUr2kZDW9yujkFaxj/rEC/4+44Erhud
INFO:lib389.topologies:Instance with parameters {'\''ldap-port'\'': 39202, '\''suffix'\'': '\''dc=example,dc=com'\'', '\''krb5_realm'\'': None, '\''deployed-dir'\'': '\''/usr'\'', '\''inst-backupdir'\'': '\''/tmp'\'', '\''hostname'\'': '\''localhost'\'', '\''server-id'\'': '\''consumer2'\'', '\''root-pw'\'': '\''password'\'', '\''root-dn'\'': '\''cn=Directory Manager'\'', '\''group-id'\'': None, '\''InstScriptsEnabled'\'': None, '\''user-id'\'': None, '\''ldap-secureport'\'': None} was created.
INFO:lib389:Found entry dn: cn=replrepl,cn=config
cn: bind dn pseudo user
cn: replrepl
objectClass: top
objectClass: person
sn: bind dn pseudo user
userPassword: {SSHA512}DbYqdGR4dOu6U3GYfmoY0lP/i3lYQ1EQR7ZRh35Tyn8A1/krqVlLTdqEfkOrZyn9Ej3ciEJATtcIwh5VFXSVEPBE4uglIotn
INFO:lib389.topologies:Instance with parameters {'\''ldap-port'\'': 39001, '\''suffix'\'': '\''dc=example,dc=com'\'', '\''krb5_realm'\'': None, '\''deployed-dir'\'': '\''/usr'\'', '\''inst-backupdir'\'': '\''/tmp'\'', '\''hostname'\'': '\''localhost'\'', '\''server-id'\'': '\''master1'\'', '\''root-pw'\'': '\''password'\'', '\''root-dn'\'': '\''cn=Directory Manager'\'', '\''group-id'\'': None, '\''InstScriptsEnabled'\'': None, '\''user-id'\'': None, '\''ldap-secureport'\'': None} was created.
INFO:lib389:Found entry dn: cn=replrepl,cn=config
cn: bind dn pseudo user
cn: replrepl
objectClass: top
objectClass: person
sn: bind dn pseudo user
userPassword: {SSHA512}GpIoboj/nc2v6fop0sDZHT7iS0xh/PL3Og0ixJK7X4ovKL8+o5v5/82uNabPmmK0zlspd2xDcKx6wYF1bpTUjgdQ5qyv401i
INFO:lib389.topologies:Instance with parameters {'\''ldap-port'\'': 39002, '\''suffix'\'': '\''dc=example,dc=com'\'', '\''krb5_realm'\'': None, '\''deployed-dir'\'': '\''/usr'\'', '\''inst-backupdir'\'': '\''/tmp'\'', '\''hostname'\'': '\''localhost'\'', '\''server-id'\'': '\''master2'\'', '\''root-pw'\'': '\''password'\'', '\''root-dn'\'': '\''cn=Directory Manager'\'', '\''group-id'\'': None, '\''InstScriptsEnabled'\'': None, '\''user-id'\'': None, '\''ldap-secureport'\'': None} was created.
INFO:lib389:Found entry dn: cn=replrepl,cn=config
cn: bind dn pseudo user
cn: replrepl
objectClass: top
objectClass: person
sn: bind dn pseudo user
userPassword: {SSHA512}LQ7LKt5ay++EQ6tUATRfR+gJBKTdR0pbF8Y8Cy0b/PpQBid05q1H+LZiaGHxQDuAAgPHJRTEhWZPBPIfmn3Kr0jEppg1sjA9
INFO:Replica:Starting async replication cn=meTo_localhost:39001,cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config
INFO:Replica:Starting async replication cn=meTo_localhost:39201,cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config
INFO:Replica:Starting async replication cn=meTo_localhost:39202,cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config
----------------------------- Captured stderr call -----------------------------
INFO:dirsrvtests.tests.tickets.ticket48944_test:Ticket 48944 - On a read only replica invalid state info can accumulate
INFO:dirsrvtests.tests.tickets.ticket48944_test:Enable account policy plugin and configure required attributes
INFO:dirsrvtests.tests.tickets.ticket48944_test:Configure Account policy plugin on master1
INFO:dirsrvtests.tests.tickets.ticket48944_test:Enable account policy plugin and configure required attributes
INFO:dirsrvtests.tests.tickets.ticket48944_test:Configure Account policy plugin on master2
INFO:dirsrvtests.tests.tickets.ticket48944_test:Enable account policy plugin and configure required attributes
INFO:dirsrvtests.tests.tickets.ticket48944_test:Configure Account policy plugin on consumer1
INFO:dirsrvtests.tests.tickets.ticket48944_test:Enable account policy plugin and configure required attributes
INFO:dirsrvtests.tests.tickets.ticket48944_test:Configure Account policy plugin on consumer2
INFO:dirsrvtests.tests.tickets.ticket48944_test:Sleep for 10secs for the server to come up
INFO:dirsrvtests.tests.tickets.ticket48944_test:Add few entries to server and check if entries are replicated
INFO:dirsrvtests.tests.tickets.ticket48944_test:Checking if entries are synced across masters and consumers
INFO:dirsrvtests.tests.tickets.ticket48944_test:Start master2 to sync lastLoginTime attribute from master1
INFO:dirsrvtests.tests.tickets.ticket48944_test:Stop master1
INFO:dirsrvtests.tests.tickets.ticket48944_test:Bind as user1 to master2 and check if lastLoginTime attribute is greater than master1
======== 16 failed, 566 passed, 1 skipped, 38 error in 8897.36 seconds ========='
+ '[' 1 -ne 0 ']'
+ echo CI Tests 'FAILED!'
CI Tests FAILED!
+ MSG=FAILED
+ RC=1
+ sudo /usr/sbin/sendmail mreynolds(a)redhat.com firstyear(a)redhat.com
+ sudo rm -rf /var/tmp/slapd.vg.106801 /var/tmp/slapd.vg.63085 /var/tmp/slapd.vg.89976 /var/tmp/slapd.vg.90088
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 11 months
Build failed in Jenkins: COMMIT_SANITY_TEST #54
by mareynol@redhat.com
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/...>
+ 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/...>
+ 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/...>
+ 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/...>
+ 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/...> 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
5 years, 11 months
[Fwd: [389-users] Please review: lib389 referral support]
by William Brown
-------- Forwarded Message --------
From: William Brown <wibrown(a)redhat.com>
Reply-to: "General discussion list for the 389 Directory server
project." <389-users(a)lists.fedoraproject.org>
To: 389-users(a)lists.fedoraproject.org
<389-users(a)lists.fedoraproject.org>
Subject: [389-users] Please review: lib389 referral support
Date: Tue, 03 Oct 2017 12:59:07 +1000
https://pagure.io/lib389/issue/102
https://pagure.io/lib389/issue/raw/files/7cf92e2939686c1ecf757c1df40a2aa5...
--
Sincerely,
William Brown
Software Engineer
Red Hat, Australia/Brisbane
_______________________________________________
389-users mailing list -- 389-users(a)lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave(a)lists.fedoraproject.org
--
Sincerely,
William Brown
Software Engineer
Red Hat, Australia/Brisbane
5 years, 11 months