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

------------------------------------------
[...truncated 346.32 KB...]
[INFO] Exclude: **/*rebel*.xml
[INFO] Exclude: **/*rebel*.xml.bak
[INFO] Exclude: **/test/resources/**
[INFO] 126 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 126 licenses.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-solr-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ atlas-webapp 
---
[INFO] 
[INFO] --- keytool-maven-plugin:1.5:clean (clean) @ atlas-webapp ---
[WARNING] Keystore file 
'<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/target/atlas.keystore'>
 doesn't exist.
[INFO] 
[INFO] --- keytool-maven-plugin:1.5:generateKeyPair (generateKeyPair) @ 
atlas-webapp ---
[WARNING] 
[WARNING] Warning:
[WARNING] The JKS keystore uses a proprietary format. It is recommended to 
migrate to PKCS12 which is an industry standard format using "keytool 
-importkeystore -srckeystore 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/target/atlas.keystore>
 -destkeystore 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/target/atlas.keystore>
 -deststoretype pkcs12".
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ atlas-webapp 
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 68 source files to 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/target/classes>
[INFO] 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/src/main/java/org/apache/atlas/notification/NotificationHookConsumer.java>:
 Some input files use or override a deprecated API.
[INFO] 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/src/main/java/org/apache/atlas/notification/NotificationHookConsumer.java>:
 Recompile with -Xlint:deprecation for details.
[INFO] 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/src/main/java/org/apache/atlas/web/security/AtlasAuthenticationFailureHandler.java>:
 Some input files use unchecked or unsafe operations.
[INFO] 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/src/main/java/org/apache/atlas/web/security/AtlasAuthenticationFailureHandler.java>:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ 
atlas-webapp ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 50 source files to 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/target/test-classes>
[INFO] 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/src/test/java/org/apache/atlas/web/security/NegativeSSLAndKerberosTest.java>:
 Some input files use or override a deprecated API.
[INFO] 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/src/test/java/org/apache/atlas/web/security/NegativeSSLAndKerberosTest.java>:
 Recompile with -Xlint:deprecation for details.
[INFO] 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/src/test/java/org/apache/atlas/web/integration/DataSetLineageJerseyResourceIT.java>:
 Some input files use unchecked or unsafe operations.
[INFO] 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/src/test/java/org/apache/atlas/web/integration/DataSetLineageJerseyResourceIT.java>:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ atlas-webapp ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (unit-tests) @ atlas-webapp ---
[WARNING] The parameter forkMode is deprecated since version 2.14. Use 
forkCount and reuseForks instead.
[INFO] Surefire report directory: 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/target/surefire-reports>
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.atlas.web.service.ActiveInstanceStateTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.005 sec - in 
org.apache.atlas.web.service.ActiveInstanceStateTest
Running org.apache.atlas.web.service.ServiceStateTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.128 sec - in 
org.apache.atlas.web.service.ServiceStateTest
Running org.apache.atlas.web.service.CuratorFactoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.569 sec - in 
org.apache.atlas.web.service.CuratorFactoryTest
Running org.apache.atlas.web.service.AtlasZookeeperSecurityPropertiesTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.436 sec - in 
org.apache.atlas.web.service.AtlasZookeeperSecurityPropertiesTest
Running org.apache.atlas.web.service.ActiveInstanceElectorServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.398 sec - in 
org.apache.atlas.web.service.ActiveInstanceElectorServiceTest
Running org.apache.atlas.web.filters.AuditFilterTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.41 sec - in 
org.apache.atlas.web.filters.AuditFilterTest
Running org.apache.atlas.web.filters.AtlasCSRFPreventionFilterTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.439 sec - in 
org.apache.atlas.web.filters.AtlasCSRFPreventionFilterTest
Running org.apache.atlas.web.resources.AdminExportTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.366 sec - in 
org.apache.atlas.web.resources.AdminExportTest
Running org.apache.atlas.web.resources.AdminResourceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.665 sec - in 
org.apache.atlas.web.resources.AdminResourceTest
Running org.apache.atlas.web.resources.EntityResourceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.699 sec - in 
org.apache.atlas.web.resources.EntityResourceTest
Running org.apache.atlas.web.security.UserDaoTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.673 sec - in 
org.apache.atlas.web.security.UserDaoTest
Running org.apache.atlas.web.security.FileAuthenticationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.138 sec - in 
org.apache.atlas.web.security.FileAuthenticationTest
Running org.apache.atlas.web.util.ServletsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.468 sec - in 
org.apache.atlas.web.util.ServletsTest
Running org.apache.atlas.web.setup.SetupStepsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.437 sec - in 
org.apache.atlas.web.setup.SetupStepsTest
Running org.apache.atlas.notification.NotificationEntityChangeListenerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.016 sec - in 
org.apache.atlas.notification.NotificationEntityChangeListenerTest
Running org.apache.atlas.notification.NotificationHookConsumerKafkaTest
Tests run: 2, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 22.328 sec <<< 
FAILURE! - in org.apache.atlas.notification.NotificationHookConsumerKafkaTest
testConsumerConsumesNewMessageWithAutoCommitDisabled(org.apache.atlas.notification.NotificationHookConsumerKafkaTest)
  Time elapsed: 12.341 sec  <<< FAILURE!
org.mockito.exceptions.verification.WantedButNotInvoked: 
Wanted but not invoked:
atlasEntityStore.createOrUpdate(
    <any>,
    <any>
);
-> at 
org.apache.atlas.notification.NotificationHookConsumerKafkaTest.testConsumerConsumesNewMessageWithAutoCommitDisabled(NotificationHookConsumerKafkaTest.java:108)
Actually, there were zero interactions with this mock.

        at 
org.apache.atlas.notification.NotificationHookConsumerKafkaTest.testConsumerConsumesNewMessageWithAutoCommitDisabled(NotificationHookConsumerKafkaTest.java:108)

Running org.apache.atlas.notification.NotificationHookConsumerTest
Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.289 sec <<< 
FAILURE! - in org.apache.atlas.notification.NotificationHookConsumerTest
testCommitIsNotCalledEvenWhenMessageProcessingFails(org.apache.atlas.notification.NotificationHookConsumerTest)
  Time elapsed: 1.958 sec  <<< FAILURE!
org.mockito.exceptions.verification.NoInteractionsWanted: 
No interactions wanted here:
-> at 
org.apache.atlas.notification.NotificationHookConsumerTest.testCommitIsNotCalledEvenWhenMessageProcessingFails(NotificationHookConsumerTest.java:151)
But found this interaction:
-> at 
org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.commit(NotificationHookConsumer.java:565)
Actually, above is the only interaction with this mock.

        at 
org.apache.atlas.notification.NotificationHookConsumerTest.testCommitIsNotCalledEvenWhenMessageProcessingFails(NotificationHookConsumerTest.java:151)

Running org.apache.atlas.notification.AdaptiveWaiterTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.314 sec - in 
org.apache.atlas.notification.AdaptiveWaiterTest
Running org.apache.atlas.util.RestUtilsTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.424 sec - in 
org.apache.atlas.util.RestUtilsTest

Results :

Failed tests: 
  
NotificationHookConsumerKafkaTest.testConsumerConsumesNewMessageWithAutoCommitDisabled:108
 
Wanted but not invoked:
atlasEntityStore.createOrUpdate(
    <any>,
    <any>
);
-> at 
org.apache.atlas.notification.NotificationHookConsumerKafkaTest.testConsumerConsumesNewMessageWithAutoCommitDisabled(NotificationHookConsumerKafkaTest.java:108)
Actually, there were zero interactions with this mock.

  
NotificationHookConsumerTest.testCommitIsNotCalledEvenWhenMessageProcessingFails:151
 
No interactions wanted here:
-> at 
org.apache.atlas.notification.NotificationHookConsumerTest.testCommitIsNotCalledEvenWhenMessageProcessingFails(NotificationHookConsumerTest.java:151)
But found this interaction:
-> at 
org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.commit(NotificationHookConsumer.java:565)
Actually, above is the only interaction with this mock.


Tests run: 79, Failures: 2, Errors: 0, Skipped: 1

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  1.240 s]
[INFO] apache-atlas ....................................... SUCCESS [  6.031 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  5.991 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  1.524 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 39.245 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  4.707 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.189 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.893 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  2.970 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  1.009 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 35.229 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.753 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.683 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.942 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  1.065 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [03:02 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  2.215 
s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 12.100 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 40.945 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 22.649 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.905 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [02:32 min]
[INFO] Apache Atlas UI .................................... SUCCESS [01:22 min]
[INFO] Apache Atlas Web Application ....................... FAILURE [01:17 min]
[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: 11:20 min
[INFO] Finished at: 2018-03-13T22:47:32Z
[INFO] Final Memory: 158M/2559M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (unit-tests) on 
project atlas-webapp: There are test failures.
[ERROR] 
[ERROR] Please refer to 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/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-webapp




{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/170//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/170//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_30002>
 ']'
+ '[' -d 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_30002>
 ']'
+ mv 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_30002>
 <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_30002>
+ exit 0
[description-setter] Description set: ATLAS-2495-3.patch
Set build name.
New build name is '#170-master-ATLAS-2495-3.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

Reply via email to