Bug 195137

Summary: Flaky API Test TestWebKitAPI.WebKitLegacy.ScrollingDoesNotPauseMedia
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Jer Noble <jer.noble>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, ap, commit-queue, eric.carlson, jer.noble, lforschler, ryanhaddad, sroberts, tsavell, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=192829
https://bugs.webkit.org/show_bug.cgi?id=193286
Attachments:
Description Flags
Patch none

Aakash Jain
Reported 2019-02-27 17:34:05 PST
TestWebKitAPI.WebKitLegacy.ScrollingDoesNotPauseMedia seems flaky. In https://ews-build.webkit-uat.org/#/builders/20/builds/1046, the test Timedout in run-api-tests step. However, in the immediately next retry step (re-run-api-tests), it passed. TestWebKitAPI.WebKitLegacy.ScrollingDoesNotPauseMedia TestWebKitAPI[20818:41429190] *** Warning: <AVPlayerViewController: 0x7fdda2809a00> is trying to enter full screen, but is not in its view's window's view controller hierarchy. This results in undefined behavior.
Attachments
Patch (3.00 KB, patch)
2019-03-12 11:06 PDT, Jer Noble
no flags
Aakash Jain
Comment 1 2019-03-01 03:35:30 PST
This test was added recently in https://trac.webkit.org/changeset/239640/webkit
Aakash Jain
Comment 2 2019-03-01 03:35:37 PST
Shawn Roberts
Comment 3 2019-03-12 09:30:29 PDT
Verified locally Tested against 3 revisions r242795, r239652 are crashes r239605 test does not exist. Reproduced with : run-api-tests TestWebKitAPI.WebKitLegacy.ScrollingDoesNotPauseMedia --debug --ios-simulator Will upload full crash log to radar. Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000bbadbeef Exception Note: EXC_CORPSE_NOTIFY Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [26035] VM Regions Near 0xbbadbeef: --> __TEXT 00000001033df000-0000000103b00000 [ 7300K] r-x/rwx SM=COW /Users/USER/Desktop/* Application Specific Information: CoreSimulator 587.32 - Device: iPhone 5s (1E0C75AE-077E-4464-8C9F-5019982ADEEB) - Runtime: iOS 12.2 (16E214) - DeviceType: iPhone 5s Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 JavaScriptCore 0x000000010818a6f0 WTFCrash + 16 1 com.apple.WebKitLegacy 0x000000012163d4db WTFCrashWithInfo(int, char const*, char const*, int) + 27 2 com.apple.WebKitLegacy 0x000000012165c24b WebCore::JSMainThreadNullState::JSMainThreadNullState() + 171 3 com.apple.WebKitLegacy 0x000000012165bcd5 WebCore::JSMainThreadNullState::JSMainThreadNullState() + 21 4 com.apple.WebKitLegacy 0x0000000121672680 -[DOMDocument querySelector:] + 32 5 TestWebKitAPI 0x000000010380ea4a TestWebKitAPI::WebKitLegacy_ScrollingDoesNotPauseMedia_Test::TestBody() + 1194 (ScrollingDoesNotPauseMedia.mm:93) 6 TestWebKitAPI 0x0000000103a1501e void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 126 (gtest.cc:2443) 7 TestWebKitAPI 0x00000001039dd10b void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 123 (gtest.cc:2479) 8 TestWebKitAPI 0x00000001039dd036 testing::Test::Run() + 198 9 TestWebKitAPI 0x00000001039de822 testing::TestInfo::Run() + 210 10 TestWebKitAPI 0x00000001039dfe8c testing::TestCase::Run() + 236 (gtest.cc:2810) 11 TestWebKitAPI 0x00000001039f80c2 testing::internal::UnitTestImpl::RunAllTests() + 834 (gtest.cc:5176) 12 TestWebKitAPI 0x0000000103a182ee bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) + 126 (gtest.cc:2443) 13 TestWebKitAPI 0x00000001039f7b0b bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) + 123 (gtest.cc:2479) 14 TestWebKitAPI 0x00000001039f79cc testing::UnitTest::Run() + 412 (gtest.cc:4786) 15 TestWebKitAPI 0x000000010385b911 RUN_ALL_TESTS() + 17 (gtest.h:2341) 16 TestWebKitAPI 0x000000010385b8a4 TestWebKitAPI::TestsController::run(int, char**) + 164 (TestsController.cpp:86) 17 TestWebKitAPI 0x00000001039a02de main + 430 (mainIOS.mm:47) 18 libdyld.dylib 0x00000001075ec541 start + 1
Radar WebKit Bug Importer
Comment 4 2019-03-12 09:31:12 PDT
Jer Noble
Comment 5 2019-03-12 11:06:56 PDT
Ryan Haddad
Comment 6 2019-03-12 11:09:01 PDT
*** Bug 193286 has been marked as a duplicate of this bug. ***
WebKit Commit Bot
Comment 7 2019-03-12 12:37:44 PDT
Comment on attachment 364410 [details] Patch Clearing flags on attachment: 364410 Committed r242819: <https://trac.webkit.org/changeset/242819>
WebKit Commit Bot
Comment 8 2019-03-12 12:37:45 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.