Skip to content

people-and-planet-ai.image-classification.e2e_test: test_predict failed #5758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
flaky-bot bot opened this issue Apr 28, 2021 · 5 comments
Closed

people-and-planet-ai.image-classification.e2e_test: test_predict failed #5758

flaky-bot bot opened this issue Apr 28, 2021 · 5 comments
Assignees
Labels
flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. samples Issues that are directly related to samples. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@flaky-bot
Copy link

flaky-bot bot commented Apr 28, 2021

This test failed!

To configure my behavior, see the Flaky Bot documentation.

If I'm commenting on this issue too often, add the flakybot: quiet label and
I will stop commenting.


commit: d249cad
buildURL: Build Status, Sponge
status: failed

Test output
Traceback (most recent call last):
  File "/workspace/people-and-planet-ai/image-classification/e2e_test.py", line 111, in model_endpoint_id
    deployed_model_id = deploy_model.deploy_model(
  File "/workspace/people-and-planet-ai/image-classification/deploy_model.py", line 80, in deploy_model
    deployed_model = response.result()
  File "/workspace/people-and-planet-ai/image-classification/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/future/polling.py", line 134, in result
    raise self._exception
google.api_core.exceptions.InternalServerError: 500 INTERNAL
@flaky-bot flaky-bot bot added flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Apr 28, 2021
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Apr 28, 2021
@dandhlee
Copy link
Collaborator

hey @bradmiro, this test failed on tfkeras_test.py, is this the same issue you were looking into earlier?

@leahecole leahecole assigned dandhlee and unassigned dandhlee Apr 28, 2021
@leahecole
Copy link
Collaborator

@dandhlee this issue is actually for the people and planet ai (the data-science-onramp just also happened to fail, for that reason you mentioned 😄 ) - I'll reassign to David who owns the people and planet sample

@leahecole leahecole assigned davidcavazos and unassigned dandhlee Apr 28, 2021
@davidcavazos
Copy link
Contributor

It looks like it failed while deploying the model.

failed on setup with "google.api_core.exceptions.InternalServerError: 500 INTERNAL"
Traceback (most recent call last):
  File "/workspace/people-and-planet-ai/image-classification/e2e_test.py", line 111, in model_endpoint_id
    deployed_model_id = deploy_model.deploy_model(
  File "/workspace/people-and-planet-ai/image-classification/deploy_model.py", line 80, in deploy_model
    deployed_model = response.result()
  File "/workspace/people-and-planet-ai/image-classification/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/future/polling.py", line 134, in result
    raise self._exception
google.api_core.exceptions.InternalServerError: 500 INTERNAL

I haven't had that error before. Maybe it's an intermittent a backend issue?

@davidcavazos
Copy link
Contributor

The tfkeras_test.py error looks more like it couldn't find the model file in GCS.

Traceback (most recent call last):
  File "/workspace/data-science-onramp/ai-platform/tfkeras_test.py", line 126, in test_tfkeras
    assert bucket.blob(f"{MODEL_DIR}/saved_model.pb").exists()
AssertionError: assert False
 +  where False = <bound method Blob.exists of <Blob: tfkeras-job-dir-c4882638-353e-483c-87ce-63037aa09af2, model/saved_model.pb, None>>()
 +    where <bound method Blob.exists of <Blob: tfkeras-job-dir-c4882638-353e-483c-87ce-63037aa09af2, model/saved_model.pb, None>> = <Blob: tfkeras-job-dir-c4882638-353e-483c-87ce-63037aa09af2, model/saved_model.pb, None>.exists
 +      where <Blob: tfkeras-job-dir-c4882638-353e-483c-87ce-63037aa09af2, model/saved_model.pb, None> = <bound method Bucket.blob of <Bucket: tfkeras-job-dir-c4882638-353e-483c-87ce-63037aa09af2>>('model/saved_model.pb')
 +        where <bound method Bucket.blob of <Bucket: tfkeras-job-dir-c4882638-353e-483c-87ce-63037aa09af2>> = <Bucket: tfkeras-job-dir-c4882638-353e-483c-87ce-63037aa09af2>.blob

@flaky-bot
Copy link
Author

flaky-bot bot commented Apr 29, 2021

Test passed for commit 7ac9395 (Build Status, Sponge)! Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. samples Issues that are directly related to samples. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

3 participants