Closed
Bug 610183
Opened 14 years ago
Closed 7 years ago
jsreftest failure looking suspiciously like a Daylight Time failure: jsreftest.html?test=ecma_3/Date/15.9.5.7.js | d = new Date(1289117024406); d == new Date(d.toDateString() + " " + d.toLocaleTimeString()) wrong value item 12
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: robert.strong.bugs, Assigned: till)
References
Details
(Keywords: intermittent-failure, Whiteboard: [orange:time-bomb])
Attachments
(1 file)
Rev3 Fedora 12 mozilla-central opt test jsreftest on 2010/11/07 01:00:45 http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1289116845.1289117190.27034.gz REFTEST TEST-PASS | file:///home/cltbld/talos-slave/mozilla-central_fedora_test-jsreftest/build/jsreftest/tests/jsreftest.html?test=ecma_3/Date/15.9.5.7.js | d = new Date(951811200000); d == new Date(d.toDateString() + " " + d.toLocaleTimeString()) item 11 REFTEST TEST-UNEXPECTED-FAIL | file:///home/cltbld/talos-slave/mozilla-central_fedora_test-jsreftest/build/jsreftest/tests/jsreftest.html?test=ecma_3/Date/15.9.5.7.js | d = new Date(1289117024406); d == new Date(d.toDateString() + " " + d.toLocaleTimeString()) wrong value item 12
Updated•14 years ago
|
Whiteboard: [orange][orange:time-bomb]
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Updated•12 years ago
|
Keywords: intermittent-failure
Updated•12 years ago
|
Whiteboard: [orange][orange:time-bomb] → [orange:time-bomb]
Comment 58•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037779&tree=Mozilla-Inbound
Comment 59•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037291&tree=Mozilla-Inbound
Comment 60•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037266&tree=Mozilla-Inbound
Comment 61•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037809&tree=Mozilla-Inbound
Comment 62•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037795&tree=Mozilla-Inbound
Comment 66•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037888&tree=Mozilla-Inbound
Comment 67•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037113&tree=Mozilla-Aurora
Comment 68•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037071&tree=Mozilla-Aurora
Comment 69•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037171&tree=Mozilla-Aurora
Comment 70•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037254&tree=Mozilla-Aurora
Comment 71•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037176&tree=Mozilla-Aurora
Comment 72•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037294&tree=Mozilla-Aurora
Comment 73•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037170&tree=Mozilla-Aurora
Comment 74•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037226&tree=Mozilla-Aurora
Comment 75•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037635&tree=Mozilla-Aurora
Comment 76•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=30037648&tree=Mozilla-Aurora
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Updated•10 years ago
|
Assignee: general → nobody
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 126•10 years ago
|
||
Jandem, could your patch in bug 1089745 be causing this now that Europe has changed clocks?
Flags: needinfo?(jdemooij)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 135•10 years ago
|
||
(In reply to Till Schneidereit [:till] from comment #126) > Jandem, could your patch in bug 1089745 be causing this now that Europe has > changed clocks? Nothing to see here -- this happens every year, right around when when California (and presumably our test machines) go from PDT to PST.
Assignee | ||
Comment 136•10 years ago
|
||
After some IRC discussion with dholbert, I came up with this gnarly workaround. Essentially, just don't try to run any of the ES3 Date tests during the hours around DST switchover. We don't lose any coverage because the tests don't check for DST switchover behavior. I think that really, there isn't much of a good reason for these tests to use the current date at all - they could just use a hard-coded timestamp for everything. Changing to that would require a more in-depth verification to make sure we really wouldn't lose any coverage, though, so I'm not inclined to do that. Jandem, requesting review from you because you recently fixed the some-tests-fail-outside-the-bay-area thing (\o/), and no good deed should go unpunished.
Attachment #8515661 -
Flags: review?(jdemooij)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → till
Status: NEW → ASSIGNED
Assignee | ||
Comment 137•10 years ago
|
||
Comment on attachment 8515661 [details] [diff] [review] Workaround for Date tests failing around DST switchover So the failing test in 15.9.5.7 compares the strings "Sun Nov 02 2014 01:47:42 GMT-0700 (PST)" (result of now.toString()) and "Sun Nov 02 2014 01:47:42 GMT-0800 (PST)" (result of new Date(now.toDateString() + " " + now.toLocaleTimeString()).toString()) As Philor rightly points out, only one of these can be correct. Specifically, PST is GMT-0800, so the first string is wrong. Looks like we have a real bug in stringifying the date during DST switchover. :(
Flags: needinfo?(jdemooij)
Attachment #8515661 -
Flags: review?(jdemooij)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 143•7 years ago
|
||
Fixed in https://hg.mozilla.org/mozilla-central/rev/b7ef07909cc4 Before (Win10): new Date(2014, 11-1, 2, 1, 47, 42).toString() "Sun Nov 02 2014 01:47:42 GMT-0700 (Pacific Standard Time)" After (Win10): new Date(2014, 11-1, 2, 1, 47, 42).toString() "Sun Nov 02 2014 01:47:42 GMT-0700 (Pacific Daylight Time)" Before (Ubuntu): new Date(2014, 11-1, 2, 1, 47, 42).toString() "Sun Nov 02 2014 01:47:42 GMT-0700 (PST)" After (Ubuntu): new Date(2014, 11-1, 2, 1, 47, 42).toString() "Sun Nov 02 2014 01:47:42 GMT-0700 (PDT)"
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•