atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: PreCommit-ATLAS-Build-Test #512-branch-0.8-ATLAS-1950.2.patch
Date Mon, 09 Jul 2018 21:16:31 GMT
See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/512/display/redirect>

------------------------------------------
Started by user sarath
[EnvInject] - Loading node environment variables.
Building remotely on H12 (Hadoop xenial) in workspace <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/>
[WS-CLEANUP] Deleting project workspace...
Cloning the remote Git repository
Cloning repository http://git-wip-us.apache.org/repos/asf/atlas.git
 > git init <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/> # timeout=10
Fetching upstream changes from http://git-wip-us.apache.org/repos/asf/atlas.git
 > git --version # timeout=10
 > git fetch --tags --progress http://git-wip-us.apache.org/repos/asf/atlas.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url http://git-wip-us.apache.org/repos/asf/atlas.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url http://git-wip-us.apache.org/repos/asf/atlas.git # timeout=10
Fetching upstream changes from http://git-wip-us.apache.org/repos/asf/atlas.git
 > git fetch --tags --progress http://git-wip-us.apache.org/repos/asf/atlas.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 59ae59dbaf8ce4a35886d5a9e5af7020666b1763 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 59ae59dbaf8ce4a35886d5a9e5af7020666b1763
Commit message: "ATLAS-2781: Hard Delete : Deleting an entity which is associated to an term
associated to a tag fails"
 > git rev-list --no-walk 59ae59dbaf8ce4a35886d5a9e5af7020666b1763 # timeout=10
[EnvInject] - Mask passwords that will be passed as build parameters.
Set build name.
New build name is '#512-branch-0.8-ATLAS-1950.2.patch'
Copying file to LOCAL_PATCH
[PreCommit-ATLAS-Build-Test] $ /bin/bash /tmp/jenkins3725355271624971797.sh
+ export TOOLS_HOME=/home/jenkins/tools
+ TOOLS_HOME=/home/jenkins/tools
+ export ANT_HOME=/home/jenkins/tools/ant/latest
+ ANT_HOME=/home/jenkins/tools/ant/latest
+ export FORREST_HOME=/home/jenkins/tools/forrest/latest
+ FORREST_HOME=/home/jenkins/tools/forrest/latest
+ export JAVA5_HOME=/home/jenkins/tools/java/latest1.5
+ JAVA5_HOME=/home/jenkins/tools/java/latest1.5
+ export FINDBUGS_HOME=/home/jenkins/tools/findbugs/latest
+ FINDBUGS_HOME=/home/jenkins/tools/findbugs/latest
+ export CLOVER_HOME=/home/jenkins/tools/clover/latest
+ CLOVER_HOME=/home/jenkins/tools/clover/latest
+ export MAVEN_HOME=/home/jenkins/tools/maven/latest
+ MAVEN_HOME=/home/jenkins/tools/maven/latest
+ export PATH=/home/jenkins/tools/java/latest1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/jenkins/tools/java/latest1.8/bin:/home/jenkins/tools/ant/latest/bin:/home/jenkins/tools/maven/latest/bin
+ PATH=/home/jenkins/tools/java/latest1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/jenkins/tools/java/latest1.8/bin:/home/jenkins/tools/ant/latest/bin:/home/jenkins/tools/maven/latest/bin
+ export 'MAVEN_OPTS=-Xmx4096m -XX:MaxPermSize=1024m -Dfile.encoding=UTF-8 -noverify'
+ MAVEN_OPTS='-Xmx4096m -XX:MaxPermSize=1024m -Dfile.encoding=UTF-8 -noverify'
+ export 'ANT_OPTS=-Xmx4096m -XX:MaxPermSize=1024m -Dfile.encoding=UTF-8 -noverify'
+ ANT_OPTS='-Xmx4096m -XX:MaxPermSize=1024m -Dfile.encoding=UTF-8 -noverify'
+ env
BUILD_URL=https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/512/
XDG_SESSION_ID=1
SKIP_UT=false
HUDSON_SERVER_COOKIE=f4ebd1e6b0d976e8
SHELL=/bin/bash
FORREST_HOME=/home/jenkins/tools/forrest/latest
SSH_CLIENT=62.210.60.235 45226 22
TOOLS_HOME=/home/jenkins/tools
BUILD_TAG=jenkins-PreCommit-ATLAS-Build-Test-512
GIT_PREVIOUS_COMMIT=59ae59dbaf8ce4a35886d5a9e5af7020666b1763
ROOT_BUILD_CAUSE=MANUALTRIGGER
ANT_HOME=/home/jenkins/tools/ant/latest
WORKSPACE=<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/>
JOB_URL=https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/
ANT_OPTS=-Xmx4096m -XX:MaxPermSize=1024m -Dfile.encoding=UTF-8 -noverify
BRANCH=branch-0.8
RUN_CHANGES_DISPLAY_URL=https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/512/display/redirect?page=changes
USER=jenkins
GIT_AUTHOR_NAME=jenkins
GIT_COMMITTER_NAME=jenkins
MAVEN_OPTS=-Xmx4096m -XX:MaxPermSize=1024m -Dfile.encoding=UTF-8 -noverify
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
GIT_COMMIT=59ae59dbaf8ce4a35886d5a9e5af7020666b1763
JENKINS_HOME=/x1/jenkins/jenkins-home
MAVEN_HOME=/home/jenkins/tools/maven/latest
MAIL=/var/mail/jenkins
PATH=/home/jenkins/tools/java/latest1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/jenkins/tools/java/latest1.8/bin:/home/jenkins/tools/ant/latest/bin:/home/jenkins/tools/maven/latest/bin
RUN_DISPLAY_URL=https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/512/display/redirect
BUILD_CAUSE_MANUALTRIGGER=true
GIT_COMMITTER_EMAIL=builds@apache.org
PWD=<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/>
JAVA_HOME=/home/jenkins/tools/java/latest1.8
HUDSON_URL=https://builds.apache.org/
LANG=en_US
JOB_NAME=PreCommit-ATLAS-Build-Test
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
BUILD_DISPLAY_NAME=#512-branch-0.8-ATLAS-1950.2.patch
BUILD_CAUSE=MANUALTRIGGER
BUILD_ID=512
JENKINS_URL=https://builds.apache.org/
WIN_LABEL=Windows
CLOVER_HOME=/home/jenkins/tools/clover/latest
JOB_BASE_NAME=PreCommit-ATLAS-Build-Test
GIT_PREVIOUS_SUCCESSFUL_COMMIT=cc629d7091468d1857c4ebbbf70a5b7a00d6ff36
HOME=/home/jenkins
SHLVL=2
LOCAL_PATCH=ATLAS-1950.2.patch
GIT_BRANCH=origin/master
BUILD_PASSWORD=[*******]
EXECUTOR_NUMBER=1
JENKINS_SERVER_COOKIE=f4ebd1e6b0d976e8
GIT_URL=http://git-wip-us.apache.org/repos/asf/atlas.git
NODE_LABELS=H12 Hadoop xenial
LOGNAME=jenkins
SSH_CONNECTION=62.210.60.235 45226 67.195.81.156 22
HUDSON_HOME=/x1/jenkins/jenkins-home
NODE_NAME=H12
NIX_LABEL=ubuntu
SKIP_IT=false
BUILD_NUMBER=512
JOB_DISPLAY_URL=https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/display/redirect
XDG_RUNTIME_DIR=/run/user/910
ROOT_BUILD_CAUSE_MANUALTRIGGER=true
HUDSON_COOKIE=3236fd0f-5d7b-47e5-affb-235d98b25e4a
GIT_AUTHOR_EMAIL=builds@apache.org
JAVA5_HOME=/home/jenkins/tools/java/latest1.5
FINDBUGS_HOME=/home/jenkins/tools/findbugs/latest
_=/usr/bin/env
+ java -version
java version "1.8.0_172"
Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)
+ PP_DIR=atlas_patchprocess_20015
+ PATCHPROCESS=<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_20015>
+ mkdir -p <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_20015>
+ cd <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/>
+ LOCAL_PATCH_FILE=<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/LOCAL_PATCH>
+ '[' -f <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/LOCAL_PATCH> ']'
+ echo 'Local Patch in <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/LOCAL_PATCH>
found.'
Local Patch in <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/LOCAL_PATCH>
found.
+ mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/LOCAL_PATCH> <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_20015/patch>
+ /bin/bash <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/dev-support/test-patch.sh>
--jenkins --patch-dir=<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_20015>
--basedir=<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/> --support-dir=/home/jenkins/buildSupport
--ps-cmd=/bin/ps --wget-cmd=/usr/bin/wget --svn-cmd=/usr/bin/svn --grep-cmd=/bin/grep --patch-cmd=/usr/bin/patch
--jira-cmd=/home/jenkins/tools/jiracli/latest/jira --jira-password=[*******] --review-id=
--local-patch=<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/LOCAL_PATCH>
--skip-ut=false --skip-it=false --branch=branch-0.8 --findbugs-home=/home/jenkins/tools/findbugs/latest
--forrest-home=/home/jenkins/tools/forrest/latest --eclipse--home=/home/jenkins/tools/eclipse/latest
ATLAS-
Running in Jenkins mode


======================================================================
======================================================================
    Testing patch for ATLAS-.
======================================================================
======================================================================


HEAD is now at 59ae59d ATLAS-2781: Hard Delete : Deleting an entity which is associated to
an term associated to a tag fails
Previous HEAD position was 59ae59d... ATLAS-2781: Hard Delete : Deleting an entity which is
associated to an term associated to a tag fails
Switched to a new branch 'branch-0.8'
Branch branch-0.8 set up to track remote branch branch-0.8 from origin.
Current branch branch-0.8 is up to date.
Using Local Patch in <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/LOCAL_PATCH>
at Mon Jul  9 21:16:30 UTC 2018
Checking patch repository/src/main/java/org/apache/atlas/repository/impexp/ImportService.java...
error: while searching for:
import org.apache.atlas.model.typedef.AtlasTypesDef;
import org.apache.atlas.repository.store.graph.AtlasEntityStore;
import org.apache.atlas.store.AtlasTypeDefStore;
import org.apache.atlas.type.AtlasTypeRegistry;
import org.apache.commons.collections.MapUtils;
import org.apache.commons.io.FileUtils;

error: patch failed: repository/src/main/java/org/apache/atlas/repository/impexp/ImportService.java:24
error: repository/src/main/java/org/apache/atlas/repository/impexp/ImportService.java: patch
does not apply
Checking patch repository/src/main/java/org/apache/atlas/repository/impexp/ImportTransforms.java...
Checking patch repository/src/test/java/org/apache/atlas/repository/impexp/ImportServiceTest.java...
error: while searching for:
import java.util.Map;

import static org.apache.atlas.repository.impexp.ZipFileResourceTestUtils.*;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertNotNull;

@Guice(modules = TestModules.TestOnlyModule.class)
public class ImportServiceTest {

error: patch failed: repository/src/test/java/org/apache/atlas/repository/impexp/ImportServiceTest.java:37
error: repository/src/test/java/org/apache/atlas/repository/impexp/ImportServiceTest.java:
patch does not apply
Checking patch repository/src/test/java/org/apache/atlas/repository/impexp/ImportTransformsTest.java...
PATCH APPLICATION FAILED




{color:red}-1 overall{color}.  

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/512//console

This message is automatically generated.


======================================================================
======================================================================
    Adding comment to Jira.
======================================================================
======================================================================




======================================================================
======================================================================
    Finished build.
======================================================================
======================================================================


+ EXIT_CODE=1
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_20015>
']'
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_20015>
']'
+ mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_20015>
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/patchprocess>
+ rm -f <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_20015>
+ exit 1
Build step 'Execute shell' marked build as failure
Set build name.
New build name is '#512-branch-0.8-ATLAS-1950.2.patch'
Archiving artifacts

Mime
View raw message