[ovirt] #204: [jenkins][java] fix issues where JAVA_HOME has different locations on various slaves

ovirt trac at fedorahosted.org
Tue Jul 1 08:45:02 UTC 2014


#204: [jenkins][java] fix issues where JAVA_HOME has different locations on
various slaves
----------------------+-----------------------
  Reporter:  eedri    |      Owner:  infra@…
      Type:  task     |     Status:  new
  Priority:  major    |  Milestone:  oVirt 3.5
 Component:  Jenkins  |    Version:  Test
  Severity:  Normal   |   Keywords:
Blocked By:           |   Blocking:
----------------------+-----------------------
 sometimes jobs fail to find JAVA_HOME on jobs, due to missing java.
 e.g http://jenkins.ovirt.org/job/ovirt-engine_master_gwt-admin_merged/

 hudson.tasks.Maven_MavenInstallation/3.0.4/boot/plexus-classworlds-2.4.jar
 org.jvnet.hudson.maven3.agent.Maven3Main
 /home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.0.4
 /home/jenkins/slave.jar.1.551 /home/jenkins/maven3-interceptor.jar
 /home/jenkins/maven3-interceptor-commons.jar 36155
 09:10:23 ERROR: Failed to parse POMs
 09:10:23 java.io.IOException: Cannot run program
 "/usr/lib/jvm/java-1.7.0-openjdk/bin/java" (in directory
 "/home/jenkins/workspace/ovirt-engine_master_gwt-admin_merged"): error=2,
 No such file or directory
 09:10:23        at java.lang.ProcessBuilder.start(ProcessBuilder.java:


 need to sync all slaves to use a single path if possible and make the jobs
 use it.

-- 
Ticket URL: <https://fedorahosted.org/ovirt/ticket/204>
ovirt <http://www.ovirt.org/>
oVirt - virtualization made easy.


More information about the Infra mailing list