Closed Bug 1170378 Opened 9 years ago Closed 9 years ago

gecko: created timestamps are not UTC

Categories

(Taskcluster :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jonasfj, Assigned: wcosta)

Details

Attachments

(1 file)

As we found out on IRC today, created timestamps are in local time zone, and not UTC, when generated by in-tree. This is probably not a problem in the decision task because localtime = UTC on most sane servers.

See:
https://dxr.mozilla.org/mozilla-central/source/testing/taskcluster/mach_commands.py#157
https://dxr.mozilla.org/mozilla-central/source/testing/taskcluster/mach_commands.py#228

They should use `'now': current_json_time()` instead (it's already imported from taskcluster_graph.from_now.
Assignee: nobody → wcosta
Status: NEW → ASSIGNED
Priority: -- → P1
Bug 1170378: Create tasks timestamps in UTC. r=jonasfj a=jonasfj
Attachment #8614015 - Flags: review?(jopsen)
https://reviewboard.mozilla.org/r/9833/#review8751

Looks good to me, r+
If it works on try, then it'll probably work in prod :)
Comment on attachment 8614015 [details]
MozReview Request: Bug 1170378: Create tasks timestamps in UTC. r=jonasfj a=jonasfj

I have no idea... what is up with review board, but I can't see any button that I'm supposed to push :)

Anyways, r+
Attachment #8614015 - Flags: review?(jopsen) → review+
https://hg.mozilla.org/mozilla-central/rev/23773d965ecc
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Component: TaskCluster → General
Product: Testing → Taskcluster
Version: unspecified → Trunk
Resetting Version and Target Milestone that accidentally got changed...
Target Milestone: mozilla41 → ---
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: