Bug 36902 - Failed UCS 4.0-0 test case: 00_base.99check_log_files.test
Failed UCS 4.0-0 test case: 00_base.99check_log_files.test
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Dmitry Galkin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-20 08:43 CET by Stefan Gohmann
Modified: 2023-03-25 06:47 CET (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
ucs-test.log (3.05 MB, application/text)
2014-11-20 08:43 CET, Stefan Gohmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2014-11-20 08:43:04 CET
Created attachment 6449 [details]
ucs-test.log

The following UCS 4.0 test case failed in Jenkins:
 00_base.99check_log_files.test

Attached you find the ucs-test log file.

Please check if it is a problem in the test case. If it is a test case problem, please fix it.

If it is a problem with UCS 4.0, please file a bug against UCS 4 and disable this test case until the bug has been fixed in UCS 4.0

http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-0/job/Autotest%20MultiEnv/67/SambaVersion=s4,Systemrolle=master/
Comment 1 Dmitry Galkin univentionstaff 2014-11-21 16:56:38 CET
(In reply to Stefan Gohmann from comment #0)

> Please check if it is a problem in the test case. If it is a test case
> problem, please fix it.

The test is designed to fail as long as it finds signs of errors or traceback in the common log files. For example: http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-0/job/Autotest%20MultiEnv/lastCompletedBuild/SambaVersion=s4,Systemrolle=master/testReport/00_base/99check_log_files/test/

Test won't fail if only warnings were found. For more info on the test see Bug #30751
If some error messages can be safely ignored, please open a new respective bug.
Comment 2 Dmitry Galkin univentionstaff 2014-11-21 16:57:43 CET
Possibly see also Bug #36160.
Comment 3 Stefan Gohmann univentionstaff 2014-11-27 05:53:40 CET
(In reply to Dmitry Galkin from comment #1)
> Test won't fail if only warnings were found. For more info on the test see
> Bug #30751
> If some error messages can be safely ignored, please open a new respective
> bug.

Fixing the known issues which the test case shows has currently no priority. So we can either disable the test case or add the known error messages to an ignore list. If you can add an internal list and add these scripts in less than a day work, please do. The test case could help to show new upcoming issues. 

The target of our Jenkins infrastructure is not to show known issues every day. It should rather show regressions or prove the fixes. That's why I opened this bug.
Comment 4 Dmitry Galkin univentionstaff 2014-11-28 11:27:06 CET
(In reply to Stefan Gohmann from comment #3)
> If you can add an internal list and add these scripts in less
> than a day work, please do.


Added some commonly appearing messages to the ignore lists, I'll mark as resolved for the moment, but perhaps some more will be added.

r56274:
  *  00_base/check_log_files_definitions.py: extended ignore patterns.
     00_base/99check_log_files: added bug reference; now test returns
     codes as defined in the univention.testing.codes (Bug #36902).
Comment 5 Dmitry Galkin univentionstaff 2014-12-08 10:40:41 CET
Opened two bugs according to recent test output:

https://forge.univention.org/bugzilla/show_bug.cgi?id=37225
https://forge.univention.org/bugzilla/show_bug.cgi?id=37226

and added respective error patterns to the ignore list:

r56539:
  01_base/check_log_files_definitions.py: added several more ignore patterns (Bug #36902)
Comment 6 Dmitry Galkin univentionstaff 2014-12-12 16:07:55 CET
r56742:
  * 01_base/check_log_files_definitions.py: adjusted some ignore patterns
  (Bug #36902).


r56755:
  * 01_base/check_log_files_definitions.py:
    added two more ignore patterns (Bug #36902).
Comment 7 Stefan Gohmann univentionstaff 2016-10-12 07:48:35 CEST
For this bug is no separate QA needed.