Closed Koushikey4596 closed 8 months ago
For tests that failed:
About your doubt number 1, it may come from a wrong behaviour of the ZOO-Project or a missing configuration parameter (like defining the host as zoo kernel in main.cfg and oas.cfg, but I guess it is not the case as we can see a correct location header). This is definitely the issue causing the test to fail.
As you have the request which is used to execute the service asynchronously, it would be great to debug by hand the ZOO-Project's behaviour for this specific request. You can access the Swagger-ui (available from your browser at http://zookernel/ogc-api/api.html) and execute the request. Then, you can verify from the same UI if the job is then properly accessible or not.
Also, you can always see after the tests run if you can list the jobs and find the one which should have been found by the ETS. In case there is not such a job, it means the issue comes from the ZOO-Project.
About doubt number 3, this is the execute request used to create a new job.
@Koushikey4596 Could you please provide me with the URL of your API so that I can test it and see the results in detail?
@Koushikey4596 I cannot reproduce this issue with a current instance of the ZOO-Project OGC API - Processes. Please let us know if this is still an issue. Thanks!
@Koushikey4596 We will close this PR on the 15th of February if there is no objection.
Dear Developers,
I am working with ZOO-Project for Google Summer of Code 2023. I am running the test for
ogcapi-processes-1.0
using a local host on the web browser.While running the test for
ogcapi-processes-1.0
on the team engine for the ZOO-Project, we are getting following three failed tests:test Job Results Exception Results Not Ready:
java.lang.AssertionError: Failed Abstract test A.46 (Step 4). The document did not contain an exception of type http://www.opengis.net/def/exceptions/ogcapi-processes-1/1.0/result-not-ready expected [true] but found [false]
test Job Results:
java.lang.AssertionError: Expected status code 200 but found 404 expected [true] but found [false]
test Job Results Async Raw Value One:
java.lang.AssertionError: null
Also, while debugging, I found that build command is producing following output:
I tried to debug it further by printing the error messages:
I have the following doubts:
Why is
GET /ogc-api/jobs/...
producing a404
Status response for all the jobs? Could this be the issue for the failing tests?The same error information is passing for both the status node and HTTP response:
The JobID from the request does not match any of the Jobs running on this server
.While printing the executeNode to know the Job ID, the output is in JSON format, stating
{"inputs":{"a":"teststring","pause":5},"outputs":{"a":{"transmissionMode":"value"}},"response":"raw"}
. How to interpret it?Please let me know how to solve these issues. I would be grateful.
cc: @gfenoy @omshinde @ghobona