Intermittent failure in cookie/test/test_loadflags.html | ... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIHttpChannel.getRequestHeader]"

RESOLVED FIXED in mozilla1.9.3a5

Status

()

RESOLVED FIXED
9 years ago
6 years ago

People

(Reporter: philor, Assigned: tnikkel)

Tracking

({intermittent-failure})

Trunk
mozilla1.9.3a5
x86
Windows Server 2003
intermittent-failure
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

9 years ago
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271459016.1271460749.26035.gz
WINNT 5.2 mozilla-central debug test mochitests-4/5 on 2010/04/16 16:03:36
s: win32-slave10

15 INFO TEST-PASS | /tests/extensions/cookie/test/test_loadflags.html | cookie 'oh=hai' is in header for http://example.org/tests/extensions/cookie/test/file_loadflags_inner.html
16 ERROR TEST-UNEXPECTED-FAIL | /tests/extensions/cookie/test/test_loadflags.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - uncaught exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIHttpChannel.getRequestHeader]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: http://mochi.test:8888/tests/extensions/cookie/test/file_testloadflags.js :: obs_observe :: line 70"  data: no] at :0
JavaScript error: , line 0: uncaught exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIHttpChannel.getRequestHeader]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: http://mochi.test:8888/tests/extensions/cookie/test/file_testloadflags.js :: obs_observe :: line 70"  data: no]
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
(Assignee)

Comment 16

8 years ago
So it looks like the problem here is that we get an extra observer notification that we don't expect. Next time I land on m-c I will land some stuff to dump a bunch of info to see what this extra notification is.
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
(Assignee)

Comment 26

8 years ago
Created attachment 442561 [details] [diff] [review]
debug output
Comment hidden (Treeherder Robot)
(Assignee)

Comment 29

8 years ago
So the log in comment 28 shows that we get observer notifications for http://mochi.test:8888/favicon.ico and http://example.org/favicon.ico. So we should just filter to ignore notifications we don't care about.
(Assignee)

Comment 30

8 years ago
Created attachment 442618 [details] [diff] [review]
fix
Assignee: nobody → tnikkel
Attachment #442618 - Flags: review?(dwitte)
Comment hidden (Treeherder Robot)

Comment 32

8 years ago
Comment on attachment 442618 [details] [diff] [review]
fix

r=dwitte. Nice debugging!
Attachment #442618 - Flags: review?(dwitte) → review+
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
This is also happening on staging winxp/win7 unit test boxes.
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)

Updated

8 years ago
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Flags: in-testsuite+
Target Milestone: --- → mozilla1.9.3a5
Keywords: intermittent-failure
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.