See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/1289/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on H17 (ubuntu) in workspace /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7 Cloning the remote Git repository Cloning repository git://git.apache.org/zookeeper.git > git init /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7 # > timeout=10 Fetching upstream changes from git://git.apache.org/zookeeper.git > git --version # timeout=10 > git -c core.askpass=true fetch --tags --progress > git://git.apache.org/zookeeper.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url git://git.apache.org/zookeeper.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # > timeout=10 > git config remote.origin.url git://git.apache.org/zookeeper.git # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 No valid HEAD. Skipping the resetting > git clean -fdx # timeout=10 Fetching upstream changes from git://git.apache.org/zookeeper.git > git -c core.askpass=true fetch --tags --progress > git://git.apache.org/zookeeper.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision eac693cc76a34f96b9116ef33d1e92af7129416d (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f eac693cc76a34f96b9116ef33d1e92af7129416d > git rev-list 8616a9ec8ce4bc8ac2987b7417a6f0c4b7333658 # timeout=10 No emails were triggered. [ZooKeeper-trunk-openjdk7] $ /home/jenkins/tools/ant/latest/bin/ant -Dtest.output=yes -Dtest.junit.threads=8 -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 Recording test results ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error? Email was triggered for: Failure - Any Sending email for trigger: Failure - Any ################################################################################### ############################## FAILED TESTS (if any) ############################## No tests ran.