Bug 249166

Summary: [ews-build.webkit.org] Don't consult results.webkit.org for non-main PRs
Product: WebKit Reporter: Rob Buis <rbuis>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, jbedard, ryanhaddad, webkit-bug-importer
Priority: P2    
Version: Safari 15   
Hardware: Unspecified   
OS: Unspecified   

Description Rob Buis 2022-12-12 12:48:39 PST
Today I have seen exception as build result for the layout test run:
https://ews-build.webkit.org/#/builders/70/builds/23670
https://ews-build.webkit.org/#/builders/70/builds/23553
Comment 1 Alexey Proskuryakov 2022-12-12 16:27:50 PST
builtins.ValueError: Invalid URI b'https://results.webkit.org/api/results-summary/layout-tests/gamepad/gamepad-polling-access.html?platform=mac&style=release&flavor=wk2&ref=﷒0﷓ detached at 1d7abcd180ab)'
Comment 2 Jonathan Bedard 2022-12-12 16:33:36 PST
Had already landed a fix for the exception, at least, in https://commits.webkit.org/257674@main. But the invalid URI is a bit weird...
Comment 3 Jonathan Bedard 2022-12-12 16:39:55 PST
The weird URI is because the PR isn't targeting main. With the proper error fallback, we actually would have behaved sanely, but we really shouldn't trigger this logic at all if we aren't making a PR against `main`.
Comment 4 Jonathan Bedard 2022-12-12 16:59:39 PST
Pull request: https://github.com/WebKit/WebKit/pull/7526
Comment 5 EWS 2022-12-13 16:39:28 PST
Committed 257819@main (14dcf9a35beb): <https://commits.webkit.org/257819@main>

Reviewed commits have been landed. Closing PR #7526 and removing active labels.