See
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/143/display/redirect>
------------------------------------------
[...truncated 16.62 KB...]
Applied patch
repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java
cleanly.
Applied patch
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java
cleanly.
Applied patch
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java
cleanly.
Applied patch
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java
cleanly.
Applied patch
repository/src/test/java/org/apache/atlas/query/GremlinQueryComposerTest.java
cleanly.
.../org/apache/atlas/repository/Constants.java | 9 -
.../repository/graphdb/AtlasGraphManagement.java | 19 +
.../atlas/repository/graphdb/AtlasGraphQuery.java | 22 +
.../atlas/repository/graphdb/AtlasVertexQuery.java | 17 +
.../tinkerpop/query/NativeTinkerpopGraphQuery.java | 15 +
.../tinkerpop/query/TinkerpopGraphQuery.java | 39 ++
.../graphdb/janus/AtlasJanusGraphManagement.java | 25 +
.../graphdb/janus/AtlasJanusObjectFactory.java | 16 +
.../graphdb/janus/AtlasJanusVertexQuery.java | 10 +
.../graphdb/janus/query/NativeJanusGraphQuery.java | 23 +
.../graphdb/titan0/Titan0GraphManagement.java | 23 +
.../graphdb/titan0/Titan0VertexQuery.java | 12 +
.../graphdb/titan0/TitanObjectFactory.java | 17 +
.../titan0/query/NativeTitan0GraphQuery.java | 24 +
.../main/java/org/apache/atlas/AtlasErrorCode.java | 2
.../atlas/discovery/EntityDiscoveryService.java | 2
.../java/org/apache/atlas/query/GremlinClause.java | 2
.../repository/graph/GraphBackedSearchIndexer.java | 59 ++++
.../apache/atlas/repository/graph/GraphHelper.java | 216 ++++++++-----
.../repository/store/graph/v1/DeleteHandlerV1.java | 30 +-
.../store/graph/v1/EntityGraphMapper.java | 337 ++++++++++++--------
.../store/graph/v1/EntityGraphRetriever.java | 218 ++-----------
.../atlas/query/GremlinQueryComposerTest.java | 12 -
23 files changed, 730 insertions(+), 419 deletions(-)
======================================================================
======================================================================
Build, Install And Run Tests
======================================================================
======================================================================
/home/jenkins/tools/maven/latest/bin/mvn clean install -DskipCheck
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m;
support was removed in 8.0
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.atlas:atlas-graphdb-titan0:jar:1.0.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must
be unique: org.apache.solr:solr-solrj:jar -> version (?) vs ${solr.version} @
org.apache.atlas:atlas-graphdb-titan0:[unknown-version],
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/graphdb/titan0/pom.xml,>
line 194, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must
be unique: org.apache.solr:solr-core:jar -> version (?) vs ${solr.version} @
org.apache.atlas:atlas-graphdb-titan0:[unknown-version],
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/graphdb/titan0/pom.xml,>
line 200, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.atlas:hive-bridge:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.apache.maven.plugins:maven-resources-plugin
@ org.apache.atlas:hive-bridge:[unknown-version],
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/addons/hive-bridge/pom.xml,>
line 478, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.atlas:falcon-bridge:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.apache.maven.plugins:maven-resources-plugin
@ org.apache.atlas:falcon-bridge:[unknown-version],
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/addons/falcon-bridge/pom.xml,>
line 370, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.atlas:sqoop-bridge:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.apache.maven.plugins:maven-resources-plugin
@ org.apache.atlas:sqoop-bridge:[unknown-version],
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/addons/sqoop-bridge/pom.xml,>
line 433, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.atlas:storm-bridge:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.apache.maven.plugins:maven-resources-plugin
@ org.apache.atlas:storm-bridge:[unknown-version],
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/addons/storm-bridge/pom.xml,>
line 462, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.atlas:hbase-bridge:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.apache.maven.plugins:maven-resources-plugin
@ org.apache.atlas:hbase-bridge:[unknown-version],
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/addons/hbase-bridge/pom.xml,>
line 508, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten
the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[WARNING] The project org.apache.atlas:apache-atlas:pom:1.0.0-SNAPSHOT uses
prerequisites which is only intended for maven-plugin projects but not for non
maven-plugin projects. For such purposes you should use the
maven-enforcer-plugin. See
https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Atlas Server Build Tools
[INFO] apache-atlas
[INFO] Apache Atlas Test Utility Tools
[INFO] Open Connector Framework (OCF)
[INFO] Apache Atlas Integration
[INFO] Apache Atlas Common
[INFO] Apache Atlas Client
[INFO] atlas-client-common
[INFO] atlas-client-v1
[INFO] Apache Atlas Server API
[INFO] Apache Atlas Notification
[INFO] atlas-client-v2
[INFO] Apache Atlas Graph Database Projects
[INFO] Apache Atlas Graph Database API
[INFO] Graph Database Common Code
[INFO] Apache Atlas JanusGraph DB Impl
[INFO] Apache Atlas Graph Database Implementation Dependencies
[INFO] Shaded version of Apache hbase client
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl
[INFO] Shaded version of Apache hbase server
[INFO] Apache Atlas Authorization
[INFO] Apache Atlas Repository
[INFO] Apache Atlas UI
[INFO] Apache Atlas Web Application
[INFO] Apache Atlas Documentation
[INFO] Apache Atlas FileSystem Model
[INFO] Apache Atlas Plugin Classloader
[INFO] Apache Atlas Hive Bridge Shim
[INFO] Apache Atlas Hive Bridge
[INFO] Apache Atlas Falcon Bridge Shim
[INFO] Apache Atlas Falcon Bridge
[INFO] Apache Atlas Sqoop Bridge Shim
[INFO] Apache Atlas Sqoop Bridge
[INFO] Apache Atlas Storm Bridge Shim
[INFO] Apache Atlas Storm Bridge
[INFO] Apache Atlas Hbase Bridge Shim
[INFO] Apache Atlas Hbase Bridge
[INFO] Apache Atlas Distribution
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Atlas Server Build Tools 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ atlas-buildtools ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
atlas-buildtools ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] Copying 6 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
atlas-buildtools ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @
atlas-buildtools ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/build-tools/src/test/resources>
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
atlas-buildtools ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ atlas-buildtools
---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ atlas-buildtools ---
[INFO] Building jar:
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/build-tools/target/atlas-buildtools-1.0.jar>
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @
atlas-buildtools ---
[INFO] Installing
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/build-tools/target/atlas-buildtools-1.0.jar>
to
/home/jenkins/.m2/repository/org/apache/atlas/atlas-buildtools/1.0/atlas-buildtools-1.0.jar
[INFO] Installing
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/build-tools/pom.xml>
to
/home/jenkins/.m2/repository/org/apache/atlas/atlas-buildtools/1.0/atlas-buildtools-1.0.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building apache-atlas 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ apache-atlas ---
[INFO] Deleting <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/>
(includes = [**/*.pyc], excludes = [])
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @
apache-atlas ---
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion failed
with message:
** JAVA VERSION ERROR ** Java 8 (Update 151) or above is required.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.618 s]
[INFO] apache-atlas ....................................... FAILURE [ 0.425 s]
[INFO] Apache Atlas Test Utility Tools .................... SKIPPED
[INFO] Open Connector Framework (OCF) ..................... SKIPPED
[INFO] Apache Atlas Integration ........................... SKIPPED
[INFO] Apache Atlas Common ................................ SKIPPED
[INFO] Apache Atlas Client ................................ SKIPPED
[INFO] atlas-client-common ................................ SKIPPED
[INFO] atlas-client-v1 .................................... SKIPPED
[INFO] Apache Atlas Server API ............................ SKIPPED
[INFO] Apache Atlas Notification .......................... SKIPPED
[INFO] atlas-client-v2 .................................... SKIPPED
[INFO] Apache Atlas Graph Database Projects ............... SKIPPED
[INFO] Apache Atlas Graph Database API .................... SKIPPED
[INFO] Graph Database Common Code ......................... SKIPPED
[INFO] Apache Atlas JanusGraph DB Impl .................... SKIPPED
[INFO] Apache Atlas Graph Database Implementation Dependencies SKIPPED
[INFO] Shaded version of Apache hbase client .............. SKIPPED
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SKIPPED
[INFO] Shaded version of Apache hbase server .............. SKIPPED
[INFO] Apache Atlas Authorization ......................... SKIPPED
[INFO] Apache Atlas Repository ............................ SKIPPED
[INFO] Apache Atlas UI .................................... SKIPPED
[INFO] Apache Atlas Web Application ....................... SKIPPED
[INFO] Apache Atlas Documentation ......................... SKIPPED
[INFO] Apache Atlas FileSystem Model ...................... SKIPPED
[INFO] Apache Atlas Plugin Classloader .................... SKIPPED
[INFO] Apache Atlas Hive Bridge Shim ...................... SKIPPED
[INFO] Apache Atlas Hive Bridge ........................... SKIPPED
[INFO] Apache Atlas Falcon Bridge Shim .................... SKIPPED
[INFO] Apache Atlas Falcon Bridge ......................... SKIPPED
[INFO] Apache Atlas Sqoop Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Sqoop Bridge .......................... SKIPPED
[INFO] Apache Atlas Storm Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Storm Bridge .......................... SKIPPED
[INFO] Apache Atlas Hbase Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Hbase Bridge .......................... SKIPPED
[INFO] Apache Atlas Distribution .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.260 s
[INFO] Finished at: 2018-03-09T13:07:32Z
[INFO] Final Memory: 45M/1447M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce
(enforce-versions) on project apache-atlas: Some Enforcer rules have failed.
Look above for specific messages explaining why the rule failed. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :apache-atlas
{color:green}+1 overall{color}.
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
Test results:
https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/143//testReport/
Console output:
https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/143//console
This message is automatically generated.
======================================================================
======================================================================
Adding comment to Jira.
======================================================================
======================================================================
======================================================================
======================================================================
Finished build.
======================================================================
======================================================================
+ EXIT_CODE=0
+ '[' -d
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_4536>
']'
+ '[' -d
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_4536>
']'
+ mv
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_4536>
<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_4536>
+ exit 0
[description-setter] Description set: ATLAS-2481.3.patch
Set build name.
New build name is '#143-master-ATLAS-2481.3.patch'
Archiving artifacts
ERROR: No artifacts found that match the file pattern "distro/target/*.tar.gz,
webapp/target/*.war". Configuration error?
ERROR: ?distro/target/*.tar.gz? doesn?t match anything: ?distro? exists but not
?distro/target/*.tar.gz?
Build step 'Archive the artifacts' changed build result to FAILURE