Closed Bug 961162 Opened 11 years ago Closed 11 years ago

Intermittent test_networkstats_service_proxy.js,test_mms_pdu_helper.js,test_networkstats_db.js | test failed (with xpcshell return code: -1) | Process still running after test!

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29
Tracking Status
firefox27 --- unaffected
firefox28 --- unaffected
firefox29 --- fixed
firefox-esr24 --- unaffected
b2g-v1.2 --- unaffected
b2g-v1.3 --- unaffected
b2g-v1.4 --- fixed

People

(Reporter: RyanVM, Assigned: albert)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Looks like this has been happening for awhile, being starred as bug 908268. However, it seems to be spiking in this specific test quite a bit lately. https://tbpl.mozilla.org/php/getParsedLog.php?id=33183024&tree=Mozilla-Inbound b2g_emulator_vm mozilla-inbound opt test xpcshell on 2014-01-17 10:57:29 PST for push 7eb615c086e8 slave: tst-linux64-spot-407 11:05:54 INFO - TEST-INFO | /builds/slave/test/build/tests/xpcshell/tests/dom/network/tests/unit_stats/test_networkstats_service_proxy.js | running test ... 11:10:54 WARNING - TEST-UNEXPECTED-FAIL | /builds/slave/test/build/tests/xpcshell/tests/dom/network/tests/unit_stats/test_networkstats_service_proxy.js | test failed (with xpcshell return code: -1), see following log: 11:10:54 INFO - Exception in thread Thread-62: 11:10:54 INFO - Traceback (most recent call last): 11:10:54 INFO - File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner 11:10:54 INFO - self.run() 11:10:54 INFO - File "/usr/lib/python2.7/threading.py", line 755, in run 11:10:54 INFO - self.function(*self.args, **self.kwargs) 11:10:54 INFO - File "/builds/slave/test/build/tests/xpcshell/runxpcshelltests.py", line 590, in <lambda> 11:10:54 INFO - testTimer = Timer(testTimeoutInterval, lambda: self.testTimeout(name, proc.pid)) 11:10:54 INFO - AttributeError: 'NoneType' object has no attribute 'pid' 11:10:54 INFO - >>>>>>> 11:10:54 INFO - Traceback (most recent call last): 11:10:54 INFO - File "runtestsb2g.py", line 25, in launchProcess 11:10:54 INFO - outputFile = RemoteXPCShellTestThread.launchProcess(self, cmd, stdout, stderr, env, cwd) 11:10:54 INFO - File "/builds/slave/test/build/tests/xpcshell/remotexpcshelltests.py", line 127, in launchProcess 11:10:54 INFO - self.shellReturnCode = self.device.shell(cmd, f) 11:10:54 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/mozdevice/devicemanagerADB.py", line 141, in shell 11:10:54 INFO - raise DMError("Timeout exceeded for shell call") 11:10:54 INFO - DMError: Timeout exceeded for shell call 11:10:54 INFO - <<<<<<< 11:10:55 WARNING - TEST-UNEXPECTED-FAIL | /builds/slave/test/build/tests/xpcshell/tests/dom/network/tests/unit_stats/test_networkstats_service_proxy.js | Process still running after test! 11:10:55 INFO - >>>>>>> 11:10:55 INFO - Traceback (most recent call last): 11:10:55 INFO - File "runtestsb2g.py", line 25, in launchProcess 11:10:55 INFO - outputFile = RemoteXPCShellTestThread.launchProcess(self, cmd, stdout, stderr, env, cwd) 11:10:55 INFO - File "/builds/slave/test/build/tests/xpcshell/remotexpcshelltests.py", line 127, in launchProcess 11:10:55 INFO - self.shellReturnCode = self.device.shell(cmd, f) 11:10:55 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/mozdevice/devicemanagerADB.py", line 141, in shell 11:10:55 INFO - raise DMError("Timeout exceeded for shell call") 11:10:55 INFO - DMError: Timeout exceeded for shell call 11:10:55 INFO - <<<<<<<
Summary: Intermittent test_networkstats_service_proxy.js | test failed (with xpcshell return code: -1)test_networkstats_service_proxy.js | Process still running after test! → Intermittent test_networkstats_service_proxy.js,test_mms_pdu_helper.js | test failed (with xpcshell return code: -1) | Process still running after test!
Albert, can you please take a look? :)
Flags: needinfo?(acperez)
I tried to reproduce it locally but no lucky, I'll keep trying.
Flags: needinfo?(acperez)
Summary: Intermittent test_networkstats_service_proxy.js,test_mms_pdu_helper.js | test failed (with xpcshell return code: -1) | Process still running after test! → Intermittent test_networkstats_service_proxy.js,test_mms_pdu_helper.js,test_networkstats_db.js | test failed (with xpcshell return code: -1) | Process still running after test!
Assignee: nobody → acperez
From logcat: 21:44:13 INFO - 01-24 00:30:46.496 1065 1065 I Gecko : {"source_file":"test_networkstats_service_proxy.js","test_name":"test_saveServiceStats/<","line_number":129,"diagnostic":"[test_saveServiceStats/< : 129] 100 == 100\n","action":"test_pass","_time":1390541446501} 21:44:13 WARNING - 01-24 00:30:46.556 1065 1065 E GeckoConsole: [JavaScript Error: "aStats is undefined" {file: "resource://gre/modules/NetworkStatsDB.jsm" line: 258}]
Attached patch Patch (deleted) — Splinter Review
Fixed run_next_test called before test finished.
Attachment #8365889 - Flags: review?(gene.lian)
Comment on attachment 8365889 [details] [diff] [review] Patch Review of attachment 8365889 [details] [diff] [review]: ----------------------------------------------------------------- Nice!
Attachment #8365889 - Flags: review?(gene.lian) → review+
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: