Summary: | BuildbotTriggerable should not process a completed build request from a completed test group. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | dewei_zhu | ||||
Component: | New Bugs | Assignee: | dewei_zhu | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | rniwa | ||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
dewei_zhu
2020-11-16 18:47:17 PST
Created attachment 414298 [details]
Patch
Comment on attachment 414298 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=414298&action=review > Websites/perf.webkit.org/ChangeLog:9 > + BuildBotTriggerable._pullBuildbotOnAllSyncers assumes BuildRequest.all() retuns all build requests from triggerables. > + And it relies on BuildRequest.findById to filter out buildbot build entries and corresponding build requests from a This explanation is rather misleading. The issue here isn't really that _pullBuildbotOnAllSyncers assumes that but it's rather that it relies on buildReqeustsByGroup to contain all build requests found by BuildRequest.findById. > Websites/perf.webkit.org/tools/js/buildbot-triggerable.js:182 > + if (!info) > + continue; We should probably assert here that in this case, request's test group had finished running. |