Closed Bug 1532032 Opened 6 years ago Closed 6 years ago

Intermittent test-verify browser/components/urlbar/tests/browser/browser_switchTab_override.js | Uncaught exception - at resource:///modules/UrlbarUtils.jsm:261 - TypeError: result is undefined

Categories

(Firefox :: Address Bar, defect, P2)

defect
Points:
2

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: intermittent-bug-filer, Assigned: standard8)

References

Details

(Keywords: intermittent-failure, regression)

#[markdown(off)]
Filed by: apavel [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=231430477&repo=autoland

https://queue.taskcluster.net/v1/task/TbMxp8ZUSsWBz48EC02YYQ/runs/0/artifacts/public/logs/live_backing.log

09:14:32 INFO - TEST-START | browser/components/urlbar/tests/browser/browser_switchTab_override.js
09:14:32 INFO - GECKO(2222) | ++DOCSHELL 0x1126b8000 == 1 [pid = 2232] [id = {102cfb1e-5ec5-6743-bfd8-1293e7589777}]
09:14:32 INFO - GECKO(2222) | ++DOMWINDOW == 1 (0x112686800) [pid = 2232] [serial = 1] [outer = 0x0]
09:14:32 INFO - GECKO(2222) | ++DOCSHELL 0x11febe000 == 2 [pid = 2224] [id = {9aa6f295-24d8-1549-95b0-e838a472f406}]
09:14:32 INFO - GECKO(2222) | ++DOMWINDOW == 5 (0x11fe81c00) [pid = 2224] [serial = 5] [outer = 0x0]
09:14:32 INFO - GECKO(2222) | ++DOMWINDOW == 6 (0x127eaac00) [pid = 2224] [serial = 6] [outer = 0x11fe81c00]
09:14:32 INFO - GECKO(2222) | [Child 2224, Main Thread] WARNING: site security information will not be persisted: file /builds/worker/workspace/build/src/security/manager/ssl/nsSiteSecurityService.cpp, line 506
09:14:32 INFO - GECKO(2222) | ++DOMWINDOW == 2 (0x112689c00) [pid = 2232] [serial = 2] [outer = 0x112686800]
09:14:32 INFO - GECKO(2222) | [Parent 2222, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80070057: file /builds/worker/workspace/build/src/netwerk/url-classifier/UrlClassifierCommon.cpp, line 230
09:14:32 INFO - GECKO(2222) | [Parent 2222, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/netwerk/url-classifier/AsyncUrlChannelClassifier.cpp, line 677
09:14:32 INFO - GECKO(2222) | [Parent 2222, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/netwerk/url-classifier/AsyncUrlChannelClassifier.cpp, line 307
09:14:32 INFO - GECKO(2222) | [Parent 2222, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/netwerk/url-classifier/AsyncUrlChannelClassifier.cpp, line 539
09:14:32 INFO - GECKO(2222) | [Parent 2222, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/netwerk/url-classifier/AsyncUrlChannelClassifier.cpp, line 757
09:14:32 INFO - GECKO(2222) | ++DOMWINDOW == 7 (0x129c07000) [pid = 2224] [serial = 7] [outer = 0x11fe81c00]
09:14:32 INFO - GECKO(2222) | ++DOCSHELL 0x1278d1000 == 2 [pid = 2225] [id = {100188af-4f85-a74e-922f-6053f795e307}]
09:14:32 INFO - GECKO(2222) | ++DOMWINDOW == 3 (0x127894400) [pid = 2225] [serial = 3] [outer = 0x0]
09:14:33 INFO - GECKO(2222) | ++DOMWINDOW == 4 (0x127896400) [pid = 2225] [serial = 4] [outer = 0x127894400]
09:14:33 INFO - GECKO(2222) | ++DOMWINDOW == 5 (0x127896800) [pid = 2225] [serial = 5] [outer = 0x127894400]
09:14:33 INFO - TEST-INFO | started process screencapture
09:14:33 INFO - TEST-INFO | screencapture: exit 0
09:14:33 INFO - Buffered messages logged at 01:14:32
09:14:33 INFO - Entering test bound test_switchtab_override
09:14:33 INFO - Opening first tab
09:14:33 INFO - Opening and selecting second tab
09:14:33 INFO - Buffered messages logged at 01:14:33
09:14:33 INFO - Wait for autocomplete
09:14:33 INFO - Select second autocomplete popup entry
09:14:33 INFO - Buffered messages finished
09:14:33 INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_switchTab_override.js | Uncaught exception - at resource:///modules/UrlbarUtils.jsm:261 - TypeError: result is undefined
09:14:33 INFO - Stack trace:
09:14:33 INFO - getUrlFromResult@resource:///modules/UrlbarUtils.jsm:261:13
09:14:33 INFO - getDetailsOfResultAt@resource://testing-common/UrlbarTestUtils.jsm:376:41
09:14:33 INFO - async*getDetailsOfResultAt@resource://testing-common/UrlbarTestUtils.jsm:104:19
09:14:33 INFO - test_switchtab_override@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_switchTab_override.js:35:38
09:14:33 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1106:34
09:14:33 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1134:12
09:14:33 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:990:14
09:14:33 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
09:14:33 INFO - Leaving test bound test_switchtab_override
09:14:33 INFO - GECKO(2222) | JavaScript error: resource:///modules/UrlbarView.jsm, line 594: TypeError: item is undefined
09:14:33 INFO - Console message: [JavaScript Error: "TypeError: item is undefined" {file: "resource:///modules/UrlbarView.jsm" line: 594}]
09:14:33 INFO - GECKO(2222) | MEMORY STAT | vsize 4414MB | residentFast 383MB | heapAllocated 160MB
09:14:33 INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_switchTab_override.js | took 1279ms

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID

I'm going to be relanding this, as this appears to be test-verify only. However I'm hoping we can work out the fix soon.

Status: RESOLVED → REOPENED
Depends on: 1531347
Priority: P5 → P2
Resolution: INVALID → ---
Summary: Intermittent browser/components/urlbar/tests/browser/browser_switchTab_override.js | Uncaught exception - at resource:///modules/UrlbarUtils.jsm:261 - TypeError: result is undefined → Intermittent test-verify browser/components/urlbar/tests/browser/browser_switchTab_override.js | Uncaught exception - at resource:///modules/UrlbarUtils.jsm:261 - TypeError: result is undefined
No longer blocks: quantumbar-release

Mark, what needs to be done here?

Flags: needinfo?(standard8)

This was a new test-verify failure that seemed to be introduced when we ported the test across. It also seemed to be pretty much a permanent failure. Therefore, I think we should try and fix it as part of the QuantumBar work, or at least understand what's going on.

Assignee: nobody → standard8
Flags: needinfo?(standard8)

I've just been running this on try and it seems to have gone away now.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=c1eadeaef83744eebd824c60b1f6fc307f275b39

Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → WORKSFORME
Points: --- → 2
You need to log in before you can comment on or make changes to this bug.