René's URL Explorer Experiment


Title: 'test_cluster_create' systest flakes with 'TimeoutError' · Issue #451 · googleapis/python-bigtable · GitHub

Open Graph Title: 'test_cluster_create' systest flakes with 'TimeoutError' · Issue #451 · googleapis/python-bigtable

X Title: 'test_cluster_create' systest flakes with 'TimeoutError' · Issue #451 · googleapis/python-bigtable

Description: From this failed systest build: _____________________________ test_cluster_create ______________________________ target = functools.partial(

Open Graph Description: From this failed systest build: _____________________________ test_cluster_create ______________________________ target = functools.partial(

X Description: From this failed systest build: _____________________________ test_cluster_create ______________________________ target = functools.partial(<bound method PollingFuture._done_or_raise of <goog...

Opengraph URL: https://github.com/googleapis/python-bigtable/issues/451

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'test_cluster_create' systest flakes with 'TimeoutError'","articleBody":"From [this failed systest build](https://source.cloud.google.com/results/invocations/924fbb8c-f387-482d-8767-c16abd2de9e2/targets/cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fpython-bigtable%2Fpresubmit%2Fsystem-3.8/log):\r\n\r\n```python\r\n_____________________________ test_cluster_create ______________________________\r\n\r\ntarget = functools.partial(\u003cbound method PollingFuture._done_or_raise of \u003cgoogle.api_core.operation.Operation object at 0x7f4d5c321d30\u003e\u003e)\r\npredicate = \u003cfunction if_exception_type.\u003clocals\u003e.if_exception_type_predicate at 0x7f4d5ef43ee0\u003e\r\nsleep_generator = \u003cgenerator object exponential_sleep_generator at 0x7f4d5c1b1660\u003e\r\ndeadline = 30, on_error = None\r\n\r\n    def retry_target(target, predicate, sleep_generator, deadline, on_error=None):\r\n        \"\"\"Call a function and retry if it fails.\r\n\r\n        This is the lowest-level retry helper. Generally, you'll use the\r\n        higher-level retry helper :class:`Retry`.\r\n\r\n        Args:\r\n            target(Callable): The function to call and retry. This must be a\r\n                nullary function - apply arguments with `functools.partial`.\r\n            predicate (Callable[Exception]): A callable used to determine if an\r\n                exception raised by the target should be considered retryable.\r\n                It should return True to retry or False otherwise.\r\n            sleep_generator (Iterable[float]): An infinite iterator that determines\r\n                how long to sleep between retries.\r\n            deadline (float): How long to keep retrying the target. The last sleep\r\n                period is shortened as necessary, so that the last retry runs at\r\n                ``deadline`` (and not considerably beyond it).\r\n            on_error (Callable[Exception]): A function to call while processing a\r\n                retryable exception.  Any error raised by this function will *not*\r\n                be caught.\r\n\r\n        Returns:\r\n            Any: the return value of the target function.\r\n\r\n        Raises:\r\n            google.api_core.RetryError: If the deadline is exceeded while retrying.\r\n            ValueError: If the sleep generator stops yielding values.\r\n            Exception: If the target raises a method that isn't retryable.\r\n        \"\"\"\r\n        if deadline is not None:\r\n            deadline_datetime = datetime_helpers.utcnow() + datetime.timedelta(\r\n                seconds=deadline\r\n            )\r\n        else:\r\n            deadline_datetime = None\r\n\r\n        last_exc = None\r\n\r\n        for sleep in sleep_generator:\r\n            try:\r\n\u003e               return target()\r\n\r\n.nox/system-3-8/lib/python3.8/site-packages/google/api_core/retry.py:190:\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\nself = \u003cgoogle.api_core.operation.Operation object at 0x7f4d5c321d30\u003e\r\nretry = \u003cgoogle.api_core.retry.Retry object at 0x7f4d5f0bad60\u003e\r\n\r\n    def _done_or_raise(self, retry=DEFAULT_RETRY):\r\n        \"\"\"Check if the future is done and raise if it's not.\"\"\"\r\n        kwargs = {} if retry is DEFAULT_RETRY else {\"retry\": retry}\r\n\r\n        if not self.done(**kwargs):\r\n\u003e           raise _OperationNotComplete()\r\nE           google.api_core.future.polling._OperationNotComplete\r\n\r\n.nox/system-3-8/lib/python3.8/site-packages/google/api_core/future/polling.py:89: _OperationNotComplete\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nself = \u003cgoogle.api_core.operation.Operation object at 0x7f4d5c321d30\u003e\r\ntimeout = 30, retry = \u003cgoogle.api_core.retry.Retry object at 0x7f4d5f0bad60\u003e\r\n\r\n    def _blocking_poll(self, timeout=None, retry=DEFAULT_RETRY):\r\n        \"\"\"Poll and wait for the Future to be resolved.\r\n\r\n        Args:\r\n            timeout (int):\r\n                How long (in seconds) to wait for the operation to complete.\r\n                If None, wait indefinitely.\r\n        \"\"\"\r\n        if self._result_set:\r\n            return\r\n\r\n        retry_ = self._retry.with_deadline(timeout)\r\n\r\n        try:\r\n            kwargs = {} if retry is DEFAULT_RETRY else {\"retry\": retry}\r\n\u003e           retry_(self._done_or_raise)(**kwargs)\r\n\r\n.nox/system-3-8/lib/python3.8/site-packages/google/api_core/future/polling.py:110:\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\nargs = (), kwargs = {}\r\ntarget = functools.partial(\u003cbound method PollingFuture._done_or_raise of \u003cgoogle.api_core.operation.Operation object at 0x7f4d5c321d30\u003e\u003e)\r\nsleep_generator = \u003cgenerator object exponential_sleep_generator at 0x7f4d5c1b1660\u003e\r\n\r\n    @functools.wraps(func)\r\n    def retry_wrapped_func(*args, **kwargs):\r\n        \"\"\"A wrapper that calls target function with retry.\"\"\"\r\n        target = functools.partial(func, *args, **kwargs)\r\n        sleep_generator = exponential_sleep_generator(\r\n            self._initial, self._maximum, multiplier=self._multiplier\r\n        )\r\n\u003e       return retry_target(\r\n            target,\r\n            self._predicate,\r\n            sleep_generator,\r\n            self._deadline,\r\n            on_error=on_error,\r\n        )\r\n\r\n.nox/system-3-8/lib/python3.8/site-packages/google/api_core/retry.py:283:\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\ntarget = functools.partial(\u003cbound method PollingFuture._done_or_raise of \u003cgoogle.api_core.operation.Operation object at 0x7f4d5c321d30\u003e\u003e)\r\npredicate = \u003cfunction if_exception_type.\u003clocals\u003e.if_exception_type_predicate at 0x7f4d5ef43ee0\u003e\r\nsleep_generator = \u003cgenerator object exponential_sleep_generator at 0x7f4d5c1b1660\u003e\r\ndeadline = 30, on_error = None\r\n\r\n    def retry_target(target, predicate, sleep_generator, deadline, on_error=None):\r\n        \"\"\"Call a function and retry if it fails.\r\n\r\n        This is the lowest-level retry helper. Generally, you'll use the\r\n        higher-level retry helper :class:`Retry`.\r\n\r\n        Args:\r\n            target(Callable): The function to call and retry. This must be a\r\n                nullary function - apply arguments with `functools.partial`.\r\n            predicate (Callable[Exception]): A callable used to determine if an\r\n                exception raised by the target should be considered retryable.\r\n                It should return True to retry or False otherwise.\r\n            sleep_generator (Iterable[float]): An infinite iterator that determines\r\n                how long to sleep between retries.\r\n            deadline (float): How long to keep retrying the target. The last sleep\r\n                period is shortened as necessary, so that the last retry runs at\r\n                ``deadline`` (and not considerably beyond it).\r\n            on_error (Callable[Exception]): A function to call while processing a\r\n                retryable exception.  Any error raised by this function will *not*\r\n                be caught.\r\n\r\n        Returns:\r\n            Any: the return value of the target function.\r\n\r\n        Raises:\r\n            google.api_core.RetryError: If the deadline is exceeded while retrying.\r\n            ValueError: If the sleep generator stops yielding values.\r\n            Exception: If the target raises a method that isn't retryable.\r\n        \"\"\"\r\n        if deadline is not None:\r\n            deadline_datetime = datetime_helpers.utcnow() + datetime.timedelta(\r\n                seconds=deadline\r\n            )\r\n        else:\r\n            deadline_datetime = None\r\n\r\n        last_exc = None\r\n\r\n        for sleep in sleep_generator:\r\n            try:\r\n                return target()\r\n\r\n            # pylint: disable=broad-except\r\n            # This function explicitly must deal with broad exceptions.\r\n            except Exception as exc:\r\n                if not predicate(exc):\r\n                    raise\r\n                last_exc = exc\r\n                if on_error is not None:\r\n                    on_error(exc)\r\n\r\n            now = datetime_helpers.utcnow()\r\n\r\n            if deadline_datetime is not None:\r\n                if deadline_datetime \u003c= now:\r\n\u003e                   raise exceptions.RetryError(\r\n                        \"Deadline of {:.1f}s exceeded while calling {}\".format(\r\n                            deadline, target\r\n                        ),\r\n                        last_exc,\r\n                    ) from last_exc\r\nE                   google.api_core.exceptions.RetryError: Deadline of 30.0s exceeded while calling functools.partial(\u003cbound method PollingFuture._done_or_raise of \u003cgoogle.api_core.operation.Operation object at 0x7f4d5c321d30\u003e\u003e), last exception:\r\n\r\n.nox/system-3-8/lib/python3.8/site-packages/google/api_core/retry.py:205: RetryError\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nadmin_instance_populated = \u003cgoogle.cloud.bigtable.instance.Instance object at 0x7f4d5eef10a0\u003e\r\nadmin_instance_id = 'g-c-p-1634667466967', skip_on_emulator = None\r\n\r\n    def test_cluster_create(\r\n        admin_instance_populated, admin_instance_id, skip_on_emulator,\r\n    ):\r\n        alt_cluster_id = f\"{admin_instance_id}-c2\"\r\n        alt_location_id = \"us-central1-f\"\r\n        serve_nodes = 2\r\n\r\n        cluster_2 = admin_instance_populated.cluster(\r\n            alt_cluster_id,\r\n            location_id=alt_location_id,\r\n            serve_nodes=serve_nodes,\r\n            default_storage_type=(enums.StorageType.SSD),\r\n        )\r\n        operation = cluster_2.create()\r\n\u003e       operation.result(timeout=30)  # Ensure the operation completes.\r\n\r\ntests/system/test_instance_admin.py:576:\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n.nox/system-3-8/lib/python3.8/site-packages/google/api_core/future/polling.py:132: in result\r\n    self._blocking_poll(timeout=timeout, **kwargs)\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\nself = \u003cgoogle.api_core.operation.Operation object at 0x7f4d5c321d30\u003e\r\ntimeout = 30, retry = \u003cgoogle.api_core.retry.Retry object at 0x7f4d5f0bad60\u003e\r\n\r\n    def _blocking_poll(self, timeout=None, retry=DEFAULT_RETRY):\r\n        \"\"\"Poll and wait for the Future to be resolved.\r\n\r\n        Args:\r\n            timeout (int):\r\n                How long (in seconds) to wait for the operation to complete.\r\n                If None, wait indefinitely.\r\n        \"\"\"\r\n        if self._result_set:\r\n            return\r\n\r\n        retry_ = self._retry.with_deadline(timeout)\r\n\r\n        try:\r\n            kwargs = {} if retry is DEFAULT_RETRY else {\"retry\": retry}\r\n            retry_(self._done_or_raise)(**kwargs)\r\n        except exceptions.RetryError:\r\n\u003e           raise concurrent.futures.TimeoutError(\r\n                \"Operation did not complete within the designated \" \"timeout.\"\r\n            )\r\nE           concurrent.futures._base.TimeoutError: Operation did not complete within the designated timeout.\r\n\r\n.nox/system-3-8/lib/python3.8/site-packages/google/api_core/future/polling.py:112: TimeoutError\r\n```","author":{"url":"https://github.com/tseaver","@type":"Person","name":"tseaver"},"datePublished":"2021-10-19T18:42:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/451/python-bigtable/issues/451"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3cc44744-aa9e-fd1b-a640-2b901ed13fff
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id878C:B6C89:2A6C1BC:3A0C7B8:6A4EFDA3
html-safe-noncef98d44977be914160301cad161b6d8de5c98df3f020e10ce86707e6c5986654e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzhDOkI2Qzg5OjJBNkMxQkM6M0EwQzdCODo2QTRFRkRBMyIsInZpc2l0b3JfaWQiOiI2MzE0MTY1NDU2Njc3NTY3OTA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbf88388318431b644cac337c7aa0b29de6676a923bd43a7643369a760b532786
hovercard-subject-tagissue:1030631055
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-bigtable/451/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a2a925cad3bac7a3e4df23aca7bc885c5fce14d4d3bc0719932a297a8435585b/googleapis/python-bigtable/issues/451
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a2a925cad3bac7a3e4df23aca7bc885c5fce14d4d3bc0719932a297a8435585b/googleapis/python-bigtable/issues/451
og:image:altFrom this failed systest build: _____________________________ test_cluster_create ______________________________ target = functools.partial(
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametseaver
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/googleapis/python-bigtable git https://github.com/googleapis/python-bigtable.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id226992487
octolytics-dimension-repository_nwogoogleapis/python-bigtable
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id226992487
octolytics-dimension-repository_network_root_nwogoogleapis/python-bigtable
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/python-bigtable/issues/451#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-bigtable%2Fissues%2F451
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-bigtable%2Fissues%2F451
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleapis%2Fpython-bigtable
Reloadhttps://github.com/googleapis/python-bigtable/issues/451
Reloadhttps://github.com/googleapis/python-bigtable/issues/451
Reloadhttps://github.com/googleapis/python-bigtable/issues/451
Please reload this pagehttps://github.com/googleapis/python-bigtable/issues/451
googleapis https://github.com/googleapis
python-bigtablehttps://github.com/googleapis/python-bigtable
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fpython-bigtable
Fork 65 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-bigtable
Star 75 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-bigtable
Code https://github.com/googleapis/python-bigtable
Issues 0 https://github.com/googleapis/python-bigtable/issues
Pull requests 0 https://github.com/googleapis/python-bigtable/pulls
Actions https://github.com/googleapis/python-bigtable/actions
Projects https://github.com/googleapis/python-bigtable/projects
Security and quality 0 https://github.com/googleapis/python-bigtable/security
Insights https://github.com/googleapis/python-bigtable/pulse
Code https://github.com/googleapis/python-bigtable
Issues https://github.com/googleapis/python-bigtable/issues
Pull requests https://github.com/googleapis/python-bigtable/pulls
Actions https://github.com/googleapis/python-bigtable/actions
Projects https://github.com/googleapis/python-bigtable/projects
Security and quality https://github.com/googleapis/python-bigtable/security
Insights https://github.com/googleapis/python-bigtable/pulse
#453https://github.com/googleapis/python-bigtable/pull/453
'test_cluster_create' systest flakes with 'TimeoutError'https://github.com/googleapis/python-bigtable/issues/451#top
#453https://github.com/googleapis/python-bigtable/pull/453
https://github.com/tseaver
api: bigtableIssues related to the googleapis/python-bigtable API.https://github.com/googleapis/python-bigtable/issues?q=state%3Aopen%20label%3A%22api%3A%20bigtable%22
type: processA process-related concern. May include testing, release, or the like.https://github.com/googleapis/python-bigtable/issues?q=state%3Aopen%20label%3A%22type%3A%20process%22
https://github.com/tseaver
tseaverhttps://github.com/tseaver
on Oct 19, 2021https://github.com/googleapis/python-bigtable/issues/451#issue-1030631055
this failed systest buildhttps://source.cloud.google.com/results/invocations/924fbb8c-f387-482d-8767-c16abd2de9e2/targets/cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fpython-bigtable%2Fpresubmit%2Fsystem-3.8/log
tseaverhttps://github.com/tseaver
api: bigtableIssues related to the googleapis/python-bigtable API.https://github.com/googleapis/python-bigtable/issues?q=state%3Aopen%20label%3A%22api%3A%20bigtable%22
type: processA process-related concern. May include testing, release, or the like.https://github.com/googleapis/python-bigtable/issues?q=state%3Aopen%20label%3A%22type%3A%20process%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.