Console Output

Started by upstream project "bdg-utils-prb" build number 170
originally caused by:
 GitHub pull request #170 of commit befd5cd1597ad2a38e0fc1fe3c1b96544b377ea7, no merge conflicts.
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on research-jenkins-worker-02 (ubuntu20 worker-02 ubuntu) in workspace /home/jenkins/workspace/bdg-utils-prb/HADOOP_VERSION/2.7.5/SCALA_VERSION/2.11/SPARK_VERSION/2.4.6/label/ubuntu
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/bigdatagenomics/utils.git
 > git init /home/jenkins/workspace/bdg-utils-prb/HADOOP_VERSION/2.7.5/SCALA_VERSION/2.11/SPARK_VERSION/2.4.6/label/ubuntu # timeout=10
Fetching upstream changes from https://github.com/bigdatagenomics/utils.git
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
 > git fetch --tags --force --progress -- https://github.com/bigdatagenomics/utils.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/bigdatagenomics/utils.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/bigdatagenomics/utils.git # timeout=10
Fetching upstream changes from https://github.com/bigdatagenomics/utils.git
 > git fetch --tags --force --progress -- https://github.com/bigdatagenomics/utils.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10
Checking out Revision 6c7c2d0b16d819d3595bf607023ec06a973bd536 (refs/remotes/origin/pr/170/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 6c7c2d0b16d819d3595bf607023ec06a973bd536 # timeout=10
Commit message: "Merge befd5cd1597ad2a38e0fc1fe3c1b96544b377ea7 into 084aa218b2f2a812e0cce62902c2b3169c9d901b"
First time build. Skipping changelog.
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content 
JAVA_HOME=/usr/lib/jvm/java-8-oracle

[EnvInject] - Variables injected successfully.
[ubuntu] $ /bin/bash /tmp/jenkins5193590350732962557.sh
+ set -e
+ export JAVA_HOME=/usr/lib/jvm/java-8-oracle
+ JAVA_HOME=/usr/lib/jvm/java-8-oracle
+ export PATH=/usr/lib/jvm/java-8-oracle/bin/:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ PATH=/usr/lib/jvm/java-8-oracle/bin/:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ ./scripts/jenkins-test

# make a tempdir for writing maven cruft to
UTILS_MVN_TMP_DIR=$(mktemp -d -t utilsTestMvnXXXXXXX)
++ mktemp -d -t utilsTestMvnXXXXXXX
+ UTILS_MVN_TMP_DIR=/tmp/utilsTestMvn1vaSKTa

# add this tempdir to the poms...
find . -name pom.xml \
    -exec sed -i.bak \
    -e "s:sun.io.serialization.extendedDebugInfo=true:sun.io.serialization.extendedDebugInfo=true -Djava.io.tmpdir=${UTILS_MVN_TMP_DIR}:g" \
    {} \;
+ find . -name pom.xml -exec sed -i.bak -e 's:sun.io.serialization.extendedDebugInfo=true:sun.io.serialization.extendedDebugInfo=true -Djava.io.tmpdir=/tmp/utilsTestMvn1vaSKTa:g' '{}' ';'
find . -name "*.bak" -exec rm {} \;
+ find . -name '*.bak' -exec rm '{}' ';'

# variable declarations
export PATH=${JAVA_HOME}/bin/:${PATH}
+ export PATH=/usr/lib/jvm/java-8-oracle/bin/:/usr/lib/jvm/java-8-oracle/bin/:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ PATH=/usr/lib/jvm/java-8-oracle/bin/:/usr/lib/jvm/java-8-oracle/bin/:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
export MAVEN_OPTS="-Xmx1536m -XX:MaxPermSize=1g -Dfile.encoding=utf-8"
+ export 'MAVEN_OPTS=-Xmx1536m -XX:MaxPermSize=1g -Dfile.encoding=utf-8'
+ MAVEN_OPTS='-Xmx1536m -XX:MaxPermSize=1g -Dfile.encoding=utf-8'
DIR=$( cd $( dirname ${BASH_SOURCE[0]} ) && pwd )
+++ dirname ./scripts/jenkins-test
++ cd ./scripts
++ pwd
+ DIR=/home/jenkins/workspace/bdg-utils-prb/HADOOP_VERSION/2.7.5/SCALA_VERSION/2.11/SPARK_VERSION/2.4.6/label/ubuntu/scripts
PROJECT_ROOT=${DIR}/..
+ PROJECT_ROOT=/home/jenkins/workspace/bdg-utils-prb/HADOOP_VERSION/2.7.5/SCALA_VERSION/2.11/SPARK_VERSION/2.4.6/label/ubuntu/scripts/..
VERSION=$(grep "<version>" ${PROJECT_ROOT}/pom.xml  | head -2 | tail -1 | sed 's/ *<version>//g' | sed 's/<\/version>//g')
++ grep '<version>' /home/jenkins/workspace/bdg-utils-prb/HADOOP_VERSION/2.7.5/SCALA_VERSION/2.11/SPARK_VERSION/2.4.6/label/ubuntu/scripts/../pom.xml
++ head -2
++ tail -1
++ sed 's/ *<version>//g'
++ sed 's/<\/version>//g'
+ VERSION=0.4.0-SNAPSHOT

# is the hadoop version set?
if ! [[ ${HADOOP_VERSION} ]];
then
    echo "HADOOP_VERSION environment variable is not set."
    echo "Please set this variable before running."
    exit 1
fi
+ [[ -n 2.7.5 ]]

# is the spark version set?
if ! [[ ${SPARK_VERSION} ]];
then
    echo "SPARK_VERSION environment variable is not set."
    echo "Please set this variable before running."
    exit 1
fi
+ [[ -n 2.4.6 ]]

# is the scala version set?
if ! [[ ${SCALA_VERSION} ]];
then
    echo "SCALA_VERSION environment variable is not set."
    echo "Please set this variable before running."
    exit 1
fi
+ [[ -n 2.11 ]]

# print versions
echo "Testing bdg-utils version ${VERSION} on Spark ${SPARK_VERSION} and Hadoop ${HADOOP_VERSION} and Scala ${SCALA_VERSION}"
+ echo 'Testing bdg-utils version 0.4.0-SNAPSHOT on Spark 2.4.6 and Hadoop 2.7.5 and Scala 2.11'
Testing bdg-utils version 0.4.0-SNAPSHOT on Spark 2.4.6 and Hadoop 2.7.5 and Scala 2.11

# clean before building
mvn clean
+ mvn clean
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
Build step 'Execute shell' marked build as failure
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
ERROR: [GitHub Commit Status Setter] - Error creating extended parser class: null, setting build result to FAILURE
Finished: FAILURE