You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/05/15 02:00:00 UTC
Build failed in Jenkins: PreCommit-ATLAS-Build-Test
#405-master-0001-Dependency-upgrades.patch
See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/405/display/redirect>
------------------------------------------
[...truncated 1.37 KB...]
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 fccfe919d49ca39d111ade8bb2f2688db5e854e7 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f fccfe919d49ca39d111ade8bb2f2688db5e854e7
Commit message: "ATLAS-2680: import-hbase fails to match namespaces for the given regex"
> git rev-list --no-walk fccfe919d49ca39d111ade8bb2f2688db5e854e7 # timeout=10
[EnvInject] - Mask passwords that will be passed as build parameters.
Set build name.
New build name is '#405-master-0001-Dependency-upgrades.patch'
Copying file to LOCAL_PATCH
[PreCommit-ATLAS-Build-Test] $ /bin/bash /tmp/jenkins5864939506125462452.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/405/
XDG_SESSION_ID=293
SKIP_UT=false
HUDSON_SERVER_COOKIE=f4ebd1e6b0d976e8
SHELL=/bin/bash
FORREST_HOME=/home/jenkins/tools/forrest/latest
SSH_CLIENT=62.210.60.235 50394 22
TOOLS_HOME=/home/jenkins/tools
BUILD_TAG=jenkins-PreCommit-ATLAS-Build-Test-405
GIT_PREVIOUS_COMMIT=3b75d56d9e151f9ad946da0ff1bb081a784703b7
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=master
RUN_CHANGES_DISPLAY_URL=https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/405/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=fccfe919d49ca39d111ade8bb2f2688db5e854e7
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/405/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=#405-master-0001-Dependency-upgrades.patch
BUILD_CAUSE=MANUALTRIGGER
BUILD_ID=405
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=f62ed0926dc5a116729d4cb4d2f6d97fac3e8232
HOME=/home/jenkins
SHLVL=2
LOCAL_PATCH=0001-Dependency-upgrades.patch
GIT_BRANCH=origin/master
BUILD_PASSWORD=[*******]
EXECUTOR_NUMBER=0
JENKINS_SERVER_COOKIE=f4ebd1e6b0d976e8
GIT_URL=http://git-wip-us.apache.org/repos/asf/atlas.git
NODE_LABELS=H18 Hadoop xenial
LOGNAME=jenkins
SSH_CONNECTION=62.210.60.235 50394 67.195.81.138 22
HUDSON_HOME=/x1/jenkins/jenkins-home
NODE_NAME=H18
NIX_LABEL=ubuntu
SKIP_IT=false
BUILD_NUMBER=405
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=bf7d85fa-4ac8-4c80-a4b3-ab894c3f59d0
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_6232
+ PATCHPROCESS=<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_6232>
+ mkdir -p <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_6232>
+ 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_6232/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_6232> --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=master --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 fccfe91 ATLAS-2680: import-hbase fails to match namespaces for the given regex
Switched to a new branch 'master'
Branch master set up to track remote branch master from origin.
Current branch master is up to date.
Using Local Patch in <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/LOCAL_PATCH> at Tue May 15 01:59:59 UTC 2018
Checking patch graphdb/janus/pom.xml...
Checking patch graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/migration/AtlasGraphSONReader.java...
Checking patch graphdb/janus/src/test/java/org/apache/atlas/repository/graphdb/janus/migration/BaseUtils.java...
Checking patch pom.xml...
Checking patch repository/src/test/java/org/apache/atlas/repository/migration/HiveParititionTest.java...
Checking patch repository/src/test/java/org/apache/atlas/repository/migration/HiveStocksTest.java...
error: while searching for:
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.atlas.repository.migration;
import com.google.inject.Inject;
import org.apache.atlas.TestModules;
import org.apache.atlas.exception.AtlasBaseException;
import org.apache.atlas.repository.graphdb.AtlasEdgeDirection;
import org.apache.atlas.repository.graphdb.AtlasGraph;
import org.testng.annotations.Guice;
import org.testng.annotations.Test;
import java.io.IOException;
@Guice(modules = TestModules.TestOnlyModule.class)
public class HiveStocksTest extends MigrationBaseAsserts {
@Inject
public HiveStocksTest(AtlasGraph graph) {
super(graph);
}
@Test
public void migrateStocks() throws AtlasBaseException, IOException {
final int EXPECTED_TOTAL_COUNT = 188;
final int EXPECTED_DB_COUNT = 1;
final int EXPECTED_TABLE_COUNT = 1;
final int EXPECTED_COLUMN_COUNT = 7;
runFileImporter("stocks_db");
assertHiveVertices(EXPECTED_DB_COUNT, EXPECTED_TABLE_COUNT, EXPECTED_COLUMN_COUNT);
assertTypeCountNameGuid("hive_db", 1, "stocks", "4e13b36b-9c54-4616-9001-1058221165d0");
assertTypeCountNameGuid("hive_table", 1, "stocks_daily", "5cfc2540-9947-40e0-8905-367e07481774");
assertTypeAttribute("hive_table", 7, "stocks_daily", "5cfc2540-9947-40e0-8905-367e07481774", "hive_table.columns");
assertTypeCountNameGuid("hive_column", 1, "high", "d72ce4fb-6f17-4e68-aa85-967366c9e891");
assertTypeCountNameGuid("hive_column", 1, "open", "788ba8fe-b7d8-41ba-84ef-c929732924ec");
assertTypeCountNameGuid("hive_column", 1, "dt", "643a0a71-0d97-477d-a43b-7ca433f85160");
assertTypeCountNameGuid("hive_column", 1, "low", "38caeaf7-49e6-4d6d-8727-231406a46821");
assertTypeCountNameGuid("hive_column", 1, "close", "3bae9b76-f812-4745-b4d2-2a72d2773d07");
assertTypeCountNameGuid("hive_column", 1, "volume", "bee376a4-3d8d-4943-b7e8-9bce042c2657");
assertTypeCountNameGuid("hive_column", 1, "adj_close", "fcba2002-cb38-4c2e-b853-68d421d66703");
assertTypeCountNameGuid("hive_process", 0, "", "");
assertTypeCountNameGuid("hive_storagedesc", 1, "", "294290d8-4498-4677-973c-c266d594b039");
assertTypeCountNameGuid("Tag1", 1, "", "");
assertEdges(getVertex("hive_db", "stocks").getEdges(AtlasEdgeDirection.IN).iterator(),1, 1, "");
assertEdges(getVertex("hive_table", "stocks_daily").getEdges(AtlasEdgeDirection.OUT).iterator(), 1, 1, "hive_db_tables");
assertEdges(getVertex("hive_column", "high").getEdges(AtlasEdgeDirection.OUT).iterator(), 1,1, "hive_table_columns");
assertMigrationStatus(EXPECTED_TOTAL_COUNT);
}
}
error: patch failed: repository/src/test/java/org/apache/atlas/repository/migration/HiveStocksTest.java:1
error: repository/src/test/java/org/apache/atlas/repository/migration/HiveStocksTest.java: patch does not apply
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/405//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_6232> ']'
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_6232> ']'
+ mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_6232> <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_6232>
+ exit 1
Build step 'Execute shell' marked build as failure
Set build name.
New build name is '#405-master-0001-Dependency-upgrades.patch'
Archiving artifacts
Jenkins build is back to normal : PreCommit-ATLAS-Build-Test
#406-master-0001-Dependency-upgrades.patch
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/406/display/redirect>