You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2014/09/03 19:15:51 UTC

[jira] [Created] (BUILDS-16) unable to use openjdk7 on jenkins "JAVA_HOME is not defined correctly"

Patrick Hunt created BUILDS-16:
----------------------------------

             Summary: unable to use openjdk7 on jenkins "JAVA_HOME is not defined correctly"
                 Key: BUILDS-16
                 URL: https://issues.apache.org/jira/browse/BUILDS-16
             Project: Infra Build Platform
          Issue Type: Bug
            Reporter: Patrick Hunt
            Priority: Critical


I'm seeing the following error on jenkins when using openjdk7 (we don't see this on our oracle jdk7 jobs for example):

{noformat}
Started by timer
Building remotely on H3 (Mapreduce Hadoop Zookeeper ubuntu Hdfs) in workspace /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7
Updating http://svn.apache.org/repos/asf/zookeeper/trunk at revision '2014-09-02T19:52:30.943 +0000'
At revision 1622107
no change for http://svn.apache.org/repos/asf/zookeeper/trunk since the previous build
No emails were triggered.
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
[trunk] $ /home/jenkins/tools/ant/latest/bin/ant -Dtest.output=yes -Dtest.junit.output.format=xml -Djavac.target=1.7 clean test-core-java
Error: JAVA_HOME is not defined correctly.
  We cannot execute /usr/lib/jvm/java-7-openjdk-amd64//bin/java
Build step 'Invoke Ant' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Recording test results
Email was triggered for: Failure
Sending email for trigger: Failure
Sending email to: dev@zookeeper.apache.org
Finished: FAILURE
{noformat}

Here's a run that failed:

https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ZooKeeper-trunk-openjdk7/557/console



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)