Skip to content

Tsunami wrapper in production: runs indefinitely #98

@MichaelLangbein

Description

@MichaelLangbein

In production, the tsunami wrapper never gets further than the state running.

Here's the docker-log for the tsunami wrapper after receiving an order:

order message handler receiver: {"orderId":1}
2023-05-03 10:19:18,329 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Got new order to handle with wrapper 1
2023-05-03 10:19:18,498 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Added literal input constraint for tsunami mag: 6.85
2023-05-03 10:19:18,499 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Added literal input constraint for tsunami lon: -71.37228
2023-05-03 10:19:18,500 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Added literal input constraint for tsunami lat: -30.92143
2023-05-03 10:19:18,501 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Parsed constraints
2023-05-03 10:19:18,511 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Define the literal constraints for the jobs
2023-05-03 10:19:18,515 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Define the complex constraints for the jobs
2023-05-03 10:19:18,516 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Define the bbox constraints for the jobs
2023-05-03 10:19:18,517 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Process job
2023-05-03 10:19:18,536 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Lookup the process id
2023-05-03 10:19:18,555 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Got the process id 4
2023-05-03 10:19:18,571 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Created one job
2023-05-03 10:19:18,578 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Added literal input for mag: 6.85
2023-05-03 10:19:18,583 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Added literal input for lon: -71.37228
2023-05-03 10:19:18,587 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Added literal input for lat: -30.92143
2023-05-03 10:19:18,591 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Added job to order
2023-05-03 10:19:18,593 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Start mapping to wps inputs
2023-05-03 10:19:18,597 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: retrieve getCapabilities document from  https://riesgos.52north.org/wps (retries: 0)
2023-05-03 10:19:19,782 [tsunami-asyncwrapper_new-order_subscription] INFO  org.n52.geoprocessing.wps.client.WPSClientSession: CONNECT
2023-05-03 10:19:20,787 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: retrieved getCapabilities document from https://riesgos.52north.org/wps (retries: 0)
2023-05-03 10:19:20,787 [tsunami-asyncwrapper_new-order_subscription] INFO  AbstractWrapper: Start calling the wps itself under https://riesgos.52north.org/wps/get_tsunamap
2023-05-03 10:19:20,790 [tsunami-asyncwrapper_new-order_subscription] INFO  WPSProcess: retrieve wps process description for get_tsunamap (retries: 0)
2023-05-03 10:19:21,048 [tsunami-asyncwrapper_new-order_subscription] INFO  WPSProcess: retrieved wps process description for get_tsunamap (retries: 0)
2023-05-03 10:19:21,139 [tsunami-asyncwrapper_new-order_subscription] INFO  WPSProcess: <wps:Execute xmlns:wps="http://www.opengis.net/wps/2.0" xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/2.0 http://schemas.opengis.net/wps/2.0/wps.xsd" response="document" mode="sync" service="WPS" version="2.0.0"><ows:Identifier>get_tsunamap</ows:Identifier><wps:Input id="lat"><wps:Data mimeType="text/xml"><wps:LiteralValue>-30.92143</wps:LiteralValue></wps:Data></wps:Input><wps:Input id="lon"><wps:Data mimeType="text/xml"><wps:LiteralValue>-71.37228</wps:LiteralValue></wps:Data></wps:Input><wps:Input id="mag"><wps:Data mimeType="text/xml"><wps:LiteralValue>6.85</wps:LiteralValue></wps:Data></wps:Input><wps:Output id="tsunamap" transmission="reference" mimeType="application/xml" schema="http://earthquake.usgs.gov/eqcenter/shakemap" encoding="UTF-8"></wps:Output></wps:Execute>
2023-05-03 10:19:21,142 [tsunami-asyncwrapper_new-order_subscription] INFO  WPSProcess: execute WPS process get_tsunamap (retries: 0)
2023-05-03 10:19:22,721 [tsunami-asyncwrapper_new-order_subscription] INFO  WPSProcess: execute WPS process get_tsunamap (retries: 1)
2023-05-03 10:19:23,875 [tsunami-asyncwrapper_new-order_subscription] INFO  WPSProcess: execute WPS process get_tsunamap (retries: 2)
2023-05-03 10:19:30,727 [pulsar-timer-5-1] INFO  org.apache.pulsar.client.impl.ConsumerStatsRecorderImpl: [new-order] [tsunami-asyncwrapper_new-order_subscription] [ac2a0] Prefetched messages: 1 --- Consume throughput received: 0.02 msgs/s --- 0.00 Mbit/s --- Ack sent rate: 0.00 ack/s --- Failed messages: 0 --- batch messages: 0 ---Failed acks: 0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions