Title: Cannot create directory ‘/opt/hostedtoolcache’ after recent release · Issue #459 · actions/setup-python · GitHub
Open Graph Title: Cannot create directory ‘/opt/hostedtoolcache’ after recent release · Issue #459 · actions/setup-python
X Title: Cannot create directory ‘/opt/hostedtoolcache’ after recent release · Issue #459 · actions/setup-python
Description: Description: The following error start happening after the recent action release: 2022-07-12T14:12:47.7158848Z ##[group]Run actions/setup-python@v4 2022-07-12T14:12:47.7159230Z with: 2022-07-12T14:12:47.7159527Z python-version: 3.x 2022-...
Open Graph Description: Description: The following error start happening after the recent action release: 2022-07-12T14:12:47.7158848Z ##[group]Run actions/setup-python@v4 2022-07-12T14:12:47.7159230Z with: 2022-07-12T14:...
X Description: Description: The following error start happening after the recent action release: 2022-07-12T14:12:47.7158848Z ##[group]Run actions/setup-python@v4 2022-07-12T14:12:47.7159230Z with: 2022-07-12T14:...
Opengraph URL: https://github.com/actions/setup-python/issues/459
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot create directory ‘/opt/hostedtoolcache’ after recent release","articleBody":"\u003c!--- Please direct any generic questions related to actions to our support community forum at https://github.community/c/code-to-cloud/github-actions/41 ---\u003e\r\n\u003c!--- Before opening up a new bug report, please make sure to check for similar existing issues --\u003e\r\n\r\n**Description:**\r\n\r\nThe following error start happening after the recent action release:\r\n\r\n```\r\n2022-07-12T14:12:47.7158848Z ##[group]Run actions/setup-python@v4\r\n2022-07-12T14:12:47.7159230Z with:\r\n2022-07-12T14:12:47.7159527Z python-version: 3.x\r\n2022-07-12T14:12:47.7160059Z token: ***\r\n2022-07-12T14:12:47.7160394Z update-environment: true\r\n2022-07-12T14:12:47.7162682Z ##[endgroup]\r\n2022-07-12T14:12:48.0166854Z Version 3.x was not found in the local cache\r\n2022-07-12T14:12:48.3072207Z Version 3.x is available for downloading\r\n2022-07-12T14:12:48.3074130Z Download from \"https://github.com/actions/python-versions/releases/download/3.10.5-2452607758/python-3.10.5-linux-20.04-x64.tar.gz\"\r\n2022-07-12T14:12:49.1279090Z Extract downloaded archive\r\n2022-07-12T14:12:49.1380950Z [command]/usr/bin/tar xz --warning=no-unknown-keyword -C /actions-runner/_work/_temp/2d83bfeb-a252-4083-95bf-6f30cffc5507 -f /actions-runner/_work/_temp/c2619dbf-23ad-46f0-9b07-baf06258c9c8\r\n2022-07-12T14:12:52.2679935Z Execute installation script\r\n2022-07-12T14:12:52.2887302Z Check if Python hostedtoolcache folder exist...\r\n2022-07-12T14:12:52.2888180Z Creating Python hostedtoolcache folder...\r\n2022-07-12T14:12:52.2921018Z ##[error]mkdir:\r\n2022-07-12T14:12:52.2937518Z ##[error]cannot create directory ‘/opt/hostedtoolcache’\r\n2022-07-12T14:12:52.2939104Z ##[error]: Permission denied\r\n2022-07-12T14:12:52.2941609Z ##[error]The process '/usr/bin/bash' failed with exit code 1\r\n2022-07-12T14:12:52.3294942Z Post job cleanup.\r\n```\r\n\r\n**Action version:**\r\n\r\nv4\r\n\r\n**Platform:**\r\n- [X] Ubuntu\r\n- [ ] macOS\r\n- [ ] Windows\r\n\r\n**Runner type:**\r\n- [ ] Hosted\r\n- [X] Self-hosted\r\n\r\n**Tools version:**\r\n\u003c!--- Please list all of the affected Python versions (`3.8.2`, etc.)--\u003e\r\n\r\n- 3.10.5\r\n\r\n**Repro steps:** \r\n\r\n```\r\n setup-python:\r\n runs-on: self-hosted\r\n steps:\r\n - uses: actions/checkout@v3\r\n - uses: actions/setup-python@v4\r\n with:\r\n python-version: 3.x\r\n```\r\n\r\n**Expected behavior:**\r\n\r\nWon't error.\r\n\r\n**Actual behavior:**\r\n\r\nIt errors.","author":{"url":"https://github.com/kenorb","@type":"Person","name":"kenorb"},"datePublished":"2022-07-12T14:33:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":24},"url":"https://github.com/459/setup-python/issues/459"}
| 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:d1c85692-f4b0-9764-d45d-adb59f1ae977 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C7AA:26E310:1100CF1:1774DA0:6969F665 |
| html-safe-nonce | 339b05367b2ed31396ffa2d09bf663588aa836834c88011048dd7234e81ddb68 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0FBOjI2RTMxMDoxMTAwQ0YxOjE3NzREQTA6Njk2OUY2NjUiLCJ2aXNpdG9yX2lkIjoiNDkyMDQzOTIyNzU1NjY4OTUwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7d2b5eec84357534b74ea155bdbb83ab637c306a0790bdef56f4893638865751 |
| hovercard-subject-tag | issue:1302153985 |
| github-keyboard-shortcuts | repository,issues,actions,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/actions/setup-python/459/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b9e92013336f1041648d574c9b587951c236deec910a5e4732be32242aac91ce/actions/setup-python/issues/459 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b9e92013336f1041648d574c9b587951c236deec910a5e4732be32242aac91ce/actions/setup-python/issues/459 |
| og:image:alt | Description: The following error start happening after the recent action release: 2022-07-12T14:12:47.7158848Z ##[group]Run actions/setup-python@v4 2022-07-12T14:12:47.7159230Z with: 2022-07-12T14:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kenorb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/actions/setup-python git https://github.com/actions/setup-python.git |
| octolytics-dimension-user_id | 44036562 |
| octolytics-dimension-user_login | actions |
| octolytics-dimension-repository_id | 192625525 |
| octolytics-dimension-repository_nwo | actions/setup-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 192625525 |
| octolytics-dimension-repository_network_root_nwo | actions/setup-python |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width