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-master-UnitTests #2122
Date Wed, 08 Aug 2018 14:36:25 GMT
See <https://builds.apache.org/job/Atlas-master-UnitTests/2122/display/redirect?page=changes>

Changes:

[graham_wallis] ATLAS-2787; Removed redundant OM modules

[nixon] ATLAS-2809 : - Fix typo's in relationship permission in

------------------------------------------
[...truncated 170.03 KB...]
	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: 31, Failures: 10, Errors: 0, Skipped: 6, Time elapsed: 156.601 sec <<<
FAILURE! - in org.apache.atlas.glossary.GlossaryServiceTest
testAddGlossaryCategoryChildren(org.apache.atlas.glossary.GlossaryServiceTest)  Time elapsed:
0.224 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.508
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.068 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.093 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.118 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:
1.393 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.22 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.533 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.22
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: 11.42
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: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 157.833 sec - in org.apache.atlas.repository.store.graph.v2.AtlasComplexAttributesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 159.409 sec - in org.apache.atlas.repository.store.graph.v2.InverseReferenceUpdateHardDeleteV2Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 161.705 sec - in org.apache.atlas.repository.migration.TypesWithClassificationTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 163.472 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 165.686 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 171.635 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 170.954 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 179.207 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 177.768 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 180.661 sec - in org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 183.444 sec - in org.apache.atlas.repository.migration.ComplexAttributesTest
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 210.3 sec <<< FAILURE!
- in org.apache.atlas.repository.impexp.ImportServiceTest
importLegacy(org.apache.atlas.repository.impexp.ImportServiceTest)  Time elapsed: 3.564 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: 216.99 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 299.216 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: 544, Failures: 17, Errors: 0, Skipped: 13

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [  0.563 s]
[INFO] apache-atlas 2.0.0-SNAPSHOT ........................ SUCCESS [  2.144 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  4.783 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 50.632 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.251 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.132 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.853 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  2.729 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.783 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 17.912 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.866 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.106 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.669 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.783 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:20 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  2.266 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 10.130 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 31.300 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  5.373 s]
[INFO] Apache Atlas Repository ............................ FAILURE [05:23 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 2.0.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:59 min
[INFO] Finished at: 2018-08-08T14:36:18Z
[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-master-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-master-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=7bf4bf4902b72b42ed4ee22da43890e7cee2a85a, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #2116
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-master-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=7bf4bf4902b72b42ed4ee22da43890e7cee2a85a, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #2116
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-master-UnitTests/builds/2122/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2122/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2122/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2122/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2122/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2122/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2122/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Mime
View raw message