René's URL Explorer Experiment


Title: tests.system.TestStreamingPull: test_streaming_pull_max_messages[rest-rest] failed · Issue #953 · googleapis/python-pubsub · GitHub

Open Graph Title: tests.system.TestStreamingPull: test_streaming_pull_max_messages[rest-rest] failed · Issue #953 · googleapis/python-pubsub

X Title: tests.system.TestStreamingPull: test_streaming_pull_max_messages[rest-rest] failed · Issue #953 · googleapis/python-pubsub

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: 26d2b39 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: 26d2b39 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: 26d2b39...

Opengraph URL: https://github.com/googleapis/python-pubsub/issues/953

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tests.system.TestStreamingPull: test_streaming_pull_max_messages[rest-rest] 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: 26d2b39cefcc1a250f1f75db233f7383a2040b6d\nbuildURL: [Build Status](https://source.cloud.google.com/results/invocations/d84680a4-0558-4f44-a35f-e84864bbad7a), [Sponge](http://sponge2/d84680a4-0558-4f44-a35f-e84864bbad7a)\nstatus: failed\n\u003cdetails>\u003csummary>Test output\u003c/summary>\u003cbr>\u003cpre>self = \u003ctests.system.TestStreamingPull object at 0x7f55475b28f0>\npublisher = \u003cgoogle.cloud.pubsub_v1.PublisherClient object at 0x7f5544354a60>\ntopic_path_base = 'projects/precise-truck-742/topics/t-1689361995945'\nsubscription_path_base = 'projects/precise-truck-742/subscriptions/s-1689361995947'\ncleanup = [(\u003cbound method PublisherClient.delete_topic of \u003cgoogle.cloud.pubsub_v1.PublisherClient object at 0x7f5544354a60>>, ()...39ab0>>, (), {'subscription': 'projects/precise-truck-742/subscriptions/s-1689361995947-streaming-pull-max-messages'})]\n\n    def test_streaming_pull_max_messages(\n        self, publisher, topic_path_base, subscription_path_base, cleanup\n    ):\n        subscriber = pubsub_v1.SubscriberClient(transport=\"grpc\")\n        custom_str = \"-streaming-pull-max-messages\"\n        topic_path = topic_path_base + custom_str\n        subscription_path = subscription_path_base + custom_str\n        # Make sure the topic and subscription get deleted.\n        cleanup.append((publisher.delete_topic, (), {\"topic\": topic_path}))\n        cleanup.append(\n            (subscriber.delete_subscription, (), {\"subscription\": subscription_path})\n        )\n    \n        # create a topic and subscribe to it\n        publisher.create_topic(name=topic_path)\n        subscriber.create_subscription(name=subscription_path, topic=topic_path)\n    \n        batch_sizes = (7, 4, 8, 2, 10, 1, 3, 8, 6, 1)  # total: 50\n        _publish_messages(publisher, topic_path, batch_sizes=batch_sizes)\n    \n        # now subscribe and do the main part, check for max pending messages\n        total_messages = sum(batch_sizes)\n        flow_control = types.FlowControl(max_messages=5)\n        callback = StreamingPullCallback(\n            processing_time=1, resolve_at_msg_count=total_messages\n        )\n    \n        subscription_future = subscriber.subscribe(\n            subscription_path, callback, flow_control=flow_control\n        )\n    \n        # Expected time to process all messages in ideal case:\n        #     (total_messages / FlowControl.max_messages) * processing_time\n        #\n        # With total=50, max messages=5, and processing_time=1 this amounts to\n        # 10 seconds (+ overhead), thus a full minute should be more than enough\n        # for the processing to complete. If not, fail the test with a timeout.\n        try:\n>           callback.done_future.result(timeout=60)\n\ntests/system.py:654: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = None, timeout = 60\n\n    def result(self, timeout=None):\n        \"\"\"Return the result of the call that the future represents.\n    \n        Args:\n            timeout: The number of seconds to wait for the result if the future\n                isn't done. If None, then there is no limit on the wait time.\n    \n        Returns:\n            The result of the call that the future represents.\n    \n        Raises:\n            CancelledError: If the future was cancelled.\n            TimeoutError: If the future didn't finish executing before the given\n                timeout.\n            Exception: If the call raised then that exception will be raised.\n        \"\"\"\n        try:\n            with self._condition:\n                if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]:\n                    raise CancelledError()\n                elif self._state == FINISHED:\n                    return self.__get_result()\n    \n                self._condition.wait(timeout)\n    \n                if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]:\n                    raise CancelledError()\n                elif self._state == FINISHED:\n                    return self.__get_result()\n                else:\n>                   raise TimeoutError()\nE                   concurrent.futures._base.TimeoutError\n\n/usr/local/lib/python3.10/concurrent/futures/_base.py:448: TimeoutError\n\nDuring handling of the above exception, another exception occurred:\n\nself = \u003ctests.system.TestStreamingPull object at 0x7f55475b28f0>\npublisher = \u003cgoogle.cloud.pubsub_v1.PublisherClient object at 0x7f5544354a60>\ntopic_path_base = 'projects/precise-truck-742/topics/t-1689361995945'\nsubscription_path_base = 'projects/precise-truck-742/subscriptions/s-1689361995947'\ncleanup = [(\u003cbound method PublisherClient.delete_topic of \u003cgoogle.cloud.pubsub_v1.PublisherClient object at 0x7f5544354a60>>, ()...39ab0>>, (), {'subscription': 'projects/precise-truck-742/subscriptions/s-1689361995947-streaming-pull-max-messages'})]\n\n    def test_streaming_pull_max_messages(\n        self, publisher, topic_path_base, subscription_path_base, cleanup\n    ):\n        subscriber = pubsub_v1.SubscriberClient(transport=\"grpc\")\n        custom_str = \"-streaming-pull-max-messages\"\n        topic_path = topic_path_base + custom_str\n        subscription_path = subscription_path_base + custom_str\n        # Make sure the topic and subscription get deleted.\n        cleanup.append((publisher.delete_topic, (), {\"topic\": topic_path}))\n        cleanup.append(\n            (subscriber.delete_subscription, (), {\"subscription\": subscription_path})\n        )\n    \n        # create a topic and subscribe to it\n        publisher.create_topic(name=topic_path)\n        subscriber.create_subscription(name=subscription_path, topic=topic_path)\n    \n        batch_sizes = (7, 4, 8, 2, 10, 1, 3, 8, 6, 1)  # total: 50\n        _publish_messages(publisher, topic_path, batch_sizes=batch_sizes)\n    \n        # now subscribe and do the main part, check for max pending messages\n        total_messages = sum(batch_sizes)\n        flow_control = types.FlowControl(max_messages=5)\n        callback = StreamingPullCallback(\n            processing_time=1, resolve_at_msg_count=total_messages\n        )\n    \n        subscription_future = subscriber.subscribe(\n            subscription_path, callback, flow_control=flow_control\n        )\n    \n        # Expected time to process all messages in ideal case:\n        #     (total_messages / FlowControl.max_messages) * processing_time\n        #\n        # With total=50, max messages=5, and processing_time=1 this amounts to\n        # 10 seconds (+ overhead), thus a full minute should be more than enough\n        # for the processing to complete. If not, fail the test with a timeout.\n        try:\n            callback.done_future.result(timeout=60)\n        except exceptions.TimeoutError:\n>           pytest.fail(\n                \"Timeout: receiving/processing streamed messages took too long.\"\n            )\nE           Failed: Timeout: receiving/processing streamed messages took too long.\n\ntests/system.py:656: Failed\u003c/pre>\u003c/details>","author":{"url":"https://github.com/apps/flaky-bot","@type":"Person","name":"flaky-bot"},"datePublished":"2023-07-14T19:20:37Z","url":"https://github.com/googleapis/python-pubsub/issues/953"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c39fe565-b807-6ec7-ddf8-5920101b6434
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA840:2E3C3E:156D79:1C28D1:6AEBFAA9
html-safe-nonce5438bd9673238ca648b279f6a96419c1667b0e4c378a10118c7b82461d2465bd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODQwOjJFM0MzRToxNTZENzk6MUMyOEQxOjZBRUJGQUE5IiwidmlzaXRvcl9pZCI6IjEyMzUxMjY2MzkyODAyNTc3MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1a0f37dab304e924d7d0e6029e20c900c12c3664ccc3f7e7531432cf7a4f6768
hovercard-subject-tagissue:1805423004
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-pubsub/953/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2dee31a78bc647d8235e26df654279711f7cfad504b77449e5f5f472271a3289/googleapis/python-pubsub/issues/953
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2dee31a78bc647d8235e26df654279711f7cfad504b77449e5f5f472271a3289/googleapis/python-pubsub/issues/953
og:image:altThis 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: 26d2b39 bui...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameflaky-bot[bot]
hostnamegithub.com
expected-hostnamegithub.com
Noned063d52022f5f270ef55a70761d126c8085d492d3c251084b07781784c02dad4
turbo-cache-controlno-preview
go-importgithub.com/googleapis/python-pubsub git https://github.com/googleapis/python-pubsub.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id226992581
octolytics-dimension-repository_nwogoogleapis/python-pubsub
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id226992581
octolytics-dimension-repository_network_root_nwogoogleapis/python-pubsub
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
release56e59340194011ba3cb6809acfa979ccbd174288
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/googleapis/python-pubsub/issues/953#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-pubsub%2Fissues%2F953
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-pubsub%2Fissues%2F953
Sign uphttps://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-pubsub
Reloadhttps://github.com/googleapis/python-pubsub/issues/953
Reloadhttps://github.com/googleapis/python-pubsub/issues/953
Reloadhttps://github.com/googleapis/python-pubsub/issues/953
googleapishttps://github.com/googleapis
python-pubsubhttps://github.com/googleapis/python-pubsub
Codehttps://github.com/googleapis/python-pubsub
Issueshttps://github.com/googleapis/python-pubsub/issues
Pull requestshttps://github.com/googleapis/python-pubsub/pulls
Actionshttps://github.com/googleapis/python-pubsub/actions
Projectshttps://github.com/googleapis/python-pubsub/projects
Security and qualityhttps://github.com/googleapis/python-pubsub/security
Insightshttps://github.com/googleapis/python-pubsub/pulse
https://github.com/googleapis/python-pubsub
tests.system.TestStreamingPull: test_streaming_pull_max_messages[rest-rest] failedhttps://github.com/googleapis/python-pubsub/issues/953#top
https://github.com/pradn
api: pubsubIssues related to the googleapis/python-pubsub API.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22api%3A%20pubsub%22
flakybot: flakyTells the Flaky Bot not to close or comment on this issue.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22flakybot%3A%20flaky%22
flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22flakybot%3A%20issue%22
priority: p2Moderately-important priority. Fix may not be included in next release.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22priority%3A%20p2%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com/apps/flaky-bot
flaky-bothttps://github.com/apps/flaky-bot
on Jul 14, 2023https://github.com/googleapis/python-pubsub/issues/953#issue-1805423004
the Flaky Bot documentationhttps://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot
26d2b39https://github.com/googleapis/python-pubsub/commit/26d2b39cefcc1a250f1f75db233f7383a2040b6d
Build Statushttps://source.cloud.google.com/results/invocations/d84680a4-0558-4f44-a35f-e84864bbad7a
Spongehttp://sponge2/d84680a4-0558-4f44-a35f-e84864bbad7a
flaky-bothttps://github.com/apps/flaky-bot
flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22flakybot%3A%20issue%22
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22priority%3A%20p1%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
on Jul 14, 2023https://github.com/googleapis/python-pubsub/issues/953#event-9825031399
product-auto-labelhttps://github.com/apps/product-auto-label
api: pubsubIssues related to the googleapis/python-pubsub API.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22api%3A%20pubsub%22
on Jul 14, 2023https://github.com/googleapis/python-pubsub/issues/953#event-9825032337
flaky-bothttps://github.com/apps/flaky-bot
flakybot: flakyTells the Flaky Bot not to close or comment on this issue.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22flakybot%3A%20flaky%22
on Jul 14, 2023https://github.com/googleapis/python-pubsub/issues/953#event-9825795820
https://github.com/apps/flaky-bot
flaky-bothttps://github.com/apps/flaky-bot
on Jul 14, 2023https://github.com/googleapis/python-pubsub/issues/953#issuecomment-1636422447
26d2b39https://github.com/googleapis/python-pubsub/commit/26d2b39cefcc1a250f1f75db233f7383a2040b6d
Build Statushttps://source.cloud.google.com/results/invocations/3cd80063-f2ef-4c10-b421-ee5426069bb0
Spongehttp://sponge2/3cd80063-f2ef-4c10-b421-ee5426069bb0
Build Statushttps://source.cloud.google.com/results/invocations/d84680a4-0558-4f44-a35f-e84864bbad7a
Spongehttp://sponge2/d84680a4-0558-4f44-a35f-e84864bbad7a
kamalaboulhosnhttps://github.com/kamalaboulhosn
liuyunnnnhttps://github.com/liuyunnnn
on Jul 24, 2023https://github.com/googleapis/python-pubsub/issues/953#event-9901424954
acocuzzohttps://github.com/acocuzzo
priority: p2Moderately-important priority. Fix may not be included in next release.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22priority%3A%20p2%22
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22priority%3A%20p1%22
on Jul 24, 2023https://github.com/googleapis/python-pubsub/issues/953#event-9903652643
liuyunnnnhttps://github.com/liuyunnnn
pradnhttps://github.com/pradn
liuyunnnnhttps://github.com/liuyunnnn
on Oct 24, 2023https://github.com/googleapis/python-pubsub/issues/953#event-10758521872
https://github.com/parthea
partheahttps://github.com/parthea
on Dec 11, 2023https://github.com/googleapis/python-pubsub/issues/953#issuecomment-1850336399
partheahttps://github.com/parthea
completedhttps://github.com/googleapis/python-pubsub/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 11, 2023https://github.com/googleapis/python-pubsub/issues/953#event-11212213561
Sign up for freehttps://github.com/signup?return_to=https://github.com/googleapis/python-pubsub/issues/953
Sign in to commenthttps://github.com/login?return_to=https://github.com/googleapis/python-pubsub/issues/953
pradnhttps://github.com/pradn
api: pubsubIssues related to the googleapis/python-pubsub API.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22api%3A%20pubsub%22
flakybot: flakyTells the Flaky Bot not to close or comment on this issue.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22flakybot%3A%20flaky%22
flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22flakybot%3A%20issue%22
priority: p2Moderately-important priority. Fix may not be included in next release.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22priority%3A%20p2%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%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.