ExternalIndexerListenerTest

7

tests

0

failures

0

ignored

0.246s

duration

100%

successful

Tests

Test Duration Result
PreferredPropertyTest 0.002s passed
eventIdsTest 0.005s passed
nullEventIdsTest 0.172s passed
nullPreferredPropertyTest 0.002s passed
someNullEventIdsTest 0.003s passed
testAccept 0.051s passed
testArchivingProduct 0.011s passed

Standard error

###
Thu Mar 20 18:33:44 UTC 2025
FINE	thread=157	[null] running event archive policy (testPolicy)
WARNING	thread=157	[null] exception running event archive policy (testPolicy) 
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null
	at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232)
	at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838)
	at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785)
	at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
	at java.base/java.util.TimerThread.run(Timer.java:516)
INFO	thread=157	[null] purged 0 expired events and 0 expired unassociated products.
FINER	thread=1	[null] product type 'shakemap' excluded
FINE	thread=1	[null] product is not preferred in any event

###
Thu Mar 20 18:33:44 UTC 2025
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='16jVDEVbg6D/0GKVQGi0rIRRdCvAR0m7CPGr8NcHSy4=' , 3ms
FINEST	thread=1	Signature is already in history.
FINEST	thread=1	[null] acquiring read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1742495624315
FINEST	thread=1	[null] acquired read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1742495624315
FINEST	thread=1	[null] releasing read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1742495624315
FINEST	thread=1	[null] released read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1742495624315
FINER	thread=1	[null] Change product is null. Probably archiving.
FINEST	thread=1	[null] acquiring read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1742495624315
FINEST	thread=1	[null] acquired read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1742495624315
FINEST	thread=1	[null] releasing read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1742495624315
FINEST	thread=1	[null] released read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1742495624315
INFO	thread=1	[null] running command echo --type=shakemap --code=abcd1234 --source=us --updateTime=2025-03-20T18:33:44.315Z --status=UPDATE "--property-original-signature=test1234" "--property-testprop=testvalue" "--property-original-signature-version=v1" --link-testrelation=http://google.com/ --action=PRODUCT_ARCHIVED
INFO	thread=1	[null] command 'echo --type=shakemap --code=abcd1234 --source=us --updateTime=2025-03-20T18:33:44.315Z --status=UPDATE "--property-original-signature=test1234" "--property-testprop=testvalue" "--property-original-signature-version=v1" --link-testrelation=http://google.com/ --action=PRODUCT_ARCHIVED' exited with status '0'