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/03/08 16:53:54 UTC

Build failed in Jenkins: PreCommit-ATLAS-Build-Test #140-master-ATLAS-2481.1.patch

See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/140/display/redirect?page=changes>

Changes:

[ssubramanian] ATLAS-2480: Regression,Tag Propagation : Deleting the table with lineage

[nixon] ATLAS-2475:HBase Atlas import utility : importing using -t default:table

[kbhatt] ATLAS-2485 : UI , Unable to add tag to entity from Tags Search Page.

[kbhatt] ATLAS-2486 :- Policy json file for authorization in distro conf

[kbhatt] ATLAS-2483 : UI - Display of faceted query

[kbhatt] ATLAS-2482 : UI , Tag Propagation - propagate value not set correctly

------------------------------------------
[...truncated 227.67 KB...]
[INFO] Exclude: **/*rebel*.xml.bak
[INFO] Exclude: **/test/resources/**
[INFO] 148 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 148 licenses.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ atlas-repository ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ atlas-repository ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ atlas-repository ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/main/resources>
[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ atlas-repository ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 118 source files to <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/target/classes>
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/main/java/org/apache/atlas/repository/converters/AtlasInstanceConverter.java>: Some input files use or override a deprecated API.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/main/java/org/apache/atlas/repository/converters/AtlasInstanceConverter.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ atlas-repository ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 22 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ atlas-repository ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 33 source files to <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/target/test-classes>
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java>: <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java> uses or overrides a deprecated API.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/test/java/org/apache/atlas/repository/impexp/UniqueListTest.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/test/java/org/apache/atlas/repository/impexp/UniqueListTest.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ atlas-repository ---
[INFO] Surefire report directory: <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/target/surefire-reports>
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.atlas.utils.TestResourceFileUtils
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.29 sec - in org.apache.atlas.utils.TestResourceFileUtils
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.TestModules
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.query.DSLQueriesTest
Running org.apache.atlas.query.DSLParsingTest
Running org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.265 sec - in org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.3 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.184 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.262 sec - in org.apache.atlas.TestModules
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.475 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.893 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.112 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.878 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.227 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.699 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.391 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.728 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.198 sec - in org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.529 sec - in org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.309 sec - in org.apache.atlas.query.DSLParsingTest
Tests run: 39, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 8.581 sec <<< FAILURE! - in org.apache.atlas.query.GremlinQueryComposerTest
classification(org.apache.atlas.query.GremlinQueryComposerTest)  Time elapsed: 0.038 sec  <<< FAILURE!
java.lang.AssertionError: PII expected [g.V().outE('classifiedAs').has('__isPropagated', false).has('__name', within('PII')).outV().dedup().limit(25).toList()] but found [g.V().outE('classifiedAs').has('__name', within('PII')).outV().dedup().limit(25).toList()]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:496)
	at org.testng.Assert.assertEquals(Assert.java:125)
	at org.testng.Assert.assertEquals(Assert.java:178)
	at org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:354)
	at org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:363)
	at org.apache.atlas.query.GremlinQueryComposerTest.classification(GremlinQueryComposerTest.java:40)

dimension(org.apache.atlas.query.GremlinQueryComposerTest)  Time elapsed: 0.061 sec  <<< FAILURE!
java.lang.AssertionError: Table isa Dimension expected [g.V().has('__typeName', 'Table').outE('classifiedAs').has('__isPropagated', false).has('__name', within('Dimension')).outV().dedup().limit(25).toList()] but found [g.V().has('__typeName', 'Table').outE('classifiedAs').has('__name', within('Dimension')).outV().dedup().limit(25).toList()]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:496)
	at org.testng.Assert.assertEquals(Assert.java:125)
	at org.testng.Assert.assertEquals(Assert.java:178)
	at org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:354)
	at org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:363)
	at org.apache.atlas.query.GremlinQueryComposerTest.dimension(GremlinQueryComposerTest.java:46)

keywordsInWhereClause(org.apache.atlas.query.GremlinQueryComposerTest)  Time elapsed: 0.034 sec  <<< FAILURE!
java.lang.AssertionError: Table as t where t has name and t isa Dimension expected [g.V().has('__typeName', 'Table').as('t').and(__.has('Table.name'),__.outE('classifiedAs').has('__isPropagated', false).has('__name', within('Dimension')).outV()).dedup().limit(25).toList()] but found [g.V().has('__typeName', 'Table').as('t').and(__.has('Table.name'),__.outE('classifiedAs').has('__name', within('Dimension')).outV()).dedup().limit(25).toList()]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:496)
	at org.testng.Assert.assertEquals(Assert.java:125)
	at org.testng.Assert.assertEquals(Assert.java:178)
	at org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:354)
	at org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:363)
	at org.apache.atlas.query.GremlinQueryComposerTest.keywordsInWhereClause(GremlinQueryComposerTest.java:297)

Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.898 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.697 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.971 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.316 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.258 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.681 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.762 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.437 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 71.498 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 74.445 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 74.682 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.136 sec - in org.apache.atlas.repository.impexp.ImportServiceTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 147.199 sec - in org.apache.atlas.query.DSLQueriesTest

Results :

Failed tests: 
  GremlinQueryComposerTest.classification:40->verify:363->verify:354 PII expected [g.V().outE('classifiedAs').has('__isPropagated', false).has('__name', within('PII')).outV().dedup().limit(25).toList()] but found [g.V().outE('classifiedAs').has('__name', within('PII')).outV().dedup().limit(25).toList()]
  GremlinQueryComposerTest.dimension:46->verify:363->verify:354 Table isa Dimension expected [g.V().has('__typeName', 'Table').outE('classifiedAs').has('__isPropagated', false).has('__name', within('Dimension')).outV().dedup().limit(25).toList()] but found [g.V().has('__typeName', 'Table').outE('classifiedAs').has('__name', within('Dimension')).outV().dedup().limit(25).toList()]
  GremlinQueryComposerTest.keywordsInWhereClause:297->verify:363->verify:354 Table as t where t has name and t isa Dimension expected [g.V().has('__typeName', 'Table').as('t').and(__.has('Table.name'),__.outE('classifiedAs').has('__isPropagated', false).has('__name', within('Dimension')).outV()).dedup().limit(25).toList()] but found [g.V().has('__typeName', 'Table').as('t').and(__.has('Table.name'),__.outE('classifiedAs').has('__name', within('Dimension')).outV()).dedup().limit(25).toList()]

Tests run: 450, Failures: 3, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  1.230 s]
[INFO] apache-atlas ....................................... SUCCESS [  8.489 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  8.454 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  1.796 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 42.336 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.825 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.332 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.945 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  2.846 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  1.023 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 11.931 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.627 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.210 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.773 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.801 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:16 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  2.060 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  8.946 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 35.986 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 23.303 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.799 s]
[INFO] Apache Atlas Repository ............................ FAILURE [02:39 min]
[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: 07:35 min
[INFO] Finished at: 2018-03-08T16:53:52Z
[INFO] Final Memory: 141M/1950M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project atlas-repository: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/target/surefire-reports> for the individual test results.
[ERROR] -> [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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :atlas-repository




{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/140//testReport/
Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/140//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_32095> ']'
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_32095> ']'
+ mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_32095> <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_32095>
+ exit 0
[description-setter] Description set: ATLAS-2481.1.patch
Set build name.
New build name is '#140-master-ATLAS-2481.1.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

Jenkins build is back to normal : PreCommit-ATLAS-Build-Test #141-master-ATLAS-2481.1.patch

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/141/display/redirect>