Closed
Bug 874425
Opened 12 years ago
Closed 12 years ago
Intermittent test_osfile_async.xul | duration: Operation duration time was updated correctly with a numeric value., | duration: OS.File.writeAtomic: Operation duration time is non-negative
Categories
(Toolkit Graveyard :: OS.File, defect)
Tracking
(firefox24 fixed, firefox25 fixed, firefox26 fixed)
RESOLVED
FIXED
mozilla26
People
(Reporter: RyanVM, Assigned: Yoric)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file, 4 obsolete files)
|
1.41 KB,
patch
|
Yoric
:
review+
|
Details | Diff | Splinter Review |
Appears to be a new failure on the iX test slaves (significantly faster than the rev3 Mac Minis they're replacing).
https://tbpl.mozilla.org/php/getParsedLog.php?id=23188194&tree=Mozilla-Inbound
Windows XP 32-bit mozilla-inbound pgo test mochitest-other on 2013-05-20 21:30:09 PDT for push c750d5d003dd
slave: t-xp32-ix-046
22:35:14 INFO - 15492 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/components/osfile/tests/mochi/test_osfile_async.xul | system_shutdown: Log message observation promise was rejected as expected.
22:35:14 INFO - 15493 INFO TEST-INFO | chrome://mochitests/content/chrome/toolkit/components/osfile/tests/mochi/test_osfile_async.xul | system_shutdown: Complete
22:35:14 INFO - 15494 INFO TEST-INFO | chrome://mochitests/content/chrome/toolkit/components/osfile/tests/mochi/test_osfile_async.xul | duration: Entering
22:35:14 INFO - 15495 INFO TEST-INFO | chrome://mochitests/content/chrome/toolkit/components/osfile/tests/mochi/test_osfile_async.xul | duration: This was a promise
22:35:14 INFO - 15496 INFO TEST-INFO | chrome://mochitests/content/chrome/toolkit/components/osfile/tests/mochi/test_osfile_async.xul | duration: Gathered method duration time: -16 MS
22:35:14 INFO - 15497 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/toolkit/components/osfile/tests/mochi/test_osfile_async.xul | duration: Operation duration time was updated correctly with a numeric value.
| Reporter | ||
Comment 1•12 years ago
|
||
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Assignee | ||
Comment 3•12 years ago
|
||
So we have a negative duration. That's certainly unexpected. Investigating.
| Assignee | ||
Comment 4•12 years ago
|
||
Trivial patch to add a little more logging.
Attachment #753695 -
Flags: review+
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Whiteboard: [leave open]
| Reporter | ||
Comment 5•12 years ago
|
||
Keywords: checkin-needed
| Reporter | ||
Comment 6•12 years ago
|
||
Updated•12 years ago
|
Summary: Intermittent test_osfile_async.xul | duration: Operation duration time was updated correctly with a numeric value. → Intermittent test_osfile_async.xul | duration: Operation duration time was updated correctly with a numeric value., | duration: OS.File.writeAtomic: Operation duration time is non-negative
| 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) |
| Reporter | ||
Comment 17•12 years ago
|
||
(In reply to David Rajchenbach Teller [:Yoric] <on PTO, I'll be back on Thursday, August 22nd> from comment #4)
Is the extra logging providing any useful info?
Flags: needinfo?(dteller)
| Assignee | ||
Comment 18•12 years ago
|
||
Not really.
What we know:
- this problem is not limited to one specific operation (it affects OS.File.{copy, read, writeAtomic});
- this problem appears limited to Windows;
- when the problem appears, duration is always -15ms or -16ms;
- when the problem does not appear, duration is always +1ms or +2ms.
Given that this time is measured through two successive calls to Date.now() in the same thread, I'm a bit at a loss.
Flags: needinfo?(dteller)
Comment 20•12 years ago
|
||
I think Date isn't guaranteed to be monotonic. performance.now() usually provides higher resolution results and should also be monotonic.
performance.now() is 0 sometime during the page load, and then only progresses.
| Assignee | ||
Comment 21•12 years ago
|
||
Do we have performance.now() in workers?
| Assignee | ||
Updated•12 years ago
|
Attachment #753695 -
Attachment description: A little more logging to improve readability → A little more logging to improve readability (already checked in)
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
| Assignee | ||
Comment 22•12 years ago
|
||
I confirm that performance.now() is not available in workers (just filed bug 908390). Also, it might be useful to add a sanity check and discard negative durations in the code.
| Reporter | ||
Updated•12 years ago
|
Attachment #753695 -
Attachment description: A little more logging to improve readability (already checked in) → A little more logging to improve readability
Attachment #753695 -
Flags: checkin+
| Reporter | ||
Updated•12 years ago
|
Attachment #794237 -
Flags: checkin+
| Reporter | ||
Updated•12 years ago
|
| Reporter | ||
Comment 23•12 years ago
|
||
Keywords: checkin-needed
Whiteboard: [leave open] → [leave open][fixed-in-fx-team]
| Reporter | ||
Comment 24•12 years ago
|
||
Whiteboard: [leave open][fixed-in-fx-team] → [leave open]
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Assignee | ||
Comment 26•12 years ago
|
||
Attachment #795425 -
Flags: review?(nfroyd)
Comment 27•12 years ago
|
||
Comment on attachment 795425 [details] [diff] [review]
Wallpaper fix
Review of attachment 795425 [details] [diff] [review]:
-----------------------------------------------------------------
r=me. Do you want the changes in main_test_osfile_async.js, or were those just debugging changes that got qref'd into your patch?
Attachment #795425 -
Flags: review?(nfroyd) → review+
| Assignee | ||
Comment 28•12 years ago
|
||
These changes are intentional, because I believe that they make sense. However, I should not have added them in the patch as they have already been checked-in by the previous patch.
| Assignee | ||
Comment 29•12 years ago
|
||
Removing code that has already been checked in.
Assignee: nobody → dteller
Attachment #795425 -
Attachment is obsolete: true
Attachment #795428 -
Flags: review+
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
| Reporter | ||
Comment 30•12 years ago
|
||
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Reporter | ||
Comment 32•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla26
| Reporter | ||
Comment 33•12 years ago
|
||
Comment 34•12 years ago
|
||
This test failed in this try push: https://tbpl.mozilla.org/?tree=Try&rev=e122cba93bab
I'm not sure it's really a problem because this try push looks weird.
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Reporter | ||
Updated•12 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Assignee | ||
Comment 37•12 years ago
|
||
Ah, there's a typo in my fix.
| Assignee | ||
Comment 38•12 years ago
|
||
Typo fix
Attachment #753695 -
Attachment is obsolete: true
Attachment #794237 -
Attachment is obsolete: true
Attachment #795428 -
Attachment is obsolete: true
Attachment #797716 -
Flags: review+
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
| Reporter | ||
Updated•12 years ago
|
Flags: needinfo?(ryanvm)
| Reporter | ||
Comment 40•12 years ago
|
||
Keywords: checkin-needed
| Reporter | ||
Comment 41•12 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 42•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/eb53fd0e98d8
https://hg.mozilla.org/releases/mozilla-beta/rev/cc6afe7ed3a6
Flags: needinfo?(ryanvm)
Updated•3 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•