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 #108-branch-0.8-0001-Changes-to-ATLAS-2444-impl.patch
Date Wed, 21 Feb 2018 20:03:35 GMT
See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/108/display/redirect?page=changes>

Changes:

[madhan] ATLAS-2456: Implement tag propagation using relationships

------------------------------------------
[...truncated 292.95 KB...]
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
	at org.testng.TestNG.run(TestNG.java:1032)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

testLowerBoundsIgnoredWhenDeletingCompositeEntitesOwnedByMap(org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest)
 Time elapsed: 1.236 sec  <<< FAILURE!
org.apache.atlas.repository.RepositoryException: org.apache.atlas.typesystem.exception.NullRequiredAttributeException:
Cannot unset required attribute MapValueReferencer.refToMapValue on vertex[id=27392 type=MapValueReferencer
guid=3262a48a-b748-4162-9c29-e3c12eda1a37] edge = __MapValueReferencer.refToMapValue
	at org.apache.atlas.repository.graph.GraphBackedMetadataRepository.deleteEntities(GraphBackedMetadataRepository.java:488)
	at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.atlas.TestUtils$3.invoke(TestUtils.java:686)
	at com.sun.proxy.$Proxy40.deleteEntities(Unknown Source)
	at org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredWhenDeletingCompositeEntitesOwnedByMap(GraphBackedMetadataRepositoryDeleteTestBase.java:999)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:659)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
	at org.testng.TestRunner.privateRun(TestRunner.java:771)
	at org.testng.TestRunner.run(TestRunner.java:621)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
	at org.testng.TestNG.run(TestNG.java:1032)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: org.apache.atlas.typesystem.exception.NullRequiredAttributeException: Cannot unset
required attribute MapValueReferencer.refToMapValue on vertex[id=27392 type=MapValueReferencer
guid=3262a48a-b748-4162-9c29-e3c12eda1a37] edge = __MapValueReferencer.refToMapValue
	at org.apache.atlas.repository.graph.DeleteHandler.deleteEdgeBetweenVertices(DeleteHandler.java:339)
	at org.apache.atlas.repository.graph.DeleteHandler.deleteVertex(DeleteHandler.java:293)
	at org.apache.atlas.repository.graph.DeleteHandler.deleteTypeVertex(DeleteHandler.java:219)
	at org.apache.atlas.repository.graph.DeleteHandler.deleteEntities(DeleteHandler.java:124)
	at org.apache.atlas.repository.graph.GraphBackedMetadataRepository.deleteEntities(GraphBackedMetadataRepository.java:485)
	at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.atlas.TestUtils$3.invoke(TestUtils.java:686)
	at com.sun.proxy.$Proxy40.deleteEntities(Unknown Source)
	at org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredWhenDeletingCompositeEntitesOwnedByMap(GraphBackedMetadataRepositoryDeleteTestBase.java:999)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:659)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
	at org.testng.TestRunner.privateRun(TestRunner.java:771)
	at org.testng.TestRunner.run(TestRunner.java:621)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
	at org.testng.TestNG.run(TestNG.java:1032)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.051 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.119 sec - in org.apache.atlas.BaseRepositoryTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.023 sec - in org.apache.atlas.discovery.DataSetLineageServiceTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.996 sec - in org.apache.atlas.discovery.EntityDiscoveryServiceTest
Tests run: 27, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 189.038 sec <<<
FAILURE! - in org.apache.atlas.service.DefaultMetadataServiceTest
testDeleteEntities(org.apache.atlas.service.DefaultMetadataServiceTest)  Time elapsed: 4.017
sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:496)
	at org.testng.Assert.assertTrue(Assert.java:42)
	at org.testng.Assert.assertTrue(Assert.java:52)
	at org.apache.atlas.service.DefaultMetadataServiceTest.testDeleteEntities(DefaultMetadataServiceTest.java:1049)

testDeleteEntityByUniqueAttribute(org.apache.atlas.service.DefaultMetadataServiceTest)  Time
elapsed: 3.328 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:496)
	at org.testng.Assert.assertTrue(Assert.java:42)
	at org.testng.Assert.assertTrue(Assert.java:52)
	at org.apache.atlas.service.DefaultMetadataServiceTest.testDeleteEntityByUniqueAttribute(DefaultMetadataServiceTest.java:1106)

Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 99.114 sec - in org.apache.atlas.query.LineageQueryTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 127.884 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 131.829 sec - in org.apache.atlas.repository.impexp.ImportServiceTest
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.809 sec - in org.apache.atlas.query.GremlinTest
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.786 sec - in org.apache.atlas.lineage.EntityLineageServiceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 329.661 sec - in org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
Tests run: 338, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 206.786 sec - in org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest

Results :

Failed tests: 
  GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntities:289
expected [2] but found [1]
  GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntitiesWithCompositeArrayReference:335
expected [true] but found [false]
  GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntitiesWithCompositeMapReference:372->GraphBackedMetadataRepositoryDeleteTestBase.deleteEntities:236
» IllegalArgument
  GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteTargetOfMultiplicityOneRequiredReference:795->GraphBackedMetadataRepositoryDeleteTestBase.deleteEntities:236
» IllegalArgument
  GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDisconnectUnidirectionalArrayReferenceFromClassType:570
expected [1] but found [2]
  GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredOnCompositeDeletedEntities:933
expected [5] but found [3]
  GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredWhenDeletingCompositeEntitesOwnedByMap:999
» Repository
  GraphBackedRepositorySoftDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntitiesWithCompositeArrayReference:335
expected [true] but found [false]
  GraphBackedRepositorySoftDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntitiesWithCompositeMapReference:373
expected [2] but found [1]
  GraphBackedRepositorySoftDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredOnCompositeDeletedEntities:933
expected [5] but found [4]
  GraphBackedRepositorySoftDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredWhenDeletingCompositeEntitesOwnedByMap:999
» Repository
  AtlasEntityStoreV1Test.testArrayOfEntityUpdate:265 expected [2] but found [1]
  HardDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDisconnectBidirectionalReferences:496
Lists differ at element [0]: 2813abbc-b070-4492-b317-136d0e656b45 != 6602b468-1b5a-44a4-be9b-c2f16d76912d
expected [2813abbc-b070-4492-b317-136d0e656b45] but found [6602b468-1b5a-44a4-be9b-c2f16d76912d]
  HardDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testUpdateEntity_MultiplicityOneNonCompositeReference:360
» NullPointer
  SoftDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDisconnectBidirectionalReferences:496
Lists differ at element [0]: 2d1d70b0-4720-4f88-8831-03c3e4a8f753 != 4e1e3554-2a01-459d-93ac-e66f2314344e
expected [2d1d70b0-4720-4f88-8831-03c3e4a8f753] but found [4e1e3554-2a01-459d-93ac-e66f2314344e]
  SoftDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testUpdateEntity_MultiplicityOneNonCompositeReference:360
» NullPointer
  UserProfileServiceTest.deleteUsingGuid » Test 
Method UserProfileServiceTest.d...
  DefaultMetadataServiceTest.testDeleteEntities:1049 expected [true] but found [false]
  DefaultMetadataServiceTest.testDeleteEntityByUniqueAttribute:1106 expected [true] but found
[false]

Tests run: 811, Failures: 19, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.685 s]
[INFO] apache-atlas ....................................... SUCCESS [  3.260 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 12.550 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  1.918 s]
[INFO] Apache Atlas Typesystem ............................ SUCCESS [ 34.484 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.159 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.763 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  3.167 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.844 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 11.025 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.592 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.108 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.547 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.606 s]
[INFO] Apache Atlas Titan 1.0.0 GraphDB Impl .............. SUCCESS [ 29.251 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  7.322 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [01:02 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  0.218 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 22.141 s]
[INFO] Apache Atlas Repository ............................ FAILURE [06:25 min]
[INFO] Apache Atlas Authorization ......................... SKIPPED
[INFO] Apache Atlas Business Catalog ...................... 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: 09:38 min
[INFO] Finished at: 2018-02-21T20:03:32Z
[INFO] Final Memory: 161M/2551M
[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/108//testReport/
Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/108//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_25923>
']'
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_25923>
']'
+ mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_25923>
<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_25923>
+ exit 0
[description-setter] Description set: 0001-Changes-to-ATLAS-2444-impl.patch
Set build name.
New build name is '#108-branch-0.8-0001-Changes-to-ATLAS-2444-impl.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

Mime
View raw message