René's URL Explorer Experiment


Title: 'test_new_bucket_w_ubla' flakes w/ 412 PreconditionFailed · Issue #577 · googleapis/python-storage · GitHub

Open Graph Title: 'test_new_bucket_w_ubla' flakes w/ 412 PreconditionFailed · Issue #577 · googleapis/python-storage

X Title: 'test_new_bucket_w_ubla' flakes w/ 412 PreconditionFailed · Issue #577 · googleapis/python-storage

Description: From this failed run: ____________________________ test_new_bucket_w_ubla ____________________________ storage_client = buckets_to_delete = [...

Open Graph Description: From this failed run: ____________________________ test_new_bucket_w_ubla ____________________________ storage_client = buckets_to_dele...

X Description: From this failed run: ____________________________ test_new_bucket_w_ubla ____________________________ storage_client = <google.cloud.storage.client.Client object at 0x7fea45c62510> buckets_t...

Opengraph URL: https://github.com/googleapis/python-storage/issues/577

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'test_new_bucket_w_ubla' flakes w/ 412 PreconditionFailed","articleBody":"From this [failed run](https://source.cloud.google.com/results/invocations/3347120d-1e14-4169-9b59-49c33ca499ea/targets/cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fpython-storage%2Fpresubmit%2Fsystem-2.7/log):\r\n\r\n```python\r\n____________________________ test_new_bucket_w_ubla ____________________________\r\n\r\nstorage_client = \u003cgoogle.cloud.storage.client.Client object at 0x7fea45c62510\u003e\r\nbuckets_to_delete = [\u003cBucket: new-w-ubla-1630575370947\u003e], blobs_to_delete = []\r\n\r\n    def test_new_bucket_w_ubla(\r\n        storage_client, buckets_to_delete, blobs_to_delete,\r\n    ):\r\n        bucket_name = _helpers.unique_name(\"new-w-ubla\")\r\n        bucket = storage_client.bucket(bucket_name)\r\n        bucket.iam_configuration.uniform_bucket_level_access_enabled = True\r\n        _helpers.retry_429_503(bucket.create)()\r\n        buckets_to_delete.append(bucket)\r\n\r\n        bucket_acl = bucket.acl\r\n        with pytest.raises(exceptions.BadRequest):\r\n            bucket_acl.reload()\r\n\r\n        bucket_acl.loaded = True  # Fake that we somehow loaded the ACL\r\n        bucket_acl.all().grant_read()\r\n        with pytest.raises(exceptions.BadRequest):\r\n\u003e           bucket_acl.save()\r\n\r\ntests/system/test_bucket.py:711:\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\ngoogle/cloud/storage/acl.py:546: in save\r\n    self._save(acl, None, client, timeout=timeout)\r\ngoogle/cloud/storage/acl.py:510: in _save\r\n    retry=None,\r\ngoogle/cloud/storage/client.py:454: in _patch_resource\r\n    _target_object=_target_object,\r\ngoogle/cloud/storage/_http.py:78: in api_request\r\n    return call()\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\nself = \u003cgoogle.cloud.storage._http.Connection object at 0x7fea478ae390\u003e\r\nmethod = 'PATCH', path = '/b/new-w-ubla-1630575370947'\r\nquery_params = {'projection': 'full'}\r\ndata = '{\"acl\": [{\"role\": \"READER\", \"entity\": \"allUsers\"}]}'\r\ncontent_type = 'application/json', headers = None, api_base_url = None\r\napi_version = None, expect_json = True, _target_object = None, timeout = 60\r\n\r\n    def api_request(\r\n        self,\r\n        method,\r\n        path,\r\n        query_params=None,\r\n        data=None,\r\n        content_type=None,\r\n        headers=None,\r\n        api_base_url=None,\r\n        api_version=None,\r\n        expect_json=True,\r\n        _target_object=None,\r\n        timeout=_DEFAULT_TIMEOUT,\r\n    ):\r\n        \"\"\"Make a request over the HTTP transport to the API.\r\n       ...\r\n        \"\"\"\r\n        url = self.build_api_url(\r\n            path=path,\r\n            query_params=query_params,\r\n            api_base_url=api_base_url,\r\n            api_version=api_version,\r\n        )\r\n\r\n        # Making the executive decision that any dictionary\r\n        # data will be sent properly as JSON.\r\n        if data and isinstance(data, dict):\r\n            data = json.dumps(data)\r\n            content_type = \"application/json\"\r\n\r\n        response = self._make_request(\r\n            method=method,\r\n            url=url,\r\n            data=data,\r\n            content_type=content_type,\r\n            headers=headers,\r\n            target_object=_target_object,\r\n            timeout=timeout,\r\n        )\r\n\r\n        if not 200 \u003c= response.status_code \u003c 300:\r\n\u003e           raise exceptions.from_http_response(response)\r\nE           PreconditionFailed: 412 PATCH https://storage.googleapis.com/storage/v1/b/new-w-ubla-1630575370947?projection=full\u0026prettyPrint=false: One or more users named in the policy do not belong to a permitted customer.\r\n```","author":{"url":"https://github.com/tseaver","@type":"Person","name":"tseaver"},"datePublished":"2021-09-02T14:06:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/577/python-storage/issues/577"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f0697e0e-4a84-be1c-6517-6218c79ce5c5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBBAC:1013D2:105331A:168B7AA:6A4DDDE2
html-safe-nonce9f4a820bc327167946bdb0d6f24c2cad8e65f3210af2022764df7a3d2e534472
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkFDOjEwMTNEMjoxMDUzMzFBOjE2OEI3QUE6NkE0RERERTIiLCJ2aXNpdG9yX2lkIjoiODI4NDIwNjQ1NjQ0MzM2Mjc4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3e1ff25f6bf9b9f84008b79b462822b9ac41394d25bbf3a604c3f54ba71e80af
hovercard-subject-tagissue:986780083
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-storage/577/issue_layout
twitter:imagehttps://opengraph.githubassets.com/33c0dced4d143d6c17eb8a92835e0174b4deb7dfa3f381d4c5fd02e91a8599b9/googleapis/python-storage/issues/577
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/33c0dced4d143d6c17eb8a92835e0174b4deb7dfa3f381d4c5fd02e91a8599b9/googleapis/python-storage/issues/577
og:image:altFrom this failed run: ____________________________ test_new_bucket_w_ubla ____________________________ storage_client = buckets_to_dele...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametseaver
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
turbo-cache-controlno-preview
go-importgithub.com/googleapis/python-storage git https://github.com/googleapis/python-storage.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id226992639
octolytics-dimension-repository_nwogoogleapis/python-storage
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id226992639
octolytics-dimension-repository_network_root_nwogoogleapis/python-storage
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
release1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/python-storage/issues/577#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-storage%2Fissues%2F577
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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-storage%2Fissues%2F577
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-storage
Reloadhttps://github.com/googleapis/python-storage/issues/577
Reloadhttps://github.com/googleapis/python-storage/issues/577
Reloadhttps://github.com/googleapis/python-storage/issues/577
Please reload this pagehttps://github.com/googleapis/python-storage/issues/577
googleapis https://github.com/googleapis
python-storagehttps://github.com/googleapis/python-storage
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fpython-storage
Fork 172 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-storage
Star 502 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-storage
Code https://github.com/googleapis/python-storage
Issues 0 https://github.com/googleapis/python-storage/issues
Pull requests 0 https://github.com/googleapis/python-storage/pulls
Actions https://github.com/googleapis/python-storage/actions
Projects https://github.com/googleapis/python-storage/projects
Security and quality 0 https://github.com/googleapis/python-storage/security
Insights https://github.com/googleapis/python-storage/pulse
Code https://github.com/googleapis/python-storage
Issues https://github.com/googleapis/python-storage/issues
Pull requests https://github.com/googleapis/python-storage/pulls
Actions https://github.com/googleapis/python-storage/actions
Projects https://github.com/googleapis/python-storage/projects
Security and quality https://github.com/googleapis/python-storage/security
Insights https://github.com/googleapis/python-storage/pulse
'test_new_bucket_w_ubla' flakes w/ 412 PreconditionFailedhttps://github.com/googleapis/python-storage/issues/577#top
api: storageIssues related to the googleapis/python-storage API.https://github.com/googleapis/python-storage/issues?q=state%3Aopen%20label%3A%22api%3A%20storage%22
type: processA process-related concern. May include testing, release, or the like.https://github.com/googleapis/python-storage/issues?q=state%3Aopen%20label%3A%22type%3A%20process%22
https://github.com/tseaver
tseaverhttps://github.com/tseaver
on Sep 2, 2021https://github.com/googleapis/python-storage/issues/577#issue-986780083
failed runhttps://source.cloud.google.com/results/invocations/3347120d-1e14-4169-9b59-49c33ca499ea/targets/cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fpython-storage%2Fpresubmit%2Fsystem-2.7/log
api: storageIssues related to the googleapis/python-storage API.https://github.com/googleapis/python-storage/issues?q=state%3Aopen%20label%3A%22api%3A%20storage%22
type: processA process-related concern. May include testing, release, or the like.https://github.com/googleapis/python-storage/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.