Closed
Bug 1586262
Opened 5 years ago
Closed 5 years ago
run-task may not log the entire contents of a long line of task output
Categories
(Firefox Build System :: Task Configuration, task, P1)
Firefox Build System
Task Configuration
Tracking
(firefox71 fixed)
RESOLVED
FIXED
mozilla71
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: gbrown, Assigned: gbrown)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
run-task does not check the return value of write() at:
If less than the full requested buffer is written, the remainder is discarded.
I suspect this is the cause of bug 1567638.
Assignee | ||
Comment 1•5 years ago
|
||
demonstrates the issue by writing very long (20000 character) lines of output from the task: write() often reports writing less than requested, and the effect is evident in the log output.
Assignee | ||
Comment 2•5 years ago
|
||
demonstrates a solution, again using very long lines of task output.
Assignee | ||
Comment 3•5 years ago
|
||
Check the return code of write() to determine if the output line has actually
been written completely; if not, write the remainder.
Pushed by gbrown@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bcfc1146667c Ensure run-task logs very long task output lines; r=dustin
Comment 5•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in
before you can comment on or make changes to this bug.
Description
•