GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

New issue
Copy link
New issue
Copy link
Closed
#3761
Closed
Debug detect_test.py::test_async_detect_document failure#3753
#3761
Copy link
Assignees
tmatsuo
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

@tmatsuo
tmatsuo
opened on May 13, 2020
Issue body actions

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

  1. tmatsuo
    self-assigned this
    on May 13, 2020
  2. tmatsuo
    added
    api: visionIssues related to the Cloud Vision API.
    priority: p2Moderately-important priority. Fix may not be included in next release.
    testing
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on May 13, 2020
  3. tmatsuo commented on May 13, 2020

    @tmatsuo
    tmatsuo
    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.

  4. tmatsuo commented on May 13, 2020

    @tmatsuo
    tmatsuo
    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.

  5. tmatsuo commented on May 13, 2020

    @tmatsuo
    tmatsuo
    on May 13, 2020
    ContributorAuthor
    More actions

    For the record, it even fails with 3600 seconds timeout.

  6. detinho commented on May 14, 2020

    @detinho
    detinho
    on May 14, 2020
    More actions

    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.

  7. tmatsuo commented on May 14, 2020

    @tmatsuo
    tmatsuo
    on May 14, 2020
    ContributorAuthor
    More actions

    @detinho Thanks for your input and sorry for the trouble. We're working on the fix.

  8. tmatsuo
    added a commit that references this issue on May 14, 2020

    [vision] testing: re-enable test_async_detect_document

    This issue will close once commit 75a4f00 is merged into the 'master' branch.
    75a4f00
  9. tmatsuo
    closed this as completedin #3761on May 15, 2020
  10. tmatsuo
    added a commit that references this issue on May 15, 2020

    [vision] testing: re-enable test_async_detect_document (#3761)

    This issue will close once commit 3d67b73 is merged into the 'main' branch.
    3d67b73
  11. arbrown
    added a commit that references this issue on Nov 14, 2022

    chore: move samples from python-docs-sample (#45)

    This issue will close once commit 9f24bc2 is merged into the 'main' branch.
    9f24bc2
  12. dandhlee
    added a commit that references this issue on Nov 15, 2022

    chore: move samples from python-docs-sample (#45)

    This issue will close once commit 00c2a5f is merged into the 'main' branch.
    00c2a5f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tmatsuo
    tmatsuo

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.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.