Closed Bug 1024486 Opened 6 years ago Closed 6 years ago

Intermittent browser_dbg_interrupts.js | Test timed out (after: "[JavaScript Error: "Error adding value null to histogram PLACES_ANNOS_PAGES_SIZE_KB: Error: Not a number" {file: "resource://gre/modules/PlacesDBUtils.jsm" line: 978}]")

Categories

(Toolkit :: Places, defect)

x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: emorley, Unassigned)

Details

(Keywords: intermittent-failure)

Rev4 MacOSX Snow Leopard 10.6 mozilla-inbound opt test mochitest-devtools-chrome on 2014-06-11 22:19:19 PDT for push 3b9ed7396f9a

slave: t-snow-r4-0044

https://tbpl.mozilla.org/php/getParsedLog.php?id=41580635&tree=Mozilla-Inbound

{
...
22:23:45     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_instruments-pane-collapse.js | The options menu item should now be unchecked.
22:23:45     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_instruments-pane-collapse.js | Destroying the specified debugger.
22:23:45     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_instruments-pane-collapse.js | Waiting for event: 'Debugger:Shutdown' on [object ChromeWindow].
22:23:45     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_instruments-pane-collapse.js | Waiting for event: 'destroyed' on [object Object].
22:23:45     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_instruments-pane-collapse.js | Removing tab.
22:23:45     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_instruments-pane-collapse.js | Tab removed and finished closing.
22:23:45     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_instruments-pane-collapse.js | finish() was called, cleaning up...
22:23:45     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_instruments-pane-collapse.js | Forcing GC after debugger test.
22:23:45     INFO -  TEST-INFO | MEMORY STAT vsize after test: 3985518592
22:23:45     INFO -  TEST-INFO | MEMORY STAT residentFast after test: 489631744
22:23:45     INFO -  TEST-INFO | MEMORY STAT heapAllocated after test: 107640344
22:23:45     INFO -  INFO TEST-END | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_instruments-pane-collapse.js | finished in 807ms
22:23:45     INFO -  TEST-INFO | checking window state
22:23:45     INFO -  TEST-START | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_interrupts.js
22:23:45     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_interrupts.js | Initializing a debugger panel.
22:23:45     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_interrupts.js | Adding tab: http://example.com/browser/browser/devtools/debugger/test/doc_script-switching-01.html
22:24:00     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_interrupts.js | Console message: [JavaScript Error: "Error adding value null to histogram PLACES_ANNOS_PAGES_SIZE_KB: Error: Not a number" {file: "resource://gre/modules/PlacesDBUtils.jsm" line: 978}]
22:24:31     INFO -  TEST-INFO | screencapture: exit 0
22:24:31  WARNING -  TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_interrupts.js | Test timed out
22:24:31     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_interrupts.js | finish() was called, cleaning up...
22:24:31     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_interrupts.js | Forcing GC after debugger test.
22:24:31     INFO -  TEST-INFO | MEMORY STAT vsize after test: 3989454848
22:24:31     INFO -  TEST-INFO | MEMORY STAT residentFast after test: 492331008
22:24:31     INFO -  TEST-INFO | MEMORY STAT heapAllocated after test: 100096664
22:24:31     INFO -  INFO TEST-END | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_interrupts.js | finished in 45209ms
22:24:31  WARNING -  TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_interrupts.js | Found a tab after previous test timed out: http://example.com/browser/browser/devtools/debugger/test/doc_script-switching-01.html
}
This is probably related to the following error, which is not related to devtools code:

22:24:00     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_interrupts.js | Console message: [JavaScript Error: "Error adding value null to histogram PLACES_ANNOS_PAGES_SIZE_KB: Error: Not a number" {file: "resource://gre/modules/PlacesDBUtils.jsm" line: 978}]
(In reply to Panos Astithas [:past] from comment #1)
> This is probably related to the following error, which is not related to
> devtools code:
> 
> 22:24:00     INFO -  TEST-INFO |
> chrome://mochitests/content/browser/browser/devtools/debugger/test/
> browser_dbg_interrupts.js | Console message: [JavaScript Error: "Error
> adding value null to histogram PLACES_ANNOS_PAGES_SIZE_KB: Error: Not a
> number" {file: "resource://gre/modules/PlacesDBUtils.jsm" line: 978}]

Thank you for spotting that, I completely missed it.

Marco, please may you take a look? :-)
Component: Developer Tools: Debugger → Places
Flags: needinfo?(mak77)
Product: Firefox → Toolkit
Summary: Intermittent browser_dbg_interrupts.js | Test timed out → Intermittent browser_dbg_interrupts.js | Test timed out (after: "[JavaScript Error: "Error adding value null to histogram PLACES_ANNOS_PAGES_SIZE_KB: Error: Not a number" {file: "resource://gre/modules/PlacesDBUtils.jsm" line: 978}]")
I'm not sure how that may cause the test to timeout, but it's possible the unexpected error causes a shift of events the debugger is waiting for.


The best thins would probably be setting places.database.lastMaintenance to the current date in http://mxr.mozilla.org/mozilla-central/source/testing/profiles/prefs_general.js (that iirc is used by mochitests) so that it won't try to run. It has a dedicated tests and doesn't really need to be executed during other tests.
Flags: needinfo?(mak77)
note: places.database.lastMaintenance is in seconds
Mass-closing intermittent-failure bugs filed by me, that have not occurred recently and do not have the leave-open keyword set.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.