googleapis/python-automl

samples.snippets.get_operation_status_test: test_get_operation_status failed

flaky-bot opened this issue · 7 comments

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


commit: 227c08b
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:34: AttributeError

commit: cbe3b4c
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:34: AttributeError

commit: fb18b55
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:34: AttributeError

commit: 6e1c862
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:34: AttributeError

commit: 518c663
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:34: AttributeError

Looks like this issue is flaky. 😟

I'm going to leave this open and stop commenting.

A human should fix and close this.


commit: afc62fb
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:34: AttributeError

Hey @busunkim96 -- It looks like this test is "failing" ... even though we pushed a fix to main. How do I fix this (and close it for good)? Thanks!

Have not seen any failures since the last comment. Closing and will reinvestigate if it occurs again.