Bug 49882 - ucs-test: LDAPObjectNotFound: DN: uid=w55r3rfjki,cn=users,dc=AutoTest091,dc=local
ucs-test: LDAPObjectNotFound: DN: uid=w55r3rfjki,cn=users,dc=AutoTest091,dc=...
Status: NEW
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-07-19 19:44 CEST by Florian Best
Modified: 2019-07-19 19:44 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 Florian Best univentionstaff 2019-07-19 19:44:35 CEST
attachment 10121 [details] (s4connector.log from a ucs-test run) contains 2 times:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 1565, in sync_to_ucs
    result = self.modify_in_ucs(property_type, object, module, position)
  File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 1316, in modify_in_ucs
    res = ucs_object.modify(serverctrls=serverctrls, response=response)
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/users/user.py", line 1396, in modify
    return super(object, self).modify(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 643, in modify
    dn = self._modify(modify_childs, ignore_license=ignore_license, response=response)
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 1318, in _modify
    self.call_udm_property_hook('hook_ldap_post_modify', self)
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 1040, in call_udm_property_hook
    func(module)
  File "/usr/lib/pymodules/python2.7/univention/admin/hooks.d/w55r3rfjki.py", line 16, in hook_ldap_post_modify
    univention.testing.utils.verify_ldap_object('uid=w55r3rfjki,cn=users,dc=AutoTest091,dc=local', {'description': ['w55r3rfjki']}, retry_count=0)
  File "/usr/lib/python2.7/dist-packages/univention/testing/utils.py", line 182, in verify_ldap_object
    delay)
  File "/usr/lib/python2.7/dist-packages/univention/testing/utils.py", line 173, in retry_on_error
    six.reraise(*exc_info)
  File "/usr/lib/python2.7/dist-packages/univention/testing/utils.py", line 164, in retry_on_error
    return func()
  File "/usr/lib/python2.7/dist-packages/univention/testing/utils.py", line 197, in __verify_ldap_object
    raise LDAPObjectNotFound('DN: %s' % baseDn)
LDAPObjectNotFound: DN: uid=w55r3rfjki,cn=users,dc=AutoTest091,dc=local

Maybe we should add error handling for hooks? Or fix the ucs-test cases, to not apply hooks in s4-connector execution scope?