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: ayumi_kojima
Keywords: InRadar
Depends on:
Reported: 2021-03-30 12:58 PDT by Robert Jenner
Modified: 2021-07-19 16:35 PDT (History)
5 users (show)

See Also:

Update Expectations (1.51 KB, patch)
2021-07-19 16:27 PDT, ayumi_kojima
no flags Details | Formatted Diff | Diff

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

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. 


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

Comment 2 Radar WebKit Bug Importer 2021-03-30 13:59:02 PDT
Comment 3 Robert Jenner 2021-03-30 14:16:16 PDT
Updated test expectations here to Pass Timeout while test is reviewed: 
Comment 4 Ryan Haddad 2021-05-26 12:41:18 PDT
It looks like this test was marked as slow in https://commits.webkit.org/237437@main, but it is still timing out on the bots.
Comment 5 Amir Mark Jr 2021-05-26 14:36:21 PDT
Updated the test expectations back to Pass Timeout due to test still appearing flaky:

Comment 6 ayumi_kojima 2021-07-19 16:27:14 PDT
Created attachment 433832 [details]
Update Expectations
Comment 7 ayumi_kojima 2021-07-19 16:28:47 PDT
Updating the test expectations for iOS simulator back to Pass Timeout due to test still appearing flaky
Comment 8 Robert Jenner 2021-07-19 16:35:45 PDT
Comment on attachment 433832 [details]
Update Expectations

Clearing flags on attachment: 433832

Committed r280054 (239789@main): <https://commits.webkit.org/239789@main>