FailedConsole Output

Started by upstream project "deca-prb" build number 1
originally caused by:
 GitHub pull request #1 of commit 3e2ff5ac590df9aa90e240541c17a250c5ac7530 automatically merged.
[EnvInject] - Loading node environment variables.
Building remotely on amp-jenkins-worker-02 (centos spark-test spark-compile) in workspace /home/jenkins/workspace/deca-prb/HADOOP_VERSION/2.6.0/SCALAVER/2.11/SPARK_VERSION/1.5.2/label/centos
Cloning the remote Git repository
Cloning repository https://github.com/fnothaft/deca.git
 > git init /home/jenkins/workspace/deca-prb/HADOOP_VERSION/2.6.0/SCALAVER/2.11/SPARK_VERSION/1.5.2/label/centos # timeout=10
Fetching upstream changes from https://github.com/fnothaft/deca.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/fnothaft/deca.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/fnothaft/deca.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/fnothaft/deca.git # timeout=10
Fetching upstream changes from https://github.com/fnothaft/deca.git
 > git fetch --tags --progress https://github.com/fnothaft/deca.git +refs/pull/*:refs/remotes/origin/pr/*
Checking out Revision 237ac13d92ab8c70e5698cdaa526619f734c1a37 (origin/pr/1/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 237ac13d92ab8c70e5698cdaa526619f734c1a37
First time build. Skipping changelog.
[centos] $ /bin/bash /tmp/hudson1111294979166329825.sh
+ set -e
+ export JAVA_HOME=/usr/java/jdk1.8.0_60
+ JAVA_HOME=/usr/java/jdk1.8.0_60
+ export PATH=/usr/java/jdk1.8.0_60/bin/:/home/jenkins/tools/hudson.model.JDK/JDK_7u60/bin:/home/jenkins/.cargo/bin:/home/anaconda/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.1.1/bin/:/home/android-sdk/:/usr/local/bin:/bin:/usr/bin
+ PATH=/usr/java/jdk1.8.0_60/bin/:/home/jenkins/tools/hudson.model.JDK/JDK_7u60/bin:/home/jenkins/.cargo/bin:/home/anaconda/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.1.1/bin/:/home/android-sdk/:/usr/local/bin:/bin:/usr/bin
+ java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
+ javac -version
javac 1.8.0_60
+ /home/jenkins/workspace/deca-prb/HADOOP_VERSION/2.6.0/SCALAVER/2.11/SPARK_VERSION/1.5.2/label/centos/scripts/jenkins-test

# make a tempdir for writing maven cruft to
DECA_MVN_TMP_DIR=$(mktemp -d -t decaTestMvnXXXXXXX)
++ mktemp -d -t decaTestMvnXXXXXXX
+ DECA_MVN_TMP_DIR=/tmp/decaTestMvnBcoeiIL

# 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=${DECA_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/decaTestMvnBcoeiIL:g' '{}' ';'
find . -name "*.bak" -exec rm -f {} \;
+ find . -name '*.bak' -exec rm -f '{}' ';'

# variable declarations
export PATH=${JAVA_HOME}/bin/:${PATH}
+ export PATH=/usr/java/jdk1.8.0_60/bin/:/usr/java/jdk1.8.0_60/bin/:/home/jenkins/tools/hudson.model.JDK/JDK_7u60/bin:/home/jenkins/.cargo/bin:/home/anaconda/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.1.1/bin/:/home/android-sdk/:/usr/local/bin:/bin:/usr/bin
+ PATH=/usr/java/jdk1.8.0_60/bin/:/usr/java/jdk1.8.0_60/bin/:/home/jenkins/tools/hudson.model.JDK/JDK_7u60/bin:/home/jenkins/.cargo/bin:/home/anaconda/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.1.1/bin/:/home/android-sdk/:/usr/local/bin:/bin:/usr/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 /home/jenkins/workspace/deca-prb/HADOOP_VERSION/2.6.0/SCALAVER/2.11/SPARK_VERSION/1.5.2/label/centos/scripts/jenkins-test
++ cd /home/jenkins/workspace/deca-prb/HADOOP_VERSION/2.6.0/SCALAVER/2.11/SPARK_VERSION/1.5.2/label/centos/scripts
++ pwd
+ DIR=/home/jenkins/workspace/deca-prb/HADOOP_VERSION/2.6.0/SCALAVER/2.11/SPARK_VERSION/1.5.2/label/centos/scripts
PROJECT_ROOT=${DIR}/..
+ PROJECT_ROOT=/home/jenkins/workspace/deca-prb/HADOOP_VERSION/2.6.0/SCALAVER/2.11/SPARK_VERSION/1.5.2/label/centos/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/deca-prb/HADOOP_VERSION/2.6.0/SCALAVER/2.11/SPARK_VERSION/1.5.2/label/centos/scripts/../pom.xml
++ head -2
++ sed 's/<\/version>//g'
++ sed 's/ *<version>//g'
++ tail -1
+ VERSION=0.0.1-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.6.0 ]]

# 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 1.5.2 ]]

# this next line is supposed to fail
set +e
+ set +e

echo "Rewriting POM.xml files to Scala 2.10 and Spark 1 should error..."
+ echo 'Rewriting POM.xml files to Scala 2.10 and Spark 1 should error...'
Rewriting POM.xml files to Scala 2.10 and Spark 1 should error...
./scripts/move_to_spark_1.sh
+ ./scripts/move_to_spark_1.sh
/home/jenkins/workspace/deca-prb/HADOOP_VERSION/2.6.0/SCALAVER/2.11/SPARK_VERSION/1.5.2/label/centos/scripts/jenkins-test: line 44: ./scripts/move_to_spark_1.sh: No such file or directory
if [[ $? == 0 ]];
then
    echo "Running move_to_spark_1.sh when POMs are set up for Spark 1 should fail, but error code was 0 (success)."
    exit 1
fi
+ [[ 127 == 0 ]]

./scripts/move_to_scala_2.10.sh
+ ./scripts/move_to_scala_2.10.sh
/home/jenkins/workspace/deca-prb/HADOOP_VERSION/2.6.0/SCALAVER/2.11/SPARK_VERSION/1.5.2/label/centos/scripts/jenkins-test: line 51: ./scripts/move_to_scala_2.10.sh: No such file or directory
if [[ $? == 0 ]];
then
    echo "Running move_to_scala_2.10.sh when POMs are set up for Scala 2.10 should fail, but error code was 0 (success)."
    exit 1
fi
+ [[ 127 == 0 ]]

set -e
+ set -e

# are we testing for spark 2.0.0? if so, we need to rewrite our poms first
if [ ${SPARK_VERSION} == 2.0.0 ];
then
    
    echo "Rewriting POM.xml files for Spark 2."
    ./scripts/move_to_spark_2.sh

    # shouldn't be able to move to spark 2 twice
    set +e
    ./scripts/move_to_spark_2.sh
    if [[ $? == 0 ]];
    then
        echo "We have already moved to Spark 2, so running move_to_spark_2.sh a second time should fail, but error code was 0 (success)."
        exit 1
    fi
    set -e
fi
+ '[' 1.5.2 == 2.0.0 ']'

# are we testing for scala 2.11? if so, we need to rewrite our poms to 2.11 first
if [ ${SCALAVER} == 2.11 ];
then
    echo "Rewriting POM.xml files for Scala 2.11."
    ./scripts/move_to_scala_2.11.sh

    # shouldn't be able to move to scala 2.11 twice
    set +e
    ./scripts/move_to_scala_2.11.sh
    if [[ $? == 0 ]];
    then
        echo "We have already moved to Scala 2.11, so running move_to_scala_2.11.sh a second time should fail, but error code was 0 (success)."
        exit 1
    fi
    set -e
fi
+ '[' 2.11 == 2.11 ']'
+ echo 'Rewriting POM.xml files for Scala 2.11.'
Rewriting POM.xml files for Scala 2.11.
+ ./scripts/move_to_scala_2.11.sh
/home/jenkins/workspace/deca-prb/HADOOP_VERSION/2.6.0/SCALAVER/2.11/SPARK_VERSION/1.5.2/label/centos/scripts/jenkins-test: line 82: ./scripts/move_to_scala_2.11.sh: No such file or directory
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?
Publishing Scoverage XML and HTML report...
ERROR: cannot find scoverage report
Setting commit status on GitHub for https://github.com/fnothaft/deca/commit/237ac13d92ab8c70e5698cdaa526619f734c1a37
ERROR: Step ?Set build status on GitHub commit? aborted due to exception: 
java.io.FileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
	at org.kohsuke.github.Requester.handleApiError(Requester.java:501)
	at org.kohsuke.github.Requester._to(Requester.java:248)
	at org.kohsuke.github.Requester.to(Requester.java:194)
	at org.kohsuke.github.GHRepository.createCommitStatus(GHRepository.java:829)
	at com.cloudbees.jenkins.GitHubCommitNotifier.updateCommitStatus(GitHubCommitNotifier.java:138)
	at com.cloudbees.jenkins.GitHubCommitNotifier.perform(GitHubCommitNotifier.java:90)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
	at hudson.model.Build$BuildExecution.post2(Build.java:185)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
	at hudson.model.Run.execute(Run.java:1763)
	at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
Caused by: java.io.FileNotFoundException: https://api.github.com/repos/fnothaft/deca/statuses/237ac13d92ab8c70e5698cdaa526619f734c1a37
	at sun.reflect.GeneratedConstructorAccessor133.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1675)
	at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1673)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1671)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1244)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
	at org.kohsuke.github.Requester.parse(Requester.java:458)
	at org.kohsuke.github.Requester._to(Requester.java:227)
	... 13 more
Caused by: java.io.FileNotFoundException: https://api.github.com/repos/fnothaft/deca/statuses/237ac13d92ab8c70e5698cdaa526619f734c1a37
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1624)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
	at org.kohsuke.github.Requester.parse(Requester.java:454)
	... 14 more
Finished: FAILURE