Title: tests.system.test_table_api: test_db_list_tables_reload failed · Issue #515 · googleapis/python-spanner · GitHub
Open Graph Title: tests.system.test_table_api: test_db_list_tables_reload failed · Issue #515 · googleapis/python-spanner
X Title: tests.system.test_table_api: test_db_list_tables_reload failed · Issue #515 · googleapis/python-spanner
Description: 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: bdd5f8b buildURL: Build Status, Sponge status: fail...
Open Graph Description: 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: bdd5f8b bui...
X Description: 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: bdd5f8b...
Opengraph URL: https://github.com/googleapis/python-spanner/issues/515
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tests.system.test_table_api: test_db_list_tables_reload failed","articleBody":"This test failed!\n\nTo configure my behavior, see [the Flaky Bot documentation](https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot).\n\nIf I'm commenting on this issue too often, add the `flakybot: quiet` label and\nI will stop commenting.\n\n---\n\ncommit: bdd5f8b201d1b442837d4fca1d631fe171e276b9\nbuildURL: [Build Status](https://source.cloud.google.com/results/invocations/dee9f019-ea44-420a-8fc8-e42e0e5755b9), [Sponge](http://sponge2/dee9f019-ea44-420a-8fc8-e42e0e5755b9)\nstatus: failed\n\u003cdetails\u003e\u003csummary\u003eTest output\u003c/summary\u003e\u003cbr\u003e\u003cpre\u003etarget = functools.partial(\u003cbound method PollingFuture._done_or_raise of \u003cgoogle.api_core.operation.Operation object at 0x7f6d811acaf0\u003e\u003e)\npredicate = \u003cfunction if_exception_type.\u003clocals\u003e.if_exception_type_predicate at 0x7f6d8182d3a0\u003e\nsleep_generator = \u003cgenerator object exponential_sleep_generator at 0x7f6d812e1510\u003e\ndeadline = 60, on_error = None\n\n def retry_target(target, predicate, sleep_generator, deadline, on_error=None):\n \"\"\"Call a function and retry if it fails.\n \n This is the lowest-level retry helper. Generally, you'll use the\n higher-level retry helper :class:`Retry`.\n \n Args:\n target(Callable): The function to call and retry. This must be a\n nullary function - apply arguments with `functools.partial`.\n predicate (Callable[Exception]): A callable used to determine if an\n exception raised by the target should be considered retryable.\n It should return True to retry or False otherwise.\n sleep_generator (Iterable[float]): An infinite iterator that determines\n how long to sleep between retries.\n deadline (float): How long to keep retrying the target. The last sleep\n period is shortened as necessary, so that the last retry runs at\n ``deadline`` (and not considerably beyond it).\n on_error (Callable[Exception]): A function to call while processing a\n retryable exception. Any error raised by this function will *not*\n be caught.\n \n Returns:\n Any: the return value of the target function.\n \n Raises:\n google.api_core.RetryError: If the deadline is exceeded while retrying.\n ValueError: If the sleep generator stops yielding values.\n Exception: If the target raises a method that isn't retryable.\n \"\"\"\n if deadline is not None:\n deadline_datetime = datetime_helpers.utcnow() + datetime.timedelta(\n seconds=deadline\n )\n else:\n deadline_datetime = None\n \n last_exc = None\n \n for sleep in sleep_generator:\n try:\n\u003e return target()\n\n.nox/system-3-8/lib/python3.8/site-packages/google/api_core/retry.py:189: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \u003cgoogle.api_core.operation.Operation object at 0x7f6d811acaf0\u003e\nretry = \u003cgoogle.api_core.retry.Retry object at 0x7f6d81831430\u003e\n\n def _done_or_raise(self, retry=DEFAULT_RETRY):\n \"\"\"Check if the future is done and raise if it's not.\"\"\"\n kwargs = {} if retry is DEFAULT_RETRY else {\"retry\": retry}\n \n if not self.done(**kwargs):\n\u003e raise _OperationNotComplete()\nE google.api_core.future.polling._OperationNotComplete\n\n.nox/system-3-8/lib/python3.8/site-packages/google/api_core/future/polling.py:87: _OperationNotComplete\n\nThe above exception was the direct cause of the following exception:\n\nself = \u003cgoogle.api_core.operation.Operation object at 0x7f6d811acaf0\u003e\ntimeout = 60, retry = \u003cgoogle.api_core.retry.Retry object at 0x7f6d81831430\u003e\n\n def _blocking_poll(self, timeout=None, retry=DEFAULT_RETRY):\n \"\"\"Poll and wait for the Future to be resolved.\n \n Args:\n timeout (int):\n How long (in seconds) to wait for the operation to complete.\n If None, wait indefinitely.\n \"\"\"\n if self._result_set:\n return\n \n retry_ = self._retry.with_deadline(timeout)\n \n try:\n kwargs = {} if retry is DEFAULT_RETRY else {\"retry\": retry}\n\u003e retry_(self._done_or_raise)(**kwargs)\n\n.nox/system-3-8/lib/python3.8/site-packages/google/api_core/future/polling.py:108: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nargs = (), kwargs = {}\ntarget = functools.partial(\u003cbound method PollingFuture._done_or_raise of \u003cgoogle.api_core.operation.Operation object at 0x7f6d811acaf0\u003e\u003e)\nsleep_generator = \u003cgenerator object exponential_sleep_generator at 0x7f6d812e1510\u003e\n\n @general_helpers.wraps(func)\n def retry_wrapped_func(*args, **kwargs):\n \"\"\"A wrapper that calls target function with retry.\"\"\"\n target = functools.partial(func, *args, **kwargs)\n sleep_generator = exponential_sleep_generator(\n self._initial, self._maximum, multiplier=self._multiplier\n )\n\u003e return retry_target(\n target,\n self._predicate,\n sleep_generator,\n self._deadline,\n on_error=on_error,\n )\n\n.nox/system-3-8/lib/python3.8/site-packages/google/api_core/retry.py:286: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntarget = functools.partial(\u003cbound method PollingFuture._done_or_raise of \u003cgoogle.api_core.operation.Operation object at 0x7f6d811acaf0\u003e\u003e)\npredicate = \u003cfunction if_exception_type.\u003clocals\u003e.if_exception_type_predicate at 0x7f6d8182d3a0\u003e\nsleep_generator = \u003cgenerator object exponential_sleep_generator at 0x7f6d812e1510\u003e\ndeadline = 60, on_error = None\n\n def retry_target(target, predicate, sleep_generator, deadline, on_error=None):\n \"\"\"Call a function and retry if it fails.\n \n This is the lowest-level retry helper. Generally, you'll use the\n higher-level retry helper :class:`Retry`.\n \n Args:\n target(Callable): The function to call and retry. This must be a\n nullary function - apply arguments with `functools.partial`.\n predicate (Callable[Exception]): A callable used to determine if an\n exception raised by the target should be considered retryable.\n It should return True to retry or False otherwise.\n sleep_generator (Iterable[float]): An infinite iterator that determines\n how long to sleep between retries.\n deadline (float): How long to keep retrying the target. The last sleep\n period is shortened as necessary, so that the last retry runs at\n ``deadline`` (and not considerably beyond it).\n on_error (Callable[Exception]): A function to call while processing a\n retryable exception. Any error raised by this function will *not*\n be caught.\n \n Returns:\n Any: the return value of the target function.\n \n Raises:\n google.api_core.RetryError: If the deadline is exceeded while retrying.\n ValueError: If the sleep generator stops yielding values.\n Exception: If the target raises a method that isn't retryable.\n \"\"\"\n if deadline is not None:\n deadline_datetime = datetime_helpers.utcnow() + datetime.timedelta(\n seconds=deadline\n )\n else:\n deadline_datetime = None\n \n last_exc = None\n \n for sleep in sleep_generator:\n try:\n return target()\n \n # pylint: disable=broad-except\n # This function explicitly must deal with broad exceptions.\n except Exception as exc:\n if not predicate(exc):\n raise\n last_exc = exc\n if on_error is not None:\n on_error(exc)\n \n now = datetime_helpers.utcnow()\n \n if deadline_datetime is not None:\n if deadline_datetime \u003c= now:\n\u003e six.raise_from(\n exceptions.RetryError(\n \"Deadline of {:.1f}s exceeded while calling {}\".format(\n deadline, target\n ),\n last_exc,\n ),\n last_exc,\n )\n\n.nox/system-3-8/lib/python3.8/site-packages/google/api_core/retry.py:204: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nvalue = None, from_value = _OperationNotComplete()\n\n\u003e ???\nE google.api_core.exceptions.RetryError: Deadline of 60.0s exceeded while calling functools.partial(\u003cbound method PollingFuture._done_or_raise of \u003cgoogle.api_core.operation.Operation object at 0x7f6d811acaf0\u003e\u003e), last exception:\n\n\u003cstring\u003e:3: RetryError\n\nDuring handling of the above exception, another exception occurred:\n\nspanner_client = \u003cgoogle.cloud.spanner_v1.client.Client object at 0x7f6d811926d0\u003e\noperation_timeout = 60, shared_instance_id = 'google-cloud-1628986419564'\ninstance_config = name: \"projects/precise-truck-742/instanceConfigs/regional-us-central1\"\ndisplay_name: \"us-central1\"\nreplicas {\n locat...\nreplicas {\n location: \"us-central1\"\n type_: READ_WRITE\n}\nreplicas {\n location: \"us-central1\"\n type_: READ_WRITE\n}\n\nexisting_instances = [name: \"projects/precise-truck-742/instances/gcp-streaming-systests\"\nconfig: \"projects/precise-truck-742/instanceConfi...ated\"\n value: \"1628986209\"\n}\nlabels {\n key: \"python-spanner-systests\"\n value: \"true\"\n}\nprocessing_units: 1000\n, ...]\n\n @pytest.fixture(scope=\"session\")\n def shared_instance(\n spanner_client,\n operation_timeout,\n shared_instance_id,\n instance_config,\n existing_instances, # evalutate before creating one\n ):\n _helpers.cleanup_old_instances(spanner_client)\n \n if _helpers.CREATE_INSTANCE:\n create_time = str(int(time.time()))\n labels = {\"python-spanner-systests\": \"true\", \"created\": create_time}\n \n instance = spanner_client.instance(\n shared_instance_id, instance_config.name, labels=labels\n )\n created_op = _helpers.retry_429_503(instance.create)()\n\u003e created_op.result(operation_timeout) # block until completion\n\ntests/system/conftest.py:119: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.nox/system-3-8/lib/python3.8/site-packages/google/api_core/future/polling.py:130: in result\n self._blocking_poll(timeout=timeout, **kwargs)\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \u003cgoogle.api_core.operation.Operation object at 0x7f6d811acaf0\u003e\ntimeout = 60, retry = \u003cgoogle.api_core.retry.Retry object at 0x7f6d81831430\u003e\n\n def _blocking_poll(self, timeout=None, retry=DEFAULT_RETRY):\n \"\"\"Poll and wait for the Future to be resolved.\n \n Args:\n timeout (int):\n How long (in seconds) to wait for the operation to complete.\n If None, wait indefinitely.\n \"\"\"\n if self._result_set:\n return\n \n retry_ = self._retry.with_deadline(timeout)\n \n try:\n kwargs = {} if retry is DEFAULT_RETRY else {\"retry\": retry}\n retry_(self._done_or_raise)(**kwargs)\n except exceptions.RetryError:\n\u003e raise concurrent.futures.TimeoutError(\n \"Operation did not complete within the designated \" \"timeout.\"\n )\nE concurrent.futures._base.TimeoutError: Operation did not complete within the designated timeout.\n\n.nox/system-3-8/lib/python3.8/site-packages/google/api_core/future/polling.py:110: TimeoutError\u003c/pre\u003e\u003c/details\u003e","author":{"url":"https://github.com/flaky-bot[bot]","@type":"Person","name":"flaky-bot[bot]"},"datePublished":"2021-08-15T00:19:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/515/python-spanner/issues/515"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:812ed252-6245-1b06-055f-62b608f13342 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D804:1E70:F5ED45:151E10E:6A4ED570 |
| html-safe-nonce | c43c83559081e835ca0b53696b22c009141b31981d66caa585ef2180b06677d5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODA0OjFFNzA6RjVFRDQ1OjE1MUUxMEU6NkE0RUQ1NzAiLCJ2aXNpdG9yX2lkIjoiMTczNTEzMzA0Njk3NjU2Njg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0db5507a2d75fff9376f708915bebdc849d1d8bcac8b84f965409a429944cbd1 |
| hovercard-subject-tag | issue:971019021 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-spanner/515/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5449508b5aeada897f2d8152d03f3ad78a64b651a38a670cc481cfcc7c8aef38/googleapis/python-spanner/issues/515 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5449508b5aeada897f2d8152d03f3ad78a64b651a38a670cc481cfcc7c8aef38/googleapis/python-spanner/issues/515 |
| og:image:alt | 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: bdd5f8b bui... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | flaky-bot[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-spanner git https://github.com/googleapis/python-spanner.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992630 |
| octolytics-dimension-repository_nwo | googleapis/python-spanner |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992630 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-spanner |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c37fe3e3f5f306900bd5b6bee97463f66c938b2c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width