Skip to content

Instantly share code, notes, and snippets.

@bastionkid
Created September 6, 2022 08:46
Show Gist options
  • Save bastionkid/0159b146f86abd729feefa055ec87010 to your computer and use it in GitHub Desktop.
Save bastionkid/0159b146f86abd729feefa055ec87010 to your computer and use it in GitHub Desktop.
Baseline Profile Test Error - Debug Logs
Sep 06, 2022 10:21:48 AM com.google.testing.platform.plugin.android.AndroidDevicePlugin configure
INFO: No installables found in test fixture. Nothing to install.
Sep 06, 2022 10:21:48 AM com.google.testing.platform.plugin.android.AndroidDevicePlugin beforeAll
INFO: Installing APK: /Users/akashkhunt/StudioProjects/mega/apps/mega/macrobenchmark/build/intermediates/apk/website/benchmark/macrobenchmark-website-benchmark.apk
Sep 06, 2022 10:21:50 AM com.google.testing.platform.plugin.android.AndroidDevicePlugin beforeAll
INFO: Installing APK: /Users/akashkhunt/StudioProjects/mega/apps/mega/app/build/intermediates/apk/website/benchmark/GetMega-287(7.1.1)-website-arm64-v8a-benchmark.apk
Sep 06, 2022 10:22:03 AM com.google.testing.platform.runtime.android.driver.AndroidInstrumentationDriver run
INFO: Running Android Instrumentation driver.
Sep 06, 2022 10:22:06 AM com.google.testing.platform.RunnerImpl$Companion summarizeAndLogTestResult
SEVERE: Execute com.mega.app.macrobenchmark.startup.ColdStartupBenchmark.startupBaselineProfile: FAILED
junit.framework.AssertionFailedError: junit.framework.AssertionFailedError: Failed to grant permissions, see logcat for details
at junit.framework.Assert.fail(Assert.java:50)
at androidx.test.runner.permission.PermissionRequester.requestPermissions(PermissionRequester.java:111)
at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:133)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56)
at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:444)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2160)
Sep 06, 2022 10:22:06 AM com.google.testing.platform.server.strategy.NonInteractiveServerStrategy run
INFO: Shutting down runner.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment