Title: test_pyrepl fails on s390x SLES: 'sys', 'ver' variables are unexpected · Issue #121206 · python/cpython · GitHub
Open Graph Title: test_pyrepl fails on s390x SLES: 'sys', 'ver' variables are unexpected · Issue #121206 · python/cpython
X Title: test_pyrepl fails on s390x SLES: 'sys', 'ver' variables are unexpected · Issue #121206 · python/cpython
Description: s390x SLES PR build: https://buildbot.python.org/all/#/builders/332/builds/1460 I suppose that 'sys', 'ver' is unexpected in the test. Output: ['__annotations__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name...
Open Graph Description: s390x SLES PR build: https://buildbot.python.org/all/#/builders/332/builds/1460 I suppose that 'sys', 'ver' is unexpected in the test. Output: ['__annotations__', '__builtins__', '__cached__', '__d...
X Description: s390x SLES PR build: https://buildbot.python.org/all/#/builders/332/builds/1460 I suppose that 'sys', 'ver' is unexpected in the test. Output: ['__annotations__', '__bui...
Opengraph URL: https://github.com/python/cpython/issues/121206
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_pyrepl fails on s390x SLES: 'sys', 'ver' variables are unexpected","articleBody":"s390x SLES PR build: https://buildbot.python.org/all/#/builders/332/builds/1460\r\n\r\nI suppose that `'sys', 'ver'` is unexpected in the test.\r\n\r\nOutput:\r\n\r\n```\r\n['__annotations__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'sys', 'ver']\r\n```\r\n\r\nFull logs:\r\n\r\n```\r\n======================================================================\r\nFAIL: test_exposed_globals_in_repl (test.test_pyrepl.test_pyrepl.TestMain.test_exposed_globals_in_repl)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/test/support/__init__.py\", line 2622, in wrapper\r\n return func(*args, **kwargs)\r\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/test/test_pyrepl/test_pyrepl.py\", line 865, in test_exposed_globals_in_repl\r\n self.assertTrue(case1 or case2 or case3 or case4, output)\r\n ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nAssertionError: False is not true : sorted(dir())\r\nexit\r\n\r\nPython 3.14.0a0 (heads/refs/pull/121195/merge:ddec5b2192d, Jul 1 2024, 04:27:41) [GCC 7.5.0] on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n\r\n\u001b[?2004h\r\n\u001b[?1h\u001b=\r\n\u001b[?25l\r\n\u001b[1A\r\n\r\n\u001b[1;35m>>> \u001b[0m\u001b[4D\r\n\u001b[?12l\u001b[?25h\u001b[4C\r\n\u001b[?25l\u001b[4D\r\n\u001b[1;35m>>> \u001b[0ms\u001b[5D\r\n\u001b[?12l\u001b[?25h\u001b[5C\r\n\u001b[?25l\u001b[5D\r\n\u001b[1;35m>>> \u001b[0mso\u001b[6D\r\n\u001b[?12l\u001b[?25h\u001b[6C\r\n\u001b[?25l\u001b[6D\u001b[1;35m>>> \u001b[0msor\r\n\u001b[7D\r\n\u001b[?12l\u001b[?25h\u001b[7C\r\n\u001b[?25l\u001b[7D\r\n\u001b[1;35m>>> \u001b[0msort\u001b[8D\r\n\u001b[?12l\u001b[?25h\u001b[8C\r\n\u001b[?25l\u001b[8D\r\n\u001b[1;35m>>> \u001b[0msorte\u001b[9D\r\n\u001b[?12l\u001b[?25h\u001b[9C\r\n\u001b[?25l\u001b[9D\r\n\u001b[1;35m>>> \u001b[0msorted\u001b[10D\r\n\u001b[?12l\u001b[?25h\u001b[10C\r\n\u001b[?25l\u001b[10D\r\n\u001b[1;35m>>> \u001b[0msorted(\u001b[11D\r\n\u001b[?12l\u001b[?25h\u001b[11C\r\n\u001b[?25l\u001b[11D\r\n\u001b[1;35m>>> \u001b[0msorted(d\u001b[12D\r\n\u001b[?12l\u001b[?25h\u001b[12C\r\n\u001b[?25l\u001b[12D\r\n\u001b[1;35m>>> \u001b[0msorted(di\u001b[13D\r\n\u001b[?12l\u001b[?25h\u001b[13C\r\n\u001b[?25l\u001b[13D\r\n\u001b[1;35m>>> \u001b[0msorted(dir\u001b[14D\u001b[?12l\u001b[?25h\u001b[14C\r\n\u001b[?25l\r\n\u001b[14D\u001b[1;35m>>> \u001b[0msorted(dir(\r\n\u001b[15D\r\n\u001b[?12l\u001b[?25h\u001b[15C\r\n\u001b[?25l\u001b[15D\r\n\u001b[1;35m>>> \u001b[0msorted(dir()\u001b[16D\r\n\u001b[?12l\u001b[?25h\u001b[16C\r\n\u001b[?25l\u001b[16D\r\n\u001b[1;35m>>> \u001b[0msorted(dir())\u001b[17D\r\n\u001b[?12l\u001b[?25h\u001b[17C\r\n\u001b[17D\r\n\r\n\u001b[?2004l\r\n\u001b[?1l\u001b>\r\n['__annotations__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'sys', 'ver']\r\n\r\n\u001b[?2004h\r\n\u001b[?1h\u001b=\u001b[?25l\r\n\u001b[1A\r\n\r\n\u001b[1;35m>>> \u001b[0m\u001b[4D\r\n\u001b[?12l\u001b[?25h\u001b[4C\r\n\u001b[?25l\u001b[4D\r\n\u001b[1;35m>>> \u001b[0me\u001b[5D\r\n\u001b[?12l\u001b[?25h\u001b[5C\r\n\u001b[?25l\u001b[5D\r\n\u001b[1;35m>>> \u001b[0mex\u001b[6D\r\n\u001b[?12l\u001b[?25h\u001b[6C\r\n\u001b[?25l\u001b[6D\r\n\u001b[1;35m>>> \u001b[0mexi\u001b[7D\r\n\u001b[?12l\u001b[?25h\u001b[7C\r\n\u001b[?25l\u001b[7D\r\n\u001b[1;35m>>> \u001b[0mexit\u001b[8D\r\n\u001b[?12l\u001b[?25h\u001b[8C\r\n\u001b[8D\r\n\r\n\u001b[?2004l\r\n\u001b[?1l\u001b>\r\n\r\n----------------------------------------------------------------------\r\nRan 117 tests in 3.352s\r\n\r\nFAILED (failures=1, skipped=1)\r\ntest test_pyrepl failed\r\n```","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2024-07-01T08:34:40Z","url":"https://github.com/python/cpython/issues/121206"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:68695a3b-9a0c-ae27-1d6a-f9cf3af20de1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD5A:19AA62:44A43C4:56F582B:6B0231BE |
| html-safe-nonce | 214367af1216e407a2427532565d9eca7b382be1948a589213bd7b33c57b1bdd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDVBOjE5QUE2Mjo0NEE0M0M0OjU2RjU4MkI6NkIwMjMxQkUiLCJ2aXNpdG9yX2lkIjoiNTA5NTM2NTg2NTc3MzU5Mjk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ac7fc0bd4b3bc7a6e60566fc1cb3ae7fc7a6317ba5fb873a3c75f37e9586b6a8 |
| hovercard-subject-tag | issue:2383205574 |
| 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/121206/issue_layout |
| twitter:image | https://opengraph.githubassets.com/be9d5b59837f346f3155a134505628cfdf8e8335aed122ac58b2ed56ad036e9b/python/cpython/issues/121206 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/be9d5b59837f346f3155a134505628cfdf8e8335aed122ac58b2ed56ad036e9b/python/cpython/issues/121206 |
| og:image:alt | s390x SLES PR build: https://buildbot.python.org/all/#/builders/332/builds/1460 I suppose that 'sys', 'ver' is unexpected in the test. Output: ['__annotations__', '__builtins__', '__cached__', '__d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width