Bug 32422 - ucs-test should output the test section
ucs-test should output the test section
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: Framework
unspecified
Other Linux
: P5 enhancement (vote)
: UCS 3.2-0-errata
Assigned To: Arvid Requate
Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-28 18:08 CEST by Arvid Requate
Modified: 2014-03-17 14:51 CET (History)
3 users (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:
requate: Patch_Available+


Attachments
log_description.patch (543 bytes, text/plain)
2014-01-29 15:41 CET, Arvid Requate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2013-08-28 18:08:55 CEST
The jenkins ucs-test.log shows lines like

*** BEGIN *** ['/bin/bash', '66ucronlineupdate'] ***

for accellerated human parsing it would be nice if the secction would be noted as well like

*** BEGIN *** ['/bin/bash', '09_updater/66ucronlineupdate'] ***

or similar (actually I don't particularly care if it's a bash script or whatever).
Comment 1 Arvid Requate univentionstaff 2014-01-29 15:41:46 CET
Created attachment 5763 [details]
log_description.patch
Comment 2 Arvid Requate univentionstaff 2014-01-29 16:13:09 CET
Fixed.
Comment 3 Philipp Hahn univentionstaff 2014-01-29 17:56:14 CET
(In reply to Arvid Requate from comment #2)
> Fixed.

No, you didn't: self.description contains the multi-line-text-description. Using "%r" prints it using "\n" escaping instead of new-lines.

Use self.filename or self.uid to get the (abbreviated) filename.

(In reply to Arvid Requate from comment #0)
> (actually I don't particularly care if it's a bash script or whatever).

I care, since I need to know what the forked sub-process is going to run.
Comment 4 Arvid Requate univentionstaff 2014-01-29 18:22:11 CET
Adjusted.
Comment 5 Stefan Gohmann univentionstaff 2014-02-04 08:23:12 CET
OK
Comment 6 Moritz Muehlenhoff univentionstaff 2014-03-17 14:51:56 CET
Released as an errata update for unmaintained.