AwsProductSenderTest

5

tests

0

failures

0

ignored

0.198s

duration

100%

successful

Tests

Test Duration Result
testCheckProductJsonSize 0.017s passed
testCheckProductJsonSizeThrowsException 0.015s passed
testPayloadConfiguration 0.014s passed
testPayloadConfigurationException 0.009s passed
testSignatureHistoryOnSign 0.143s passed

Standard error

Thu Mar 20 18:33:16 UTC 2025
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='JvwSYGkd4Md/ubfA34eoVBTQkkLRiJ60qXosFR45Yo4=' , 3ms
FINEST	thread=1	Signature is already in history.
FINE	thread=1	[Test worker] [32s 373ms] HttpClientImpl(20) proxySelector is sun.net.spi.DefaultProxySelector@207512c3 (user-supplied=false)
CONFIG	thread=1	[null] url=https://test
CONFIG	thread=1	[null] sign products=false
FINE	thread=1	[Test worker] [32s 374ms] HttpClientImpl(21) proxySelector is sun.net.spi.DefaultProxySelector@207512c3 (user-supplied=false)
FINE	thread=414	[HttpClient-20-SelectorManager] [32s 375ms] HttpClientImpl(20) next timeout: 0
FINE	thread=414	[HttpClient-20-SelectorManager] [32s 375ms] HttpClientImpl(20) next expired: 0
FINE	thread=414	[HttpClient-20-SelectorManager] [32s 376ms] HttpClientImpl(20) Next deadline is 3000
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='iVKlUNZV2osVFdb7K8tHjsw0EvMmz7PEHLXghrUY1xI=' , 7ms
FINE	thread=415	[HttpClient-21-SelectorManager] [32s 388ms] HttpClientImpl(21) next timeout: 0
FINE	thread=415	[HttpClient-21-SelectorManager] [32s 388ms] HttpClientImpl(21) next expired: 0
FINE	thread=415	[HttpClient-21-SelectorManager] [32s 388ms] HttpClientImpl(21) Next deadline is 3000
FINEST	thread=1	Signature is already in history.
FINE	thread=1	[Test worker] [32s 389ms] HttpClientImpl(22) proxySelector is sun.net.spi.DefaultProxySelector@207512c3 (user-supplied=false)
CONFIG	thread=1	[null] url=https://test
CONFIG	thread=1	[null] sign products=false
FINE	thread=1	[Test worker] [32s 392ms] HttpClientImpl(23) proxySelector is sun.net.spi.DefaultProxySelector@207512c3 (user-supplied=false)
FINE	thread=416	[HttpClient-22-SelectorManager] [32s 393ms] HttpClientImpl(22) next timeout: 0
FINE	thread=416	[HttpClient-22-SelectorManager] [32s 393ms] HttpClientImpl(22) next expired: 0
FINE	thread=416	[HttpClient-22-SelectorManager] [32s 393ms] HttpClientImpl(22) Next deadline is 3000
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='f7rNl95drR1wlAk5rTYEh23hw31XCAFmdIpOJHZD/dE=' , 2ms
FINEST	thread=1	Signature is already in history.
FINE	thread=1	[Test worker] [32s 399ms] HttpClientImpl(24) proxySelector is sun.net.spi.DefaultProxySelector@207512c3 (user-supplied=false)
FINE	thread=417	[HttpClient-23-SelectorManager] [32s 400ms] HttpClientImpl(23) next timeout: 0
FINE	thread=417	[HttpClient-23-SelectorManager] [32s 400ms] HttpClientImpl(23) next expired: 0
FINE	thread=417	[HttpClient-23-SelectorManager] [32s 401ms] HttpClientImpl(23) 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='Oz4WC2sQaQF+2fs6YqGy/02SV1Pa651v/n4aYlNiYfo=' , 3ms
FINE	thread=418	[HttpClient-24-SelectorManager] [32s 408ms] HttpClientImpl(24) next timeout: 0
FINE	thread=418	[HttpClient-24-SelectorManager] [32s 408ms] HttpClientImpl(24) next expired: 0
FINE	thread=418	[HttpClient-24-SelectorManager] [32s 409ms] HttpClientImpl(24) Next deadline is 3000
FINEST	thread=1	Signature is already in history.
FINE	thread=1	[Test worker] [32s 409ms] HttpClientImpl(25) proxySelector is sun.net.spi.DefaultProxySelector@207512c3 (user-supplied=false)
CONFIG	thread=1	[null] url=https://test
CONFIG	thread=1	[null] sign products=false
FINE	thread=1	[Test worker] [32s 410ms] HttpClientImpl(26) proxySelector is sun.net.spi.DefaultProxySelector@207512c3 (user-supplied=false)
FINE	thread=419	[HttpClient-25-SelectorManager] [32s 410ms] HttpClientImpl(25) next timeout: 0
FINE	thread=419	[HttpClient-25-SelectorManager] [32s 411ms] HttpClientImpl(25) next expired: 0
FINE	thread=419	[HttpClient-25-SelectorManager] [32s 411ms] HttpClientImpl(25) Next deadline is 3000
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='THjjNg9/ldRXR/0bWdwTotnHeVWlhie3+dM8tRlgFSE=' , 3ms
FINEST	thread=1	Signature is already in history.
FINE	thread=420	[HttpClient-26-SelectorManager] [32s 425ms] HttpClientImpl(26) next timeout: 0
FINE	thread=420	[HttpClient-26-SelectorManager] [32s 431ms] HttpClientImpl(26) next expired: 0
FINE	thread=420	[HttpClient-26-SelectorManager] [32s 431ms] HttpClientImpl(26) Next deadline is 3000
FINE	thread=1	[Test worker] [32s 431ms] HttpClientImpl(27) proxySelector is sun.net.spi.DefaultProxySelector@207512c3 (user-supplied=false)
FINE	thread=421	[HttpClient-27-SelectorManager] [32s 451ms] HttpClientImpl(27) next timeout: 0
FINE	thread=421	[HttpClient-27-SelectorManager] [32s 451ms] HttpClientImpl(27) next expired: 0
FINE	thread=421	[HttpClient-27-SelectorManager] [32s 451ms] HttpClientImpl(27) Next deadline is 3000
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=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.
FINE	thread=1	Digest='THjjNg9/ldRXR/0bWdwTotnHeVWlhie3+dM8tRlgFSE=' , 1ms
FINE	thread=1	[null] Resigned product from original-signature test1234 to new signature MCwCFE20o3ysUcKjqOzsv/Lqc2G+ETsOAhQbaxEzIRKahLJim9RoqRX00+v6Yg==
FINEST	thread=1	Signature is already in history.
FINE	thread=1	Getting upload urls for {"contents":{"":{"length":33,"modified":"2025-03-20T18:33:16.000Z","path":"","sha256":"0y4HP6Ia60hnSCVWzz5FruqIJePtdy1rw8NzV2EQSy0=","type":"text/html","url":"data:text/html;base64,SSBhbSA8ZW0+aW5saW5lPC9lbT4gaHRtbCBjb250ZW50"},"test.txt":{"length":90,"modified":"2025-03-20T18:33:16.000Z","path":"test.txt","sha256":"f66uqrN9uuqSR0QxztWM0ZxCNzY+WozRW0BEGb4vmUk=","type":"text/plain","url":null},"jar/EIDSInstaller.jar":{"length":35415,"modified":"2025-03-20T18:31:03.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-03-20T18:33:16.113Z"},"links":[{"relation":"testrelation","uri":"http://google.com/"}],"properties":{"testprop":"testvalue","original-signature-version":"v1","original-signature":"test1234"},"signature":"MCwCFE20o3ysUcKjqOzsv/Lqc2G+ETsOAhQbaxEzIRKahLJim9RoqRX00+v6Yg==","signatureVersion":"v2","signatureHistory":[{"signature":"MCwCFE20o3ysUcKjqOzsv/Lqc2G+ETsOAhQbaxEzIRKahLJim9RoqRX00+v6Yg==","signatureVersion":"v2"},{"signature":"test1234","signatureVersion":"v1"},{"signature":"MCwCFD6hcdc1zONH9vKmezuJ3ZQwTVd6AhRdBiuA+kvRPnsvY+bjCiYVclRU7Q==","signatureVersion":"v2"}],"status":"UPDATE","type":"Feature"}
FINE	thread=1	[null] get upload urls urn:usgs-product:us:shakemap:abcd1234:1742495596113 (5 ms) 
FINE	thread=1	[null] upload contents urn:usgs-product:us:shakemap:abcd1234:1742495596113 (0 ms) 
FINE	thread=1	[null] send product urn:usgs-product:us:shakemap:abcd1234:1742495596113 (1 ms) 
INFO	thread=1	[null] send product total urn:usgs-product:us:shakemap:abcd1234:1742495596113 (7 ms)