Mobile/Fennec/Android/AutomationLogs

From MozillaWiki
< Mobile‎ | Fennec‎ | Android
Jump to: navigation, search

Intro

Looking at a log file from an automated test or talos run can be a confusing and misleading task. This is a set of failures that we see with some notes about what it means and what you should do about it.

Talos failures

Reftest Failures

Mochitest Failures

bug 650535 - Android tests fail with "Timed out while waiting for server startup"

Timed out waiting for server startup

INFO | runtests.py | Done installing extension.
pushing directory: /tmp/tmpVQcZcz to /mnt/sdcard/tests/profile
args: ['/builds/tegra-064/test/build/hostutils/bin/xpcshell', '-g', '/builds/tegra-064/test/build/hostutils/xre', '-v', '170', '-f', './httpd.js', '-e', "const _PROFILE_PATH = '/tmp/tmpVVxSrQ';const _SERVER_PORT = '30064'; const _SERVER_ADDR ='10.250.48.201';", '-f', './server.js']
INFO | runtests.py | Server pid: 20323
uncaught exception: 2147746065
Timed out while waiting for server startup.
program finished with exit code 1
elapsedTime=97.532033

Logcat Errors

These are side effects of doing fileIO on the tegra, these FileNotFoundExceptions are not errors or warnings, more like noise.

java.io.FileNotFoundException

09-14 16:29:43.107 W/System.err( 1443): java.io.FileNotFoundException: /mnt/sdcard/tests/fennec-9.0a1.en-US.android-arm.apk (No such file or directory)
09-14 16:29:43.107 W/System.err( 1443): 	at org.apache.harmony.luni.platform.OSFileSystem.openImpl(Native Method)
09-14 16:29:43.107 W/System.err( 1443): 	at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:152)
09-14 16:29:43.107 W/System.err( 1443): 	at java.io.FileInputStream.<init>(FileInputStream.java:82)
09-14 16:29:43.107 W/System.err( 1443): 	at java.io.FileInputStream.<init>(FileInputStream.java:134)
09-14 16:29:43.107 W/System.err( 1443): 	at com.mozilla.SUTAgentAndroid.service.DoCommand.HashFile(DoCommand.java:1480)
09-14 16:29:43.107 W/System.err( 1443): 	at com.mozilla.SUTAgentAndroid.service.DoCommand.processCommand(DoCommand.java:507)
09-14 16:29:43.107 W/System.err( 1443): 	at com.mozilla.SUTAgentAndroid.service.CmdWorkerThread.run(CmdWorkerThread.java:164)