Bug 31819 - disable buffering of output of ucs-test python scripts
disable buffering of output of ucs-test python scripts
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: Framework
unspecified
Other Linux
: P5 enhancement (vote)
: UCS 3.2
Assigned To: Philipp Hahn
Lukas Walter
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-25 20:22 CEST by Arvid Requate
Modified: 2013-11-19 06:43 CET (History)
2 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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2013-06-25 20:22:28 CEST
In python tests the output of script is delayed compared to the output of subprocess commands, making it hard to track down correlations of log messages.
It would be nice if ucs-test could be started e.g. with
export PYTHONUNBUFFERED=x
Comment 1 Philipp Hahn univentionstaff 2013-08-20 08:31:49 CEST
Also consider Bug #31912 when fixing this.
Comment 2 Philipp Hahn univentionstaff 2013-09-27 20:10:25 CEST
r44554 | Bug #31819: Use unbuffered output
r44558 | Bug #32715,Bug #31819: ucs-test smbauth,unbuffered

ChangeLog: Python child processes are started with unbuffered output by default
Comment 3 Lukas Walter univentionstaff 2013-10-01 13:47:41 CEST
OK.
Comment 4 Arvid Requate univentionstaff 2013-10-09 13:05:45 CEST
What about Comment 1?

> Also consider Bug #31912 when fixing this.
Comment 5 Philipp Hahn univentionstaff 2013-10-10 08:13:32 CEST
(In reply to Arvid Requate from comment #4)
> What about Comment 1?
> 
> > Also consider Bug #31912 when fixing this.

This is a separate issue.
Comment 6 Stefan Gohmann univentionstaff 2013-11-19 06:43:34 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".