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-0.8-UnitTests #179
Date Sun, 18 Feb 2018 03:44:33 GMT
See <https://builds.apache.org/job/Atlas-0.8-UnitTests/179/display/redirect?page=changes>

Changes:

[madhan] ATLAS-2235: code improvements suggested by static code analysis

[madhan] ATLAS-2454: updated import-hbase utility to include additional HBase

------------------------------------------
[...truncated 234.30 KB...]
	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: 44.526 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 21, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 176.368 sec <<<
FAILURE! - in org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest
testDeleteEntities(org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest)
 Time elapsed: 6.603 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.repository.graph.GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntities(GraphBackedMetadataRepositoryDeleteTestBase.java:289)
	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)

testDeleteEntitiesWithCompositeArrayReference(org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest)
 Time elapsed: 15.244 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.repository.graph.GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntitiesWithCompositeArrayReference(GraphBackedMetadataRepositoryDeleteTestBase.java:335)
	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)

testLowerBoundsIgnoredOnCompositeDeletedEntities(org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest)
 Time elapsed: 8.722 sec  <<< FAILURE!
java.lang.AssertionError: expected [5] but found [3]
	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.repository.graph.GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredOnCompositeDeletedEntities(GraphBackedMetadataRepositoryDeleteTestBase.java:933)
	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: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 122.314 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 119.129 sec - in org.apache.atlas.query.LineageQueryTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.744 sec - in org.apache.atlas.discovery.EntityDiscoveryServiceTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.139 sec - in org.apache.atlas.discovery.DataSetLineageServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.982 sec - in org.apache.atlas.RepositoryServiceLoadingTest
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 130.382 sec - in org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 134.752 sec - in org.apache.atlas.query.GremlinTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.626 sec - in org.apache.atlas.service.StoreBackedTypeCacheMetadataServiceTest
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 105.484 sec - in org.apache.atlas.lineage.EntityLineageServiceTest
Tests run: 27, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 77.279 sec <<< FAILURE!
- in org.apache.atlas.service.DefaultMetadataServiceTest
testDeleteEntities(org.apache.atlas.service.DefaultMetadataServiceTest)  Time elapsed: 0.714
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: 0.514 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: 338, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 213.809 sec - in org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 370.923 sec - in org.apache.atlas.repository.graph.GraphRepoMapperScaleTest

Results :

Failed tests: 
  GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntities:288->GraphBackedMetadataRepositoryDeleteTestBase.deleteEntities:236
» IllegalArgument
  GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntitiesWithCompositeArrayReference:329->GraphBackedMetadataRepositoryDeleteTestBase.deleteEntities:236
» IllegalArgument
  GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntitiesWithCompositeMapReference:372->GraphBackedMetadataRepositoryDeleteTestBase.deleteEntities:236
» IllegalArgument
  GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteTargetOfMultiplicityOneRequiredReference:795->GraphBackedMetadataRepositoryDeleteTestBase.deleteEntities:236
» IllegalArgument
  GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDisconnectBidirectionalReferences:525
expected [true] but found [false]
  GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDisconnectUnidirectionalArrayReferenceFromClassType:570
expected [1] but found [2]
  GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredOnCompositeDeletedEntities:932->GraphBackedMetadataRepositoryDeleteTestBase.deleteEntities:236
» Repository
  GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredWhenDeletingCompositeEntitesOwnedByMap:1000
expected [4] but found [2]
  GraphBackedRepositorySoftDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntities:289
expected [2] but found [1]
  GraphBackedRepositorySoftDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntitiesWithCompositeArrayReference:335
expected [true] but found [false]
  GraphBackedRepositorySoftDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredOnCompositeDeletedEntities:933
expected [5] but found [3]
  DefaultMetadataServiceTest.testDeleteEntities:1049 expected [true] but found [false]
  DefaultMetadataServiceTest.testDeleteEntityByUniqueAttribute:1106 expected [true] but found
[false]

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.555 s]
[INFO] apache-atlas ....................................... SUCCESS [  2.004 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 12.264 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  1.849 s]
[INFO] Apache Atlas Typesystem ............................ SUCCESS [ 34.316 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.129 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.662 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  3.088 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.647 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 12.576 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.627 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.081 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.536 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.590 s]
[INFO] Apache Atlas Titan 1.0.0 GraphDB Impl .............. SUCCESS [ 27.287 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  7.292 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [01:04 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  0.149 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 21.382 s]
[INFO] Apache Atlas Repository ............................ FAILURE [06:56 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: 10:08 min
[INFO] Finished at: 2018-02-18T03:44:25Z
[INFO] Final Memory: 151M/2298M
[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-0.8-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-0.8-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=96e29e80409600925dfa1c8ecece436db8b0be5f, workspace=<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #176
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-0.8-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=96e29e80409600925dfa1c8ecece436db8b0be5f, workspace=<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #176
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-0.8-UnitTests/builds/179/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/179/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/179/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/179/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/179/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/179/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/179/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Mime
View raw message