Bug 129837

Summary: detectFailures in run-jsc-stress-tests can report everything was ok if too many tests fail
Product: WebKit Reporter: Mark Hahnenberg <mhahnenberg>
Component: JavaScriptCoreAssignee: Mark Hahnenberg <mhahnenberg>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Mark Hahnenberg 2014-03-06 15:21:38 PST
This is due to the following line:

output = sshRead("cd #{$remoteDirectory}/#{$outputDir.basename}/.runner && (ls test_fail_* 2> /dev/null || true)")

ls test_fail_* can fail if there are too many files that match. We then swallow that error, which makes everything seem ok.

The fix is to use find instead of ls like we do in shell-runner.sh.
Comment 1 Mark Hahnenberg 2014-03-06 15:35:19 PST
Created attachment 226050 [details]
Patch
Comment 2 Mark Hahnenberg 2014-03-06 17:24:50 PST
Created attachment 226067 [details]
Patch
Comment 3 WebKit Commit Bot 2014-03-06 18:12:54 PST
Comment on attachment 226067 [details]
Patch

Clearing flags on attachment: 226067

Committed r165239: <http://trac.webkit.org/changeset/165239>
Comment 4 WebKit Commit Bot 2014-03-06 18:12:56 PST
All reviewed patches have been landed.  Closing bug.