Closed Bug 1090927 Opened 7 years ago Closed 7 months ago

Intermittent testGeckoProfile | application crashed [None]

Categories

(Firefox for Android Graveyard :: General, defect, P3)

x86
Android
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: cbook, Unassigned)

References

()

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Android 2.3 Emulator b2g-inbound opt test robocop-1

https://treeherder.mozilla.org/ui/logviewer.html#?job_id=726924&repo=b2g-inbound

04:33:09 WARNING - PROCESS-CRASH | testGeckoProfile | application crashed [None]
testGeckoProfile worked fine:
04:33:09 INFO - Passed: 135
04:33:09 INFO - Failed: 0
04:33:09 INFO - Todo: 0 

What is this failure really about? Infra?
Flags: needinfo?(nchen)
Flags: needinfo?(jgriffin)
Flags: needinfo?(gbrown)
We're not getting a stack trace here.  Geoff, Ted, any ideas?
Flags: needinfo?(jgriffin) → needinfo?(ted)
Mark, did you see:

04:33:09     INFO -  10-29 03:50:13.620 I/TestRunner(  499): finished: testGeckoProfile(org.mozilla.gecko.tests.testGeckoProfile)
04:33:09     INFO -  10-29 03:50:13.630 I/TestRunner(  499): passed: testGeckoProfile(org.mozilla.gecko.tests.testGeckoProfile)
04:33:09     INFO -  10-29 03:50:13.640 I/TestRunner(  499): started: warning(junit.framework.TestSuite$1)
04:33:09     INFO -  10-29 03:50:13.711 I/TestRunner(  499): failed: warning(junit.framework.TestSuite$1)
04:33:09     INFO -  10-29 03:50:13.711 I/TestRunner(  499): ----- begin exception -----
04:33:09     INFO -  10-29 03:50:13.720 I/TestRunner(  499): 
04:33:09     INFO -  10-29 03:50:13.720 I/TestRunner(  499): junit.framework.AssertionFailedError: Test method isn't public: testDefaultGetter
04:33:09     INFO -  10-29 03:50:13.720 I/TestRunner(  499): 	at junit.framework.Assert.fail(Assert.java:47)
04:33:09     INFO -  10-29 03:50:13.720 I/TestRunner(  499): 	at junit.framework.TestSuite$1.runTest(TestSuite.java:263)
04:33:09     INFO -  10-29 03:50:13.720 I/TestRunner(  499): 	at junit.framework.TestCase.runBare(TestCase.java:127)
04:33:09     INFO -  10-29 03:50:13.720 I/TestRunner(  499): 	at junit.framework.TestResult$1.protect(TestResult.java:106)
04:33:09     INFO -  10-29 03:50:13.720 I/TestRunner(  499): 	at junit.framework.TestResult.runProtected(TestResult.java:124)
04:33:09     INFO -  10-29 03:50:13.720 I/TestRunner(  499): 	at junit.framework.TestResult.run(TestResult.java:109)
04:33:09     INFO -  10-29 03:50:13.720 I/TestRunner(  499): 	at junit.framework.TestCase.run(TestCase.java:118)
04:33:09     INFO -  10-29 03:50:13.720 I/TestRunner(  499): 	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
04:33:09     INFO -  10-29 03:50:13.720 I/TestRunner(  499): 	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
04:33:09     INFO -  10-29 03:50:13.720 I/TestRunner(  499): 	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529)
04:33:09     INFO -  10-29 03:50:13.720 I/TestRunner(  499): 	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448)
04:33:09     INFO -  10-29 03:50:13.720 I/TestRunner(  499): ----- end exception -----
04:33:09     INFO -  10-29 03:50:13.769 I/TestRunner(  499): finished: warning(junit.framework.TestSuite$1)
04:33:09     INFO -  10-29 03:50:13.789 I/TestRunner(  499): started: warning(junit.framework.TestSuite$1)
04:33:09     INFO -  10-29 03:50:13.799 I/TestRunner(  499): failed: warning(junit.framework.TestSuite$1)
04:33:09     INFO -  10-29 03:50:13.799 I/TestRunner(  499): ----- begin exception -----
04:33:09     INFO -  10-29 03:50:13.839 I/TestRunner(  499): 
04:33:09     INFO -  10-29 03:50:13.839 I/TestRunner(  499): junit.framework.AssertionFailedError: Test method isn't public: testGuestProfile
04:33:09     INFO -  10-29 03:50:13.839 I/TestRunner(  499): 	at junit.framework.Assert.fail(Assert.java:47)
04:33:09     INFO -  10-29 03:50:13.839 I/TestRunner(  499): 	at junit.framework.TestSuite$1.runTest(TestSuite.java:263)
04:33:09     INFO -  10-29 03:50:13.839 I/TestRunner(  499): 	at junit.framework.TestCase.runBare(TestCase.java:127)
04:33:09     INFO -  10-29 03:50:13.839 I/TestRunner(  499): 	at junit.framework.TestResult$1.protect(TestResult.java:106)
04:33:09     INFO -  10-29 03:50:13.839 I/TestRunner(  499): 	at junit.framework.TestResult.runProtected(TestResult.java:124)
04:33:09     INFO -  10-29 03:50:13.839 I/TestRunner(  499): 	at junit.framework.TestResult.run(TestResult.java:109)
04:33:09     INFO -  10-29 03:50:13.839 I/TestRunner(  499): 	at junit.framework.TestCase.run(TestCase.java:118)
04:33:09     INFO -  10-29 03:50:13.839 I/TestRunner(  499): 	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
04:33:09     INFO -  10-29 03:50:13.839 I/TestRunner(  499): 	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
04:33:09     INFO -  10-29 03:50:13.839 I/TestRunner(  499): 	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529)
04:33:09     INFO -  10-29 03:50:13.839 I/TestRunner(  499): 	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448)
04:33:09     INFO -  10-29 03:50:13.839 I/TestRunner(  499): ----- end exception -----
04:33:09     INFO -  10-29 03:50:13.909 I/TestRunner(  499): finished: warning(junit.framework.TestSuite$1)
04:33:09     INFO -  10-29 03:50:13.929 I/TestRunner(  499): started: warning(junit.framework.TestSuite$1)
04:33:09     INFO -  10-29 03:50:13.949 I/TestRunner(  499): failed: warning(junit.framework.TestSuite$1)
04:33:09     INFO -  10-29 03:50:13.949 I/TestRunner(  499): ----- begin exception -----
04:33:09     INFO -  10-29 03:50:13.969 I/TestRunner(  499): 
04:33:09     INFO -  10-29 03:50:13.969 I/TestRunner(  499): junit.framework.AssertionFailedError: Test method isn't public: testProfileCreationDeletion
04:33:09     INFO -  10-29 03:50:13.969 I/TestRunner(  499): 	at junit.framework.Assert.fail(Assert.java:47)
04:33:09     INFO -  10-29 03:50:13.969 I/TestRunner(  499): 	at junit.framework.TestSuite$1.runTest(TestSuite.java:263)
04:33:09     INFO -  10-29 03:50:13.969 I/TestRunner(  499): 	at junit.framework.TestCase.runBare(TestCase.java:127)
04:33:09     INFO -  10-29 03:50:13.969 I/TestRunner(  499): 	at junit.framework.TestResult$1.protect(TestResult.java:106)
04:33:09     INFO -  10-29 03:50:13.969 I/TestRunner(  499): 	at junit.framework.TestResult.runProtected(TestResult.java:124)
04:33:09     INFO -  10-29 03:50:13.969 I/TestRunner(  499): 	at junit.framework.TestResult.run(TestResult.java:109)
04:33:09     INFO -  10-29 03:50:13.969 I/TestRunner(  499): 	at junit.framework.TestCase.run(TestCase.java:118)
04:33:09     INFO -  10-29 03:50:13.969 I/TestRunner(  499): 	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
04:33:09     INFO -  10-29 03:50:13.969 I/TestRunner(  499): 	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
04:33:09     INFO -  10-29 03:50:13.969 I/TestRunner(  499): 	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529)
04:33:09     INFO -  10-29 03:50:13.969 I/TestRunner(  499): 	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448)
04:33:09     INFO -  10-29 03:50:13.989 I/TestRunner(  499): ----- end exception -----
04:33:09     INFO -  10-29 03:50:14.030 I/TestRunner(  499): finished: warning(junit.framework.TestSuite$1)
04:33:09     INFO -  10-29 03:50:14.070 I/ActivityManager(   64): Force stopping package org.mozilla.fennec uid=10017

? That happens after testGeckoProfile has completed. Indeed, those methods are private...might be better to rename to something other than testXXX().

There's also:

04:33:09     INFO -  Crash dump filename: /tmp/tmpdlzGI7/0580bc2e-34f5-e64a-17296326-2981d8b0.dmp
04:33:09     INFO -  stderr from minidump_stackwalk:
04:33:09     INFO -  2014-10-29 03:50:42: minidump_processor.cc:264: INFO: Processing minidump in file /tmp/tmpdlzGI7/0580bc2e-34f5-e64a-17296326-2981d8b0.dmp
04:33:09     INFO -  2014-10-29 03:50:42: minidump.cc:3815: INFO: Minidump opened minidump /tmp/tmpdlzGI7/0580bc2e-34f5-e64a-17296326-2981d8b0.dmp
04:33:09     INFO -  2014-10-29 03:50:42: minidump.cc:3860: INFO: Minidump not byte-swapping minidump
04:33:09     INFO -  2014-10-29 03:50:42: minidump.cc:4226: INFO: GetStream: type 7 not present
04:33:09     INFO -  2014-10-29 03:50:42: minidump.cc:4226: INFO: GetStream: type 7 not present
04:33:09     INFO -  2014-10-29 03:50:42: minidump.cc:4226: INFO: GetStream: type 1197932545 not present
04:33:09     INFO -  2014-10-29 03:50:42: minidump.cc:4226: INFO: GetStream: type 6 not present
04:33:09     INFO -  2014-10-29 03:50:42: minidump.cc:4226: INFO: GetStream: type 1197932546 not present
04:33:09     INFO -  2014-10-29 03:50:42: minidump.cc:4226: INFO: GetStream: type 4 not present
04:33:09     INFO -  2014-10-29 03:50:42: minidump.cc:4226: INFO: GetStream: type 3 not present
04:33:09     INFO -  2014-10-29 03:50:42: minidump_processor.cc:112: ERROR: Minidump /tmp/tmpdlzGI7/0580bc2e-34f5-e64a-17296326-2981d8b0.dmp has no thread list
04:33:09     INFO -  2014-10-29 03:50:42: minidump.cc:3787: INFO: Minidump closing minidump
04:33:09     INFO -  2014-10-29 03:50:42: minidump_stackwalk.cc:529: ERROR: MinidumpProcessor::Process failed

We sometimes see bad crash dumps on Android. nchen may be able to interpret.
Flags: needinfo?(gbrown)
(In reply to Jonathan Griffin (:jgriffin) from comment #3)
> We're not getting a stack trace here.  Geoff, Ted, any ideas?

Looks like this is described in bug 1045804.
Flags: needinfo?(ted)
I'll at least follow up on Comment 4.
Assignee: nobody → gbrown
Renaming the private test functions avoids the error of Comment 4, but shutdown crashes continue.

The test seems to run reliably if I add a long sleep at the end of the test. I'll try to find a more reasonable way to achieve the same result.

https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=381f5a6698fc
Flags: needinfo?(nchen)
This is simply a renaming of the private test functions, to avoid the junit shutdown exceptions. It probably won't resolve these crashes.
Attachment #8534442 - Flags: review?(mark.finkle)
Attachment #8534442 - Flags: review?(mark.finkle) → review+
Leave-open since I don't expect my change to eliminate crashes.
Keywords: leave-open
I'm not sure what else I can do here. We should probably wait and see what new crash reports look like.
Assignee: gbrown → nobody
Keywords: leave-open
Bulk assigning P3 to all open intermittent bugs without a priority set in Firefox components per bug 1298978.
Priority: -- → P3
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.