Closed
Bug 1113829
Opened 10 years ago
Closed 6 years ago
MOZ_DISABLE_NONLOCAL_CONNECTIONS abort triggers in e10s test for unknown reasons
Categories
(Testing :: Mochitest, defect)
Tracking
(e10s+)
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
e10s | + | --- |
People
(Reporter: jimm, Assigned: jimm)
References
(Blocks 1 open bug)
Details
In bug 1106075 I'm trying to get a browser chrome test working with e10s. When running the test in non-e10s mode, the test succeeds, when running in e10s, it aborts the parent process.
non-e10s:
0 INFO *** Start BrowserChrome Test Results ***
1 INFO checking window state
2 INFO TEST-START | browser/base/content/test/general/browser_bug435325.js
3 INFO TEST-PASS | browser/base/content/test/general/browser_bug435325.js | browser valid
4 INFO TEST-PASS | browser/base/content/test/general/browser_bug435325.js | currently online
-*-*- UserCustomizations (parent): document created: http://example.com/
-*-*- UserCustomizations (parent): _injectInWindow
-*-*- UserCustomizations (parent): principal status: 0
5 INFO TEST-PASS | browser/base/content/test/general/browser_bug435325.js | Setting Services.io.offline to true.
6 INFO TEST-PASS | browser/base/content/test/general/browser_bug435325.js | Loading the Offline mode neterror page.
7 INFO TEST-PASS | browser/base/content/test/general/browser_bug435325.js | The error page has got a #errorTryAgain element
8 INFO Console message: [JavaScript Error: "failed to convert to byte array: [Exception... "Component returned failure code
location: "JS frame :: resource://gre/modules/SimpleServiceDiscovery.jsm :: _search/< :: line 186" data: no]" {file: "reso
9 INFO TEST-PASS | browser/base/content/test/general/browser_bug435325.js | After clicking the Try Again button, we're back
10 INFO MEMORY STAT vsize after test: 539578368
11 INFO MEMORY STAT vsizeMaxContiguous after test: 1893662720
12 INFO MEMORY STAT residentFast after test: 152453120
13 INFO MEMORY STAT heapAllocated after test: 58281360
14 INFO TEST-OK | browser/base/content/test/general/browser_bug435325.js | took 247ms
15 INFO checking window state
16 INFO TEST-START | Shutdown
17 INFO Browser Chrome Test Summary
18 INFO Passed: 6
19 INFO Failed: 0
20 INFO Todo: 0
21 INFO *** End BrowserChrome Test Results ***
e10s run:
0 INFO *** Start BrowserChrome Test Results ***
1 INFO checking window state
2 INFO TEST-START | browser/base/content/test/general/browser_bug435325.js
3 INFO TEST-PASS | browser/base/content/test/general/browser_bug435325.js | browser valid
4 INFO TEST-PASS | browser/base/content/test/general/browser_bug435325.js | currently online
-*-*- UserCustomizations (child): document created: http://example.com/
-*-*- UserCustomizations (child): _injectInWindow
-*-*- UserCustomizations (child): principal status: 0
7 INFO TEST-PASS | browser/base/content/test/general/browser_bug435325.js | Setting Services.io.offline to true.
8 INFO TEST-PASS | browser/base/content/test/general/browser_bug435325.js | Loading the Offline mode neterror page.
9 INFO TEST-PASS | browser/base/content/test/general/browser_bug435325.js | The error page has got a #errorTryAgain element
10 INFO TEST-PASS | browser/base/content/test/general/browser_bug435325.js | After clicking the Try Again button, we're back online.
FATAL ERROR: Non-local network connections are disabled and a connection attempt to example.com (x.x.x.x) was made.
You should only access hostnames available via the test networking proxy (if running mochitests) or from a test-specific
httpd.js server (if running xpcshell tests). Browser services should be disabled or redirected to a local server.
Assignee | ||
Comment 1•10 years ago
|
||
This ties to this error -
http://mxr.mozilla.org/mozilla-central/source/netwerk/base/src/nsSocketTransport2.cpp#1219
If I hardcode crashOnNonLocalConnections = 0 the e10s succeeds.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jmathies
Comment 2•10 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #0)
> FATAL ERROR: Non-local network connections are disabled and a connection
> attempt to example.com (x.x.x.x) was made.
Boy, that's odd (the IP address).
Updated•10 years ago
|
Blocks: e10s-harness
tracking-e10s:
--- → +
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #2)
> (In reply to Jim Mathies [:jimm] from comment #0)
> > FATAL ERROR: Non-local network connections are disabled and a connection
> > attempt to example.com (x.x.x.x) was made.
>
> Boy, that's odd (the IP address).
It was my ip address.
Comment 4•10 years ago
|
||
Your externally-visible IP address? That's still pretty odd.
Comment 5•10 years ago
|
||
I think Jim replaced his IP address with x.x.x.x prior to posting.
Assignee | ||
Updated•6 years ago
|
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.
Description
•