Closed
Bug 878391
Opened 12 years ago
Closed 11 years ago
Wrong DST start/end dates on WinXP iX slaves cause failures in ecma/Date/15.9.5.8.js | (new Date()).getMonth() wrong value
Categories
(Infrastructure & Operations Graveyard :: CIDuty, task, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: philor, Assigned: armenzg)
References
Details
(Keywords: intermittent-failure)
Back in 2011, in bug 630428, we were having test failures on WinXP slaves because they didn't know about the 2007 changes to when Daylight Saving Time started and ended.
https://tbpl.mozilla.org/php/getParsedLog.php?id=23665562&tree=Mozilla-Central
https://tbpl.mozilla.org/php/getParsedLog.php?id=23665299&tree=Mozilla-Central
https://tbpl.mozilla.org/php/getParsedLog.php?id=23655610&tree=Mozilla-Central
are the same sort of failures, and when you look at a random test log for a random test, and look at the timestamp for the buildstep, which comes from the master, and then look at the timestamps from mozharness at the start of every line, which come from the slave, you see
========= Started 'c:/mozilla-build/python27/python -u ...' (results: 0, elapsed: 6 mins, 2 secs) (at 2013-05-31 22:45:16.552677) =========
...
23:45:05 INFO - MultiFileLogger online at 20130531 23:45:05 in C:\slave\test
indicating that either some, most, or all the t-xp32-ix- slaves are running an hour in the future. Are they running in Alaskan time, are they set to the wrong time, or have they set themselves into DST twice because they thought it started again on the second Sunday in April?
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
t-xp32-ix-123
https://tbpl.mozilla.org/php/getParsedLog.php?id=23655899&tree=UX
At least on UX, this seems to have started on Friday.
Updated•12 years ago
|
Whiteboard: [buildduty]
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → armenzg
Comment 5•12 years ago
|
||
Updated•12 years ago
|
Keywords: intermittent-failure
Comment 6•12 years ago
|
||
Assignee | ||
Comment 8•12 years ago
|
||
For reference, we deployed this file to our rev3 minis in the past: WindowsXP-KB931836-x86-ENU.exe [1]
We hit the issue in bug 630428.
[1] http://hg.mozilla.org/build/opsi-package-sources/file/5ffc5be3d1fe/winxp-daylight-savings/CLIENT_DATA/winxp-daylight-savings.ins
Assignee | ||
Comment 9•11 years ago
|
||
Let's re-open if it happens again.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 10•11 years ago
|
||
We're back into another period where it can happen, and it's happening again, starting around https://tbpl.mozilla.org/php/getParsedLog.php?id=24803916&tree=Mozilla-Inbound
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 11•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=24821557&tree=Mozilla-Aurora
https://tbpl.mozilla.org/php/getParsedLog.php?id=24821503&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=24820653&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=24821340&tree=Mozilla-Inbound
Comment 13•11 years ago
|
||
Removing buildduty whiteboard tag because this isn't actionable by buildduty.
Whiteboard: [buildduty]
Comment 14•11 years ago
|
||
Comment 15•11 years ago
|
||
Comment 16•11 years ago
|
||
Comment 17•11 years ago
|
||
Comment 18•11 years ago
|
||
Comment 19•11 years ago
|
||
Comment 20•11 years ago
|
||
Comment 21•11 years ago
|
||
Comment 22•11 years ago
|
||
Reporter | ||
Comment 23•11 years ago
|
||
If we're going to spam it, we might as well spam it right.
Summary: Check the time, timezone, and clock-setting on WinXP iX slaves → Wrong DST start/end dates on WinXP iX slaves cause failures in ecma/Date/15.9.5.8.js | (new Date()).getMonth() wrong value
Comment 24•11 years ago
|
||
The kb fixes were deployed and the problems with machines having the wrong time zones ( some were in mdt ) were corrected. Time for deep under the hood dives if this is an ongoing issue.
Flags: needinfo?(q)
Assignee | ||
Comment 25•11 years ago
|
||
I've checked t-xp32-ix-084 and the time is 8:15am (on my side if 11:15am) which seems correct. The machine has Service Pack 3.
Maybe I don't have privileges to see more but the KB931836 fix does not show up on the list installed updates (I checked "show updates").
Q, would you mind checking if I'm doing anything wrong? please :)
Can I please get some instructions on how to login as root
on those machines? I couldn't switch users with VNC and RDP was not doing
anything.
(In reply to Q from comment #24)
> The kb fixes were deployed and the problems with machines having the wrong
> time zones ( some were in mdt ) were corrected. Time for deep under the hood
> dives if this is an ongoing issue.
IIUC, this happens once few times a year because of end of the month timings.
#################
I've looked at all the logs from comment 10 and onwards and here are the slaves that hit it.
slave: t-xp32-ix-039
slave: t-xp32-ix-015
slave: t-xp32-ix-038
slave: t-xp32-ix-089
slave: t-xp32-ix-035
slave: t-xp32-ix-067
slave: t-xp32-ix-076
slave: t-xp32-ix-074
slave: t-xp32-ix-084
Flags: needinfo?(q)
Assignee | ||
Comment 26•11 years ago
|
||
(In reply to Armen Zambrano G. [:armenzg] (back in July 7th) from comment #25)
>
> I've looked at all the logs from comment 10 and onwards and here are the
> slaves that hit it.
> slave: t-xp32-ix-039
> slave: t-xp32-ix-015
> slave: t-xp32-ix-038
> slave: t-xp32-ix-089
> slave: t-xp32-ix-035
> slave: t-xp32-ix-067
> slave: t-xp32-ix-076
> slave: t-xp32-ix-074
> slave: t-xp32-ix-084
My apologies, this list was not complete when I hit submit. I got lazy after looking at several logs and saw it not relevant to have a complete list.
Comment 27•11 years ago
|
||
KB955839 superseded and replaced KB931836 ( which should be part of sp3 already). I am forcing a repush of KB955839 to make sure all slaves have it.
I will ping you out of bug to walk through root log in instructions.
Flags: needinfo?(q)
Comment 28•11 years ago
|
||
Ran reports across the domain and KB955839 is on the XP slaves.
Assignee | ||
Comment 29•11 years ago
|
||
I don't know what to look into :/
Comment 30•11 years ago
|
||
can you come up with a simple test script that I can set the time on an xp slave to a potential problem windows and run to replicate the error?
Reporter | ||
Comment 31•11 years ago
|
||
From the previous instance (adjusted for the way we seem to have made javascript: URLs less useful in the intervening years), in Firefox, Tools menu -> Web Developer -> Error Console, paste
new Date(1301643000000).toDateString()
in the text input and press enter, good should print "Fri Apr 01 2011" and bad should print "Thu Mar 31 2011".
Updated•11 years ago
|
Component: Release Engineering: Machine Management → Release Engineering: Platform Support
QA Contact: armenzg → coop
Assignee | ||
Updated•11 years ago
|
Priority: -- → P3
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Comment 32•11 years ago
|
||
(In reply to Phil Ringnalda (:philor) from comment #31)
> From the previous instance (adjusted for the way we seem to have made
> javascript: URLs less useful in the intervening years), in Firefox, Tools
> menu -> Web Developer -> Error Console, paste
>
> new Date(1301643000000).toDateString()
>
> in the text input and press enter, good should print "Fri Apr 01 2011" and
> bad should print "Thu Mar 31 2011".
A command-line alternative would be:
python -c "import datetime;print datetime.datetime.fromtimestamp(1301643000)"
Should yield "2011-04-01 00:30:00" if the DST settings are correct.
Q: is that more useful for scripting?
Flags: needinfo?(q)
Assignee | ||
Comment 33•11 years ago
|
||
Status:
* waiting on needinfo from Q
Comment 34•11 years ago
|
||
Running a loop to identify offenders so far only t-xp32-ix-091 is a problem.
Flags: needinfo?(q)
Comment 35•11 years ago
|
||
This last script from coop with some modification for print formatting is working like a charm
Comment 36•11 years ago
|
||
All XP machines tested only three problematic systems reported:
* t-xp32-ix-091 - Stuck on a reinstall does not have all of the correct patches will hand over to Mark to investigate.
* t-xp32-ix-099 - Someone manually changed the "automatically adjust for daylight savings time" option in time date - fixed and remote correction steps put into timezone scripts
* t-xp32-ix-043 - Offline
Comment 37•11 years ago
|
||
(In reply to Q from comment #36)
> * t-xp32-ix-091 - Stuck on a reinstall does not have all of the correct
> patches will hand over to Mark to investigate.
Filed bug 914795
> * t-xp32-ix-043 - Offline
Filed bug 914793
Work on this is happening over in bug 913618 now.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Comment 38•11 years ago
|
||
Thanks coop!
Updated•7 years ago
|
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•