googleapis/python-automl

samples.beta.get_operation_status_test: test_get_operation_status failed

flaky-bot opened this issue · 10 comments

Note: #186 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.


commit: 93e0358
buildURL: Build Status, Sponge
status: failed

Test output
@pytest.fixture(scope="function")
    def operation_id():
        client = automl.AutoMlClient()
        project_location = f"projects/{PROJECT_ID}/locations/us-central1"
        generator = client._transport.operations_client.list_operations(
            project_location, filter_=""
        ).pages
        page = next(generator)
>       operation = page.next()
E       AttributeError: 'Page' object has no attribute 'next'

get_operation_status_test.py:33: AttributeError

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

Test output
@pytest.fixture(scope="function")
    def operation_id():
        client = automl.AutoMlClient()
        project_location = f"projects/{PROJECT_ID}/locations/us-central1"
        generator = client._transport.operations_client.list_operations(
            project_location, filter_=""
        ).pages
        page = next(generator)
>       operation = page.next()
E       AttributeError: 'Page' object has no attribute 'next'

get_operation_status_test.py:33: AttributeError

I can't reproduce this test failure, downgrading to P2

commit: 93b3d96
buildURL: Build Status, Sponge
status: failed

Test output
@pytest.fixture(scope="function")
    def operation_id():
        client = automl.AutoMlClient()
        project_location = f"projects/{PROJECT_ID}/locations/us-central1"
        generator = client._transport.operations_client.list_operations(
            project_location, filter_=""
        ).pages
        page = next(generator)
>       operation = page.next()
E       AttributeError: 'Page' object has no attribute 'next'

get_operation_status_test.py:33: AttributeError

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

Test output
@pytest.fixture(scope="function")
    def operation_id():
        client = automl.AutoMlClient()
        project_location = f"projects/{PROJECT_ID}/locations/us-central1"
        generator = client._transport.operations_client.list_operations(
            project_location, filter_=""
        ).pages
        page = next(generator)
>       operation = page.next()
E       AttributeError: 'Page' object has no attribute 'next'

get_operation_status_test.py:33: AttributeError

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

Test output
@pytest.fixture(scope="function")
    def operation_id():
        client = automl.AutoMlClient()
        project_location = f"projects/{PROJECT_ID}/locations/us-central1"
        generator = client._transport.operations_client.list_operations(
            project_location, filter_=""
        ).pages
        page = next(generator)
>       operation = page.next()
E       AttributeError: 'Page' object has no attribute 'next'

get_operation_status_test.py:33: AttributeError

commit: 5ae7bcf
buildURL: Build Status, Sponge
status: failed

Test output
@pytest.fixture(scope="function")
    def operation_id():
        client = automl.AutoMlClient()
        project_location = f"projects/{PROJECT_ID}/locations/us-central1"
        generator = client._transport.operations_client.list_operations(
            project_location, filter_=""
        ).pages
        page = next(generator)
>       operation = page.next()
E       AttributeError: 'Page' object has no attribute 'next'

get_operation_status_test.py:33: AttributeError

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

Test output
@pytest.fixture(scope="function")
    def operation_id():
        client = automl.AutoMlClient()
        project_location = f"projects/{PROJECT_ID}/locations/us-central1"
        generator = client._transport.operations_client.list_operations(
            project_location, filter_=""
        ).pages
        page = next(generator)
>       operation = page.next()
E       AttributeError: 'Page' object has no attribute 'next'

get_operation_status_test.py:33: AttributeError

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

Test output
@pytest.fixture(scope="function")
    def operation_id():
        client = automl.AutoMlClient()
        project_location = f"projects/{PROJECT_ID}/locations/us-central1"
        generator = client._transport.operations_client.list_operations(
            project_location, filter_=""
        ).pages
        page = next(generator)
>       operation = page.next()
E       AttributeError: 'Page' object has no attribute 'next'

get_operation_status_test.py:33: AttributeError

Cannot reproduce. Downgrading to P3.

No reoccurrences for 2+ months. Closing and will investigate if we see this behavior again.