GeezerVison is showing github.com — Debug detect_test.py::test_async_detect_document failure · Issue #3753 · GoogleCloudPlatform/python-docs-samples
Debug detect_test.py::test_async_detect_document failure #3753
Labels
api: visionIssues related to the Cloud Vision API.priority: p2Moderately-important priority. Fix may not be included in next release.testingtype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. Description
In #3751 we disabled detect_test.py::test_async_detect_document in vision/cloud-client/detect directory.
It constantly timing out with LRO.
Debug it and re-enable it if possible.
Activity
added
priority: p2Moderately-important priority. Fix may not be included in next release. type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. on May 13, 2020tmatsuo commented on May 13, 2020
ContributorAuthor
More actions
The test is using a PDF file:
gs://cloud-samples-data/vision/document/custom_0773375000.pdf
The file size is 4.8MB. I'm experimenting with a smaller file.
tmatsuo commented on May 13, 2020
ContributorAuthor
More actions
It also times out with a smaller file. I also explicitly added ObjectCreator role on the bucket, but no success.
I'm asking vision API devs for help.
tmatsuo commented on May 13, 2020
ContributorAuthor
More actions
For the record, it even fails with 3600 seconds timeout.
detinho commented on May 14, 2020
It seems to be a backend issue. I have been using this same operation in production via the Java SDK for a long time and today a customer complained. I noted a 100% error rate on this operation for the past 48 hours.
I opened a case on GCP console and for all the tests we (the support guy and me) did (even via the REST API directly) the operation never finishes.
Our files are all 1 page PDFs and small files, ranging from 15kb to 250kb avg.
tmatsuo commented on May 14, 2020
ContributorAuthor
More actions
@detinho Thanks for your input and sorry for the trouble. We're working on the fix.
added a commit that references this issue
on May 14, 2020This issue will close once commit 75a4f00 is merged into the 'master' branch.75a4f00 added a commit that references this issue
on May 15, 2020This issue will close once commit 3d67b73 is merged into the 'main' branch.3d67b73 added a commit that references this issue
on Nov 14, 2022This issue will close once commit 9f24bc2 is merged into the 'main' branch.9f24bc2 added a commit that references this issue
on Nov 15, 2022This issue will close once commit 00c2a5f is merged into the 'main' branch.00c2a5f
Metadata
Metadata
api: visionIssues related to the Cloud Vision API.priority: p2Moderately-important priority. Fix may not be included in next release.testingtype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. Development
No branches or pull requestsIssue actions