| Summary: | TestAPI::promiseUnhandledRejection() predominantly fails on MacOS 12.3 in --debug | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Truitt Savell <tsavell> | ||||||
| Component: | Tools / Tests | Assignee: | Alexey Shvayka <ashvayka> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | ap, ashvayka, ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bot-watchers-bugzilla, webkit-bug-importer, ysuzuki | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Mac (Apple Silicon) | ||||||||
| OS: | macOS 12 | ||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=161942 | ||||||||
| Attachments: |
|
||||||||
|
Description
Truitt Savell
2022-05-09 11:25:39 PDT
I'm not entirely sure how to interpret testapi output, but looks like there is more that one failure: callback should receive rejected promise as first argument: FAILED callback should receive rejection reason as second argument: FAILED callback should not receive a third argument: PASSED C-API tests in C++ had 2 failures ASSERTION FAILED: !testCAPIViaCpp(filter) /Volumes/Data/worker/Apple-Monterey-Debug-Build/build/Source/JavaScriptCore/API/tests/testapi.c(1409) : int main(int, char **) 1 0x112cb4ab0 WTFCrash 2 0x100823f80 main 3 0x100ced088 I've also seen this fail intermittently on a Release build on M1 (when testapi is run while some heavy load is running in the background like a WebKit build). I've never seen it on a Debug build yet. *** Bug 240804 has been marked as a duplicate of this bug. *** Created attachment 459688 [details]
Patch
Comment on attachment 459688 [details]
Patch
LGTM
Created attachment 459728 [details]
Patch for landing
Committed r294811 (250965@main): <https://commits.webkit.org/250965@main> Reviewed commits have been landed. Closing PR #989 and removing active labels. |