[Webkit-unassigned] [Bug 242242] New: [browserperfdash-benchmark] Fix error logging from server after 251530 at main (port to python3)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 1 04:53:06 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=242242

            Bug ID: 242242
           Summary: [browserperfdash-benchmark] Fix error logging from
                    server after 251530 at main (port to python3)
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: aakash_jain at apple.com, aperez at igalia.com,
                    jbedard at apple.com

On 251530 at main (r295525) the script browserperfdash-runner was ported to python3 and it is working fine.

However, when the browserperfdash server replies with an error (http error code: 400) the script is not longer logging what caused the error (the body of the http reply) on stderr.
Instead it is causing a generic exception that doesn't give any helpful info for debugging the problem.

Previously (with python2) the script was giving useful info. This seems to be caused because on python3 urllib.request.urlopen always rises when the http error code is not 200.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220701/3eb38e37/attachment.htm>


More information about the webkit-unassigned mailing list