Bug 31795 - 03_ucr/61ucr_set and OX
03_ucr/61ucr_set and OX
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 normal (vote)
: UCS 3.2
Assigned To: Philipp Hahn
Lukas Walter
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-24 06:56 CEST by Stefan Gohmann
Modified: 2013-11-19 06:42 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
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 Stefan Gohmann univentionstaff 2013-06-24 06:56:00 CEST
The test case fails with installed OX App:

Standard Ausgabe (STDOUT)

Test failed. Got "Module: ox-config
Module: ox-config" Expected ""

I think it is the same with Zarafa.
Comment 1 Philipp Hahn univentionstaff 2013-06-24 08:10:13 CEST
OX registeres an additional UCR module, which is triggered by setting ^nameserver.
This produces an additional output line, which is not expected by the test.

ucs-test.log:
 *** BEGIN *** ['/bin/bash', '61ucr_set'] ***
 debug 2013-06-21 10:38:52	 Create nameserver3
 Test failed. Got "Module: ox-config
 Module: ox-config" Expected ""

61ucr_set:34
 Assert "$(grep -v '^File:\|^Create' "$out")" ""

The test already checks if the two required lines (File, Create) are present.
To be compatible with third party extensions that 3rd check should probably best be removed.
Comment 2 Philipp Hahn univentionstaff 2013-06-24 10:52:49 CEST
svn41606
not built (but built <http://jenkins.knut.univention.de:8080/job/ucs-test_BUILD/301/<)
no changelog.tex (but a debian/changelog entry)
no backport
no yaml
Comment 3 Stefan Gohmann univentionstaff 2013-06-25 06:24:14 CEST
The test fails again:

*** BEGIN *** ['/bin/bash', '61ucr_set'] ***
debug 2013-06-24 16:34:27	 Create nameserver3
debug 2013-06-24 16:34:27	 Get nameserver3
debug 2013-06-24 16:34:27	 Set nameserver3
debug 2013-06-24 16:34:28	 Create foo
Test failed. Got "Module: zarafa-cfg" Expected ""
W: The config registry variable 'bar' does not exist
W: The config registry variable 'nameserver3' does not exist
W: The config registry variable 'nameserver3' does not exist
W: The config registry variable 'foo' does not exist
*** END *** 110 ***

http://jenkins.knut.univention.de:8080/job/UCS%203.2%20App%20Autotest%20MultiEnv/3/SambaVersion=s3,Systemrolle=backup/testReport/?
Comment 4 Philipp Hahn univentionstaff 2013-06-25 10:10:46 CEST
No all lines starting with "Script:" and "Module:" are ignored to be still able to catch ucr errors.

svn41648
not built (but built <http://jenkins.knut.univention.de:8080/job/ucs-test_BUILD/309/>)
no changelog.tex (but a debian/changelog entry)
no backport
no yaml
Comment 5 Lukas Walter univentionstaff 2013-08-20 16:09:31 CEST
functionality: ok
code: ok
changelog: missing <--
Comment 6 Philipp Hahn univentionstaff 2013-08-20 17:33:33 CEST
r43333: Some corner cases are now handled better in ucs-test
Comment 7 Lukas Walter univentionstaff 2013-08-21 10:04:52 CEST
(In reply to Philipp Hahn from comment #6)
> r43333: Some corner cases are now handled better in ucs-test

OK.
Comment 8 Stefan Gohmann univentionstaff 2013-11-19 06:42:28 CET
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".