Bug 229188

Summary: Remove all WTR output before Content-Type:text/plain for WebRTC tests in case of known excessive logging
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebRTCAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: ehutchison, ews-watchlist, glenn, jbedard, jenner, ryanhaddad, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=230733
Attachments:
Description Flags
Patch none

Description youenn fablet 2021-08-17 05:53:27 PDT
Remove all WTR output before Content-Type:text/plain for WebRTC tests in case of known excessive logging
Comment 1 youenn fablet 2021-08-17 06:05:28 PDT
Created attachment 435681 [details]
Patch
Comment 2 Jonathan Bedard 2021-08-17 10:17:35 PDT
Comment on attachment 435681 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=435681&action=review

> Tools/Scripts/webkitpy/port/mac.py:-299
> -

Why are you deleting these?
Comment 3 youenn fablet 2021-08-18 00:52:35 PDT
Comment on attachment 435681 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=435681&action=review

>> Tools/Scripts/webkitpy/port/mac.py:-299
>> -
> 
> Why are you deleting these?

They should be covered by Negotiation String and LRP which signal encoder is doing some logging.
These additional lines were attempts to cover the fact encoder logging is being wrapped in multiple lines, but as we see, it does not work well.
Comment 4 EWS 2021-08-20 00:50:26 PDT
Committed r281297 (240721@main): <https://commits.webkit.org/240721@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 435681 [details].
Comment 5 Radar WebKit Bug Importer 2021-08-20 00:51:15 PDT
<rdar://problem/82160516>
Comment 6 youenn fablet 2021-08-20 09:16:20 PDT
*** Bug 225525 has been marked as a duplicate of this bug. ***
Comment 7 youenn fablet 2021-08-26 05:45:00 PDT
As can be seen in https://build.webkit.org/results/Apple-BigSur-Release-WK2-Tests/r280628%20(4289)/webrtc/video-setDirection-pretty-diff.html, this is not covering all cases: the underlying codec related logging is sometimes half captured.
Comment 8 youenn fablet 2021-08-26 05:45:45 PDT
One possibility would be to remove all logging before Content-Type:text/plain in all webrtc tests.
Comment 9 Brent Fulgham 2022-02-12 20:40:07 PST
*** Bug 225523 has been marked as a duplicate of this bug. ***