[389-devel] Build failed in Jenkins: NIGHTLY #114

2017-10-19 Thread mareynol
See 


--
[...truncated 4699 lines...]
'\''objectclass'\'': '\''top extensibleObject'\''.split(),
'\''ou'\'': '\''level4'\''
})))
except ldap.ALREADY_EXISTS:
pass
except ldap.LDAPError as e:
log.error('\''Failed to add ou=people: error '\'' + 
e.message['\''desc'\''])
assert False

#
# Add a user to the branch
#
try:
topology_st.standalone.add_s(Entry((USER_DN, {
'\''objectclass'\'': '\''top extensibleObject'\''.split(),
'\''uid'\'': '\''user1'\''
})))
except ldap.LDAPError as e:
log.error('\''Failed to add user1: error '\'' + 
e.message['\''desc'\''])
assert False

#
# Enable password policy and add the subtree policy
#
try:
topology_st.standalone.modify_s(DN_CONFIG, [(ldap.MOD_REPLACE, 
'\''nsslapd-pwpolicy-local'\'', '\''on'\'')])
except ldap.LDAPError as e:
log.error('\''Failed to set pwpolicy-local: error '\'' + 
e.message['\''desc'\''])
assert False

addSubtreePwPolicy(topology_st.standalone)

#
# Now check the user has its expected passwordPolicy subentry
#
try:
entries = topology_st.standalone.search_s(USER_DN,
  ldap.SCOPE_BASE,
  '\''(objectclass=top)'\'',
  
['\''pwdpolicysubentry'\'', '\''dn'\''])
if not entries[0].hasAttr('\''pwdpolicysubentry'\''):
log.fatal('\''User does not have expected 
pwdpolicysubentry!'\'')
>   assert False
E   assert False

tickets/ticket47981_test.py:190: 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.ticket47981_test:Testing Ticket 47981 - Test 
that COS def changes are correctly reflected in affected users
INFO:dirsrvtests.tests.tickets.ticket47981_test:Adding second suffix that will 
not contain any COS entries...

INFO:lib389:List backend with suffix=o=netscaperoot
INFO:lib389:Creating a local backend
INFO:lib389:List backend cn=netscaperoot,cn=ldbm database,cn=plugins,cn=config
INFO:lib389:Found entry dn: cn=netscaperoot,cn=ldbm 
database,cn=plugins,cn=config
cn: netscaperoot
nsslapd-cachememsize: 512000
nsslapd-cachesize: -1
nsslapd-directory: /var/lib/dirsrv/slapd-standalone1/db/netscaperoot
nsslapd-dncachememsize: 16777216
nsslapd-readonly: off
nsslapd-require-index: off
nsslapd-suffix: o=netscaperoot
objectClass: top
objectClass: extensibleObject
objectClass: nsBackendInstance


INFO:lib389:Entry dn: cn="o=netscaperoot",cn=mapping tree,cn=config
cn: o=netscaperoot
nsslapd-backend: netscaperoot
nsslapd-state: backend
objectclass: top
objectclass: extensibleObject
objectclass: nsMappingTree


INFO:lib389:Found entry dn: cn=o\3Dnetscaperoot,cn=mapping tree,cn=config
cn: o=netscaperoot
nsslapd-backend: netscaperoot
nsslapd-state: backend
objectClass: top
objectClass: extensibleObject
objectClass: nsMappingTree


INFO:dirsrvtests.tests.tickets.ticket47981_test:Add our test entries to the 
default suffix, and proceed with the test...
CRITICAL:dirsrvtests.tests.tickets.ticket47981_test:User does not have expected 
pwdpolicysubentry!
__ test_basic_feature __

topology_st = 

def test_basic_feature(topology_st):
"""Check basic SASL functionality for PLAIN mechanism

:id: 75ddc6fa-aa5a-4025-9c71-1abad20c91fc
:setup: Standalone instance
:steps:
1. Stop the instance
2. Clean up confdir from previous cert and key files
3. Create RSA files: CA, key and cert
4. Start the instance
5. Create RSA entry
6. Set nsslapd-secureport to 636 and nsslapd-security to '\''on'\''
7. Restart the instance
8. Create a user
9. 

[389-devel] please review: Ticket 49408 - possible to change Replica ID to a invalid value

2017-10-19 Thread Mark Reynolds
https://pagure.io/389-ds-base/issue/49408

https://pagure.io/389-ds-base/issue/raw/files/19e8a656064e14c0eeff89c3adcbe8b71aaa70aec3a339792b71be3004c7ada5-0001-Ticket-49408-Server-allows-to-set-any-nsds5replicaid.patch

___
389-devel mailing list -- 389-devel@lists.fedoraproject.org
To unsubscribe send an email to 389-devel-le...@lists.fedoraproject.org


[389-devel] please review: Ticket 49374 - server fails to start when log maxdisksize & maxlogsize are read "out of order" from the dse.ldif

2017-10-19 Thread Mark Reynolds
https://pagure.io/389-ds-base/issue/49374

https://pagure.io/389-ds-base/issue/raw/files/98d8adb2064c95cf41b1d6b9cad78430d75d154fc224cb64e3fc92a837f26d60-0001-Ticket-49374-server-fails-to-start-because-maxdisksi.patch

___
389-devel mailing list -- 389-devel@lists.fedoraproject.org
To unsubscribe send an email to 389-devel-le...@lists.fedoraproject.org


[389-devel] Please review 49386: Memberof should be ignore MODRDN when the pre/post entry are identical

2017-10-19 Thread thierry bordaz

https://pagure.io/389-ds-base/issue/49386

https://pagure.io/389-ds-base/issue/raw/files/05e1c4e50c1a24b304c37456a8e937475796e44cc16462c708d9042808a32301-0001-Ticket-49386-Memberof-should-be-ignore-MODRDN-when-t.patch 
___

389-devel mailing list -- 389-devel@lists.fedoraproject.org
To unsubscribe send an email to 389-devel-le...@lists.fedoraproject.org