Bug 54059 - use existing / create mail domain in tests
Summary: use existing / create mail domain in tests
Status: VERIFIED FIXED
Alias: None
Product: UCS@school
Classification: Unclassified
Component: ucs-test
Version: UCS@school 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: Daniel Tröder
QA Contact: Tobias Wenzel
URL:
Keywords:
Depends on: 53931
Blocks:
  Show dependency treegraph
 
Reported: 2021-11-15 08:54 CET by Daniel Tröder
Modified: 2021-11-18 13:47 CET (History)
1 user (show)

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):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2021-11-15 08:54:29 CET
Some tests fail, if the mail domain used in a users mailPrimaryAddress does not exist in LDAP. make sure (random) email addresses always use an existing correct mail domain.

Usual traceback / error is:

univention.admin.uexceptions.valueError: The domain part of the primary mail address is not in list of configured mail domains: xvg47y24sf@autotest201.local
Comment 1 Daniel Tröder univentionstaff 2021-11-15 08:58:59 CET
[5.0 826839d84] Bug #54059: use existing or create new mail/domain object

ucs-test-ucsschool (7.3.16)
Comment 3 Daniel Tröder univentionstaff 2021-11-15 09:06:24 CET
The failing tests are a consequence of changes done in bug 53931.
Comment 4 Tobias Wenzel univentionstaff 2021-11-16 08:52:44 CET
jenkins is no yet happy


90_ucsschool.205_import-users_attribute_schemes.master201
90_ucsschool.206_import-users_multivalue_attributes.master201
90_ucsschool.209_import-users_lowercase_username_with_counter.master201


402021-11-15 20:27:29.65394341 univention.admin.uexceptions.valueError: The domain part of the primary mail address is not in list of configured mail domains: laa.pnm@example.com
Comment 5 Daniel Tröder univentionstaff 2021-11-16 15:12:16 CET
Fixed with

[5.0] 213a64fca Bug #54059: use existing or create new mail/domain object

ucs-test-ucsschool (7.3.17)
Comment 6 Tobias Wenzel univentionstaff 2021-11-18 13:47:32 CET
QA: all OK

OK code 
OK jenkins tests failing for other reasons
OK changelog