Page MenuHomePhabricator

Fix alpha build
Closed, ResolvedPublic

Description

The alpha build has not ran successfully since April 2. https://android-builds.wmflabs.org/

Event Timeline

bearND claimed this task.
bearND raised the priority of this task from to High.
bearND updated the task description. (Show Details)
bearND subscribed.

The issue was:

/srv/builds/src/build.py
[...]
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':wikipedia'.
> Could not resolve all dependencies for configuration ':wikipedia:_releasesprodDebugCompile'.
   > Could not resolve org.mediawiki.api:json:1.3.1.
     Required by:
         wikipedia:wikipedia:unspecified
      > Could not parse Ivy file file:/home/android-build/.gradle/caches/modules-2/metadata-2.14/descriptors/org.mediawiki.api/json/1.3.1/93f717b93d6e82bd09651be2aac02aa1/ivy.xml
         > Premature end of file.

Fix:

rm /home/android-build/.gradle/caches/modules-2/metadata-2.14/descriptors/org.mediawiki.api/json/1.3.1/93f717b93d6e82bd09651be2aac02aa1/ivy.xml

Forced rebuild:

android-build@android-build:/srv/wikipedia$ git reset --hard HEAD^
HEAD is now at 9bb743c Detect network connectivity and display appropriate error message to user

android-build@android-build:/srv/wikipedia$ /srv/builds/src/build.py
== 2015-04-14T23:19:22.812966 ==
== 2015-04-14T23:19:22.812966 ==
Starting build for 65b2080635219618092b4c924bcdc2978b17030d, with 1 new commits
Finished build, output at /srv/builds/public_html/runs/master-2015-04-14T23:19:23.146777