You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/01/18 06:51:36 UTC

Build failed in Jenkins: Atlas-master-UnitTests #267

See <https://builds.apache.org/job/Atlas-master-UnitTests/267/display/redirect>

------------------------------------------
[...truncated 160.96 KB...]
[INFO] Exclude: **/*rebel*.xml.bak
[INFO] 163 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 153 licenses.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ atlas-repository ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ atlas-repository ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ atlas-repository ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/main/resources>
[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ atlas-repository ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 116 source files to <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/target/classes>
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/main/java/org/apache/atlas/repository/converters/AtlasInstanceConverter.java>: Some input files use or override a deprecated API.
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/main/java/org/apache/atlas/repository/converters/AtlasInstanceConverter.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ atlas-repository ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 21 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ atlas-repository ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 35 source files to <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/target/test-classes>
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java>: <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java> uses or overrides a deprecated API.
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/test/java/org/apache/atlas/repository/store/graph/v1/InverseReferenceUpdateV1Test.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/test/java/org/apache/atlas/repository/store/graph/v1/InverseReferenceUpdateV1Test.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ atlas-repository ---
[INFO] Surefire report directory: <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/target/surefire-reports>
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.query.DSLQueriesTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.TestModules
Running org.apache.atlas.query.DSLParsingTest
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.query.GremlinQueryComposerTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.82 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.088 sec - in org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.015 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.461 sec - in org.apache.atlas.TestModules
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.632 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.815 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.313 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.862 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.198 sec - in org.apache.atlas.query.DSLParsingTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.303 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.387 sec - in org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.utils.TestResourceFileUtils
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.61 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.299 sec - in org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.742 sec - in org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.387 sec - in org.apache.atlas.utils.TestResourceFileUtils
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.356 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.46 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.695 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.772 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.811 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 10, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 60.059 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ExportServiceTest
requestingDeptEntityFoundConnectedFetch_ContainsData(org.apache.atlas.repository.impexp.ExportServiceTest)  Time elapsed: 1.169 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.ExportServiceTest.verifyExportForHrDataForConnected(ExportServiceTest.java:346)
	at org.apache.atlas.repository.impexp.ExportServiceTest.requestingDeptEntityFoundConnectedFetch_ContainsData(ExportServiceTest.java:259)

requestingDeptEntityFoundFullFetch_ContainsData(org.apache.atlas.repository.impexp.ExportServiceTest)  Time elapsed: 0.428 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.ExportServiceTest.verifyExportForHrData(ExportServiceTest.java:333)
	at org.apache.atlas.repository.impexp.ExportServiceTest.requestingDeptEntityFoundFullFetch_ContainsData(ExportServiceTest.java:252)

requestingEmployeeEntityFoundConnectedFetch_ContainsData(org.apache.atlas.repository.impexp.ExportServiceTest)  Time elapsed: 0.223 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.ExportServiceTest.verifyExportForEmployeeData(ExportServiceTest.java:317)
	at org.apache.atlas.repository.impexp.ExportServiceTest.requestingEmployeeEntityFoundConnectedFetch_ContainsData(ExportServiceTest.java:265)

requestingEntityFoundDefaultFetch_ContainsData(org.apache.atlas.repository.impexp.ExportServiceTest)  Time elapsed: 0.552 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.ExportServiceTest.verifyExportForHrData(ExportServiceTest.java:333)
	at org.apache.atlas.repository.impexp.ExportServiceTest.requestingEntityFoundDefaultFetch_ContainsData(ExportServiceTest.java:231)

requestingHrEntityWithMatchTypeContains_ContainsData(org.apache.atlas.repository.impexp.ExportServiceTest)  Time elapsed: 0.669 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.ExportServiceTest.verifyExportForHrData(ExportServiceTest.java:333)
	at org.apache.atlas.repository.impexp.ExportServiceTest.requestingHrEntityWithMatchTypeContains_ContainsData(ExportServiceTest.java:238)

requestingHrEntityWithMatchTypeEndsWith_ContainsData(org.apache.atlas.repository.impexp.ExportServiceTest)  Time elapsed: 0.453 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.ExportServiceTest.verifyExportForHrData(ExportServiceTest.java:333)
	at org.apache.atlas.repository.impexp.ExportServiceTest.requestingHrEntityWithMatchTypeEndsWith_ContainsData(ExportServiceTest.java:245)

Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.273 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 67.018 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 67.862 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.426 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 73.76 sec - in org.apache.atlas.repository.impexp.ImportServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.754 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 75.487 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 75.934 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 225, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 130.448 sec - in org.apache.atlas.query.DSLQueriesTest

Results :

Failed tests: 
  ExportServiceTest.requestingDeptEntityFoundConnectedFetch_ContainsData:259->verifyExportForHrDataForConnected:346 expected object to not be null
  ExportServiceTest.requestingDeptEntityFoundFullFetch_ContainsData:252->verifyExportForHrData:333 expected object to not be null
  ExportServiceTest.requestingEmployeeEntityFoundConnectedFetch_ContainsData:265->verifyExportForEmployeeData:317 expected object to not be null
  ExportServiceTest.requestingEntityFoundDefaultFetch_ContainsData:231->verifyExportForHrData:333 expected object to not be null
  ExportServiceTest.requestingHrEntityWithMatchTypeContains_ContainsData:238->verifyExportForHrData:333 expected object to not be null
  ExportServiceTest.requestingHrEntityWithMatchTypeEndsWith_ContainsData:245->verifyExportForHrData:333 expected object to not be null

Tests run: 423, Failures: 6, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.711 s]
[INFO] apache-atlas ....................................... SUCCESS [  2.429 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  4.969 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 41.200 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.389 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.218 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.869 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  3.360 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.911 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 11.745 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.879 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.080 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.574 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.699 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:11 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  1.810 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  8.556 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 28.050 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.474 s]
[INFO] Apache Atlas Repository ............................ FAILURE [02:19 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:42 min
[INFO] Finished at: 2018-01-18T06:51:30Z
[INFO] Final Memory: 123M/1964M
[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=bd87c3f624d45e9d6d2080c28197e3e1ab9a4ebc, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #265
[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=bd87c3f624d45e9d6d2080c28197e3e1ab9a4ebc, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #265
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/267/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/267/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/267/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/267/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/267/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/267/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Jenkins build is back to normal : Atlas-master-UnitTests #268

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/268/display/redirect?page=changes>