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/05/11 00:42:58 UTC

Build failed in Jenkins: PreCommit-ATLAS-Build-Test #380-master-ATLAS-2637-Data-Migration-Infer-types-that-store-edg.patch

See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/380/display/redirect>

------------------------------------------
[...truncated 172.69 KB...]
[INFO] Exclude: 3party-licenses/**
[INFO] Exclude: **/.cache
[INFO] Exclude: **/.cache-main
[INFO] Exclude: **/.cache-tests
[INFO] Exclude: **/.checkstyle
[INFO] Exclude: **/*.txt
[INFO] Exclude: **/*.json
[INFO] Exclude: .pc/**
[INFO] Exclude: debian/**
[INFO] Exclude: .svn/**
[INFO] Exclude: .git/**
[INFO] Exclude: .gitignore
[INFO] Exclude: **/.idea/**
[INFO] Exclude: **/*.twiki
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.log
[INFO] Exclude: **/target/**
[INFO] Exclude: **/target*/**
[INFO] Exclude: **/build/**
[INFO] Exclude: **/*.patch
[INFO] Exclude: derby.log
[INFO] Exclude: **/logs/**
[INFO] Exclude: **/.classpath
[INFO] Exclude: **/.project
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/test-output/**
[INFO] Exclude: **/mock/**
[INFO] Exclude: **/data/**
[INFO] Exclude: **/maven-eclipse.xml
[INFO] Exclude: **/.externalToolBuilders/**
[INFO] Exclude: **/build.log
[INFO] Exclude: **/.bowerrc
[INFO] Exclude: *.json
[INFO] Exclude: **/overlays/**
[INFO] Exclude: dev-support/**
[INFO] Exclude: **/users-credentials.properties
[INFO] Exclude: **/public/css/animate.min.css
[INFO] Exclude: **/public/css/bootstrap-sidebar.css
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[INFO] Exclude: **/${sys:atlas.data}/**
[INFO] Exclude: **/policy-store.txt
[INFO] Exclude: **/*rebel*.xml
[INFO] Exclude: **/*rebel*.xml.bak
[INFO] Exclude: **/test/resources/**
[INFO] 51 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 51 licenses.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ atlas-graphdb-janus ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ atlas-graphdb-janus ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ atlas-graphdb-janus ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource to META-INF
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ atlas-graphdb-janus ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 37 source files to <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/graphdb/janus/target/classes>
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusGraph.java>: Some input files use or override a deprecated API.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusGraph.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/migration/pc/WorkItemManager.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/migration/pc/WorkItemManager.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ atlas-graphdb-janus ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 10 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ atlas-graphdb-janus ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/graphdb/janus/target/test-classes>
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/graphdb/janus/src/test/java/org/apache/atlas/repository/graphdb/janus/migration/BaseUtils.java>: <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/graphdb/janus/src/test/java/org/apache/atlas/repository/graphdb/janus/migration/BaseUtils.java> uses or overrides a deprecated API.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/graphdb/janus/src/test/java/org/apache/atlas/repository/graphdb/janus/migration/BaseUtils.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/graphdb/janus/src/test/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusDatabaseTest.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/graphdb/janus/src/test/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusDatabaseTest.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ atlas-graphdb-janus ---
[INFO] Surefire report directory: <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/graphdb/janus/target/surefire-reports>
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.atlas.repository.graphdb.janus.migration.ReaderStatusManagerTest
Running org.apache.atlas.repository.graphdb.janus.migration.WorkItemManagerTest
Running org.apache.atlas.repository.graphdb.janus.migration.PostProcessMapPropertyTest
Running org.apache.atlas.repository.graphdb.janus.migration.GraphSONUtilityTest
Running org.apache.atlas.repository.graphdb.janus.migration.WorkItemConsumerTest
Running org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest
Running org.apache.atlas.repository.graphdb.janus.AbstractGraphDatabaseTest
Running org.apache.atlas.repository.graphdb.janus.migration.MappedElementCacheTest
Running org.apache.atlas.repository.graphdb.janus.JanusGraphProviderTest
Running org.apache.atlas.repository.graphdb.janus.migration.JsonNodeParsersTest
Running org.apache.atlas.repository.graphdb.janus.GraphQueryTest
Running org.apache.atlas.repository.graphdb.janus.migration.PostProcessListPropertyTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.372 sec - in org.apache.atlas.repository.graphdb.janus.AbstractGraphDatabaseTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.763 sec - in org.apache.atlas.repository.graphdb.janus.migration.ReaderStatusManagerTest
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.883 sec <<< FAILURE! - in org.apache.atlas.repository.graphdb.janus.migration.MappedElementCacheTest
edgeFetch(org.apache.atlas.repository.graphdb.janus.migration.MappedElementCacheTest)  Time elapsed: 0.934 sec  <<< FAILURE!
java.lang.AssertionError: expected [2] but found [4]
	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.graphdb.janus.migration.MappedElementCacheTest.edgeFetch(MappedElementCacheTest.java:54)

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.996 sec - in org.apache.atlas.repository.graphdb.janus.migration.JsonNodeParsersTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.99 sec - in org.apache.atlas.repository.graphdb.janus.migration.PostProcessListPropertyTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.115 sec - in org.apache.atlas.repository.graphdb.janus.migration.GraphSONUtilityTest
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.148 sec <<< FAILURE! - in org.apache.atlas.repository.graphdb.janus.migration.PostProcessMapPropertyTest
updateUsingPostProcessConsumer(org.apache.atlas.repository.graphdb.janus.migration.PostProcessMapPropertyTest)  Time elapsed: 0.04 sec  <<< FAILURE!
java.lang.AssertionError: expected [false] but found [true]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:496)
	at org.testng.Assert.assertFalse(Assert.java:63)
	at org.testng.Assert.assertFalse(Assert.java:73)
	at org.apache.atlas.repository.graphdb.janus.migration.PostProcessMapPropertyTest$TestSetup.assertPropertyRemoved(PostProcessMapPropertyTest.java:164)
	at org.apache.atlas.repository.graphdb.janus.migration.PostProcessMapPropertyTest$TestSetup.assertComplete(PostProcessMapPropertyTest.java:151)
	at org.apache.atlas.repository.graphdb.janus.migration.PostProcessMapPropertyTest$TestSetup.access$000(PostProcessMapPropertyTest.java:95)
	at org.apache.atlas.repository.graphdb.janus.migration.PostProcessMapPropertyTest.updateUsingPostProcessConsumer(PostProcessMapPropertyTest.java:84)

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.415 sec - in org.apache.atlas.repository.graphdb.janus.JanusGraphProviderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.143 sec - in org.apache.atlas.repository.graphdb.janus.migration.WorkItemConsumerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.577 sec - in org.apache.atlas.repository.graphdb.janus.migration.WorkItemManagerTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.466 sec - in org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 142.258 sec - in org.apache.atlas.repository.graphdb.janus.GraphQueryTest

Results :

Failed tests: 
  MappedElementCacheTest.edgeFetch:54 expected [2] but found [4]
  PostProcessMapPropertyTest.updateUsingPostProcessConsumer:84 expected [false] but found [true]

Tests run: 42, Failures: 2, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.667 s]
[INFO] apache-atlas ....................................... SUCCESS [  3.429 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  4.483 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  1.826 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [  5.788 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [  0.948 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS)  SUCCESS [  1.240 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [  1.041 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [  0.841 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 37.587 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.173 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.117 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.662 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  2.621 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.797 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 15.306 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.640 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.099 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.736 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.743 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... FAILURE [02:29 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SKIPPED
[INFO] Shaded version of Apache hbase client .............. SKIPPED
[INFO] Shaded version of Apache hbase server .............. SKIPPED
[INFO] Apache Atlas Authorization ......................... SKIPPED
[INFO] Apache Atlas Repository ............................ 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 Kafka Bridge .......................... SKIPPED
[INFO] Apache Atlas Distribution .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:52 min
[INFO] Finished at: 2018-05-11T00:42:56Z
[INFO] Final Memory: 131M/1855M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project atlas-graphdb-janus: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/graphdb/janus/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-graphdb-janus




{color:red}-1 overall{color}.  

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/380//console

This message is automatically generated.


======================================================================
======================================================================
    Adding comment to Jira.
======================================================================
======================================================================




======================================================================
======================================================================
    Finished build.
======================================================================
======================================================================


+ EXIT_CODE=1
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_22259> ']'
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_22259> ']'
+ mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_22259> <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/patchprocess>
+ rm -f <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_22259>
+ exit 1
Build step 'Execute shell' marked build as failure
Set build name.
New build name is '#380-master-ATLAS-2637-Data-Migration-Infer-types-that-store-edg.patch'
Archiving artifacts

Jenkins build is back to normal : PreCommit-ATLAS-Build-Test #381-master-ATLAS-2637-Data-Migration-Infer-types-that-store-edg.patch

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/381/display/redirect>