Skip to content

Instantly share code, notes, and snippets.

@rwood-moz
Created July 15, 2015 13:37
Show Gist options
  • Save rwood-moz/90dfb2a98d3847d07c68 to your computer and use it in GitHub Desktop.
Save rwood-moz/90dfb2a98d3847d07c68 to your computer and use it in GitHub Desktop.
rwood@ubuntu:~/mozilla-raptor$ DEBUG=raptor:* raptor test reboot
[Reboot] Preparing to start testing...
[Reboot] Starting run 1
raptor:command [Executing] adb devices +0ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'getprop' +11ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb push /home/rwood/mozilla-raptor/lib/device/orng.pie /data/local/orng +85ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'chmod 777 /data/local/orng' +141ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb pull /system/b2g/webapps/settings.gaiamobile.org/application.zip /tmp/raptor-temp115615-33635-1hkx05z/application.zip +76ms
raptor:helpers Gaia revision for device: 803d04e3829fd4fe9261211aa0ddca6b79d4e328 +3s
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb pull /system/sources.xml /tmp/raptor-temp115615-33635-bjycpc/sources.xml +1ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb pull /system/b2g/application.ini /tmp/raptor-temp115615-33635-xkil7r/application.ini +231ms
raptor:helpers Gecko revision for device: e271ef4c49ae +178ms
raptor:logging Clearing +1ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'logcat -c' +0ms
raptor:helpers Rebooting +60ms
raptor:command [Executing] DEVICETIME=$(ANDROID_SERIAL=YT9112BFWN adb shell 'echo $EPOCHREALTIME') && ANDROID_SERIAL=YT9112BFWN adb reboot && ANDROID_SERIAL=YT9112BFWN adb wait-for-device && echo $DEVICETIME +0ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'log -p i -t PerformanceTiming "system.gaiamobile.org|mark|deviceReboot|0|0|1436967305715.601"' +11s
raptor:logging Starting logging process +57ms
raptor:phase Waiting for Homescreen +7ms
raptor:phase Waiting for System +0ms
raptor:phase Received performanceentry `deviceReboot` in system.gaiamobile.org +295ms
raptor:phase Received performanceentry `gecko-shell-html-load` in b2g +3s
raptor:phase Received performanceentry `gecko-settings-loadstart` in b2g +6ms
raptor:phase Received performanceentry `gecko-shell-loadstart` in b2g +227ms
raptor:phase Received performanceentry `gecko-shell-jsm-loaded` in b2g +204ms
raptor:phase Received performanceentry `gecko-shell-bootstrap` in b2g +1s
raptor:phase Received performanceentry `gecko-shell-start` in b2g +5ms
raptor:phase Received performanceentry `gecko-shell-system-frame-set` in b2g +110ms
raptor:phase Received performanceentry `gecko-shell-notify-content-start` in b2g +99ms
raptor:phase Received performanceentry `loadEnd` in system.gaiamobile.org +429ms
raptor:phase Received performanceentry `ftuSkip` in system.gaiamobile.org +3s
raptor:phase Received performanceentry `homescreenStart` in verticalhome.gaiamobile.org +179ms
raptor:phase Received performanceentry `navigationLoaded` in verticalhome.gaiamobile.org +204ms
raptor:phase Received performanceentry `navigationInteractive` in verticalhome.gaiamobile.org +6ms
raptor:phase Received performanceentry `visuallyLoaded` in system.gaiamobile.org +437ms
raptor:phase Received performanceentry `visuallyLoaded` in verticalhome.gaiamobile.org +2s
raptor:phase Received performanceentry `contentInteractive` in verticalhome.gaiamobile.org +4ms
raptor:phase Received performanceentry `fullyLoaded` in verticalhome.gaiamobile.org +218ms
raptor:phase Capturing Homescreen PID: 1200 +0ms
raptor:phase Received performanceentry `fullyLoaded` in system.gaiamobile.org +482ms
raptor:phase Capturing System PID: 318 +1ms
raptor:reporter Writing report results to file +3ms
[Reboot] Run 1 complete
[Reboot] Results from b2g
┌─────────────────────────────────────────┬───────────┬───────────┬───────────┬───────────┬────────┬─────┐
│ Metric │ Mean │ Median │ Min │ Max │ StdDev │ p95 │
├─────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.gecko-shell-html-load │ 14368.000 │ 14368.000 │ 14368.000 │ 14368.000 │ 0.000 │ n/a │
├─────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.gecko-settings-loadstart │ 14374.000 │ 14374.000 │ 14374.000 │ 14374.000 │ 0.000 │ n/a │
├─────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.gecko-shell-loadstart │ 14601.000 │ 14601.000 │ 14601.000 │ 14601.000 │ 0.000 │ n/a │
├─────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.gecko-shell-jsm-loaded │ 204.222 │ 204.222 │ 204.222 │ 204.222 │ 0.000 │ n/a │
├─────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.gecko-shell-bootstrap │ 15965.000 │ 15965.000 │ 15965.000 │ 15965.000 │ 0.000 │ n/a │
├─────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.gecko-shell-start │ 15970.000 │ 15970.000 │ 15970.000 │ 15970.000 │ 0.000 │ n/a │
├─────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.gecko-shell-system-frame-set │ 16080.000 │ 16080.000 │ 16080.000 │ 16080.000 │ 0.000 │ n/a │
├─────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.gecko-shell-notify-content-start │ 16179.000 │ 16179.000 │ 16179.000 │ 16179.000 │ 0.000 │ n/a │
└─────────────────────────────────────────┴───────────┴───────────┴───────────┴───────────┴────────┴─────┘
[Reboot] Results from system.gaiamobile.org
┌───────────────────────┬───────────┬───────────┬───────────┬───────────┬────────┬─────┐
│ Metric │ Mean │ Median │ Min │ Max │ StdDev │ p95 │
├───────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.loadEnd │ 16608.000 │ 16608.000 │ 16608.000 │ 16608.000 │ 0.000 │ n/a │
├───────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.ftuSkip │ 19716.000 │ 19716.000 │ 19716.000 │ 19716.000 │ 0.000 │ n/a │
├───────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.visuallyLoaded │ 20542.000 │ 20542.000 │ 20542.000 │ 20542.000 │ 0.000 │ n/a │
├───────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.fullyLoaded │ 22961.000 │ 22961.000 │ 22961.000 │ 22961.000 │ 0.000 │ n/a │
└───────────────────────┴───────────┴───────────┴───────────┴───────────┴────────┴─────┘
[Reboot] Results from verticalhome.gaiamobile.org
┌──────────────────────────────┬───────────┬───────────┬───────────┬───────────┬────────┬─────┐
│ Metric │ Mean │ Median │ Min │ Max │ StdDev │ p95 │
├──────────────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.homescreenStart │ 19895.000 │ 19895.000 │ 19895.000 │ 19895.000 │ 0.000 │ n/a │
├──────────────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.navigationLoaded │ 20099.000 │ 20099.000 │ 20099.000 │ 20099.000 │ 0.000 │ n/a │
├──────────────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.navigationInteractive │ 20105.000 │ 20105.000 │ 20105.000 │ 20105.000 │ 0.000 │ n/a │
├──────────────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.visuallyLoaded │ 22257.000 │ 22257.000 │ 22257.000 │ 22257.000 │ 0.000 │ n/a │
├──────────────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.contentInteractive │ 22261.000 │ 22261.000 │ 22261.000 │ 22261.000 │ 0.000 │ n/a │
├──────────────────────────────┼───────────┼───────────┼───────────┼───────────┼────────┼─────┤
│ reboot.fullyLoaded │ 22479.000 │ 22479.000 │ 22479.000 │ 22479.000 │ 0.000 │ n/a │
└──────────────────────────────┴───────────┴───────────┴───────────┴───────────┴────────┴─────┘
[Reboot] Testing complete
raptor:reporter Writing report results to file +13ms
raptor:logging Stopping logging process +2ms
rwood@ubuntu:~/mozilla-raptor$ adb forward tcp:2828 tcp:2828
rwood@ubuntu:~/mozilla-raptor$ DEBUG=raptor:* raptor test coldlaunch --app clock
[Cold Launch: clock.gaiamobile.org] Preparing to start testing...
raptor:command [Executing] adb devices +0ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'getprop' +12ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb push /home/rwood/mozilla-raptor/lib/device/orng.pie /data/local/orng +97ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'chmod 777 /data/local/orng' +150ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb pull /system/b2g/webapps/settings.gaiamobile.org/application.zip /tmp/raptor-temp115615-33698-13zo6jp/application.zip +77ms
raptor:helpers Gaia revision for device: 803d04e3829fd4fe9261211aa0ddca6b79d4e328 +3s
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb pull /system/sources.xml /tmp/raptor-temp115615-33698-16z9qw/sources.xml +1ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb pull /system/b2g/application.ini /tmp/raptor-temp115615-33698-a383cq/application.ini +229ms
raptor:helpers Gecko revision for device: e271ef4c49ae +155ms
raptor:logging Starting logging process +0ms
raptor:logging Clearing +7ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'logcat -c' +1ms
raptor:helpers Restarting B2G +74ms
raptor:command [Executing] DEVICETIME=$(ANDROID_SERIAL=YT9112BFWN adb shell 'echo $EPOCHREALTIME') && ANDROID_SERIAL=YT9112BFWN adb shell 'stop b2g && start b2g' && ANDROID_SERIAL=YT9112BFWN adb wait-for-device && echo $DEVICETIME +0ms
raptor:phase Waiting for Homescreen +136ms
raptor:phase Waiting for System +0ms
[Cold Launch: clock.gaiamobile.org] Testing complete
raptor:logging Stopping logging process +56s
[Cold Launch: clock.gaiamobile.org] Aborted due to error:
Error: Test timeout exceeded 60000ms
at Phase.timeoutError (/home/rwood/mozilla-raptor/lib/phases/phase.js:61:22)
at null._onTimeout (/home/rwood/mozilla-raptor/lib/phases/phase.js:83:11)
at Timer.listOnTimeout (timers.js:119:15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment