AwsProductSenderTest

5

tests

0

failures

0

ignored

0.226s

duration

100%

successful

Tests

Test Duration Result
testCheckProductJsonSize 0.017s passed
testCheckProductJsonSizeThrowsException 0.015s passed
testPayloadConfiguration 0.033s passed
testPayloadConfigurationException 0.011s passed
testSignatureHistoryOnSign 0.150s passed

Standard error

FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='ozMSXHKPvy7Pw0TnamejYI3JWCEp1BMlJQKb9JKYs3M=' , 3ms
FINEST	thread=1	Signature is already in history.
FINE	thread=1	[Test worker] [29s 198ms] HttpClientImpl(16) proxySelector is sun.net.spi.DefaultProxySelector@684138c5 (user-supplied=false)
CONFIG	thread=1	[null] url=https://test
CONFIG	thread=1	[null] sign products=false
FINE	thread=1	[Test worker] [29s 200ms] HttpClientImpl(17) proxySelector is sun.net.spi.DefaultProxySelector@684138c5 (user-supplied=false)
FINE	thread=410	[HttpClient-16-SelectorManager] [29s 201ms] HttpClientImpl(16) next timeout: 0
FINE	thread=410	[HttpClient-16-SelectorManager] [29s 201ms] HttpClientImpl(16) next expired: 0
FINE	thread=410	[HttpClient-16-SelectorManager] [29s 201ms] HttpClientImpl(16) Next deadline is 3000
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='ZFS+AmvRQ4BkUSSpPfCcndyuTXiCkMSe1Do2ribmjiw=' , 4ms
FINEST	thread=1	Signature is already in history.
FINE	thread=411	[HttpClient-17-SelectorManager] [29s 231ms] HttpClientImpl(17) SelectorManager shutting down
FINE	thread=1	[Test worker] [29s 230ms] HttpClientImpl(18) proxySelector is sun.net.spi.DefaultProxySelector@684138c5 (user-supplied=false)
CONFIG	thread=1	[null] url=https://test
CONFIG	thread=1	[null] sign products=false
FINE	thread=1	[Test worker] [29s 235ms] HttpClientImpl(19) proxySelector is sun.net.spi.DefaultProxySelector@684138c5 (user-supplied=false)
FINE	thread=412	[HttpClient-18-SelectorManager] [29s 236ms] HttpClientImpl(18) next timeout: 0
FINE	thread=412	[HttpClient-18-SelectorManager] [29s 236ms] HttpClientImpl(18) next expired: 0
FINE	thread=412	[HttpClient-18-SelectorManager] [29s 236ms] HttpClientImpl(18) Next deadline is 3000
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='sLozkR/+ywTRdbi/PScj1jspMq0ULcqhr3AERi4kCEI=' , 2ms
FINEST	thread=1	Signature is already in history.
FINE	thread=1	[Test worker] [29s 243ms] HttpClientImpl(20) proxySelector is sun.net.spi.DefaultProxySelector@684138c5 (user-supplied=false)
FINE	thread=413	[HttpClient-19-SelectorManager] [29s 243ms] HttpClientImpl(19) next timeout: 0
FINE	thread=413	[HttpClient-19-SelectorManager] [29s 243ms] HttpClientImpl(19) next expired: 0
FINE	thread=413	[HttpClient-19-SelectorManager] [29s 243ms] HttpClientImpl(19) Next deadline is 3000
CONFIG	thread=1	[null] url=https://test
CONFIG	thread=1	[null] sign products=false
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='ApzyhIIPhRR384bXxeocoIs/2iDY4mvcRWSkkuamI/4=' , 3ms
FINEST	thread=1	Signature is already in history.
FINE	thread=1	[Test worker] [29s 254ms] HttpClientImpl(21) proxySelector is sun.net.spi.DefaultProxySelector@684138c5 (user-supplied=false)
FINE	thread=414	[HttpClient-20-SelectorManager] [29s 253ms] HttpClientImpl(20) next timeout: 0
FINE	thread=414	[HttpClient-20-SelectorManager] [29s 254ms] HttpClientImpl(20) next expired: 0
FINE	thread=414	[HttpClient-20-SelectorManager] [29s 254ms] HttpClientImpl(20) Next deadline is 3000
CONFIG	thread=1	[null] url=https://test
CONFIG	thread=1	[null] sign products=false
Wed Apr 16 20:02:04 UTC 2025
FINE	thread=1	[Test worker] [29s 255ms] HttpClientImpl(22) proxySelector is sun.net.spi.DefaultProxySelector@684138c5 (user-supplied=false)
FINE	thread=415	[HttpClient-21-SelectorManager] [29s 256ms] HttpClientImpl(21) next timeout: 0
FINE	thread=415	[HttpClient-21-SelectorManager] [29s 256ms] HttpClientImpl(21) next expired: 0
FINE	thread=415	[HttpClient-21-SelectorManager] [29s 256ms] HttpClientImpl(21) Next deadline is 3000
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='UEeKQzzMmDraRq7qRObYhlnFNj0px33dvoks/k6XtQA=' , 4ms
FINE	thread=416	[HttpClient-22-SelectorManager] [29s 273ms] HttpClientImpl(22) next timeout: 0
FINE	thread=416	[HttpClient-22-SelectorManager] [29s 275ms] HttpClientImpl(22) next expired: 0
FINE	thread=416	[HttpClient-22-SelectorManager] [29s 275ms] HttpClientImpl(22) Next deadline is 3000
FINEST	thread=1	Signature is already in history.
FINE	thread=1	[Test worker] [29s 279ms] HttpClientImpl(23) proxySelector is sun.net.spi.DefaultProxySelector@684138c5 (user-supplied=false)
FINE	thread=417	[HttpClient-23-SelectorManager] [29s 298ms] HttpClientImpl(23) next timeout: 0
FINE	thread=417	[HttpClient-23-SelectorManager] [29s 298ms] HttpClientImpl(23) next expired: 0
FINE	thread=417	[HttpClient-23-SelectorManager] [29s 298ms] HttpClientImpl(23) Next deadline is 3000
FINE	thread=153	[null] running event archive policy (testPolicy)
WARNING	thread=153	[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=153	[null] purged 0 expired events and 0 expired unassociated products.
WARNING	thread=1	Using deprecated signature version v1, consider updating to v2
FINEST	thread=1	Signature is already in history.
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='UEeKQzzMmDraRq7qRObYhlnFNj0px33dvoks/k6XtQA=' , 1ms
FINE	thread=1	[null] Resigned product from original-signature test1234 to new signature MCwCFGYn500M7mP8d7iK/Jyp+Y0iF7wDAhRV8Fqek3gOAwXW2vElD71kMBSJSg==
FINEST	thread=1	Signature is already in history.
FINE	thread=1	Getting upload urls for {"contents":{"":{"length":33,"modified":"2025-04-16T20:02:04.000Z","path":"","sha256":"0y4HP6Ia60hnSCVWzz5FruqIJePtdy1rw8NzV2EQSy0=","type":"text/html","url":"data:text/html;base64,SSBhbSA8ZW0+aW5saW5lPC9lbT4gaHRtbCBjb250ZW50"},"test.txt":{"length":90,"modified":"2025-04-16T20:02:04.000Z","path":"test.txt","sha256":"f66uqrN9uuqSR0QxztWM0ZxCNzY+WozRW0BEGb4vmUk=","type":"text/plain","url":null},"jar/EIDSInstaller.jar":{"length":35415,"modified":"2025-04-16T20:00:10.000Z","path":"jar/EIDSInstaller.jar","sha256":"3aZqtykthIrmZEyU8L90+kZKsOT/qY8objYL5KzodKM=","type":"application/octet-stream","url":null}},"geometry":null,"id":{"code":"abcd1234","source":"us","type":"shakemap","updateTime":"2025-04-16T20:02:04.012Z"},"links":[{"relation":"testrelation","uri":"http://google.com/"}],"properties":{"testprop":"testvalue","original-signature-version":"v1","original-signature":"test1234"},"signature":"MCwCFGYn500M7mP8d7iK/Jyp+Y0iF7wDAhRV8Fqek3gOAwXW2vElD71kMBSJSg==","signatureVersion":"v2","signatureHistory":[{"signature":"MCwCFGYn500M7mP8d7iK/Jyp+Y0iF7wDAhRV8Fqek3gOAwXW2vElD71kMBSJSg==","signatureVersion":"v2"},{"signature":"test1234","signatureVersion":"v1"},{"signature":"MCwCFHduR81I1FdDa4fPRSrXGTYsAXCRAhQ2lgQSPL0voe2VN+wu7HTG7viSrQ==","signatureVersion":"v2"}],"status":"UPDATE","type":"Feature"}
FINE	thread=1	[null] get upload urls urn:usgs-product:us:shakemap:abcd1234:1744833724012 (1 ms) 
FINE	thread=1	[null] upload contents urn:usgs-product:us:shakemap:abcd1234:1744833724012 (0 ms) 
FINE	thread=1	[null] send product urn:usgs-product:us:shakemap:abcd1234:1744833724012 (1 ms) 
INFO	thread=1	[null] send product total urn:usgs-product:us:shakemap:abcd1234:1744833724012 (2 ms)