Skip to content

Instantly share code, notes, and snippets.

@rwood-moz
Created July 14, 2015 21:20
Show Gist options
  • Save rwood-moz/6f3ccd8ee7fafcc58d16 to your computer and use it in GitHub Desktop.
Save rwood-moz/6f3ccd8ee7fafcc58d16 to your computer and use it in GitHub Desktop.
rwood@ubuntu:~/mozilla-raptor$ DEBUG=raptor:* raptor test reboot --runs 3
[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 +78ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'chmod 777 /data/local/orng' +140ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb pull /system/b2g/webapps/settings.gaiamobile.org/application.zip /tmp/raptor-temp115614-23131-b6jeuk/application.zip +54ms
raptor:helpers Gaia revision for device: 803d04e3829fd4fe9261211aa0ddca6b79d4e328 +3s
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb pull /system/sources.xml /tmp/raptor-temp115614-23131-126aj2n/sources.xml +2ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb pull /system/b2g/application.ini /tmp/raptor-temp115614-23131-zfhz5i/application.ini +224ms
raptor:helpers Gecko revision for device: e271ef4c49ae +140ms
raptor:logging Clearing +1ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'logcat -c' +0ms
raptor:helpers Rebooting +69ms
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 +1ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'log -p i -t PerformanceTiming "system.gaiamobile.org|mark|deviceReboot|0|0|1436908742790.7551"' +19s
raptor:logging Starting logging process +54ms
raptor:phase Waiting for Homescreen +9ms
raptor:phase Waiting for System +0ms
raptor:phase Received performanceentry `deviceReboot` in system.gaiamobile.org +314ms
raptor:phase Received performanceentry `gecko-shell-html-load` in b2g +87ms
raptor:phase Received performanceentry `gecko-settings-loadstart` in b2g +5ms
raptor:phase Received performanceentry `gecko-shell-loadstart` in b2g +233ms
raptor:phase Received performanceentry `gecko-shell-jsm-loaded` in b2g +205ms
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 +135ms
raptor:phase Received performanceentry `gecko-shell-notify-content-start` in b2g +27ms
raptor:phase Received performanceentry `loadEnd` in system.gaiamobile.org +496ms
raptor:phase Received performanceentry `ftuSkip` in system.gaiamobile.org +4s
raptor:phase Received performanceentry `homescreenStart` in verticalhome.gaiamobile.org +175ms
raptor:phase Received performanceentry `navigationLoaded` in verticalhome.gaiamobile.org +176ms
raptor:phase Received performanceentry `navigationInteractive` in verticalhome.gaiamobile.org +6ms
raptor:phase Received performanceentry `visuallyLoaded` in system.gaiamobile.org +406ms
raptor:phase Received performanceentry `fullyLoaded` in system.gaiamobile.org +3s
raptor:phase Received performanceentry `osLogoEnd` in system.gaiamobile.org +538ms
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 +1s
raptor:phase Capturing Homescreen PID: 1196 +0ms
raptor:reporter Writing report results to file +2ms
[Reboot] Run 1 complete
[Reboot] Starting run 2
raptor:logging Clearing +3ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'logcat -c' +0ms
raptor:helpers Rebooting +59ms
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|1436908774602.587"' +35s
raptor:logging Stopping logging process +57ms
raptor:logging Starting logging process +0ms
raptor:phase Waiting for Homescreen +4ms
raptor:phase Waiting for System +0ms
raptor:phase Received performanceentry `gecko-shell-html-load` in b2g +288ms
raptor:phase Received performanceentry `gecko-settings-loadstart` in b2g +0ms
raptor:phase Received performanceentry `gecko-shell-loadstart` in b2g +0ms
raptor:phase Received performanceentry `gecko-shell-jsm-loaded` in b2g +1ms
raptor:phase Received performanceentry `gecko-shell-bootstrap` in b2g +3ms
raptor:phase Received performanceentry `gecko-shell-start` in b2g +0ms
raptor:phase Received performanceentry `gecko-shell-system-frame-set` in b2g +1ms
raptor:phase Received performanceentry `gecko-shell-notify-content-start` in b2g +0ms
raptor:phase Received performanceentry `loadEnd` in system.gaiamobile.org +0ms
raptor:phase Received performanceentry `ftuSkip` in system.gaiamobile.org +4ms
raptor:phase Received performanceentry `homescreenStart` in verticalhome.gaiamobile.org +0ms
raptor:phase Received performanceentry `navigationLoaded` in verticalhome.gaiamobile.org +1ms
raptor:phase Received performanceentry `navigationInteractive` in verticalhome.gaiamobile.org +0ms
raptor:phase Received performanceentry `visuallyLoaded` in system.gaiamobile.org +3ms
raptor:phase Received performanceentry `visuallyLoaded` in verticalhome.gaiamobile.org +1ms
raptor:phase Received performanceentry `contentInteractive` in verticalhome.gaiamobile.org +0ms
raptor:phase Received performanceentry `fullyLoaded` in system.gaiamobile.org +2ms
raptor:phase Received performanceentry `fullyLoaded` in verticalhome.gaiamobile.org +4ms
raptor:phase Received performanceentry `osLogoEnd` in system.gaiamobile.org +2ms
[Reboot] Testing complete
raptor:reporter Writing report results to file +7ms
raptor:phase Received performanceentry `deviceReboot` in system.gaiamobile.org +11ms
raptor:logging Stopping logging process +0ms
[Reboot] Aborted due to error:
TypeError: Cannot read property 'epoch' of null
at /home/rwood/mozilla-raptor/lib/phases/phase.js:348:35
at Array.forEach (native)
at Phase.format (/home/rwood/mozilla-raptor/lib/phases/phase.js:329:11)
at Reboot.handleRun (/home/rwood/mozilla-raptor/lib/phases/reboot.js:134:27)
at /home/rwood/mozilla-raptor/lib/phases/phase.js:206:20
at /home/rwood/mozilla-raptor/node_modules/promise/lib/core.js:33:15
at flush (/home/rwood/mozilla-raptor/node_modules/promise/node_modules/asap/asap.js:27:13)
at process._tickCallback (node.js:355:11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment