Icebox generates calculations marked "success" but empty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Platform |
Confirmed
|
High
|
Daniele Viganò |
Bug Description
In a specific condition Icebox will report a calculation as "successful" (green) but actually the calculation has not run and the maps are empty.
It looks like an issue with concurrency. How to reproduce (with a dev environment):
1) Upload three calculations
2) 1 is starting and 2, 3 are in queue
3) 1 ends, 2 and 3 starts at the same time (first issue)
4) 2 and 3 become successful (green) at the very same time
5) 2 and 3 don't contain any result
On the engine server's log they report only:
[2014-11-17 16:33:27,535 hazard job #2 - PROGRESS MainProcess/1309] ** pre_executing (hazard)
[2014-11-17 16:33:28,560 hazard job #3 - PROGRESS MainProcess/1309] ** pre_executing (hazard)
The issue probably is more related to the engine server rather than the platform itself.
Using the command line upload tool provided by Michele to send jobs directly to the API, everything works as expected. So problem caused by the platform.