[Webkit-unassigned] [Bug 139138] New: Several JavaScriptCore date tests are flaky, because they expect time to be frozen during execution

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 1 11:24:49 PST 2014


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

            Bug ID: 139138
           Summary: Several JavaScriptCore date tests are flaky, because
                    they expect time to be frozen during execution
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: MakingBotsRed
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ap at webkit.org
                CC: ggaren at apple.com, mark.lam at apple.com

At least these tests are affected:

Source/JavaScriptCore/tests/mozilla/ecma/Date/15.9.2.1.js
Source/JavaScriptCore/tests/mozilla/ecma/Date/15.9.2.2-1.js
Source/JavaScriptCore/tests/mozilla/ecma/Date/15.9.2.2-2.js
Source/JavaScriptCore/tests/mozilla/ecma/Date/15.9.2.2-3.js
Source/JavaScriptCore/tests/mozilla/ecma/Date/15.9.2.2-4.js
Source/JavaScriptCore/tests/mozilla/ecma/Date/15.9.2.2-5.js
Source/JavaScriptCore/tests/mozilla/ecma/Date/15.9.2.2-6.js

mozilla-tests.yaml/ecma/Date/15.9.2.2-6.js.mozilla-dfg-eager-no-cjit-validate-phases: Detected failures:
mozilla-tests.yaml/ecma/Date/15.9.2.2-6.js.mozilla-dfg-eager-no-cjit-validate-phases: 15.9.2.2 The Date Constructor Called as a Function
mozilla-tests.yaml/ecma/Date/15.9.2.2-6.js.mozilla-dfg-eager-no-cjit-validate-phases: Date(2031,11,31,23,59,59) = Sun Nov 30 2014 23:48:48 GMT-0800 (PST) FAILED! expected: Sun Nov 30 2014 23:48:47 GMT-0800 (PST)
mozilla-tests.yaml/ecma/Date/15.9.2.2-6.js.mozilla-dfg-eager-no-cjit-validate-phases: Date(2032,0,1,0,0,0) = Sun Nov 30 2014 23:48:48 GMT-0800 (PST) PASSED!
mozilla-tests.yaml/ecma/Date/15.9.2.2-6.js.mozilla-dfg-eager-no-cjit-validate-phases: Date(2032,0,1,0,0,1) = Sun Nov 30 2014 23:48:48 GMT-0800 (PST) PASSED!
mozilla-tests.yaml/ecma/Date/15.9.2.2-6.js.mozilla-dfg-eager-no-cjit-validate-phases: Date(2031,11,31,16,0,0,0) = Sun Nov 30 2014 23:48:48 GMT-0800 (PST) PASSED!
FAIL: mozilla-tests.yaml/ecma/Date/15.9.2.2-6.js.mozilla-dfg-eager-no-cjit-validate-phases

The tests seem bad - not even Firefox freezes the current time during script execution. The tests have an unused TOLERANCE variable, so maybe whoever wrote them understood the problem.

-- 
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/20141201/098dd06a/attachment-0002.html>


More information about the webkit-unassigned mailing list