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 subscribed.
hashar subscribed.

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 SRE 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

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