Hi there,
I am running into an issue while running the step "Automating Systrace with MonkeyRunner". Build is successful in step ./gradlew :app:assembleDebug :app:assembleDebugAndroidTest :app:installDebug :app:installDebugAndroidTest but the ${ANDROID_HOME}/tools/monkeyrunner ./run_perf_tests.py ./ 007886d5600d492f returns
Writing logs to: ./
Using device_id: 007886d5600d492f
Your ANDROID_HOME is set to: /Users/agupt13/Library/Android/sdk
Cleaning data files
Waiting for a device to be connected.
Device connected.
Starting dump permission grant
Starting storage permission grant
Clearing gfxinfo on device
Starting test
Executing systrace
Done systrace logging
Systrace Thread Done
Time: 0
OK (0 tests)
Done running tests
Test Thread Done
Time between test and trace thread completion: 1
Starting adb pull for test files
Starting adb pull for test files
FAIL: Could not find file indicating the test run completed. Check that the TestListener is writing files to external storage
OVERALL: FAILED. See above for more information.
I also don't see the file trace.html generated under perfTesting\<DeviceId>\testData folder .
I also see following error in adb logcat
I/TestRunner(31943): run finished: 0 tests, 0 failed, 0 ignored
I/MonitoringInstrumentation(31943): waitForActivitiesToComplete() took: 0ms
I/MonitoringInstrumentation(31943): Activities that are still in CREATED to STOPPED: 0
D/AndroidRuntime(31926): Shutting down VM
D/jdwp (31926): Got wake-up signal, bailing out of select
D/dalvikvm(31926): Debugger has detached; object registry had 1 entries
I/ActivityManager( 632): Force stopping com.google.android.perftesting appid=10100 user=0: finished inst
I/ActivityManager( 632): Killing 31943:com.google.android.perftesting/u0a100 (adj 0): stop com.google.android.perftesting
D/MonkeyStub(31817): Quit requested
I/AndroidRuntime(31817): VM exiting with result code 0.
F/AccountManagerService( 632): Account Manager Crash
F/AccountManagerService( 632): java.lang.IllegalArgumentException: no such account
F/AccountManagerService( 632): at com.android.server.accounts.AccountManagerService.getAuthToken(AccountManagerService.java:1300)
Do I need any kind of authentication for running this codelab?
Hi there, I am running into an issue while running the step "Automating Systrace with MonkeyRunner". Build is successful in step
./gradlew :app:assembleDebug :app:assembleDebugAndroidTest :app:installDebug :app:installDebugAndroidTest
but the${ANDROID_HOME}/tools/monkeyrunner ./run_perf_tests.py ./ 007886d5600d492f
returnsI also don't see the file trace.html generated under
perfTesting\<DeviceId>\testData
folder .I also see following error in
adb logcat
Do I need any kind of authentication for running this codelab?