See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/1630/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### Started by timer [EnvInject] - Loading node environment variables. Building remotely on H17 (couchdbtest ubuntu xenial) in workspace /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git://git.apache.org/zookeeper.git # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 Fetching upstream changes from git://git.apache.org/zookeeper.git > git --version # timeout=10 > git 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 f33a75db1cc18124b6d0a4ee15967901fa6ec493 (refs/remotes/origin/master) Commit message: "ZOOKEEPER-2777: There is a typo in zk.py which prevents from using/compiling it" > git config core.sparsecheckout # timeout=10 > git checkout -f f33a75db1cc18124b6d0a4ee15967901fa6ec493 > git rev-list f33a75db1cc18124b6d0a4ee15967901fa6ec493 # timeout=10 No emails were triggered. Setting OPENJDK_7_ON_UBUNTU_ONLY__HOME=/usr/lib/jvm/java-7-openjdk-amd64/ [ZooKeeper-trunk-openjdk7] $ /home/jenkins/tools/ant/apache-ant-1.9.9/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 ERROR: Could not install OPENJDK_7_ON_UBUNTU_ONLY__HOME java.lang.NullPointerException Build step 'Invoke Ant' marked build as failure Recording test results Setting OPENJDK_7_ON_UBUNTU_ONLY__HOME=/usr/lib/jvm/java-7-openjdk-amd64/ ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error? Setting OPENJDK_7_ON_UBUNTU_ONLY__HOME=/usr/lib/jvm/java-7-openjdk-amd64/ Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting OPENJDK_7_ON_UBUNTU_ONLY__HOME=/usr/lib/jvm/java-7-openjdk-amd64/ Setting OPENJDK_7_ON_UBUNTU_ONLY__HOME=/usr/lib/jvm/java-7-openjdk-amd64/ ################################################################################### ############################## FAILED TESTS (if any) ############################## No tests ran.