Closed Bug 1295722 Opened 8 years ago Closed 8 years ago

Log parsing fails on Windows 7 with change.

Categories

(Tree Management :: Treeherder: Data Ingestion, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1224931

People

(Reporter: kmckinley, Unassigned)

References

Details

Attachments

(1 file)

The patch for Bug 1246540 causes a message from the Python BasicHttpServer[1] to spit out an error which seems to cause log parsing to fail on Windows 7 web platform tests. This change change sends a HEAD request which Python's HTTP server doesn't understand, so it returns a logs the error[2] and returns a 400, and at some point what it logs can not be interpreted as UTF-8.

[1] https://github.com/enthought/Python-2.7.3/blob/master/Lib/BaseHTTPServer.py#L280
[2] https://treeherder.mozilla.org/#/jobs?repo=try&revision=06456b4a91cd&selectedJob=25754729 search for "code 400, message Bad HTTP/0.9 request type"
Attached file Workaround
Setting web-platform tests to not send HSTS priming requests prevents the lines being emitted into the log. This has been applied to bug 1246540.
Blocks: 1296384
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: