Univention Bugzilla – Bug 27662
ucs-test Übernahme: 10_ldap
Last modified: 2013-11-19 06:42:20 CET
Folgende Tests müssen in ucs-test für UCS-3.0 geprüft und ggf. angepasst übernommen werden: <svn+ssh://billy.knut.univention.de/var/svn/dev/branches/ucs-3.0/internal/ucs-test> → <svn+ssh://billy.knut.univention.de/var/svn/dev/branches/ucs-3.0/ucs/test/ucs-test> scripts-10_ldap debian/ucs-test-ldap.install
Diese Tests sollten übernommen und angepasst werden: 02check-permission-etc-ldap 02check-permission-etc-ldap-backup 02check-permission-etc-slave-join 05join_with_long_bind_dn 10slapd_stop_start 20schema-download 31ldapi 33slapcat_slapadd 40replication 41listener 55slapd-crash-1270 60failedldif 61getent_crash 62check_nscd_module 63univention-admingrp-user-passwordreset 64univention-admingrp-user-passwordreset-selfmodify 65univention-admingrp-user-passwordreset-ldapdiff 66univention-admingrp-user-passwordreset-grpingrp Dieser Test kann entfernt werden: 32lanman Hinweise zum neuen Framework: http://wiki.univention.de/index.php?title=Ucs-test https://forge.univention.org/bugzilla/show_bug.cgi?id=23527
Tests were adapted to "ucs-test" framework according to requirements. http://wiki.univention.de/index.php?title=Ucs-test. Tests "2check-permission-etc-ldap", "02check-permission-etc-ldap-backup", "02check-permission-etc-slave-join" were joined to one test "02check-permission-etc". This test is now written in Python and not in bash. The rest of the tests stayed in bash. Adjustments, improvements and bugfixes were implemented. Test "62check_nscd_module" is obsolete since UCS 3.1. Test "62check_ldap_group_to_file" added instead which is checking the functionality of "NSS update script" instead of "nscd listener". Tests "63univention-admingrp-user-passwordreset", "64univention-admingrp-user-passwordreset-selfmodify" and "66univention-admingrp-user-passwordreset-grpingrp" are checking ACL functionality. Their execution is affected by a problem caused by ACLs (Bug 31142 opened). All tests were stored in SVN: <svn+ssh://billy.knut.univention.de/var/svn/dev/branches/ucs-3.1/ucs-3.1-2/test/ucs-test/tests/10_ldap/>
The package ucs-test-ldap will now be built. tests/10_ldap/02check-permission-etc: I don't think this is right even it was already so in the old 2.4 tests: *** BEGIN *** ['/usr/bin/python2.6', '02check-permission-etc'] *** ERROR /etc/ldap-backup.secret has wrong group DC Backup Hosts but should be Slave Join *** END *** 110 *** /etc/ldap-backup.secret should be owned by the group DC Backup Hosts. tests/10_ldap/05join_with_long_bind_dn: This does a lot of univention-join stuff again and the test will only be executed if the system is not joined. Would it not be better if we check only the functionality in a shorter environment? For example, we check what is the cause of the failure, for example a missing ldapsearch-wrapper, and check it in the code? tests/10_ldap/41listener: The test should check if any other object is written to the tempfile. 120 seconds is a lot of time. I think we should add more listener specific tests, for example if the replication is fast enough. I will create new bugs for that.
(In reply to Stefan Gohmann from comment #3) > The package ucs-test-ldap will now be built. > > tests/10_ldap/02check-permission-etc: > I don't think this is right even it was already so in the old 2.4 tests: > *** BEGIN *** ['/usr/bin/python2.6', '02check-permission-etc'] *** > ERROR /etc/ldap-backup.secret has wrong group DC Backup Hosts but should be > Slave Join > *** END *** 110 *** > /etc/ldap-backup.secret should be owned by the group DC Backup Hosts. I just fixed it, see also Bug #15557.
test/ucs-test/tests/10_ldap/02check-permission-etc: The file /etc/slave-join.secret is not available on a DC Backup server. The old test case scripts-10_ldap/02check-permission-etc-slave-join was only executed on DC Master systems.
(In reply to Stefan Gohmann from comment #5) > test/ucs-test/tests/10_ldap/02check-permission-etc: > The file /etc/slave-join.secret is not available on a DC Backup server. The > old test case scripts-10_ldap/02check-permission-etc-slave-join was only > executed on DC Master systems. This has been fixed while working on Bug #31680.
svn42527,42529,42535...42560: Lots up updates, mostly LDAP related, but also some general issues. (In reply to Stefan Gohmann from comment #3) > tests/10_ldap/02check-permission-etc: fixed a mis-naming bug. > tests/10_ldap/05join_with_long_bind_dn: moved to new section "join", which is not packaged and thus not run automatically. > tests/10_ldap/41listener: Two additional tests for replication were added: Bug #31721, Bug #31722
OK, all tests have been copied.
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".