Bug 223949 - [ macOS iOS ] crypto/crypto-random-values-oom.html is a flakey timeout
Summary: [ macOS iOS ] crypto/crypto-random-values-oom.html is a flakey timeout
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-30 12:58 PDT by Robert Jenner
Modified: 2021-03-31 16:29 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Jenner 2021-03-30 12:58:12 PDT
crypto/crypto-random-values-oom.html

is a flakey timeout on iOS 14 Debug, and macOS Catalina and higher. 

Most timeouts for macOS occur on BigSur DebugwWk1 and wk2 on apple silicon mostly. But the history shows flakey timeouts occurring for a while on Catalina in release for wk1 and wk2. The timeouts appear more frequent in iOS and on Apple Silicon. 

HISTORY URL:
https://results.webkit.org/?suite=layout-tests&test=crypto%2Fcrypto-random-values-oom.html

Could not obtain a Timeout Diff, as even the most recent record for the timeout diff on the Layout-test results page results in a 404 error.
Comment 1 Robert Jenner 2021-03-30 13:58:44 PDT
Was able to reproduce the timeout on Catalina wk2 Release ToT using the following test:

run-webkit-test crypto/crypto-random-values-oom.html --iterations 1000 -f

Here is the text diff that was generated from reproducing the timeout:

PASS exceptionString == undefined || exceptionString === "TypeError: Argument 1 ('array') to Crypto.getRandomValues must be an instance of ArrayBufferView" is true
PASS crypto.getRandomValues didn't crash
PASS successfullyParsed is true

TEST COMPLETE
Comment 2 Radar WebKit Bug Importer 2021-03-30 13:59:02 PDT
<rdar://problem/76020524>
Comment 3 Robert Jenner 2021-03-30 14:16:16 PDT
Updated test expectations here to Pass Timeout while test is reviewed: 
https://trac.webkit.org/changeset/275234/webkit