Title: samples.samples.snippets_test: test_read_data_with_index failed · Issue #405 · googleapis/python-spanner · GitHub
Open Graph Title: samples.samples.snippets_test: test_read_data_with_index failed · Issue #405 · googleapis/python-spanner
X Title: samples.samples.snippets_test: test_read_data_with_index failed · Issue #405 · 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: 7b8d856 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: 7b8d856 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: 7b8d856...
Opengraph URL: https://github.com/googleapis/python-spanner/issues/405
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"samples.samples.snippets_test: test_read_data_with_index failed","articleBody":"This test failed!\n\nTo configure my behavior, see [the Flaky Bot documentation](https://github.com/googleapis/repo-automation-bots/tree/master/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: 7b8d8563651a9732631b22bef38cb2030eaadfa7\nbuildURL: [Build Status](https://source.cloud.google.com/results/invocations/5d2d17d4-cf86-4838-8f53-2f64eed6c93a), [Sponge](http://sponge2/5d2d17d4-cf86-4838-8f53-2f64eed6c93a)\nstatus: failed\n\u003cdetails\u003e\u003csummary\u003eTest output\u003c/summary\u003e\u003cbr\u003e\u003cpre\u003eargs = (session: \"projects/python-docs-samples-tests/instances/test-instance-de336724ab/databases/test-db-b65db26a15/sessions...\n }\n}\ntable: \"Albums\"\nindex: \"AlbumsByAlbumTitle\"\ncolumns: \"AlbumId\"\ncolumns: \"AlbumTitle\"\nkey_set {\n all_: true\n}\n,)\nkwargs = {'metadata': [('google-cloud-resource-prefix', 'projects/python-docs-samples-tests/instances/test-instance-de336724ab/...EfaoA4vr9Mfn535ZNs-g'), ('x-goog-api-client', 'gl-python/3.8.8 grpc/1.38.1 gax/1.30.0 gccl/3.6.0')], 'timeout': 3600.0}\nresult = \u003c_MultiThreadedRendezvous of RPC that terminated with:\n\tstatus = StatusCode.INVALID_ARGUMENT\n\tdetails = \"Index AlbumsB...66,\"grpc_message\":\"Index AlbumsByAlbumTitle is not available for reading. Backfilling in progress.\",\"grpc_status\":3}\"\n\u003e\nprefetch_first = True\n\n @general_helpers.wraps(callable_)\n def error_remapped_callable(*args, **kwargs):\n try:\n result = callable_(*args, **kwargs)\n # Auto-fetching the first result causes PubSub client's streaming pull\n # to hang when re-opening the stream, thus we need examine the hacky\n # hidden flag to see if pre-fetching is disabled.\n # https://github.com/googleapis/python-pubsub/issues/93#issuecomment-630762257\n prefetch_first = getattr(callable_, \"_prefetch_first_result_\", True)\n\u003e return _StreamingResponseIterator(result, prefetch_first_result=prefetch_first)\n\n.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:160: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \u003cgoogle.api_core.grpc_helpers._StreamingResponseIterator object at 0x7f9e201b4f40\u003e\nwrapped = \u003c_MultiThreadedRendezvous of RPC that terminated with:\n\tstatus = StatusCode.INVALID_ARGUMENT\n\tdetails = \"Index AlbumsB...66,\"grpc_message\":\"Index AlbumsByAlbumTitle is not available for reading. Backfilling in progress.\",\"grpc_status\":3}\"\n\u003e\nprefetch_first_result = True\n\n def __init__(self, wrapped, prefetch_first_result=True):\n self._wrapped = wrapped\n \n # This iterator is used in a retry context, and returned outside after init.\n # gRPC will not throw an exception until the stream is consumed, so we need\n # to retrieve the first result, in order to fail, in order to trigger a retry.\n try:\n if prefetch_first_result:\n\u003e self._stored_first_result = six.next(self._wrapped)\n\n.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:83: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \u003c_MultiThreadedRendezvous of RPC that terminated with:\n\tstatus = StatusCode.INVALID_ARGUMENT\n\tdetails = \"Index AlbumsB...66,\"grpc_message\":\"Index AlbumsByAlbumTitle is not available for reading. Backfilling in progress.\",\"grpc_status\":3}\"\n\u003e\n\n def __next__(self):\n\u003e return self._next()\n\n.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py:426: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \u003c_MultiThreadedRendezvous of RPC that terminated with:\n\tstatus = StatusCode.INVALID_ARGUMENT\n\tdetails = \"Index AlbumsB...66,\"grpc_message\":\"Index AlbumsByAlbumTitle is not available for reading. Backfilling in progress.\",\"grpc_status\":3}\"\n\u003e\n\n def _next(self):\n with self._state.condition:\n if self._state.code is None:\n event_handler = _event_handler(self._state,\n self._response_deserializer)\n self._state.due.add(cygrpc.OperationType.receive_message)\n operating = self._call.operate(\n (cygrpc.ReceiveMessageOperation(_EMPTY_FLAGS),),\n event_handler)\n if not operating:\n self._state.due.remove(cygrpc.OperationType.receive_message)\n elif self._state.code is grpc.StatusCode.OK:\n raise StopIteration()\n else:\n raise self\n \n def _response_ready():\n return (self._state.response is not None or\n (cygrpc.OperationType.receive_message\n not in self._state.due and\n self._state.code is not None))\n \n _common.wait(self._state.condition.wait, _response_ready)\n if self._state.response is not None:\n response = self._state.response\n self._state.response = None\n return response\n elif cygrpc.OperationType.receive_message not in self._state.due:\n if self._state.code is grpc.StatusCode.OK:\n raise StopIteration()\n elif self._state.code is not None:\n\u003e raise self\nE grpc._channel._MultiThreadedRendezvous: \u003c_MultiThreadedRendezvous of RPC that terminated with:\nE \tstatus = StatusCode.INVALID_ARGUMENT\nE \tdetails = \"Index AlbumsByAlbumTitle is not available for reading. Backfilling in progress.\"\nE \tdebug_error_string = \"{\"created\":\"@1625830261.489853971\",\"description\":\"Error received from peer ipv4:74.125.142.95:443\",\"file\":\"src/core/lib/surface/call.cc\",\"file_line\":1066,\"grpc_message\":\"Index AlbumsByAlbumTitle is not available for reading. Backfilling in progress.\",\"grpc_status\":3}\"\nE \u003e\n\n.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py:826: _MultiThreadedRendezvous\n\nThe above exception was the direct cause of the following exception:\n\ncapsys = \u003c_pytest.capture.CaptureFixture object at 0x7f9e20158220\u003e\n\n def test_read_data_with_index(capsys):\n\u003e snippets.read_data_with_index(INSTANCE_ID, DATABASE_ID)\n\nsnippets_test.py:154: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \nsnippets.py:387: in read_data_with_index\n for row in results:\n../../google/cloud/spanner_v1/streamed.py:149: in __iter__\n self._consume_next()\n../../google/cloud/spanner_v1/streamed.py:121: in _consume_next\n response = six.next(self._response_iterator)\n../../google/cloud/spanner_v1/snapshot.py:59: in _restart_on_unavailable\n iterator = method(request=request)\n../../google/cloud/spanner_v1/services/spanner/client.py:1108: in streaming_read\n response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)\n.nox/py-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py:145: in __call__\n return wrapped_func(*args, **kwargs)\n.nox/py-3-8/lib/python3.8/site-packages/google/api_core/timeout.py:102: in func_with_timeout\n return func(*args, **kwargs)\n.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:162: in error_remapped_callable\n six.raise_from(exceptions.from_grpc_error(exc), exc)\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nvalue = None\nfrom_value = \u003c_MultiThreadedRendezvous of RPC that terminated with:\n\tstatus = StatusCode.INVALID_ARGUMENT\n\tdetails = \"Index AlbumsB...66,\"grpc_message\":\"Index AlbumsByAlbumTitle is not available for reading. Backfilling in progress.\",\"grpc_status\":3}\"\n\u003e\n\n\u003e ???\nE google.api_core.exceptions.InvalidArgument: 400 Index AlbumsByAlbumTitle is not available for reading. Backfilling in progress.\n\n\u003cstring\u003e:3: InvalidArgument\u003c/pre\u003e\u003c/details\u003e","author":{"url":"https://github.com/flaky-bot[bot]","@type":"Person","name":"flaky-bot[bot]"},"datePublished":"2021-07-09T11:32:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/405/python-spanner/issues/405"}
| 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:81d4e888-c5ea-6752-91f9-b072be8a2bfd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC68:358B3C:2C5F599:3FC868F:6A4FB4D7 |
| html-safe-nonce | 7f49104a837e29b208111bcc77da653dc295cc19e7e6f4e01620ac043a98dbea |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzY4OjM1OEIzQzoyQzVGNTk5OjNGQzg2OEY6NkE0RkI0RDciLCJ2aXNpdG9yX2lkIjoiODA3MjQ5Mjg4NTQ3MDA2NTg3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2b71ebc88a7d28fc8b7e9a72ae29b3f1c13229483a37a6e7725af8e7775882a4 |
| hovercard-subject-tag | issue:940682512 |
| 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/405/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7898eaecb033db57f573dd04751964fe1479b3485b98f7f50161dd3ccc5660c8/googleapis/python-spanner/issues/405 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7898eaecb033db57f573dd04751964fe1479b3485b98f7f50161dd3ccc5660c8/googleapis/python-spanner/issues/405 |
| 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: 7b8d856 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 | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width