Are those emulators running on Jenkins? Are you able to grab their logcat?
On Thu, May 1, 2014 at 7:38 AM, John Frey <[email protected]> wrote: > I'm having an issue where running the gradle connectedCheck task on my > jenkins CI server (linux) fails to run tests and ends up with a "Tests on > emulator-48941 - 4.3 failed: Unable to find instrumentation info for: > ComponentInfo{com.airstrip.apollo.app.dev.test/android.test.InstrumentationTestRunner} > ". The odd thing is that it works fine on my local machine (osx) > connected to emulators or devices. > > The relevant bits of the log seem to be as follows... > > 22:56:34.317 [INFO] > [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Executing > task ':app:connectedAndroidTest' (up-to-date check took 0.0 secs) due to: > Task has not declared any outputs. > 22:56:34.317 [DEBUG] > [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] > Executing actions for task ':app:connectedAndroidTest'. > 22:56:35.642 [DEBUG] [org.gradle.api.Project] DeviceConnector 'emulator-48941 > - 4.3': installing /media/externalDrive/workspace/Builds - Apollo Android > Client/app/build/apk/app-debug-unaligned.apk > 22:56:35.642 [DEBUG] [org.gradle.api.Project] DeviceConnector 'sdk - 4.3': > installing /media/externalDrive/workspace/Builds - Apollo Android > Client/app/build/apk/app-debug-unaligned.apk > 22:56:49.735 [DEBUG] [org.gradle.api.Project] DeviceConnector 'emulator-48941 > - 4.3': installing /media/externalDrive/workspace/Builds - Apollo Android > Client/app/build/apk/app-debug-test-unaligned.apk > 22:56:57.963 [DEBUG] [org.gradle.api.Project] DeviceConnector 'sdk - 4.3': > installing /media/externalDrive/workspace/Builds - Apollo Android > Client/app/build/apk/app-debug-test-unaligned.apk > 22:57:06.681 [INFO] [org.gradle.api.Project] Starting 0 tests on > emulator-48941 - 4.3 > 22:57:06.681 [WARN] [org.gradle.api.Project] Tests on emulator-48941 - 4.3 > failed: Unable to find instrumentation info for: > ComponentInfo{com.airstrip.apollo.app.dev.test/android.test.InstrumentationTestRunner} > 22:57:06.725 [DEBUG] [org.gradle.api.Project] DeviceConnector 'emulator-48941 > - 4.3': uninstalling com.airstrip.apollo.app.dev.test > 22:57:11.145 [DEBUG] [org.gradle.api.Project] DeviceConnector 'emulator-48941 > - 4.3': uninstalling com.airstrip.apollo.app.dev > 22:57:16.351 [INFO] [org.gradle.api.Project] Starting 0 tests on sdk - 4.3 > 22:57:16.351 [WARN] [org.gradle.api.Project] Tests on sdk - 4.3 failed: > Unable to find instrumentation info for: > ComponentInfo{com.airstrip.apollo.app.dev.test/android.test.InstrumentationTestRunner} > 22:57:16.353 [DEBUG] [org.gradle.api.Project] DeviceConnector 'sdk - 4.3': > uninstalling com.airstrip.apollo.app.dev.test > 22:57:17.989 [DEBUG] [org.gradle.api.Project] DeviceConnector 'sdk - 4.3': > uninstalling com.airstrip.apollo.app.dev > 22:57:19.897 [DEBUG] > [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] > Finished executing task ':app:connectedAndroidTest' > > > I'm using version 1.10 of the gradle wrapper on both systems and 0.9 of the > android plugin. If anyone has any ideas what could be causing this I would > really appreciate the feedback? > > -- > You received this message because you are subscribed to the Google Groups > "adt-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. http://developer.android.com | http://tools.android.com Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
