Page MenuHomePhabricator

Use %B when writing to Harbormaster build logs
ClosedPublic

Authored by hach-que on Jan 28 2015, 1:16 AM.
Tags
None
Referenced Files
F13962374: D11532.id.diff
Tue, Oct 15, 9:42 AM
F13957390: D11532.id27798.diff
Mon, Oct 14, 9:25 AM
Unknown Object (File)
Sat, Oct 12, 1:04 AM
Unknown Object (File)
Sep 17 2024, 7:35 AM
Unknown Object (File)
Sep 7 2024, 11:58 PM
Unknown Object (File)
Aug 28 2024, 3:19 PM
Unknown Object (File)
Aug 22 2024, 5:53 AM
Unknown Object (File)
Aug 21 2024, 5:23 AM
Subscribers

Details

Summary

Fixes T7007. Using %B permits non-UTF8 data to be appended to Harbormaster build logs. Since we're not really in control of the processes Harbormaster is running remotely, and since they may output invalid UTF8 data, we should store the invalid data instead of failing the build (due to UTF8 exception).

Test Plan

@epriestley said this was the right fix, though I haven't tested it on our production system which actually exhibits the issue yet.

Diff Detail

Repository
rP Phabricator
Branch
harbormaster-build-log
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4103
Build 4116: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hach-que retitled this revision from to Using %B when writing to Harbormaster build logs.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.
hach-que added a subscriber: epriestley.
hach-que retitled this revision from Using %B when writing to Harbormaster build logs to Use %B when writing to Harbormaster build logs.Jan 28 2015, 1:18 AM
hach-que edited edge metadata.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jan 28 2015, 7:11 PM
This revision was automatically updated to reflect the committed changes.