The apps-android-wikipedia-periodic-test CI job has been failing for months. It was used for screenshot testing but that appears to have been phased out. If new long-running tests are planned, it should be fixed (https://gerrit.wikimedia.org/r/#/c/apps/android/wikipedia/+/442136/). If not, it should be deleted.
|operations/puppet : production||contint: phaseout android slave|
|integration/config : master||Remove apps-android-wikipedia-periodic-test job and related bits|
|apps/android/wikipedia : master||Update scripts/apps-android-wikipedia-periodic-test|
Change 442136 abandoned by Mholloway:
Thanks for checking, Cooltey. Mea culpa: I didn't actually test this :/ Looks like this will need bigger changes since the test runner is no longer able to find the remaining test cases requiring a connected device. I'll follow-up on ticket.
The periodic test script has some issues:
- It references a Gradle task that no longer exists (see the abandoned patch above);
- Even if it is updated to no longer reference a nonexistent task, the test runner apparently can no longer find the remaining test cases requiring a connected device:
com.android.builder.testing.ConnectedDevice > No tests found.[Pixel_2_API_27(AVD) - 8.1.0] FAILED No tests found. This usually means that your test classes are not in the form that your test runner expects (e.g. don't inherit from TestCase or lack @Test annotations). FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:connectedDevDebugAndroidTest'. > There were failing tests. See the report at: file:///Users/mholloway/wikipedia-android/app/build/reports/androidTests/connected/flavors/DEV/index.html
For posterity: I was reminded to take a look at this today when the integration-slave-jessie-android instance died as a result of CI hardware failures (https://lists.wikimedia.org/pipermail/cloud/2019-February/000538.html).