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: Atlas-1.0-UnitTests #727
Date Wed, 08 Aug 2018 18:18:06 GMT
See <https://builds.apache.org/job/Atlas-1.0-UnitTests/727/display/redirect>

------------------------------------------
[...truncated 169.46 KB...]
	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: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 103.694 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 31, Failures: 10, Errors: 0, Skipped: 6, Time elapsed: 104.379 sec <<<
FAILURE! - in org.apache.atlas.glossary.GlossaryServiceTest
testAddGlossaryCategoryChildren(org.apache.atlas.glossary.GlossaryServiceTest)  Time elapsed:
0.206 sec  <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
	at java.util.Objects.requireNonNull(Objects.java:228)
	at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
	at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
	at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
	at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
	at org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
	at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
	at org.apache.atlas.glossary.GlossaryServiceTest.testAddGlossaryCategoryChildren(GlossaryServiceTest.java:733)

testAddTermsToCategory(org.apache.atlas.glossary.GlossaryServiceTest)  Time elapsed: 0.125
sec  <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
	at java.util.Objects.requireNonNull(Objects.java:228)
	at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
	at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
	at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
	at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
	at org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
	at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
	at org.apache.atlas.glossary.GlossaryServiceTest.testAddTermsToCategory(GlossaryServiceTest.java:674)

testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)  Time elapsed: 0.036 sec
 <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
	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:372)
	at org.testng.Assert.assertEquals(Assert.java:382)
	at org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)

testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)  Time elapsed: 0.021 sec
 <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
	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:372)
	at org.testng.Assert.assertEquals(Assert.java:382)
	at org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)

testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)  Time elapsed: 0.012 sec
 <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
	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:372)
	at org.testng.Assert.assertEquals(Assert.java:382)
	at org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)

testTermAssignmentAndDissociation(org.apache.atlas.glossary.GlossaryServiceTest)  Time elapsed:
0.46 sec  <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
	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:372)
	at org.testng.Assert.assertEquals(Assert.java:382)
	at org.apache.atlas.glossary.GlossaryServiceTest.testTermAssignmentAndDissociation(GlossaryServiceTest.java:778)

testTermRelation(org.apache.atlas.glossary.GlossaryServiceTest)  Time elapsed: 0.087 sec 
<<< FAILURE!
java.lang.NullPointerException: atlasGlossaryTerm anchor must be specified
	at java.util.Objects.requireNonNull(Objects.java:228)
	at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntity(AtlasGlossaryTermDTO.java:210)
	at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:242)
	at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:38)
	at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
	at org.apache.atlas.glossary.GlossaryService.updateTerm(GlossaryService.java:415)
	at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
	at org.apache.atlas.glossary.GlossaryServiceTest.testTermRelation(GlossaryServiceTest.java:823)

testUpdateGlossary(org.apache.atlas.glossary.GlossaryServiceTest)  Time elapsed: 0.281 sec
 <<< FAILURE!
java.lang.NullPointerException: null
	at java.util.ArrayList.<init>(ArrayList.java:178)
	at org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossary(GlossaryServiceTest.java:366)

testUpdateGlossaryCategory(org.apache.atlas.glossary.GlossaryServiceTest)  Time elapsed: 0.134
sec  <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
	at java.util.Objects.requireNonNull(Objects.java:228)
	at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
	at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
	at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
	at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
	at org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
	at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
	at org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossaryCategory(GlossaryServiceTest.java:494)

testUpdateGlossaryTerm(org.apache.atlas.glossary.GlossaryServiceTest)  Time elapsed: 5.065
sec  <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryTerm anchor must be specified
	at java.util.Objects.requireNonNull(Objects.java:228)
	at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntity(AtlasGlossaryTermDTO.java:210)
	at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:242)
	at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:38)
	at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
	at org.apache.atlas.glossary.GlossaryService.updateTerm(GlossaryService.java:415)
	at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
	at org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossaryTerm(GlossaryServiceTest.java:467)

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 106.866 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 108.362 sec - in org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2Test
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 112.85 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 114.751 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 116.672 sec - in org.apache.atlas.repository.migration.TypesWithClassificationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 117.753 sec - in org.apache.atlas.repository.migration.ComplexAttributesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 118.766 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 127.247 sec <<<
FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importLegacy(org.apache.atlas.repository.impexp.ImportServiceTest)  Time elapsed: 1.942 sec
 <<< FAILURE!
java.lang.AssertionError: expected object to not be null
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.assertNotNull(Assert.java:406)
	at org.testng.Assert.assertNotNull(Assert.java:391)
	at org.apache.atlas.repository.impexp.ImportServiceTest.importLegacy(ImportServiceTest.java:214)

Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 135.811 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 183.447 sec - in org.apache.atlas.query.DSLQueriesTest

Results :

Failed tests: 
  GlossaryServiceTest.testAddGlossaryCategoryChildren:733 » NullPointer atlasGlo...
  GlossaryServiceTest.testAddTermsToCategory:674 » NullPointer atlasGlossaryCate...
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)
  Run 1: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
  Run 2: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
  Run 3: GlossaryServiceTest.testGetCategoryTerms:907 expected [1] but found [0]
  Run 4: PASS

  GlossaryServiceTest.testTermAssignmentAndDissociation:778 expected [1] but found [0]
  GlossaryServiceTest.testTermRelation:823 » NullPointer atlasGlossaryTerm ancho...
  GlossaryServiceTest.testUpdateGlossary:366 » NullPointer
  GlossaryServiceTest.testUpdateGlossaryCategory:494 » NullPointer atlasGlossary...
  GlossaryServiceTest.testUpdateGlossaryTerm:467 » NullPointer atlasGlossaryTerm...
  ImportServiceTest.importLegacy:214 expected object to not be null
  AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156
expected [5] but found [0]
  AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612
expected [true] but found [false]
  AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628
expected [true] but found [false]
  AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628
expected [true] but found [false]
  AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156
expected [5] but found [0]
  AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612
expected [true] but found [false]
  AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628
expected [true] but found [false]
  AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628
expected [true] but found [false]

Tests run: 543, Failures: 17, Errors: 0, Skipped: 6

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [  1.297 s]
[INFO] apache-atlas 1.1.0-SNAPSHOT ........................ SUCCESS [  4.834 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  6.867 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 48.086 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.892 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.159 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.962 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  2.988 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.904 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 17.155 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.675 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.133 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.797 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.720 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:15 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  3.365 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  8.691 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 22.112 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.420 s]
[INFO] Apache Atlas Repository ............................ FAILURE [03:24 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 Kafka Bridge .......................... SKIPPED
[INFO] Apache Atlas Distribution 1.1.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:48 min
[INFO] Finished at: 2018-08-08T18:17:59Z
[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/Atlas-1.0-UnitTests/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
Build step 'Execute shell' marked build as failure
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Searching for all files in <https://builds.apache.org/job/Atlas-1.0-UnitTests/ws/>
that match the pattern **/target/checkstyle-result.xml
[CHECKSTYLE] No files found. Configuration error?
<Git Blamer> Using GitBlamer to create author and commit information for all warnings.
<Git Blamer> GIT_COMMIT=4ff2eb32abebd3b013b16b5d7d058a0e31bb2f4b, workspace=<https://builds.apache.org/job/Atlas-1.0-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #719
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-1.0-UnitTests/ws/>
that match the pattern **/target/findbugs.xml
[FINDBUGS] No files found. Configuration error?
<Git Blamer> Using GitBlamer to create author and commit information for all warnings.
<Git Blamer> GIT_COMMIT=4ff2eb32abebd3b013b16b5d7d058a0e31bb2f4b, workspace=<https://builds.apache.org/job/Atlas-1.0-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #719
Archiving artifacts
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/target/surefire-reports/testng-results.xml,**/target/failsafe-reports/testng-results.xml
Saving reports...
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-UnitTests/builds/727/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-UnitTests/builds/727/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-UnitTests/builds/727/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-UnitTests/builds/727/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-UnitTests/builds/727/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-UnitTests/builds/727/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-UnitTests/builds/727/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Mime
View raw message