[Webkit-unassigned] [Bug 182730] New: Many stress tests fail with JIT disabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 13 07:29:00 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=182730

            Bug ID: 182730
           Summary: Many stress tests fail with JIT disabled
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tpopela at redhat.com
        Depends on: 182729

Compiling JSC with:

$ build-webkit --jsc-only --release --system-malloc --no-jit

and running the stress suite with:

$ run-jsc-stress-tests --jsc $(pwd)/WebKitBuild/Release/bin/jsc --no-jit -v JSTests/stress

will make some of the tests fail with following:

Running stress/arith-abs-on-various-types.js.default
stress/arith-abs-on-various-types.js.default: Exception: The call without arguments should never exit.
stress/arith-abs-on-various-types.js.default: ERROR: Unexpected exit code: 3
FAIL: stress/arith-abs-on-various-types.js.default
Running stress/arith-abs-overflow.js.default
Running stress/arith-abs-to-arith-negate-range-optimizaton.js.default
stress/arith-abs-to-arith-negate-range-optimizaton.js.default: Exception: Failed optimizing testCheckedBetweenIntMinAndZeroExclusive(). None of the tested case need to OSR Exit.
stress/arith-abs-to-arith-negate-range-optimizaton.js.default: ERROR: Unexpected exit code: 3
FAIL: stress/arith-abs-to-arith-negate-range-optimizaton.js.default
...

What the failures have common is that they fail while testing the return value of numberOfDFGCompiles().

The problem is that when running with JIT disabled the return value is on purpose 1000000.0 - https://trac.webkit.org/browser/webkit/trunk/Source/JavaScriptCore/runtime/TestRunnerUtils.cpp?rev=212778#L77 .

We should skip these tests when JIT is disabled as they are not intended to work there.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=182729
[Bug 182729] run-jsc-stress-tests - skip a test if any of the run commands evals to skip
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180213/21c4805c/attachment.html>


More information about the webkit-unassigned mailing list