Title: `test_venv` failures on installed buildbots · Issue #106313 · python/cpython · GitHub
Open Graph Title: `test_venv` failures on installed buildbots · Issue #106313 · python/cpython
X Title: `test_venv` failures on installed buildbots · Issue #106313 · python/cpython
Description: Bug report test_venv has been failing consistently on the "AMD64 Fedora Stable Clang Installed" buildbot for the last month. The test failure is: ====================================================================== ERROR: test_zippath_...
Open Graph Description: Bug report test_venv has been failing consistently on the "AMD64 Fedora Stable Clang Installed" buildbot for the last month. The test failure is: ===================================================...
X Description: Bug report test_venv has been failing consistently on the "AMD64 Fedora Stable Clang Installed" buildbot for the last month. The test failure is: =========================================...
Opengraph URL: https://github.com/python/cpython/issues/106313
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`test_venv` failures on installed buildbots","articleBody":"# Bug report\r\n\r\n`test_venv` has been failing consistently on the \"[AMD64 Fedora Stable Clang Installed](https://buildbot.python.org/all/#/builders/363)\" buildbot for the last month. The test failure is:\r\n\r\n```pytb\r\n\r\n======================================================================\r\nERROR: test_zippath_from_non_installed_posix (test.test_venv.BasicTest.test_zippath_from_non_installed_posix)\r\nTest that when create venv from non-installed python, the zip path\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/home/buildbot/buildarea/pull_request.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.13/test/test_venv.py\", line 612, in test_zippath_from_non_installed_posix\r\n subprocess.check_call(cmd, env=child_env)\r\n File \"/home/buildbot/buildarea/pull_request.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.13/subprocess.py\", line 408, in check_call\r\n retcode = call(*popenargs, **kwargs)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"/home/buildbot/buildarea/pull_request.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.13/subprocess.py\", line 389, in call\r\n with Popen(*popenargs, **kwargs) as p:\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"/home/buildbot/buildarea/pull_request.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.13/subprocess.py\", line 1026, in __init__\r\n self._execute_child(args, executable, preexec_fn, close_fds,\r\n File \"/home/buildbot/buildarea/pull_request.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.13/subprocess.py\", line 1950, in _execute_child\r\n raise child_exception_type(errno_num, err_msg, err_filename)\r\nFileNotFoundError: [Errno 2] No such file or directory: '/tmp/test_python_q98ubefs/tmpjf9pltrd/bin/python3'\r\n======================================================================\r\nFAIL: test_upgrade_dependencies (test.test_venv.BasicTest.test_upgrade_dependencies)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/home/buildbot/buildarea/pull_request.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.13/test/test_venv.py\", line 236, in test_upgrade_dependencies\r\n builder.upgrade_dependencies(fake_context)\r\n File \"/home/buildbot/buildarea/pull_request.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.13/venv/__init__.py\", line 459, in upgrade_dependencies\r\n self._call_new_python(context, '-m', 'pip', 'install', '--upgrade',\r\n File \"/home/buildbot/buildarea/pull_request.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.13/venv/__init__.py\", line 355, in _call_new_python\r\n subprocess.check_output(args, **kwargs)\r\n File \"/home/buildbot/buildarea/pull_request.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.13/test/test_venv.py\", line 222, in pip_cmd_checker\r\n self.assertEqual(\r\nAssertionError: Lists differ: ['/tm[32 chars]w4/bin/python3', '-m', 'pip', 'install', '--upgrade', 'pip'] != ['/tm[32 chars]w4/bin/python3.13', '-m', 'pip', 'install', '--upgrade', 'pip']\r\nFirst differing element 0:\r\n'/tmp/test_python_q98ubefs/tmpcaooe7w4/bin/python3'\r\n'/tmp/test_python_q98ubefs/tmpcaooe7w4/bin/python3.13'\r\n- ['/tmp/test_python_q98ubefs/tmpcaooe7w4/bin/python3',\r\n+ ['/tmp/test_python_q98ubefs/tmpcaooe7w4/bin/python3.13',\r\n? +++\r\n '-m',\r\n 'pip',\r\n 'install',\r\n '--upgrade',\r\n 'pip']\r\n----------------------------------------------------------------------\r\nRan 27 tests in 14.253s\r\nFAILED (failures=1, errors=1, skipped=2)\r\ntest test_venv failed\r\n```\r\n\r\nCc. @vsajip for venv expertise. It looks like #103243 is probably to blame (cc. @artemmukhin).\r\n","author":{"url":"https://github.com/AlexWaygood","@type":"Person","name":"AlexWaygood"},"datePublished":"2023-07-01T16:45:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/106313/cpython/issues/106313"}
| 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:9746c838-d9ac-3ebc-9a2e-535c4c3f81cc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC7E:5FEAE:6F8A47:9AEA3C:696A12D1 |
| html-safe-nonce | bea240ccd9daccc2ae68f9b7bb6a43c98f2b09dfbc90b5d04c81245572784ad6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzdFOjVGRUFFOjZGOEE0Nzo5QUVBM0M6Njk2QTEyRDEiLCJ2aXNpdG9yX2lkIjoiOTEyNDgyNDg4MTYwMDAwODkxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 630b82ac72638df2f89ece0f499e2c7ef65d541451d5427221430251d10370fd |
| hovercard-subject-tag | issue:1784077903 |
| 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/python/cpython/106313/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7b72af0027926627fd4bd642d923907f9e2f18f1824dec25504e641882d0201d/python/cpython/issues/106313 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7b72af0027926627fd4bd642d923907f9e2f18f1824dec25504e641882d0201d/python/cpython/issues/106313 |
| og:image:alt | Bug report test_venv has been failing consistently on the "AMD64 Fedora Stable Clang Installed" buildbot for the last month. The test failure is: ===================================================... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlexWaygood |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width