Bug 39086 - LDAP server not available in S4 slave jenkins tests - 50ppolicy_account_lockout
LDAP server not available in S4 slave jenkins tests - 50ppolicy_account_lockout
Status: NEW
Product: UCS Test
Classification: Unclassified
Component: LDAP
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-05 15:24 CEST by Stefan Gohmann
Modified: 2018-04-14 13:43 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2015-08-05 15:24:42 CEST
It looks like 50ppolicy_account_lockout breaks the LDAP server in S4 slave Jenkins tests:

----------------------------------------------------------------------------
*** BEGIN *** ['/bin/bash', '50ppolicy_account_lockout'] ***
*** 10_ldap/50ppolicy_account_lockout *** Check account lockout on repeated failed login attempts ***
*** START TIME: 2015-07-23 19:48:01 ***
Create ldap/ppolicy
Create ldap/ppolicy/enabled
Multifile: /etc/ldap/slapd.conf
Restarting ldap server(s).
Stopping ldap server(s): slapd ...done.
Starting ldap server(s): slapd ...done.
modifying entry "cn=default,cn=ppolicy,cn=univention,dc=autotest095,dc=local"

info 2015-07-23 19:48:04	 create user cdoubbok
Object created: uid=cdoubbok,cn=users,dc=autotest095,dc=local
Wait until pwdFailureCountInterval (15 seconds) has passed..
Waiting for replication:
OK: replication complete (nid=4195 lid=4195)
Done: replication complete.
Waiting for postrun
Object modified: uid=cdoubbok,cn=users,dc=autotest095,dc=local
Waiting for replication:
CRITICAL: no change of listener transaction id for last 0 checks (nid=4196 lid=4195)
OK: replication complete (nid=4196 lid=4196)
Done: replication complete.
Waiting for postrun
info 2015-07-23 19:48:56	 remove user cdoubbok
Object removed: uid=cdoubbok,cn=users,dc=autotest095,dc=local
debug 2015-07-23 19:48:56	 user cdoubbok removed
info 2015-07-23 19:48:56	 checking whether the user cdoubbok is really removed
debug 2015-07-23 19:48:57	 user cdoubbok does not exist
modifying entry "cn=default,cn=ppolicy,cn=univention,dc=autotest095,dc=local"

Unsetting ldap/ppolicy
Unsetting ldap/ppolicy/enabled
Multifile: /etc/ldap/slapd.conf
Restarting ldap server(s).
Stopping ldap server(s): slapd ...done.
Starting ldap server(s): slapd ...failed.
55b17d69 UNKNOWN attributeDescription "PWDFAILURETIME" inserted. 55b17d69 UNKNOWN attributeDescription "PWDACCOUNTLOCKEDTIME" inserted. slapschema: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) 02check-permission-etc 03_shadowExpire_in_nis_schema 05K5KEY_userexpiry 10slapd_stop_start 20schema-download 25reconnect_uldap 26reconnect_univention_ldapsearch 31ldapi 33slapcat_slapadd 40replication 41listener 42replication_ldiff 42replication_uppercase 43replication_performance 44replication_binary 45replication_modrdn 46replication_modrdn_local_modification 47replication_modrdn_local_different_entryuuid 48replication_listener_cache_up_to_date_check 49replication_modrdn_with_previous_modification 50ppolicy_account_lockout 51listener_case_handling 55slapd-crash-1270 60failedldif 61getent_crash 62check_ldap_group_to_file 62ldap_group_to_file_hook 63univention-admingrp-user-passwordreset 64univention-admingrp-user-passwordreset-selfmodify 65univention-admingrp-user-paAborted
sswordreset-ldapdiff 66univention-admingrp-user-passwordreset-grpingrp 67univention-admingrp-user-passwordreset-protected-domain-admins 68univention-admingrp-user-passwordreset-protected-groups 70schema_registration_basis 70schema_unregistration_basis 71schema_replication 72schema_reregistration_object_class 73schema_registration_twice 74schema_update 80acl_registration_basis 80acl_unregistration_basis 82acl_register_invalid_acl 83acl_registration_versioncheck 90_LDAPacl_DC_access_to_uidNumber0 common.sh ldap_extension_utils.py 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 02check-permission-etc 03_shadowExpire_in_nis_schema 05K5KEY_userexpiry 10slapd_stop_start 20schema-download 25reconnect_uldap 26reconnect_univention_ldapsearch 31ldapi 33slapcat_slapadd 40replication 41listener 42replication_ldiff 42replication_uppercase 43replication_performance 44replication_binary 45replication_modrdn 46replication_modrdn_local_modification 47replication_modrdn_local_different_entryuuid 48replication_listener_cache_up_to_date_check 49replication_modrdn_with_previous_modification 50ppolicy_account_lockout 51listener_case_handling 55slapd-crash-1270 60failedldif 61getent_crash 62check_ldap_group_to_file 62ldap_group_to_file_hook 63univention-admingrp-user-passwordreset 64univention-admingrp-user-passwordreset-selfmodify 65univention-admingrp-user-passwordreset-ldapdiff 66univention-admingrp-user-passwordreset-grpingrp 67univention-admingrp-user-passwordreset-protected-domain-admins 68univention-admingrp-user-passwordreset-protected-groups 70schema_registration_basis 70schema_unregistration_basis 71schema_replication 72schema_reregistration_object_class 73schema_registration_twice 74schema_update 80acl_registration_basis 80acl_unregistration_basis 82acl_register_invalid_acl 83acl_registration_versioncheck 90_LDAPacl_DC_access_to_uidNumber0 common.sh ldap_extension_utils.py (sizeof(size_t))) - 1)) & ~((2 02check-permission-etc 03_shadowExpire_in_nis_schema 05K5KEY_userexpiry 10slapd_stop_start 20schema-download 25reconnect_uldap 26reconnect_univention_ldapsearch 31ldapi 33slapcat_slapadd 40replication 41listener 42replication_ldiff 42replication_uppercase 43replication_performance 44replication_binary 45replication_modrdn 46replication_modrdn_local_modification 47replication_modrdn_local_different_entryuuid 48replication_listener_cache_up_to_date_check 49replication_modrdn_with_previous_modification 50ppolicy_account_lockout 51listener_case_handling 55slapd-crash-1270 60failedldif 61getent_crash 62check_ldap_group_to_file 62ldap_group_to_file_hook 63univention-admingrp-user-passwordreset 64univention-admingrp-user-passwordreset-selfmodify 65univention-admingrp-user-passwordreset-ldapdiff 66univention-admingrp-user-passwordreset-grpingrp 67univention-admingrp-user-passwordreset-protected-domain-admins 68univention-admingrp-user-passwordreset-protected-groups 70schema_registration_basis 70schema_unregistration_basis 71schema_replication 72schema_reregistration_object_class 73schema_registration_twice 74schema_update 80acl_registration_basis 80acl_unregistration_basis 82acl_register_invalid_acl 83acl_registration_versioncheck 90_LDAPacl_DC_access_to_uidNumber0 common.sh ldap_extension_utils.py (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed..
*** END TIME: 2015-07-23 19:48:57 ***
*** TEST DURATION (H:MM:SS.ms): 0:00:56.534424 ***
*** END *** 100 ***
----------------------------------------------------------------------------

A lot of following test cases fail because the LDAP server is not running.
Comment 1 Stefan Gohmann univentionstaff 2015-08-05 15:26:32 CEST
I've disabled the test case on DC slaves: r62661