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/09/18 20:08:35 UTC

Build failed in Jenkins: Atlas-0.8-UnitTests #268

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

Changes:

[madhan] ATLAS-2872: updated HiveHook to purge name cache periodically

------------------------------------------
[...truncated 270.15 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.util.RestUtilsTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.319 sec - in org.apache.atlas.util.RestUtilsTest
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: 20.087 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.999 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.889 sec <<< FAILURE! - in org.apache.atlas.notification.NotificationHookConsumerTest
testCommitIsNotCalledEvenWhenMessageProcessingFails(org.apache.atlas.notification.NotificationHookConsumerTest)  Time elapsed: 1.389 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: 5.066 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.util.ServletsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.163 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.security.UserDaoTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.746 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.security.FileAuthenticationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.067 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.filters.AuditFilterTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.352 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.354 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.setup.SetupStepsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.291 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.service.ActiveInstanceElectorServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.325 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.service.AtlasZookeeperSecurityPropertiesTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.434 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.ServiceStateTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.934 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.ActiveInstanceStateTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.097 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.34 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.resources.TaxonomyServiceTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.092 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.EntityResourceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.67 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.web.resources.AdminResourceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.3 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.AdminExportTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.323 sec - in org.apache.atlas.web.resources.AdminExportTest

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.675 s]
[INFO] apache-atlas 0.8.3-SNAPSHOT ........................ SUCCESS [  2.967 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 14.103 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.143 s]
[INFO] Apache Atlas Typesystem ............................ SUCCESS [ 37.873 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.185 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.800 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  3.597 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.871 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 13.338 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.637 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.096 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.712 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.667 s]
[INFO] Apache Atlas Titan 1.0.0 GraphDB Impl .............. SUCCESS [ 29.375 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  7.607 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [01:09 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  0.154 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.503 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [07:58 min]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  3.541 s]
[INFO] Apache Atlas Business Catalog ...................... SUCCESS [  5.006 s]
[INFO] Apache Atlas UI .................................... SUCCESS [01:46 min]
[INFO] Apache Atlas Web Application ....................... FAILURE [01:11 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: 14:32 min
[INFO] Finished at: 2018-09-18T20:08:27Z
[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=110db1a40b84b9a5ad2590233ee3f03eeae2ec78, 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=110db1a40b84b9a5ad2590233ee3f03eeae2ec78, 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/268/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/268/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/268/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/268/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/268/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/268/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/268/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/268/testng/testng-results-8.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/268/testng/testng-results-9.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/268/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Jenkins build is back to normal : Atlas-0.8-UnitTests #269

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