See 
<https://builds.apache.org/job/Atlas-0.8-UnitTests/267/display/redirect?page=changes>

Changes:

[madhan] ATLAS-2877: updated notification processing to wait only before retry

[madhan] ATLAS-2634: Avoid duplicate message processing.

------------------------------------------
[...truncated 270.10 KB...]
[INFO] Exclude: **/atlas.data/**
[INFO] Exclude: **/${sys:atlas.data}/**
[INFO] Exclude: **/policy-store.txt
[INFO] Exclude: **/*rebel*.xml
[INFO] Exclude: **/*rebel*.xml.bak
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 14 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/Atlas-0.8-UnitTests/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/Atlas-0.8-UnitTests/ws/webapp/target/atlas.keystore>
 -destkeystore 
<https://builds.apache.org/job/Atlas-0.8-UnitTests/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.1:compile (default-compile) @ atlas-webapp 
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 70 source files to 
<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/target/classes>
[WARNING] 
<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/main/java/org/apache/atlas/web/resources/LineageResource.java>:
 Some input files use or override a deprecated API.
[WARNING] 
<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/main/java/org/apache/atlas/web/resources/LineageResource.java>:
 Recompile with -Xlint:deprecation for details.
[WARNING] 
<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/main/java/org/apache/atlas/web/filters/AtlasKnoxSSOAuthenticationFilter.java>:
 Some input files use unchecked or unsafe operations.
[WARNING] 
<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/main/java/org/apache/atlas/web/filters/AtlasKnoxSSOAuthenticationFilter.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 8 resources
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/typesystem/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
atlas-webapp ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 52 source files to 
<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/target/test-classes>
[WARNING] 
<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/test/java/org/apache/atlas/notification/EntityNotificationIT.java>:
 Some input files use or override a deprecated API.
[WARNING] 
<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/test/java/org/apache/atlas/notification/EntityNotificationIT.java>:
 Recompile with -Xlint:deprecation for details.
[WARNING] 
<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/test/java/org/apache/atlas/notification/EntityNotificationIT.java>:
 Some input files use unchecked or unsafe operations.
[WARNING] 
<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/test/java/org/apache/atlas/notification/EntityNotificationIT.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/Atlas-0.8-UnitTests/ws/webapp/target/surefire-reports>
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider
[WARNING] file.encoding cannot be set as system property, use 
<argLine>-Dfile.encoding=...<argLine> instead

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.notification.NotificationHookConsumerKafkaTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.084 sec - in 
org.apache.atlas.notification.NotificationHookConsumerKafkaTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.notification.NotificationEntityChangeListenerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.849 sec - in 
org.apache.atlas.notification.NotificationEntityChangeListenerTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.notification.NotificationHookConsumerTest
Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.495 sec <<< 
FAILURE! - in org.apache.atlas.notification.NotificationHookConsumerTest
testCommitIsNotCalledEvenWhenMessageProcessingFails(org.apache.atlas.notification.NotificationHookConsumerTest)
  Time elapsed: 1.295 sec  <<< FAILURE!
java.lang.NullPointerException: null
        at 
scala.collection.convert.Wrappers$JListWrapper.iterator(Wrappers.scala:88)
        at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
        at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
        at scala.collection.AbstractTraversable.map(Traversable.scala:104)
        at 
org.apache.atlas.typesystem.json.InstanceSerialization$.asScala(InstanceSerialization.scala:324)
        at 
org.apache.atlas.typesystem.json.InstanceSerialization$._toJson(InstanceSerialization.scala:354)
        at 
org.apache.atlas.typesystem.json.InstanceSerialization$.toJson(InstanceSerialization.scala:359)
        at 
org.apache.atlas.typesystem.json.InstanceSerialization.toJson(InstanceSerialization.scala)
        at 
org.apache.atlas.notification.AbstractNotification$ReferenceableSerializer.serialize(AbstractNotification.java:254)
        at 
org.apache.atlas.notification.AbstractNotification$ReferenceableSerializer.serialize(AbstractNotification.java:251)
        at com.google.gson.TreeTypeAdapter.write(TreeTypeAdapter.java:70)
        at 
com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)
        at 
com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.write(CollectionTypeAdapterFactory.java:97)
        at 
com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.write(CollectionTypeAdapterFactory.java:61)
        at 
com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)
        at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)
        at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)
        at 
com.google.gson.internal.bind.ObjectTypeAdapter.write(ObjectTypeAdapter.java:107)
        at 
com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)
        at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)
        at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)
        at com.google.gson.Gson.toJson(Gson.java:652)
        at com.google.gson.Gson.toJson(Gson.java:631)
        at com.google.gson.Gson.toJson(Gson.java:586)
        at com.google.gson.Gson.toJson(Gson.java:566)
        at 
org.apache.atlas.notification.AbstractNotification.getMessageJson(AbstractNotification.java:147)
        at 
org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.handleMessage(NotificationHookConsumer.java:508)
        at 
org.apache.atlas.notification.NotificationHookConsumerTest.testCommitIsNotCalledEvenWhenMessageProcessingFails(NotificationHookConsumerTest.java:148)

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.notification.AdaptiveWaiterTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.908 sec - in 
org.apache.atlas.notification.AdaptiveWaiterTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.web.filters.AuditFilterTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.142 sec - in 
org.apache.atlas.web.filters.AuditFilterTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.web.filters.AtlasCSRFPreventionFilterTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.225 sec - in 
org.apache.atlas.web.filters.AtlasCSRFPreventionFilterTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.web.service.ActiveInstanceStateTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.901 sec - in 
org.apache.atlas.web.service.ActiveInstanceStateTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.web.service.CuratorFactoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.151 sec - in 
org.apache.atlas.web.service.CuratorFactoryTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.web.service.ServiceStateTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.798 sec - in 
org.apache.atlas.web.service.ServiceStateTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.web.service.AtlasZookeeperSecurityPropertiesTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.368 sec - in 
org.apache.atlas.web.service.AtlasZookeeperSecurityPropertiesTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.web.service.ActiveInstanceElectorServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.109 sec - in 
org.apache.atlas.web.service.ActiveInstanceElectorServiceTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.web.setup.SetupStepsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.039 sec - in 
org.apache.atlas.web.setup.SetupStepsTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.web.security.FileAuthenticationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.472 sec - in 
org.apache.atlas.web.security.FileAuthenticationTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.web.security.UserDaoTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.627 sec - in 
org.apache.atlas.web.security.UserDaoTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.web.util.ServletsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.944 sec - in 
org.apache.atlas.web.util.ServletsTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.web.resources.AdminResourceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.056 sec - in 
org.apache.atlas.web.resources.AdminResourceTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.web.resources.TaxonomyServiceTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.923 sec - in 
org.apache.atlas.web.resources.TaxonomyServiceTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.web.resources.AdminExportTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.261 sec - in 
org.apache.atlas.web.resources.AdminExportTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.web.resources.EntityResourceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.524 sec - in 
org.apache.atlas.web.resources.EntityResourceTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.util.RestUtilsTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.298 sec - in 
org.apache.atlas.util.RestUtilsTest

Results :

Failed tests: 
  
NotificationHookConsumerTest.testCommitIsNotCalledEvenWhenMessageProcessingFails:148
 » NullPointer

Tests run: 92, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [  0.664 s]
[INFO] apache-atlas 0.8.3-SNAPSHOT ........................ SUCCESS [  2.979 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 14.118 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  1.835 s]
[INFO] Apache Atlas Typesystem ............................ SUCCESS [ 38.223 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.268 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.689 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  3.460 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.728 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 12.259 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.629 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.089 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.524 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.634 s]
[INFO] Apache Atlas Titan 1.0.0 GraphDB Impl .............. SUCCESS [ 31.349 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  7.100 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [01:04 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  0.142 
s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 21.791 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [07:31 min]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  1.904 s]
[INFO] Apache Atlas Business Catalog ...................... SUCCESS [  5.501 s]
[INFO] Apache Atlas UI .................................... SUCCESS [01:36 min]
[INFO] Apache Atlas Web Application ....................... FAILURE [01:02 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 Migration Exporter .................... SKIPPED
[INFO] Apache Atlas Distribution 0.8.3-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:41 min
[INFO] Finished at: 2018-09-18T18:21:48Z
[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/Atlas-0.8-UnitTests/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
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=2f7348988b992e8a9e5a71cf1a483803fa7d6db8, 
workspace=<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #266
[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=2f7348988b992e8a9e5a71cf1a483803fa7d6db8, 
workspace=<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #266
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/267/testng/testng-results-1.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/267/testng/testng-results-2.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/267/testng/testng-results-3.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/267/testng/testng-results-4.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/267/testng/testng-results-5.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/267/testng/testng-results-6.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/267/testng/testng-results-7.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/267/testng/testng-results-8.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/267/testng/testng-results-9.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/267/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Reply via email to