Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Sample test test_streaming_automl_action_recognition failing with The Model does not exist #349

@parthea

Description

@parthea

See build log here and stack trace below.

___________________ test_streaming_automl_action_recognition ___________________

capsys = <_pytest.capture.CaptureFixture object at 0x7fac64ff1ad0>
video_path = '/tmp/pytest-of-kbuilder/pytest-0/video0/file.mp4'

    @pytest.mark.flaky(max_runs=3, min_passes=1)
    def test_streaming_automl_action_recognition(capsys, video_path):
        project_id = os.environ["GOOGLE_CLOUD_PROJECT"]
        model_id = "6597443600609443840"
        beta_snippets.streaming_automl_action_recognition(video_path, project_id, model_id)
        out, _ = capsys.readouterr()
>       assert "segment" in out
E       AssertionError: assert 'segment' in 'com.google.cloud.ai.platform.common.errors.AiPlatformException: code=NOT_FOUND, message=The Model does not exist., cause=null\n'

Metadata

Metadata

Assignees

Labels

api: videointelligenceIssues related to the googleapis/python-videointelligence API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions