[389-devel] Please review: pblock analytics

2017-02-06 Thread William Brown


https://fedorahosted.org/389/ticket/49116

https://fedorahosted.org/389/attachment/ticket/49116/0001-Ticket-49116-Pblock-usage-analytics.patch

-- 
Sincerely,

William Brown
Software Engineer
Red Hat, Brisbane


signature.asc
Description: This is a digitally signed message part
___
389-devel mailing list -- 389-devel@lists.fedoraproject.org
To unsubscribe send an email to 389-devel-le...@lists.fedoraproject.org


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

2017-02-06 Thread Jenkins
See 


--
[...truncated 8434 lines...]
INFO:lib389:List backend with suffix=dc=example,dc=com
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}WIkJxooE0yhl3JTeumYAtTdccXlO1pkM2Yy8LujvIQoL+3COs87BSW34XBn66qJxnoGCxRVE6/0GP7Xh/fzxTtEGxUnpvMoL


INFO:lib389:Starting total init 
cn=to_replica,cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config
INFO:test_dynamic_plugins:
INFO:test_dynamic_plugins:Testing Dynamic Plugins Functionality (replication 
enabled)...
INFO:test_dynamic_plugins:

INFO:plugin_tests:Testing Account Policy Plugin...
INFO:plugin_tests:test_acctpolicy: PASS

INFO:plugin_tests:Testing attribute uniqueness...
INFO:plugin_tests:test_attruniq: PASS

INFO:plugin_tests:Testing Auto Membership Plugin...
INFO:plugin_tests:test_automember: PASS

INFO:plugin_tests:Testing Distributed Numeric Assignment Plugin...
INFO:plugin_tests:test_dna: PASS

INFO:plugin_tests:Testing Linked Attributes...
INFO:plugin_tests:test_linkedattrs: PASS

INFO:plugin_tests:Testing MemberOf Plugin...
INFO:plugin_tests:test_memberof: PASS

INFO:plugin_tests:Testing Managed Entries...
INFO:plugin_tests:test_mep: PASS

INFO:plugin_tests:Testing Pass Through Authentication...
INFO:lib389:List backend with suffix=dc=pass2,dc=thru
INFO:lib389:Creating a local backend
INFO:lib389:List backend cn=PASS2,cn=ldbm database,cn=plugins,cn=config
INFO:lib389:Found entry dn: cn=PASS2,cn=ldbm database,cn=plugins,cn=config
cn: PASS2
nsslapd-cachememsize: 512000
nsslapd-cachesize: -1
nsslapd-directory: /var/lib/dirsrv/slapd-passthru/db/PASS2
nsslapd-dncachememsize: 16777216
nsslapd-readonly: off
nsslapd-require-index: off
nsslapd-suffix: dc=pass2,dc=thru
objectClass: top
objectClass: extensibleObject
objectClass: nsBackendInstance


INFO:lib389:Entry dn: cn="dc=pass2,dc=thru",cn=mapping tree,cn=config
cn: dc=pass2,dc=thru
nsslapd-backend: PASS2
nsslapd-state: backend
objectclass: top
objectclass: extensibleObject
objectclass: nsMappingTree


INFO:lib389:Found entry dn: cn=dc\3Dpass2\2Cdc\3Dthru,cn=mapping tree,cn=config
cn: dc=pass2,dc=thru
nsslapd-backend: PASS2
nsslapd-state: backend
objectClass: top
objectClass: extensibleObject
objectClass: nsMappingTree


INFO:plugin_tests:test_passthru: PASS

INFO:plugin_tests:Testing referential integrity postoperation...
INFO:plugin_tests:test_referint: PASS

INFO:plugin_tests:Testing Retro Changelog Plugin...
INFO:plugin_tests:test_retrocl: PASS

INFO:plugin_tests:Testing RootDN Access Control...
INFO:plugin_tests:test_rootdn: PASS

INFO:test_dynamic_plugins:
INFO:test_dynamic_plugins:Successfully Tested Dynamic Plugins Functionality 
(replication enabled).
INFO:test_dynamic_plugins:

INFO:test_dynamic_plugins:
INFO:test_dynamic_plugins:Testing Dynamic Plugins for Memory Corruption 
(replication enabled)...
INFO:test_dynamic_plugins:

INFO:plugin_tests:Testing Account Policy Plugin...
INFO:plugin_tests:test_acctpolicy: PASS

INFO:plugin_tests:Testing attribute uniqueness...
INFO:plugin_tests:test_attruniq: PASS

INFO:plugin_tests:Testing Auto Membership Plugin...
INFO:plugin_tests:test_automember: PASS

INFO:plugin_tests:Testing Distributed Numeric Assignment Plugin...
INFO:plugin_tests:test_dna: PASS

INFO:plugin_tests:Testing Linked Attributes...
INFO:plugin_tests:test_linkedattrs: PASS

INFO:plugin_tests:Testing MemberOf Plugin...
INFO:plugin_tests:test_memberof: PASS

INFO:plugin_tests:Testing Managed Entries...
INFO:plugin_tests:test_mep: PASS

INFO:plugin_tests:Testing Pass Through Authentication...
INFO:lib389:List backend with suffix=dc=pass2,dc=thru
INFO:lib389:Creating a local backend
INFO:lib389:List backend cn=PASS2,cn=ldbm database,cn=plugins,cn=config
INFO:lib389:Found entry dn: cn=PASS2,cn=ldbm database,cn=plugins,cn=config
cn: PASS2
nsslapd-cachememsize: 512000
nsslapd-cachesize: -1
nsslapd-directory: /var/lib/dirsrv/slapd-passthru/db/PASS2
nsslapd-dncachememsize: 16777216
nsslapd-readonly: off
nsslapd-require-index: off
nsslapd-suffix: dc=pass2,dc=thru
objectClass: top
objectClass: extensibleObject
objectClass: nsBackendInstance


INFO:lib389:Entry dn: cn="dc=pass2,dc=thru",cn=mapping tree,cn=config
cn: dc=pass2,dc=thru
nsslapd-backend: PASS2
nsslapd-state: backend
objectclass: top
objectclass: extensibleObject
objectclass: nsMappingTree


INFO:lib389:Found entry dn: cn=dc\3Dpass2\2Cdc\3Dthru,cn=mapping tree,cn=config
cn: 

[389-devel] Jenkins build is back to normal : 389-DS-COMMIT #163

2017-02-06 Thread Jenkins
See 

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


[389-devel] Build failed in Jenkins: 389-DS-COMMIT #162

2017-02-06 Thread Jenkins
See 


--
[...truncated 4682 lines...]
+ '[' 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
++ date
+ DATE='Mon Feb  6 16:47:32 CET 2017'
++ sudo 
PYTHONPATH=/usr/lib64/python2.7:/usr/lib64/python2.7/plat-linux2:/usr/lib64/python2.7/site-packages:/usr/lib/python2.7/site-packages:
 py.test -v -x suites/basic/basic_test.py
+ RESULT='= test session starts 
==
platform linux2 -- Python 2.7.13, pytest-2.9.2, py-1.4.32, pluggy-0.3.1 -- 
/usr/bin/python2
cachedir: suites/basic/.cache
rootdir: 

 inifile: 
plugins: sourceorder-0.5, multihost-1.1
collecting ... collected 23 items

suites/basic/basic_test.py::test_basic_ops PASSED
suites/basic/basic_test.py::test_basic_import_export FAILEDInstance 
slapd-standalone_1 removed.


=== FAILURES ===
___ test_basic_import_export ___

topology_st = 
import_example_ldif = None

def test_basic_import_export(topology_st, import_example_ldif):
"""Test online and offline LDIF imports & exports"""

log.info('\''Running test_basic_import_export...'\'')

tmp_dir = '\''/tmp'\''

#
# Test online/offline LDIF imports
#

# Generate a test ldif (50k entries)
ldif_dir = topology_st.standalone.get_ldif_dir()
import_ldif = ldif_dir + '\''/basic_import.ldif'\''
try:
topology_st.standalone.buildLDIF(5, import_ldif)
except OSError as e:
log.fatal('\''test_basic_import_export: failed to create test ldif,\
  error: %s - %s'\'' % (e.errno, e.strerror))
assert False

# Online
try:
topology_st.standalone.tasks.importLDIF(suffix=DEFAULT_SUFFIX,
input_file=import_ldif,
args={TASK_WAIT: True})
except ValueError:
log.fatal('\''test_basic_import_export: Online import failed'\'')
assert False

# Offline
if not topology_st.standalone.ldif2db(DEFAULT_BENAME, None, None, None, 
import_ldif):
log.fatal('\''test_basic_import_export: Offline import failed'\'')
assert False

#
# Test online and offline LDIF export
#

# Online export
export_ldif = ldif_dir + '\''/export.ldif'\''
exportTask = Tasks(topology_st.standalone)
try:
args = {TASK_WAIT: True}
exportTask.exportLDIF(DEFAULT_SUFFIX, None, export_ldif, args)
except ValueError:
log.fatal('\''test_basic_import_export: Online export failed'\'')
assert False

# Offline export
if not topology_st.standalone.db2ldif(DEFAULT_BENAME, (DEFAULT_SUFFIX,),
  None, None, None, export_ldif):
log.fatal('\''test_basic_import_export: Failed to run offline 
db2ldif'\'')
assert False

#
# Cleanup - Import the Example LDIF for the other tests in this suite
#
ldif = '\''%s/Example.ldif'\'' % 
get_data_dir(topology_st.standalone.prefix)
import_ldif = topology_st.standalone.get_ldif_dir() + "/Example.ldif"
shutil.copyfile(ldif, import_ldif)
try:
topology_st.standalone.tasks.importLDIF(suffix=DEFAULT_SUFFIX,
input_file=import_ldif,
>   args={TASK_WAIT: True})

suites/basic/basic_test.py:271: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../lib389/lib389/tasks.py:105: in importLDIF
self.conn.add_s(entry)
../../../lib389/lib389/__init__.py:155: in inner
return f(ent.dn, ent.toTupleList(), *args[2:])
/usr/lib64/python2.7/site-packages/ldap/ldapobject.py:210: in add_s
return self.result(msgid,all=1,timeout=self.timeout)
../../../lib389/lib389/__init__.py:127: 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:159: in inner
return f(*args, **kwargs)
/usr/lib64/python2.7/site-packages/ldap/ldapobject.py:507: in result2

[389-devel] Build failed in Jenkins: 389-DS-COMMIT #161

2017-02-06 Thread Jenkins
See 


Changes:

[tbordaz] Ticket 49079: deadlock on cos cache rebuild

[tbordaz] Ticket 49031 - Improve memberof with a cache of ancestors for groups

[firstyear] Ticket 49027 - on secfailure do not store cleartext password content

[nhosoi] Ticket #49080 - shadowExpire should not be a calculated value

[nhosoi] Ticket #49082 - Fix password expiration related shadow attributes

[nhosoi] Ticket #49082 - Adjusted the CI test case to the fix.

[firstyear] Ticket 49087 - ds resolve jenkins issues.

[firstyear] Ticket 49089 - Fix invalid cxxlink statement from hpux

[firstyear] Ticket 49028 - Autosize database cache by default.

[nhosoi] Ticket #49088 - 389-ds-base rpm postinstall script bugs

[spichugi] Ticket 49085 - Make a short topology fixture alias

[firstyear] Ticket 49089 - List library build deps

[nhosoi] Ticket 47973 - custom schema is registered in small caps after schema

[nhosoi] Ticket 47973 - CI Test case (test_ticket47973_case)

[nhosoi] Ticket 47973 - CI Test case (test_ticket47973_case)

[lkrispen] Ticket 49008 v2: aborted operation can leave RUV in incorrect 
state

[spichugi] Ticket 49008 - Add CI test

[mreynolds] Ticket 49075 - Adjust log severity levels

[firstyear] Ticket 49105 - Sig FPE when ns-slapd has 0 backends.

[nhosoi] Ticket #49104 - dbscan-bin crashing due to a segmentation fault

[nhosoi] Ticket #49104 - Add CI test

[spichugi] Ticket 48085 - Add single master replication test suite

[nhosoi] Ticket 49016 - (un)register/migration/remove may fail if there is no

[firstyear] Ticket 49111 - Integrate cmocka skeleton to Directory Server

--
[...truncated 547 lines...]
copying build/lib/lib389/rootdse.py -> 

copying build/lib/lib389/sasl.py -> 

copying build/lib/lib389/schema.py -> 

copying build/lib/lib389/suffix.py -> 

copying build/lib/lib389/tasks.py -> 

copying build/lib/lib389/tools.py -> 

copying build/lib/lib389/topologies.py -> 

copying build/lib/lib389/utils.py -> 

byte-compiling 

 to __init__.pyc
byte-compiling 

 to instance.pyc
byte-compiling 

 to __init__.pyc
byte-compiling 

 to __init__.pyc
byte-compiling 

 to backend.pyc
byte-compiling 

 to lint.pyc
byte-compiling 

 to plugin.pyc
byte-compiling 

 to __init__.pyc
byte-compiling 

 to __init__.pyc
byte-compiling 

 to options.pyc
byte-compiling 

 to setup.pyc
byte-compiling