InputWedgeFileProductStorageTest

11

tests

0

failures

0

ignored

5.574s

duration

100%

successful

Tests

Test Duration Result
pollForFourProducts 5.050s passed
sendInternalProduct 0.068s passed
sendOneProduct 0.071s passed
sendScenarioProduct 0.278s passed
testCreateInternalProductsConfig 0.007s passed
testCreateScenarioProductsConfig 0.038s passed
testNoParserClassGiven 0.006s passed
testNoPollerClassGiven 0.024s passed
testNonDefaultValidateConfig 0.012s passed
testSendMechanismWhenPhasesExistConfig 0.007s passed
testSendOriginWhenPhasesExistConfig 0.013s passed

Standard error

###
Thu Sep 25 16:32:50 UTC 2025
CONFIG	thread=797	[null] signature version = v2
CONFIG	thread=797	[null] parallel send enabled=true, timeout=300
CONFIG	thread=797	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=797	Validation disabled
CONFIG	thread=797	sendOriginWhenPhasesExist = false
CONFIG	thread=797	sendMechanismWhenPhasesExist = false
CONFIG	thread=797	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=797	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=797	Using poll interval 1000ms
CONFIG	thread=797	Poll carefully = false
CONFIG	thread=797	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=797	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=797	createInternalProducts = false
CONFIG	thread=797	createScenarioProducts = true
CONFIG	thread=797	doBufferFix = true

###
Thu Sep 25 16:32:50 UTC 2025
CONFIG	thread=801	[null] signature version = v2
CONFIG	thread=801	[null] parallel send enabled=true, timeout=300
CONFIG	thread=801	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=801	Validation disabled
CONFIG	thread=801	sendOriginWhenPhasesExist = true
CONFIG	thread=801	sendMechanismWhenPhasesExist = false
CONFIG	thread=801	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=801	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=801	Using poll interval 1000ms
CONFIG	thread=801	Poll carefully = false
CONFIG	thread=801	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=801	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=801	createInternalProducts = false
CONFIG	thread=801	createScenarioProducts = false
CONFIG	thread=801	doBufferFix = true

###
Thu Sep 25 16:32:50 UTC 2025
CONFIG	thread=805	[null] signature version = v2
CONFIG	thread=805	[null] parallel send enabled=true, timeout=300
CONFIG	thread=805	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=805	Validation disabled
CONFIG	thread=805	sendOriginWhenPhasesExist = false
CONFIG	thread=805	sendMechanismWhenPhasesExist = true
CONFIG	thread=805	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=805	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=805	Using poll interval 1000ms
CONFIG	thread=805	Poll carefully = false
CONFIG	thread=805	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=805	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=805	createInternalProducts = false
CONFIG	thread=805	createScenarioProducts = false
CONFIG	thread=805	doBufferFix = true

###
Thu Sep 25 16:32:50 UTC 2025
CONFIG	thread=809	[null] signature version = v2
CONFIG	thread=809	[null] parallel send enabled=true, timeout=300
CONFIG	thread=809	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=809	Validation enabled
CONFIG	thread=809	sendOriginWhenPhasesExist = false
CONFIG	thread=809	sendMechanismWhenPhasesExist = false
CONFIG	thread=809	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=809	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=809	Using poll interval 1000ms
CONFIG	thread=809	Poll carefully = false
CONFIG	thread=809	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=809	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=809	createInternalProducts = false
CONFIG	thread=809	createScenarioProducts = false
CONFIG	thread=809	doBufferFix = true

###
Thu Sep 25 16:32:50 UTC 2025
CONFIG	thread=813	[null] signature version = v2
CONFIG	thread=813	[null] parallel send enabled=true, timeout=300
CONFIG	thread=813	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=813	Validation disabled
CONFIG	thread=813	sendOriginWhenPhasesExist = false
CONFIG	thread=813	sendMechanismWhenPhasesExist = false
CONFIG	thread=813	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=813	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=813	Using poll interval 1000ms
CONFIG	thread=813	Poll carefully = false
CONFIG	thread=813	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=813	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=813	createInternalProducts = true
CONFIG	thread=813	createScenarioProducts = false
CONFIG	thread=813	doBufferFix = true

###
Thu Sep 25 16:32:50 UTC 2025
CONFIG	thread=817	[null] Loading private key file 'etc/test_products/test_key/testkey'
CONFIG	thread=817	[null] signature version = v2
CONFIG	thread=817	[null] parallel send enabled=true, timeout=300
CONFIG	thread=817	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=817	Validation disabled
CONFIG	thread=817	sendOriginWhenPhasesExist = false
CONFIG	thread=817	sendMechanismWhenPhasesExist = false
CONFIG	thread=817	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=817	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=817	Using poll interval 1000ms
CONFIG	thread=817	Poll carefully = false
CONFIG	thread=817	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=817	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=817	createInternalProducts = false
CONFIG	thread=817	createScenarioProducts = true
CONFIG	thread=817	doBufferFix = true
CONFIG	thread=817	[null] host is 'localhost'
CONFIG	thread=817	[null] port is '11235'
CONFIG	thread=817	[null] connectTimeout is '15000'
CONFIG	thread=817	[null] readTimeout is '15000'
CONFIG	thread=817	[null] writeTimeout is '-1'
CONFIG	thread=817	[null] using xml format
CONFIG	thread=817	[null] enableDeflate is true
CONFIG	thread=817	[null] deflateLevel is 1
CONFIG	thread=817	[null] enablePdlProtocol is true
INFO	thread=817	Reading file pde20000102042021390_33.xml
FINE	thread=817	Resolved classes from context path: [class org.quakeml_1_2.ObjectFactory]
FINE	thread=817	Checking system property javax.xml.bind.JAXBContextFactory
FINE	thread=817	  not found
FINE	thread=817	Checking system property javax.xml.bind.context.factory
FINE	thread=817	  not found
FINE	thread=817	Checking system property javax.xml.bind.JAXBContext
FINE	thread=817	  not found
FINE	thread=817	Searching META-INF/services
FINE	thread=817	Configured factorty class:com.sun.xml.bind.v2.ContextFactory
FINE	thread=817	Property com.sun.xml.bind.XmlAccessorFactoryis not active.  Using JAXB's implementation
FINE	thread=164	[null] running event archive policy (testPolicy)
WARNING	thread=164	[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=164	[null] purged 0 expired events and 0 expired unassociated products.
FINE	thread=817	SAXParserFactory instance: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl@34da179f
Thu Sep 25 16:32:51 UTC 2025
FINE	thread=817	Using digest version v2, algorithm=SHA-256
FINE	thread=817	Digest='YERM9Kneh2BrBLKL3kjrd8ChcgEGc30akRtRlSUtMIk=' , 1ms
INFO	thread=818	[sender] sending product to Socket[addr=localhost/127.0.0.1,port=11235,localport=52374]
FINE	thread=818	[sender] using protocol version v0.1
There are 1 active/queued socket connections
INFO	thread=819	[test_receiver] accepted connection Socket[addr=/127.0.0.1,port=52374,localport=11235]
FINE	thread=819	[test_receiver] protocol version 'v0.1' Socket[addr=/127.0.0.1,port=52374,localport=11235]
FINE	thread=819	[test_receiver] listener (test_listener) has 0 queued notifications
INFO	thread=819	[test_receiver] received product 'urn:usgs-product:us:phase-data-scenario:pde20000102042021390_33:1351635048690'
 from Socket[addr=/127.0.0.1,port=52374,localport=11235]
INFO	thread=818	[sender] send complete Socket[addr=localhost/127.0.0.1,port=11235,localport=52374] response="[test_receiver] received product 'urn:usgs-product:us:phase-data-scenario:pde20000102042021390_33:1351635048690'
"
INFO	thread=819	[test_receiver] closed connection Socket[addr=/127.0.0.1,port=52374,localport=11235]
INFO	thread=817	generated 1 products: 1 sent, 0 partially sent, 0 failed to send
listener received urn:usgs-product:us:phase-data-scenario:pde20000102042021390_33:1351635048690
FINE	thread=817	Using digest version v2, algorithm=SHA-256
FINE	thread=817	Digest='YERM9Kneh2BrBLKL3kjrd8ChcgEGc30akRtRlSUtMIk=' , 1ms

###
Thu Sep 25 16:32:51 UTC 2025
CONFIG	thread=827	[null] signature version = v2
CONFIG	thread=827	[null] parallel send enabled=true, timeout=300
CONFIG	thread=827	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=827	Validation disabled
CONFIG	thread=827	sendOriginWhenPhasesExist = false
CONFIG	thread=827	sendMechanismWhenPhasesExist = false
CONFIG	thread=827	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=827	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=827	Using poll interval 1000ms
CONFIG	thread=827	Poll carefully = false
CONFIG	thread=827	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=827	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=827	createInternalProducts = false
CONFIG	thread=827	createScenarioProducts = false
CONFIG	thread=827	doBufferFix = true

###
Thu Sep 25 16:32:51 UTC 2025
CONFIG	thread=831	[null] Loading private key file 'etc/test_products/test_key/testkey'
CONFIG	thread=831	[null] signature version = v2
CONFIG	thread=831	[null] parallel send enabled=true, timeout=300
CONFIG	thread=831	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=831	Validation disabled
CONFIG	thread=831	sendOriginWhenPhasesExist = false
CONFIG	thread=831	sendMechanismWhenPhasesExist = false
CONFIG	thread=831	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=831	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=831	Using poll interval 1000ms
CONFIG	thread=831	Poll carefully = false
CONFIG	thread=831	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=831	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=831	createInternalProducts = true
CONFIG	thread=831	createScenarioProducts = false
CONFIG	thread=831	doBufferFix = true
CONFIG	thread=831	[null] host is 'localhost'
CONFIG	thread=831	[null] port is '11235'
CONFIG	thread=831	[null] connectTimeout is '15000'
CONFIG	thread=831	[null] readTimeout is '15000'
CONFIG	thread=831	[null] writeTimeout is '-1'
CONFIG	thread=831	[null] using xml format
CONFIG	thread=831	[null] enableDeflate is true
CONFIG	thread=831	[null] deflateLevel is 1
CONFIG	thread=831	[null] enablePdlProtocol is true
INFO	thread=831	Reading file pde20000102042021390_33.xml
FINE	thread=831	SAXParserFactory instance: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl@1c836311
FINE	thread=831	Using digest version v2, algorithm=SHA-256
FINE	thread=831	Digest='U7pWEKWnezN6N0MwN/Pc4i7kQhE1aAk/uSsvmGaVvB8=' , 1ms
INFO	thread=832	[sender] sending product to Socket[addr=localhost/127.0.0.1,port=11235,localport=52382]
FINE	thread=832	[sender] using protocol version v0.1
There are 1 active/queued socket connections
INFO	thread=833	[test_receiver] accepted connection Socket[addr=/127.0.0.1,port=52382,localport=11235]
FINE	thread=833	[test_receiver] protocol version 'v0.1' Socket[addr=/127.0.0.1,port=52382,localport=11235]
FINE	thread=833	[test_receiver] listener (test_listener) has 0 queued notifications
INFO	thread=833	[test_receiver] received product 'urn:usgs-product:us:internal-phase-data:pde20000102042021390_33:1351635048690'
 from Socket[addr=/127.0.0.1,port=52382,localport=11235]
INFO	thread=833	[test_receiver] closed connection Socket[addr=/127.0.0.1,port=52382,localport=11235]
INFO	thread=832	[sender] send complete Socket[addr=localhost/127.0.0.1,port=11235,localport=52382] response="[test_receiver] received product 'urn:usgs-product:us:internal-phase-data:pde20000102042021390_33:1351635048690'
"
INFO	thread=831	generated 1 products: 1 sent, 0 partially sent, 0 failed to send
listener received urn:usgs-product:us:internal-phase-data:pde20000102042021390_33:1351635048690
FINE	thread=831	Using digest version v2, algorithm=SHA-256
FINE	thread=831	Digest='U7pWEKWnezN6N0MwN/Pc4i7kQhE1aAk/uSsvmGaVvB8=' , 0ms

###
Thu Sep 25 16:32:51 UTC 2025
CONFIG	thread=841	[null] signature version = v2
CONFIG	thread=841	[null] parallel send enabled=true, timeout=300
CONFIG	thread=841	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=841	Validation disabled
CONFIG	thread=841	sendOriginWhenPhasesExist = false
CONFIG	thread=841	sendMechanismWhenPhasesExist = false
CONFIG	thread=841	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=841	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=841	Using poll interval 1000ms
CONFIG	thread=841	Poll carefully = false
CONFIG	thread=841	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=841	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=841	createInternalProducts = false
CONFIG	thread=841	createScenarioProducts = false
CONFIG	thread=841	doBufferFix = true

###
Thu Sep 25 16:32:51 UTC 2025
CONFIG	thread=1	[null] Loading private key file 'etc/test_products/test_key/testkey'
CONFIG	thread=1	[null] signature version = v2
CONFIG	thread=1	[null] parallel send enabled=true, timeout=300
CONFIG	thread=1	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=1	Validation disabled
CONFIG	thread=1	sendOriginWhenPhasesExist = false
CONFIG	thread=1	sendMechanismWhenPhasesExist = false
CONFIG	thread=1	Using poll directory /tmp/tmp16756537394030534959/testPolldir
CONFIG	thread=1	Using poll interval 1000ms
CONFIG	thread=1	Poll carefully = true
CONFIG	thread=1	Using oldinput directory /tmp/tmp16756537394030534959/storage
CONFIG	thread=1	Using error directory /tmp/tmp16756537394030534959/testErrordir
CONFIG	thread=1	Using pollerClass class poller
CONFIG	thread=1	createInternalProducts = false
CONFIG	thread=1	createScenarioProducts = false
CONFIG	thread=1	doBufferFix = true
CONFIG	thread=1	[null] host is 'localhost'
CONFIG	thread=1	[null] port is '11235'
CONFIG	thread=1	[null] connectTimeout is '15000'
CONFIG	thread=1	[null] readTimeout is '15000'
CONFIG	thread=1	[null] writeTimeout is '-1'
CONFIG	thread=1	[null] using xml format
CONFIG	thread=1	[null] enableDeflate is true
CONFIG	thread=1	[null] deflateLevel is 1
CONFIG	thread=1	[null] enablePdlProtocol is true
FINE	thread=436	[HttpClient-43-SelectorManager] [47s 174ms] HttpClientImpl(43) next timeout: 0
FINE	thread=436	[HttpClient-43-SelectorManager] [47s 174ms] HttpClientImpl(43) next expired: 0
FINE	thread=436	[HttpClient-43-SelectorManager] [47s 175ms] HttpClientImpl(43) Next deadline is 3000
FINE	thread=164	[null] running event archive policy (testPolicy)
WARNING	thread=164	[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=164	[null] purged 0 expired events and 0 expired unassociated products.
FINE	thread=164	[null] running event archive policy (testPolicy)
WARNING	thread=164	[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=164	[null] purged 0 expired events and 0 expired unassociated products.
Thu Sep 25 16:32:52 UTC 2025
INFO	thread=846	Reading file testFile1
FINE	thread=846	SAXParserFactory instance: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl@5f4f73ef
FINE	thread=846	Using digest version v2, algorithm=SHA-256
FINE	thread=846	Digest='a/n8dP/JBt2L7Qt1NawWNFSQQ90YLeJY3swHcPQ7HPc=' , 1ms
INFO	thread=847	[sender] sending product to Socket[addr=localhost/127.0.0.1,port=11235,localport=52388]
FINE	thread=847	[sender] using protocol version v0.1
There are 1 active/queued socket connections
INFO	thread=848	[test_receiver] accepted connection Socket[addr=/127.0.0.1,port=52388,localport=11235]
FINE	thread=848	[test_receiver] protocol version 'v0.1' Socket[addr=/127.0.0.1,port=52388,localport=11235]
FINE	thread=848	[test_receiver] listener (test_listener) has 0 queued notifications
INFO	thread=848	[test_receiver] received product 'urn:usgs-product:us:phase-data:pde20000102042021390_33:1351635048690'
 from Socket[addr=/127.0.0.1,port=52388,localport=11235]
INFO	thread=847	[sender] send complete Socket[addr=localhost/127.0.0.1,port=11235,localport=52388] response="[test_receiver] received product 'urn:usgs-product:us:phase-data:pde20000102042021390_33:1351635048690'
"
INFO	thread=848	[test_receiver] closed connection Socket[addr=/127.0.0.1,port=52388,localport=11235]
INFO	thread=846	generated 1 products: 1 sent, 0 partially sent, 0 failed to send
listener received urn:usgs-product:us:phase-data:pde20000102042021390_33:1351635048690
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='a/n8dP/JBt2L7Qt1NawWNFSQQ90YLeJY3swHcPQ7HPc=' , 0ms
FINE	thread=164	[null] running event archive policy (testPolicy)
WARNING	thread=164	[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=164	[null] purged 0 expired events and 0 expired unassociated products.
FINE	thread=425	[HttpClient-32-SelectorManager] [48s 282ms] HttpClientImpl(32) next timeout: 0
FINE	thread=425	[HttpClient-32-SelectorManager] [48s 282ms] HttpClientImpl(32) next expired: 0
FINE	thread=425	[HttpClient-32-SelectorManager] [48s 282ms] HttpClientImpl(32) Next deadline is 3000
FINE	thread=454	[HttpClient-61-SelectorManager] [48s 472ms] HttpClientImpl(61) next timeout: 0
FINE	thread=454	[HttpClient-61-SelectorManager] [48s 472ms] HttpClientImpl(61) next expired: 0
FINE	thread=454	[HttpClient-61-SelectorManager] [48s 472ms] HttpClientImpl(61) Next deadline is 3000
FINE	thread=164	[null] running event archive policy (testPolicy)
WARNING	thread=164	[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=164	[null] purged 0 expired events and 0 expired unassociated products.
Thu Sep 25 16:32:53 UTC 2025
FINE	thread=164	[null] running event archive policy (testPolicy)
WARNING	thread=164	[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=164	[null] purged 0 expired events and 0 expired unassociated products.
FINE	thread=164	[null] running event archive policy (testPolicy)
WARNING	thread=164	[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=164	[null] purged 0 expired events and 0 expired unassociated products.
Thu Sep 25 16:32:54 UTC 2025
INFO	thread=846	Reading file testFile2
FINE	thread=846	SAXParserFactory instance: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl@4ec82c13
WARNING	thread=846	Missing catalog attributes from event element, skipping
INFO	thread=846	generated 0 products: 0 sent, 0 partially sent, 0 failed to send
INFO	thread=846	Reading file testFile3
FINE	thread=846	SAXParserFactory instance: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl@38386157
FINE	thread=846	Using digest version v2, algorithm=SHA-256
FINE	thread=846	Digest='mdw7xtvTrAjhxRebZyd+QIM5vRN5evkWLRrJkvi5qYw=' , 16ms
INFO	thread=853	[sender] sending product to Socket[addr=localhost/127.0.0.1,port=11235,localport=52390]
FINE	thread=853	[sender] using protocol version v0.1
There are 1 active/queued socket connections
INFO	thread=854	[test_receiver] accepted connection Socket[addr=/127.0.0.1,port=52390,localport=11235]
FINE	thread=854	[test_receiver] protocol version 'v0.1' Socket[addr=/127.0.0.1,port=52390,localport=11235]
FINE	thread=436	[HttpClient-43-SelectorManager] [50s 176ms] HttpClientImpl(43) next timeout: 0
FINE	thread=436	[HttpClient-43-SelectorManager] [50s 176ms] HttpClientImpl(43) next expired: 0
FINE	thread=436	[HttpClient-43-SelectorManager] [50s 176ms] HttpClientImpl(43) Next deadline is 3000
FINE	thread=164	[null] running event archive policy (testPolicy)
WARNING	thread=164	[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=164	[null] purged 0 expired events and 0 expired unassociated products.
FINE	thread=854	[test_receiver] listener (test_listener) has 1 queued notifications
INFO	thread=854	[test_receiver] received product 'urn:usgs-product:us:phase-data:pde20100314080803960_32:1351636909701'
 from Socket[addr=/127.0.0.1,port=52390,localport=11235]
INFO	thread=853	[sender] send complete Socket[addr=localhost/127.0.0.1,port=11235,localport=52390] response="[test_receiver] received product 'urn:usgs-product:us:phase-data:pde20100314080803960_32:1351636909701'
"
INFO	thread=846	generated 1 products: 1 sent, 0 partially sent, 0 failed to send
INFO	thread=854	[test_receiver] closed connection Socket[addr=/127.0.0.1,port=52390,localport=11235]
listener received urn:usgs-product:us:phase-data:pde20100314080803960_32:1351636909701
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='mdw7xtvTrAjhxRebZyd+QIM5vRN5evkWLRrJkvi5qYw=' , 18ms
FINE	thread=164	[null] running event archive policy (testPolicy)
WARNING	thread=164	[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=164	[null] purged 0 expired events and 0 expired unassociated products.
Thu Sep 25 16:32:55 UTC 2025
FINE	thread=164	[null] running event archive policy (testPolicy)
WARNING	thread=164	[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=164	[null] purged 0 expired events and 0 expired unassociated products.
FINE	thread=425	[HttpClient-32-SelectorManager] [51s 285ms] HttpClientImpl(32) next timeout: 0
FINE	thread=425	[HttpClient-32-SelectorManager] [51s 285ms] HttpClientImpl(32) next expired: 0
FINE	thread=425	[HttpClient-32-SelectorManager] [51s 285ms] HttpClientImpl(32) Next deadline is 3000
FINE	thread=454	[HttpClient-61-SelectorManager] [51s 476ms] HttpClientImpl(61) next timeout: 0
FINE	thread=454	[HttpClient-61-SelectorManager] [51s 476ms] HttpClientImpl(61) next expired: 0
FINE	thread=454	[HttpClient-61-SelectorManager] [51s 476ms] HttpClientImpl(61) Next deadline is 3000
FINE	thread=164	[null] running event archive policy (testPolicy)
WARNING	thread=164	[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=164	[null] purged 0 expired events and 0 expired unassociated products.
Thu Sep 25 16:32:56 UTC 2025
INFO	thread=846	Reading file myproduct
FINE	thread=846	Using digest version v2, algorithm=SHA-256
FINE	thread=846	Digest='Gux30KvO+o3FGYqUMdzG204slbo7Pt2T01n9dpri9Xg=' , 1ms
INFO	thread=858	[sender] sending product to Socket[addr=localhost/127.0.0.1,port=11235,localport=52400]
FINE	thread=858	[sender] using protocol version v0.1
There are 1 active/queued socket connections
INFO	thread=859	[test_receiver] accepted connection Socket[addr=/127.0.0.1,port=52400,localport=11235]
FINE	thread=859	[test_receiver] protocol version 'v0.1' Socket[addr=/127.0.0.1,port=52400,localport=11235]
FINE	thread=859	[test_receiver] listener (test_listener) has 0 queued notifications
INFO	thread=859	[test_receiver] received product 'urn:usgs-product:me:test-product:testcode:1741032752157'
 from Socket[addr=/127.0.0.1,port=52400,localport=11235]
INFO	thread=858	[sender] send complete Socket[addr=localhost/127.0.0.1,port=11235,localport=52400] response="[test_receiver] received product 'urn:usgs-product:me:test-product:testcode:1741032752157'
"
INFO	thread=846	generated 1 products: 1 sent, 0 partially sent, 0 failed to send
INFO	thread=859	[test_receiver] closed connection Socket[addr=/127.0.0.1,port=52400,localport=11235]
listener received urn:usgs-product:me:test-product:testcode:1741032752157
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='Gux30KvO+o3FGYqUMdzG204slbo7Pt2T01n9dpri9Xg=' , 0ms

###
Thu Sep 25 16:32:56 UTC 2025
CONFIG	thread=867	[null] Loading private key file 'etc/test_products/test_key/testkey'
CONFIG	thread=867	[null] signature version = v2
CONFIG	thread=867	[null] parallel send enabled=true, timeout=300
CONFIG	thread=867	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=867	Validation disabled
CONFIG	thread=867	sendOriginWhenPhasesExist = false
CONFIG	thread=867	sendMechanismWhenPhasesExist = false
CONFIG	thread=867	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=867	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=867	Using poll interval 1000ms
CONFIG	thread=867	Poll carefully = false
CONFIG	thread=867	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=867	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=867	createInternalProducts = false
CONFIG	thread=867	createScenarioProducts = false
CONFIG	thread=867	doBufferFix = true
CONFIG	thread=867	[null] host is 'localhost'
CONFIG	thread=867	[null] port is '11235'
CONFIG	thread=867	[null] connectTimeout is '15000'
CONFIG	thread=867	[null] readTimeout is '15000'
CONFIG	thread=867	[null] writeTimeout is '-1'
CONFIG	thread=867	[null] using xml format
CONFIG	thread=867	[null] enableDeflate is true
CONFIG	thread=867	[null] deflateLevel is 1
CONFIG	thread=867	[null] enablePdlProtocol is true
INFO	thread=867	Reading file pde20000102042021390_33.xml
FINE	thread=867	SAXParserFactory instance: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl@6e841ca1
FINE	thread=867	Using digest version v2, algorithm=SHA-256
FINE	thread=867	Digest='Lt2AaQrLRjLBS6efGAQl+sJ2x6X+syazYnijcnZMHvk=' , 15ms
INFO	thread=868	[sender] sending product to Socket[addr=localhost/127.0.0.1,port=11235,localport=52412]
FINE	thread=868	[sender] using protocol version v0.1
There are 1 active/queued socket connections
INFO	thread=869	[test_receiver] accepted connection Socket[addr=/127.0.0.1,port=52412,localport=11235]
FINE	thread=869	[test_receiver] protocol version 'v0.1' Socket[addr=/127.0.0.1,port=52412,localport=11235]
FINE	thread=869	[test_receiver] listener (test_listener) has 0 queued notifications
INFO	thread=869	[test_receiver] received product 'urn:usgs-product:us:phase-data:pde20000102042021390_33:1351635048690'
 from Socket[addr=/127.0.0.1,port=52412,localport=11235]
INFO	thread=868	[sender] send complete Socket[addr=localhost/127.0.0.1,port=11235,localport=52412] response="[test_receiver] received product 'urn:usgs-product:us:phase-data:pde20000102042021390_33:1351635048690'
"
INFO	thread=867	generated 1 products: 1 sent, 0 partially sent, 0 failed to send
INFO	thread=869	[test_receiver] closed connection Socket[addr=/127.0.0.1,port=52412,localport=11235]
listener received urn:usgs-product:us:phase-data:pde20000102042021390_33:1351635048690
FINE	thread=867	Using digest version v2, algorithm=SHA-256
FINE	thread=867	Digest='Lt2AaQrLRjLBS6efGAQl+sJ2x6X+syazYnijcnZMHvk=' , 1ms