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/04/16 03:00:37 UTC

Build failed in Jenkins: PreCommit-ATLAS-Build-Test #269-master-0001-ATLAS-2566-Use-AtlasJSON-across-all-model-files.patch

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

------------------------------------------
[...truncated 126.50 KB...]
[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] 36 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 36 licenses.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ atlas-notification ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ atlas-notification ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/notification/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-notification ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 21 source files to <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/notification/target/classes>
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/notification/src/main/java/org/apache/atlas/notification/AbstractNotification.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/notification/src/main/java/org/apache/atlas/notification/AbstractNotification.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ atlas-notification ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/notification/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ atlas-notification ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/notification/target/test-classes>
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/notification/src/test/java/org/apache/atlas/kafka/KafkaConsumerTest.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/notification/src/test/java/org/apache/atlas/kafka/KafkaConsumerTest.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ atlas-notification ---
[INFO] Surefire report directory: <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/notification/target/surefire-reports>
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.atlas.notification.AtlasNotificationMessageTest
Running org.apache.atlas.hook.AtlasHookTest
Running org.apache.atlas.notification.SplitMessageAggregatorTest
Running org.apache.atlas.notification.entity.EntityNotificationTest
Running org.apache.atlas.notification.hook.HookNotificationDeserializerTest
Running org.apache.atlas.kafka.KafkaNotificationTest
Running org.apache.atlas.kafka.KafkaConsumerTest
Running org.apache.atlas.notification.MessageVersionTest
Running org.apache.atlas.notification.entity.EntityNotificationDeserializerTest
Running org.apache.atlas.kafka.KafkaNotificationMockTest
Running org.apache.atlas.notification.AbstractNotificationTest
Running org.apache.atlas.hook.AtlasTopicCreatorTest
Running org.apache.atlas.notification.AbstractNotificationConsumerTest
Running org.apache.atlas.notification.hook.HookNotificationTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.932 sec - in org.apache.atlas.notification.MessageVersionTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.834 sec - in org.apache.atlas.notification.entity.EntityNotificationTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.117 sec - in org.apache.atlas.notification.AtlasNotificationMessageTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.015 sec - in org.apache.atlas.hook.AtlasTopicCreatorTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.399 sec - in org.apache.atlas.kafka.KafkaNotificationMockTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.632 sec - in org.apache.atlas.notification.AbstractNotificationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.763 sec - in org.apache.atlas.notification.entity.EntityNotificationDeserializerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.821 sec - in org.apache.atlas.notification.AbstractNotificationConsumerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.837 sec - in org.apache.atlas.notification.hook.HookNotificationTest
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.963 sec <<< FAILURE! - in org.apache.atlas.kafka.KafkaConsumerTest
testReceive(org.apache.atlas.kafka.KafkaConsumerTest)  Time elapsed: 0.013 sec  <<< FAILURE!
java.lang.AssertionError: Maps do not match for key:MyTrait actual:Struct{typeName=MyTrait, values={}} expected:Struct{typeName=MyTrait, values={}} expected [Struct{typeName=MyTrait, values={}}] but found [Struct{typeName=MyTrait, values={}}]
	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:837)
	at org.apache.atlas.kafka.KafkaConsumerTest.assertMessagesEqual(KafkaConsumerTest.java:158)
	at org.apache.atlas.kafka.KafkaConsumerTest.testReceive(KafkaConsumerTest.java:87)

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.094 sec - in org.apache.atlas.notification.SplitMessageAggregatorTest
Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 3.603 sec <<< FAILURE! - in org.apache.atlas.notification.hook.HookNotificationDeserializerTest
testDeserialize(org.apache.atlas.notification.hook.HookNotificationDeserializerTest)  Time elapsed: 0.723 sec  <<< FAILURE!
java.lang.AssertionError: Maps do not match for key:MyTrait actual:Struct{typeName=MyTrait, values={}} expected:Struct{typeName=MyTrait, values={}} expected [Struct{typeName=MyTrait, values={}}] but found [Struct{typeName=MyTrait, values={}}]
	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:837)
	at org.apache.atlas.notification.hook.HookNotificationDeserializerTest.assertEqualMessage(HookNotificationDeserializerTest.java:138)
	at org.apache.atlas.notification.hook.HookNotificationDeserializerTest.testDeserialize(HookNotificationDeserializerTest.java:55)

testDeserializeCompressedMessage(org.apache.atlas.notification.hook.HookNotificationDeserializerTest)  Time elapsed: 0.143 sec  <<< FAILURE!
java.lang.AssertionError: Maps do not match for key:MyTrait actual:Struct{typeName=MyTrait, values={}} expected:Struct{typeName=MyTrait, values={}} expected [Struct{typeName=MyTrait, values={}}] but found [Struct{typeName=MyTrait, values={}}]
	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:837)
	at org.apache.atlas.notification.hook.HookNotificationDeserializerTest.assertEqualMessage(HookNotificationDeserializerTest.java:138)
	at org.apache.atlas.notification.hook.HookNotificationDeserializerTest.testDeserializeCompressedMessage(HookNotificationDeserializerTest.java:86)

testDeserializeLegacyMessage(org.apache.atlas.notification.hook.HookNotificationDeserializerTest)  Time elapsed: 0.002 sec  <<< FAILURE!
java.lang.AssertionError: Maps do not match for key:MyTrait actual:Struct{typeName=MyTrait, values={}} expected:Struct{typeName=MyTrait, values={}} expected [Struct{typeName=MyTrait, values={}}] but found [Struct{typeName=MyTrait, values={}}]
	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:837)
	at org.apache.atlas.notification.hook.HookNotificationDeserializerTest.assertEqualMessage(HookNotificationDeserializerTest.java:138)
	at org.apache.atlas.notification.hook.HookNotificationDeserializerTest.testDeserializeLegacyMessage(HookNotificationDeserializerTest.java:66)

testDeserializeSplitMessage(org.apache.atlas.notification.hook.HookNotificationDeserializerTest)  Time elapsed: 0.707 sec  <<< FAILURE!
java.lang.AssertionError: Maps do not match for key:MyTrait actual:Struct{typeName=MyTrait, values={}} expected:Struct{typeName=MyTrait, values={}} expected [Struct{typeName=MyTrait, values={}}] but found [Struct{typeName=MyTrait, values={}}]
	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:837)
	at org.apache.atlas.notification.hook.HookNotificationDeserializerTest.assertEqualMessage(HookNotificationDeserializerTest.java:138)
	at org.apache.atlas.notification.hook.HookNotificationDeserializerTest.testDeserializeSplitMessage(HookNotificationDeserializerTest.java:101)

Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.449 sec - in org.apache.atlas.hook.AtlasHookTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.306 sec - in org.apache.atlas.kafka.KafkaNotificationTest

Results :

Failed tests: 
  KafkaConsumerTest.testReceive:87->assertMessagesEqual:158 Maps do not match for key:MyTrait actual:Struct{typeName=MyTrait, values={}} expected:Struct{typeName=MyTrait, values={}} expected [Struct{typeName=MyTrait, values={}}] but found [Struct{typeName=MyTrait, values={}}]
  HookNotificationDeserializerTest.testDeserialize:55->assertEqualMessage:138 Maps do not match for key:MyTrait actual:Struct{typeName=MyTrait, values={}} expected:Struct{typeName=MyTrait, values={}} expected [Struct{typeName=MyTrait, values={}}] but found [Struct{typeName=MyTrait, values={}}]
  HookNotificationDeserializerTest.testDeserializeCompressedMessage:86->assertEqualMessage:138 Maps do not match for key:MyTrait actual:Struct{typeName=MyTrait, values={}} expected:Struct{typeName=MyTrait, values={}} expected [Struct{typeName=MyTrait, values={}}] but found [Struct{typeName=MyTrait, values={}}]
  HookNotificationDeserializerTest.testDeserializeLegacyMessage:66->assertEqualMessage:138 Maps do not match for key:MyTrait actual:Struct{typeName=MyTrait, values={}} expected:Struct{typeName=MyTrait, values={}} expected [Struct{typeName=MyTrait, values={}}] but found [Struct{typeName=MyTrait, values={}}]
  HookNotificationDeserializerTest.testDeserializeSplitMessage:101->assertEqualMessage:138 Maps do not match for key:MyTrait actual:Struct{typeName=MyTrait, values={}} expected:Struct{typeName=MyTrait, values={}} expected [Struct{typeName=MyTrait, values={}}] but found [Struct{typeName=MyTrait, values={}}]

Tests run: 54, Failures: 5, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.719 s]
[INFO] apache-atlas ....................................... SUCCESS [  3.516 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  4.328 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  1.790 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [  4.474 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [  1.002 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 38.355 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.338 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.135 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.811 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  2.700 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.775 s]
[INFO] Apache Atlas Notification .......................... FAILURE [ 16.087 s]
[INFO] atlas-client-v2 .................................... SKIPPED
[INFO] Apache Atlas Graph Database Projects ............... SKIPPED
[INFO] Apache Atlas Graph Database API .................... SKIPPED
[INFO] Graph Database Common Code ......................... SKIPPED
[INFO] Apache Atlas JanusGraph DB Impl .................... SKIPPED
[INFO] Apache Atlas Graph Database Implementation Dependencies SKIPPED
[INFO] Shaded version of Apache hbase client .............. SKIPPED
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. 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 Migration Exporter .................... SKIPPED
[INFO] Apache Atlas Distribution .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:18 min
[INFO] Finished at: 2018-04-16T03:00:35Z
[INFO] Final Memory: 111M/1687M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project atlas-notification: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/notification/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-notification




{color:green}+1 overall{color}.  

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

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

This message is automatically generated.


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




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


+ EXIT_CODE=0
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_30501> ']'
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_30501> ']'
+ mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_30501> <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_30501>
+ exit 0
[description-setter] Description set: 0001-ATLAS-2566-Use-AtlasJSON-across-all-model-files.patch
Set build name.
New build name is '#269-master-0001-ATLAS-2566-Use-AtlasJSON-across-all-model-files.patch'
Archiving artifacts
ERROR: No artifacts found that match the file pattern "distro/target/*.tar.gz, webapp/target/*.war, **/target/**/*application.log". Configuration error?
ERROR: ?distro/target/*.tar.gz? doesn?t match anything: ?distro? exists but not ?distro/target/*.tar.gz?
Build step 'Archive the artifacts' changed build result to FAILURE

Jenkins build is back to normal : PreCommit-ATLAS-Build-Test #270-master-ATLAS-2558.3.patch

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