Bug 49127 - make "Invalid number of added/removed users" a warning
make "Invalid number of added/removed users" a warning
Status: RESOLVED WONTFIX
Product: UCS@school
Classification: Unclassified
Component: ucs-test
UCS@school 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-03-28 07:14 CET by Daniel Tröder
Modified: 2023-06-12 15:45 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 Daniel Tröder univentionstaff 2019-03-28 07:14:35 CET
There are to many false positives.
For example here:

http://jenkins.knut.univention.de:8080/job/UCSschool-4.4/job/Install%20Singleserver/lastBuild/Config=s4,TestGroup=import1/testReport/junit/90_ucsschool/223_import-users_test_purge_script/test/

The user with uid=x5mw9vf7bd was created and deleted-by-ucs-test (!) in 222_import-users_new_users_deactivated, but turns up *during* the first import in 223_import-users_test_purge_script.

The problem is that deleting-by-ucs-test does not wait_for_replication(). And IMHO that's good, because it would slow down the tests even more. So I propose to not use check_new_and_removed_users() anymore, except for tests where it is really required... and some basic tests to make sure the import doesn't delete users it isn't supposed to.
Comment 1 Jan-Luca Kiok univentionstaff 2023-06-12 15:45:23 CEST
This issue has been filed against UCS@school 4.3 or earlier.

UCS 4.3 is out of maintenance and UCS components have vastly changed in later
releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug"
or reopen this issue. In this case please provide detailed information on how
this issue is affecting you.