Closed Bug 1058091 Opened 5 years ago Closed 5 years ago

FATAL ERROR: Non-local network connections are disabled and a connection attempt to tiles.up.mozillalabs.com (54.243.106.119) was made.

Categories

(Add-on SDK Graveyard :: General, defect, major)

x86_64
Windows 8.1
defect
Not set
major

Tracking

(firefox32 unaffected, firefox33 fixed, firefox34 fixed, firefox-esr24 unaffected, firefox-esr31 unaffected)

RESOLVED FIXED
mozilla34
Tracking Status
firefox32 --- unaffected
firefox33 --- fixed
firefox34 --- fixed
firefox-esr24 --- unaffected
firefox-esr31 --- unaffected

People

(Reporter: KWierso, Assigned: Mardak)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file, 1 obsolete file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=46667063&tree=Jetpack
jetpack-fx-team-ubuntu64_vm-debug on 2014-08-24 15:40:56 PDT for push 074ddf2b1d03

slave: tst-linux64-spot-746



OK
Exporting extension to simplest-test.xpi.
Testing all examples...
Testing actor-repl...
Using binary at '/builds/slave/test/addonsdk-poller/firefox/firefox'.
Using profile at '/tmp/tmpmQUlMJ.mozrunner'.
Xlib:  extension "RANDR" missing on display ":0".
System JS : WARNING resource://gre/modules/Preferences.jsm:378 - mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create
++DOCSHELL 0x7f641c841000 == 1 [pid = 1821] [id = 1]
++DOMWINDOW == 1 (0x7f641c813c00) [pid = 1821] [serial = 1] [outer = (nil)]
++DOMWINDOW == 2 (0x7f641c814800) [pid = 1821] [serial = 2] [outer = 0x7f641c813c00]
pldhash: for the aTable at address 0x7f641cb4ca20, the given aEntrySize of 168 definitely favors chaining over double hashing.
[1821] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file /builds/slave/fx-team-l64-d-0000000000000000/build/netwerk/base/src/nsFileStreams.cpp, line 203
[1821] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file /builds/slave/fx-team-l64-d-0000000000000000/build/netwerk/base/src/nsFileStreams.cpp, line 475
++DOCSHELL 0x7f6418b0f000 == 2 [pid = 1821] [id = 2]
++DOMWINDOW == 3 (0x7f6418b45c00) [pid = 1821] [serial = 3] [outer = (nil)]
++DOMWINDOW == 4 (0x7f6418b46800) [pid = 1821] [serial = 4] [outer = 0x7f6418b45c00]
++DOMWINDOW == 5 (0x7f6418b4a000) [pid = 1821] [serial = 5] [outer = 0x7f641c813c00]
System JS : WARNING (null):0 - setting a property that has only a getter
System JS : WARNING (null):0 - setting a property that has only a getter
FATAL ERROR: Non-local network connections are disabled and a connection attempt to tiles.up.mozillalabs.com (54.243.106.119) 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.
Hit MOZ_CRASH(Attempting to connect to non-local address!) at /builds/slave/fx-team-l64-d-0000000000000000/build/netwerk/base/src/nsSocketTransport2.cpp:1202
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x009A1234]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x0094A54F]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x0096780E]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x009A3BF7]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x0094A54F]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x0096780E]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x00BB0EDA]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x00B9EBC0]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x00B9EBE8]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x0094BB8F]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libnspr4.so +0x0002ED28]
UNKNOWN [/lib/x86_64-linux-gnu/libpthread.so.0 +0x00007E9A]
clone+0x0000006D [/lib/x86_64-linux-gnu/libc.so.6 +0x000F3DBD]

Program /builds/slave/test/addonsdk-poller/firefox/firefox (pid = 1821) received signal 11.
Stack:
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x026ACF67]
UNKNOWN [/lib/x86_64-linux-gnu/libpthread.so.0 +0x0000FCB0]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x009A087E]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x009A1070]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x009A1234]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x0094A54F]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x0096780E]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x009A3BF7]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x0094A54F]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x0096780E]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x00BB0EDA]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x00B9EBC0]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x00B9EBE8]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libxul.so +0x0094BB8F]
UNKNOWN [/builds/slave/test/addonsdk-poller/firefox/libnspr4.so +0x0002ED28]
UNKNOWN [/lib/x86_64-linux-gnu/libpthread.so.0 +0x00007E9A]
clone+0x0000006D [/lib/x86_64-linux-gnu/libc.so.6 +0x000F3DBD]
Sleeping for 300 seconds.
Type 'gdb /builds/slave/test/addonsdk-poller/firefox/firefox 1821' to attach your debugger to this thread.
System JS : WARNING (null):0 - setting a property that has only a getter
[1821] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/slave/fx-team-l64-d-0000000000000000/build/parser/html/nsHtml5StreamParser.cpp, line 947
Actually, this looks like it's happening consistently.
On the Jetpack tree, this started happening at https://tbpl.mozilla.org/?tree=Jetpack&onlyunstarred=1&rev=074ddf2b1d03

On the fx-team tree, the failures started happening on the SDK uplift push: https://tbpl.mozilla.org/?tree=Fx-Team&showall=1&jobname=jetpack&rev=ec2f8320d372 but that's probably just because this uplift fixed the previous permafails, letting the SDK tests proceed until they hit this non-local access.


As a guess for the actual cause, probably something from this push: https://tbpl.mozilla.org/?tree=Fx-Team&showall=1&jobname=jetpack&rev=d76f7a57af61



Ed, what needs to be disabled or changed for the Jetpack tests to not ping this external network?
Severity: normal → major
Flags: needinfo?(edilee)
Summary: Intermittent FATAL ERROR: Non-local network connections are disabled and a connection attempt to tiles.up.mozillalabs.com (54.243.106.119) was made. → FATAL ERROR: Non-local network connections are disabled and a connection attempt to tiles.up.mozillalabs.com (54.243.106.119) was made.
browser.newtabpage.directory.source = 'data:application/json,{"jetpack":1}'
browser.newtabpage.directory.ping = ''

Here's how things changed for the other tests:
xpcshell/mochitest: https://hg.mozilla.org/mozilla-central/rev/5e8bd4c63e65#l7.1
reftest: https://hg.mozilla.org/mozilla-central/rev/d5cb280f36bf
Flags: needinfo?(edilee)
Attached patch v1 (obsolete) — Splinter Review
Or do you want this as a pull request?
Attachment #8478366 - Flags: review?(kwierso)
Attachment #8478366 - Attachment is obsolete: true
Attachment #8478366 - Flags: review?(kwierso)
Commits pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/eedf51a3dd1410556f17f2ada0e4f8b623f7f68c
Bug 1058091 - FATAL ERROR: Non-local network connections are disabled and a connection attempt to tiles.up.mozillalabs.com (54.243.106.119) was made.

https://github.com/mozilla/addon-sdk/commit/f3b428aa4774f660aa4a6155894f6be8c53e46cc
Merge pull request #1599 from Mardak/master

Bug 1058091 - FATAL ERROR: Non-local network connections are disabled and a connection attempt to tiles.up.mozillalabs.com (54.243.106.119) was made. r=@erikvold
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Please make sure this lands on Aurora too once the Tiles work is uplifted there.
Assignee: nobody → edilee
Target Milestone: --- → mozilla34
Just for completeness's sake, here's the steps for uplifting Jetpack code changes:

Get the proper approvals and push to Aurora/Beta like you normally do. Jetpack code lives inside of the Firefox repositories in the /addon-sdk directory, so you can just land the changes to it there.

File a bug or make a pull request to sync up the Jetpack code to the relevant branches of the SDK repo (For Aurora changes, you'd sync up to the firefox33 branch until the releases merge around. Beta currently matches up with the firefox32 branch, etc.)



Of course, once bug 1035512 is finished, we should be able to just use whatever the mochitest harness uses for these changes.
You need to log in before you can comment on or make changes to this bug.