googleapis/python-dataproc

samples.snippets.instantiate_inline_workflow_template_test: test_workflows failed

flaky-bot opened this issue · 2 comments

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: d00ed9a
buildURL: Build Status, Sponge
status: failed

Test output
capsys = <_pytest.capture.CaptureFixture object at 0x7f385604e990>
def test_workflows(capsys):
    # Wrapper function for client library function
    instantiate_inline_workflow_template.instantiate_inline_workflow_template(
      PROJECT_ID, REGION
    )

instantiate_inline_workflow_template_test.py:27:


instantiate_inline_workflow_template.py:82: in instantiate_inline_workflow_template
operation.result()


self = <google.api_core.operation.Operation object at 0x7f3856067e50>
timeout = None, retry = <google.api_core.retry.Retry object at 0x7f38562b5590>

def result(self, timeout=None, retry=DEFAULT_RETRY):
    """Get the result of the operation, blocking if necessary.

    Args:
        timeout (int):
            How long (in seconds) to wait for the operation to complete.
            If None, wait indefinitely.

    Returns:
        google.protobuf.Message: The Operation's result.

    Raises:
        google.api_core.GoogleAPICallError: If the operation errors or if
            the timeout is reached before the operation completes.
    """
    kwargs = {} if retry is DEFAULT_RETRY else {"retry": retry}
    self._blocking_poll(timeout=timeout, **kwargs)

    if self._exception is not None:
        # pylint: disable=raising-bad-type
        # Pylint doesn't recognize that this is valid in this case.
      raise self._exception

E google.api_core.exceptions.Aborted: 409 Step 'terasort' (terasort-yr457czqkg2rk) failed

.nox/py-3-7/lib/python3.7/site-packages/google/api_core/future/polling.py:135: Aborted

Looks like this issue is flaky. 😟

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

A human should fix and close this.


When run at the same commit (d00ed9a), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).

Tempted to just close this since it hasn't reoccured in 3+ weeks but assigning to @loferris in order to learn about investigating these kinds of errors. Dropping priority accordingly.