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

Changes:

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

------------------------------------------
[...truncated 169.40 KB...]
	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: 31, Failures: 10, Errors: 0, Skipped: 6, Time elapsed: 86.324 sec <<<
FAILURE! - in org.apache.atlas.glossary.GlossaryServiceTest
testAddGlossaryCategoryChildren(org.apache.atlas.glossary.GlossaryServiceTest)  Time elapsed:
0.06 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.122
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.013 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.053 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.033 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.436 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.039 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.18 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.049
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: 2.349
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: 85.989 sec - in org.apache.atlas.repository.store.graph.v2.AtlasComplexAttributesTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 85.613 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 92.051 sec - in org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 95.126 sec - in org.apache.atlas.repository.migration.TypesWithClassificationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 96.287 sec - in org.apache.atlas.repository.migration.ComplexAttributesTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 97.065 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 100.217 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 102.205 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.737 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.87 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 108.806 sec <<<
FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importLegacy(org.apache.atlas.repository.impexp.ImportServiceTest)  Time elapsed: 2.232 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: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 164.709 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.556 s]
[INFO] apache-atlas 1.1.0-SNAPSHOT ........................ SUCCESS [  1.985 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  4.529 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 33.623 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.391 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.170 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.894 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  3.350 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.925 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 18.796 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.841 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.120 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.854 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  1.035 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:03 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  2.537 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  8.473 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 21.022 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.550 s]
[INFO] Apache Atlas Repository ............................ FAILURE [02:56 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: 06:46 min
[INFO] Finished at: 2018-08-08T14:17:08Z
[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/725/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-UnitTests/builds/725/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-UnitTests/builds/725/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-UnitTests/builds/725/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-UnitTests/builds/725/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-UnitTests/builds/725/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-UnitTests/builds/725/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Mime
View raw message