Page MenuHomePhabricator

CI run complains about missing javac
Closed, ResolvedPublic

Description

Starting today, I am getting errors about missing Javac on CI runs, e.g.:
https://integration.wikimedia.org/ci/job/wikidata-query-rdf/494/console

23:10:32 [ERROR] COMPILATION ERROR :
23:10:32 [INFO] -------------------------------------------------------------
23:10:32 [ERROR] Unable to locate the Javac Compiler in:
23:10:32 /usr/lib/jvm/java-7-openjdk-amd64/jre/../lib/tools.jar
23:10:32 Please ensure you are using JDK 1.4 or above and
23:10:32 not a JRE (the com.sun.tools.javac.Main class is required).
23:10:32 In most cases you can change the location of your Java
23:10:32 installation by setting the JAVA_HOME environment variable.

Event Timeline

Smalyshev raised the priority of this task from to High.
Smalyshev updated the task description. (Show Details)
Smalyshev added a subscriber: Smalyshev.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 21 2015, 11:16 PM
hashar claimed this task.Jul 22 2015, 9:54 AM
hashar added a subscriber: hashar.

The job is solely tied to the Jenkins label contintLabsSlave. That causes it to roam on integration-lightslave-jessie-1002 which is missing most of the packages. I created that slaves to unlock some Operations projects migrating to Jessie ( T94836#1356195 ).

Need to fix the jobs to be tied to UbuntuTrusty as well.

Change 226277 had a related patch set uploaded (by Hashar):
Tie puppet validate jobs to Trusty

https://gerrit.wikimedia.org/r/226277

hashar closed this task as Resolved.Jul 22 2015, 10:05 AM

The job is now running on Trusty slaves that are complete and have javac.

Change 226280 had a related patch set uploaded (by Hashar):
Tie wikidata-query-rdf to Trusty

https://gerrit.wikimedia.org/r/226280

Change 226277 had a related patch set uploaded (by Hashar):
Tie puppet validate jobs to Trusty
https://gerrit.wikimedia.org/r/226277

That one is unrelated.

Change 226280 merged by jenkins-bot:
Tie wikidata-query-rdf to Trusty

https://gerrit.wikimedia.org/r/226280