Closed
Bug 703805
Opened 13 years ago
Closed 12 years ago
Intermittent INFO | runtests.py | Received unexpected exception while running application ''NoneType' object has no attribute 'find'', on all mochitest runs from a given build [@ reloc_library]
Categories
(Firefox for Android Graveyard :: General, defect, P5)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: mbrubeck, Unassigned)
References
Details
(Keywords: crash, intermittent-failure, Whiteboard: [mobile_unittests][android-tier1][tegra])
This started happening a lot in native Fennec mochitests sometime this afternoon.
https://tbpl.mozilla.org/php/getParsedLog.php?id=7478037&tree=Birch
Android Tegra 250 birch opt test mochitest-7 on 2011-11-18 15:52:53 PST for push 80569c9d351d
========= Started 'python mochitest/runtestsremote.py ...' warnings (results: 1, elapsed: 40 secs) ==========
python mochitest/runtestsremote.py --deviceIP 10.250.50.26 --xre-path ../hostutils/xre --utility-path ../hostutils/bin --certificate-path certs --app org.mozilla.fennec --console-level INFO --http-port 30116 --ssl-port 31116 --pidfile /builds/tegra-116/test/../runtestsremote.pid --test-path Harness_sanity
in dir /builds/tegra-116/test/build/tests (timeout 2400 secs)
watching logfiles {}
argv: ['python', 'mochitest/runtestsremote.py', '--deviceIP', '10.250.50.26', '--xre-path', '../hostutils/xre', '--utility-path', '../hostutils/bin', '--certificate-path', 'certs', '--app', 'org.mozilla.fennec', '--console-level', 'INFO', '--http-port', '30116', '--ssl-port', '31116', '--pidfile', '/builds/tegra-116/test/../runtestsremote.pid', '--test-path', 'Harness_sanity']
environment:
PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
PWD=/builds/tegra-116/test/build/tests
SUT_IP=10.250.50.26
SUT_NAME=tegra-116
__CF_USER_TEXT_ENCODING=0x1F5:0:0
closing stdin
using PTY: False
unable to execute ADB: ensure Android SDK is installed and adb is in your $PATH
restarting as root failed
reconnecting socket
INFO | runtests.py | Installing extension at /builds/tegra-116/test/build/tests/mochitest/extensions/specialpowers to /tmp/tmpsvZ2h3.
INFO | runtests.py | Installing extension at /builds/tegra-116/test/build/tests/mochitest/extensions/worker to /tmp/tmpsvZ2h3.
INFO | runtests.py | Installing extension at /builds/tegra-116/test/build/tests/mochitest/extensions/workerbootstrap to /tmp/tmpsvZ2h3.
pushing directory: /tmp/tmpsvZ2h3 to /mnt/sdcard/tests/profile
args: ['/builds/tegra-116/test/build/hostutils/bin/xpcshell', '-g', '/builds/tegra-116/test/build/hostutils/xre', '-v', '170', '-f', './httpd.js', '-e', "const _PROFILE_PATH = '/tmp/tmpdnBrGo';const _SERVER_PORT = '30116'; const _SERVER_ADDR ='10.250.48.213';", '-f', './server.js']
INFO | runtests.py | Server pid: 40702
pushing directory: /tmp/tmpsvZ2h3 to /mnt/sdcard/tests/profile
INFO | runtests.py | Running tests: start.
FIRE PROC: '"MOZ_CRASHREPORTER=1,XPCOM_DEBUG_BREAK=stack,MOZ_CRASHREPORTER_NO_REPORT=1,NO_EM_RESTART=1,MOZ_PROCESS_LOG=/tmp/tmpLAhl52pidlog,XPCOM_MEM_BLOAT_LOG=/tmp/tmpsvZ2h3/runtests_leaks.log" org.mozilla.fennec -no-remote -profile /mnt/sdcard/tests/profile/ http://mochi.test:8888/tests/Harness_sanity?autorun=1&closeWhenDone=1&logFile=%2Fmnt%2Fsdcard%2Ftests%2Flogs%2Fmochitest.log&fileLevel=INFO&consoleLevel=INFO'
INFO | automation.py | Application pid: 1690
before 278528, after 258048, break 055a5000
before 315392, after 311296, break 055a5000
before 311296, after 311296, break 055a5000
before 311296, after 307200, break 055a5000
before 307200, after 307200, break 055a5000
before 307200, after 307200, break 055a5000
before 307200, after 307200, break 055a5000
before 307200, after 307200, break 055a5000
before 307200, after 307200, break 055a5000
DeviceManager: error pulling file '/mnt/sdcard/tests/logs/mochitest.log': No such file or directory
0 INFO SimpleTest START
1 INFO TEST-START | /tests/Harness_sanity/test_SpecialPowersExtension.html
2 INFO TEST-PASS | /tests/Harness_sanity/test_SpecialPowersExtension.html | check to see whether the Special Powers extension is installed. - foo should equal foo
3 INFO TEST-PASS | /tests/Harness_sanity/test_SpecialPowersExtension.html | Check to see if we can set a preference properly - true should equal true
INFO | automation.py | Application ran for: 0:00:23.316425
INFO | automation.py | Reading PID log: /tmp/tmpLAhl52pidlog
getting files in '/mnt/sdcard/tests/profile/minidumps/'
INFO | runtests.py | Received unexpected exception while running application ''NoneType' object has no attribute 'find''
WARNING | automationutils.processLeakLog() | refcount logging is off, so leaks can't be detected!
INFO | runtests.py | Running tests: end.
removing file: /mnt/sdcard/tests/logs/mochitest.log
program finished with exit code 1
elapsedTime=40.744873
TinderboxPrint: mochitest-plain<br/><em class="testfail">T-FAIL</em>
Unknown Error: command finished with exit code: 1
======== Finished 'python mochitest/runtestsremote.py ...' warnings (results: 1, elapsed: 40 secs) ========
Also:
https://tbpl.mozilla.org/php/getParsedLog.php?id=7473784&tree=Birch
https://tbpl.mozilla.org/php/getParsedLog.php?id=7475083&tree=Birch
https://tbpl.mozilla.org/php/getParsedLog.php?id=7478022&tree=Birch
https://tbpl.mozilla.org/php/getParsedLog.php?id=7475190&tree=Birch
Whiteboard: [orange][mobile_unittests][android][tegra][birch] → [orange][mobile_unittests][android-tier1][tegra][birch]
Reporter | ||
Comment 1•13 years ago
|
||
All from a single push:
https://tbpl.mozilla.org/php/getParsedLog.php?id=7620265&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7620397&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7620432&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7620382&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7620301&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7620419&tree=Mozilla-Inbound
Summary: [birch] Intermittent INFO | runtests.py | Received unexpected exception while running application ''NoneType' object has no attribute 'find'' → Intermittent INFO | runtests.py | Received unexpected exception while running application ''NoneType' object has no attribute 'find''
Whiteboard: [orange][mobile_unittests][android-tier1][tegra][birch] → [orange][mobile_unittests][android-tier1][tegra]
Reporter | ||
Comment 2•13 years ago
|
||
And from a different push:
https://tbpl.mozilla.org/php/getParsedLog.php?id=7616400&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7616249&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7616354&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7616237&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7616334&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7616444&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7616455&tree=Mozilla-Inbound
Reporter | ||
Comment 3•13 years ago
|
||
Again from a single push:
https://tbpl.mozilla.org/php/getParsedLog.php?id=7636079&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7635887&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7635903&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7635898&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7635916&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7635964&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=7635871&tree=Mozilla-Inbound
Also, Talos seems to fail with initialization errors on any push where this happens:
https://tbpl.mozilla.org/php/getParsedLog.php?id=7635853&tree=Mozilla-Inbound
Summary: Intermittent INFO | runtests.py | Received unexpected exception while running application ''NoneType' object has no attribute 'find'' → Intermittent INFO | runtests.py | Received unexpected exception while running application ''NoneType' object has no attribute 'find'', on all mochitest runs from a given build
Reporter | ||
Comment 4•13 years ago
|
||
The error persists on retriggers, for example:
https://tbpl.mozilla.org/php/getParsedLog.php?id=7621135&tree=Mozilla-Inbound
So clearly, something is wrong with the build, and not just with infrastructure at a point in time. I'll try downloading one of the affected builds to see if any problems are evident locally.
Reporter | ||
Comment 5•13 years ago
|
||
All the mochitests and Talos tests on this run failed the same way:
https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=c9516be8f8c7
Also, R3 consistently fails in /tests/layout/reftests/object/connection-refused.html with:
"TEST-UNEXPECTED-FAIL | | exception while running reftests"
Reporter | ||
Comment 6•13 years ago
|
||
I downloaded this affected tinderbox build and ran it locally:
http://ftp.mozilla.org/pub/mozilla.org/mobile/tinderbox-builds/mozilla-inbound-android-xul/1322576001/fennec-11.0a1.en-US.android-arm.apk
It crashed shortly after startup, right as about:home finished loading. It produced the following crash report, which does not appear to be submitted or available (yet?):
https://crash-stats.mozilla.com/report/index/bp-dd31d7ec-ef8b-48ab-bd2d-97ee32111129
I didn't see anything interesting in logcat:
E/GeckoConsole(11561): [JavaScript Warning: "Could not map contract ID '@mozilla.org/browser/browser-clh;1' to CID {be623d20-d305-11de-8a39-0800200c9a66} because no implementation of the CID is registered." {file: "/data/app/org.mozilla.fennec-1.apk:components/components.manifest" line: 276}]
E/GeckoConsole(11561): Could not read chrome manifest file '/data/data/org.mozilla.fennec/chrome.manifest'.
E/GeckoConsole(11539): [JavaScript Warning: "Error in parsing value for 'text-shadow'. Declaration dropped." {file: "chrome://browser/skin/aboutHome.css" line: 371}]
D/dalvikvm(11367): GC_EXPLICIT freed 48K, 50% free 2722K/5379K, external 1625K/2137K, paused 60ms
E/GeckoConsole(11539): [timing] main: 1910ms
E/GeckoConsole(11539): [timing] firstPaint: 4628ms
E/GeckoConsole(11539): [timing] sessionRestored: 4525ms
E/GeckoConsole(11539): [timing] createTopLevelWindow: 2837ms
E/GeckoConsole(11539): [timing] linkerInitialized: 309ms
E/GeckoConsole(11539): [timing] librariesLoaded: 1647ms
I/ActivityManager( 1298): Process org.mozilla.fennec (pid 11539) has died.
I/WindowManager( 1298): WIN DEATH: Window{40c9a2d8 org.mozilla.fennec/org.mozilla.fennec.App paused=false}
I/WindowManager( 1298): WIN DEATH: Window{4053c9a8 SurfaceView paused=false}
D/Zygote ( 1219): Process 11539 exited cleanly (1)
V/RenderScript_jni( 1388): surfaceCreated
D/Launcher.AllApps3D( 1388): +super.surfaceChanged
V/RenderScript_jni( 1388): surfaceChanged
D/Launcher.AllApps3D( 1388): -super.surfaceChanged
D/dalvikvm( 1388): GC_EXPLICIT freed 10K, 51% free 3323K/6663K, external 6456K/8062K, paused 72ms
W/InputManagerService( 1298): Got RemoteException sending setActive(false) notification to pid 11539 uid 10081
D/AndroidRuntime(11576):
D/AndroidRuntime(11576): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime(11576): CheckJNI is OFF
D/dalvikvm(11576): creating instr width table
D/AndroidRuntime(11576): Calling main entry com.android.commands.am.Am
I/ActivityManager( 1298): Starting: Intent { act=org.mozilla.gecko.reportCrash flg=0x10000000 cmp=org.mozilla.fennec/.CrashReporter (has extras) } from pid 11576
Reporter | ||
Comment 7•13 years ago
|
||
Reporter | ||
Comment 8•13 years ago
|
||
https://crash-stats.mozilla.com/report/index/bp-dd31d7ec-ef8b-48ab-bd2d-97ee32111129 now has crash data available. Here's the stack trace:
0 libmozutils.so reloc_library other-licenses/android/linker.c:1438
1 libmozutils.so plt_reloc other-licenses/android/linker.c:1919
2 libmozutils.so libmozutils.so@0x735b
3 libnspr4.so PR_GetAddrInfoByName nsprpub/pr/src/misc/prnetdb.c:2079
4 libxul.so libxul.so@0x291909
5 libnspr4.so PR_JoinThread nsprpub/pr/src/pthreads/ptthread.c:593
6 libc.so libc.so@0x118ee
7 libc.so libc.so@0x114b2
Keywords: crash
Summary: Intermittent INFO | runtests.py | Received unexpected exception while running application ''NoneType' object has no attribute 'find'', on all mochitest runs from a given build → Intermittent INFO | runtests.py | Received unexpected exception while running application ''NoneType' object has no attribute 'find'', on all mochitest runs from a given build [@ reloc_library]
Reporter | ||
Comment 9•13 years ago
|
||
I've clobbered all Android builders on inbound, just to see if it has any effect.
Reporter | ||
Comment 10•13 years ago
|
||
https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=0dd55a7547cd
(this build started before the clobber)
Updated•13 years ago
|
Priority: -- → P5
Comment 11•12 years ago
|
||
Mass marking whiteboard:[orange] bugs WFM (to clean up TBPL bug suggestions) that:
* Haven't changed in > 6months
* Whose whiteboard contains none of the strings: {disabled,marked,random,fuzzy,todo,fails,failing,annotated,leave open,time-bomb}
* Passed a (quick) manual inspection of bug summary/whiteboard to ensure they weren't a false positive.
I've also gone through and searched for cases where the whiteboard wasn't labelled correctly after test disabling, by using attachment description & basic comment searches. However if the test for which this bug was about has in fact been disabled/annotated/..., please accept my apologies & reopen/mark the whiteboard appropriately so this doesn't get re-closed in the future (and please ping me via IRC or email so I can try to tweak the saved searches to avoid more edge cases).
Sorry for the spam! Filter on: #FFA500
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Updated•12 years ago
|
Keywords: intermittent-failure
Assignee | ||
Updated•12 years ago
|
Whiteboard: [orange][mobile_unittests][android-tier1][tegra] → [mobile_unittests][android-tier1][tegra]
Assignee | ||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•