See
<https://builds.apache.org/job/Atlas-master-UnitTests/245/display/redirect?page=changes>
Changes:
[amestry] ATLAS-2330: Updated to address unit test failure. Root cause: Change
in
------------------------------------------
[...truncated 167.17 KB...]
-------------------------------------------------------
Running org.apache.atlas.utils.TestResourceFileUtils
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.TestModules
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.query.DSLQueriesTest
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.49 sec - in
org.apache.atlas.utils.TestResourceFileUtils
Running
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.06 sec - in
org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.585 sec - in
org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.778 sec - in
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.778 sec - in
org.apache.atlas.TestModules
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.842 sec - in
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.865 sec -
in org.apache.atlas.query.GremlinQueryComposerTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.928 sec - in
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.98 sec - in
org.apache.atlas.services.MetricsServiceTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.764 sec - in
org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.833 sec - in
org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.693 sec -
in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.886 sec - in
org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.067 sec - in
org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.32 sec - in
org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.181 sec - in
org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.321 sec - in
org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.236 sec - in
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.392 sec - in
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.398 sec - in
org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.807 sec - in
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.127 sec - in
org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.774 sec - in
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 70.388 sec -
in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 74.709 sec -
in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.465 sec -
in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.439 sec -
in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.898 sec - in
org.apache.atlas.repository.impexp.ImportServiceTest
Tests run: 229, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 108.565 sec
<<< FAILURE! - in org.apache.atlas.query.DSLQueriesTest
syntax(org.apache.atlas.query.DSLQueriesTest) Time elapsed: 0.119 sec <<<
FAILURE!
java.lang.AssertionError: expected [2] but found [1]
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.query.DSLQueriesTest.assertSearchResult(DSLQueriesTest.java:513)
at org.apache.atlas.query.DSLQueriesTest.syntax(DSLQueriesTest.java:289)
syntax(org.apache.atlas.query.DSLQueriesTest) Time elapsed: 0.118 sec <<<
FAILURE!
java.lang.AssertionError: expected [2] but found [1]
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.query.DSLQueriesTest.assertSearchResult(DSLQueriesTest.java:513)
at org.apache.atlas.query.DSLQueriesTest.syntax(DSLQueriesTest.java:289)
Results :
Failed tests:
org.apache.atlas.query.DSLQueriesTest.syntax(org.apache.atlas.query.DSLQueriesTest)
Run 1: PASS
Run 2: PASS
Run 3: PASS
Run 4: PASS
Run 5: PASS
Run 6: PASS
Run 7: PASS
Run 8: PASS
Run 9: PASS
Run 10: PASS
Run 11: PASS
Run 12: PASS
Run 13: PASS
Run 14: PASS
Run 15: PASS
Run 16: PASS
Run 17: PASS
Run 18: PASS
Run 19: PASS
Run 20: PASS
Run 21: PASS
Run 22: PASS
Run 23: PASS
Run 24: PASS
Run 25: PASS
Run 26: PASS
Run 27: DSLQueriesTest.syntax:289->assertSearchResult:513 expected [2] but
found [1]
Run 28: DSLQueriesTest.syntax:289->assertSearchResult:513 expected [2] but
found [1]
Run 29: PASS
Run 30: PASS
Run 31: PASS
Run 32: PASS
Run 33: PASS
Run 34: PASS
Run 35: PASS
Run 36: PASS
Run 37: PASS
Run 38: PASS
Run 39: PASS
Run 40: PASS
Run 41: PASS
Run 42: PASS
Run 43: PASS
Run 44: PASS
Run 45: PASS
Run 46: PASS
Run 47: PASS
Run 48: PASS
Run 49: PASS
Run 50: PASS
Run 51: PASS
Run 52: PASS
Run 53: PASS
Run 54: PASS
Run 55: PASS
Run 56: PASS
Run 57: PASS
Run 58: PASS
Run 59: PASS
Run 60: PASS
Run 61: PASS
Run 62: PASS
Run 63: PASS
Run 64: PASS
Run 65: PASS
Run 66: PASS
Run 67: PASS
Run 68: PASS
Run 69: PASS
Run 70: PASS
Run 71: PASS
Run 72: PASS
Run 73: PASS
Run 74: PASS
Run 75: PASS
Run 76: PASS
Tests run: 333, Failures: 1, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.542 s]
[INFO] apache-atlas ....................................... SUCCESS [ 1.903 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.401 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 38.607 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 1.710 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.137 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.715 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.489 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.680 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 9.646 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.567 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.081 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.515 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.649 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:17 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.658
s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 7.653 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 26.883 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.460 s]
[INFO] Apache Atlas Repository ............................ FAILURE [01:57 min]
[INFO] Apache Atlas Authorization ......................... 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: 06:15 min
[INFO] Finished at: 2018-01-11T17:46:48Z
[INFO] Final Memory: 123M/1787M
[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=c746a0505722adc46c19def24f2fb9c6b76fb367,
workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #241
[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=c746a0505722adc46c19def24f2fb9c6b76fb367,
workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #241
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/245/testng/testng-results-1.xml'
Processing
'/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/245/testng/testng-results-2.xml'
Processing
'/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/245/testng/testng-results-3.xml'
Processing
'/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/245/testng/testng-results-4.xml'
Processing
'/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/245/testng/testng-results-5.xml'
Processing
'/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/245/testng/testng-results.xml'
0.751880% of tests failed, which exceeded threshold of 0%. Marking build as
UNSTABLE
TestNG Reports Processing: FINISH