Bug 40471 - create test 90_ucsschool/140_check_Domain_Users_policies
create test 90_ucsschool/140_check_Domain_Users_policies
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: ucs-test
UCS@school 4.1
Other Linux
: P5 normal (vote)
: UCS@school 4.1 R2 v10
Assigned To: Richard Ulmer
Florian Best
:
Depends on: 36537
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-20 13:32 CET by Stefan Gohmann
Modified: 2017-06-23 18:45 CEST (History)
2 users (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):
Max CVSS v3 score:


Attachments
patch (2.98 KB, patch)
2016-12-20 14:56 CET, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2016-01-20 13:32:27 CET
Please add a test case for this issue.

+++ This bug was initially created as a clone of Bug #36537 +++

The UMC policy "default-umc-users" should be appended to the "Domain Users $SCHOOL" group by default to allow students and teachers to change their own Password via the UMC module and also to allow UMC single sign on for them.
Comment 1 Richard Ulmer univentionstaff 2016-12-15 12:36:48 CET
A test has been created.

package: ucs-test-ucsschool
svn commit: 75311
build: 3.0.17-34.355.201612151234
Comment 2 Florian Best univentionstaff 2016-12-20 14:56:05 CET
Created attachment 8314 [details]
patch

The test case is 90_ucsschool/140_check_Domain_Users_policies.
Please see the following patch which contains some enhancements.

Please add the missing tags, so that it is executed in jenkins.
http://jenkins.knut.univention.de:8080/job/UCSschool%204.1/job/UCSschool%204.1%20(R2)%20Multiserver/lastCompletedBuild/SambaVersion=s4-school-only/testReport/90_ucsschool/140_check_Domain_Users_policies/test/
Comment 3 Richard Ulmer univentionstaff 2016-12-21 16:29:35 CET
The test has been updated/fixed after talking to Florian.

svn commit       : 75491
build            : 3.0.17-38.359.201612211624
Comment 5 Richard Ulmer univentionstaff 2017-01-05 12:09:23 CET
I've now restricted the test to master- and slave-servers, which will prevent the jenkins fail on the member-server. The jenkins fail in the upgrade (ucs4.0 -> ucs4.1) test was appropriate.

svn commit: 75589
build: 3.0.17-43.364.201701051205
Comment 6 Florian Best univentionstaff 2017-01-09 15:23:12 CET
OK: test skipped on memberserver
OK: The KeyError is a generic exception happening from day to day in a lot of tests