Title: test_pty: test_openpty() timed out after 3h 20min on aarch64 RHEL8 Refleaks 3.x: · Issue #110673 · python/cpython · GitHub
Open Graph Title: test_pty: test_openpty() timed out after 3h 20min on aarch64 RHEL8 Refleaks 3.x: · Issue #110673 · python/cpython
X Title: test_pty: test_openpty() timed out after 3h 20min on aarch64 RHEL8 Refleaks 3.x: · Issue #110673 · python/cpython
Description: Is os.write(fd, data) guaranteed to write all bytes of data? Or can it write only some (first) bytes of data? Extract of the test: debug("Writing chunked output") os.write(slave_fd, TEST_STRING_2[:5]) os.write(slave_fd, TEST_STRING_2[5:]...
Open Graph Description: Is os.write(fd, data) guaranteed to write all bytes of data? Or can it write only some (first) bytes of data? Extract of the test: debug("Writing chunked output") os.write(slave_fd, TEST_STRING_2[:...
X Description: Is os.write(fd, data) guaranteed to write all bytes of data? Or can it write only some (first) bytes of data? Extract of the test: debug("Writing chunked output") os.write(slave_fd, TEST_...
Opengraph URL: https://github.com/python/cpython/issues/110673
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_pty: test_openpty() timed out after 3h 20min on aarch64 RHEL8 Refleaks 3.x: ","articleBody":"Is os.write(fd, data) guaranteed to write **all** bytes of *data*? Or can it write only *some* (first) bytes of *data*?\r\n\r\nExtract of the test:\r\n\r\n```py\r\n debug(\"Writing chunked output\")\r\n os.write(slave_fd, TEST_STRING_2[:5])\r\n os.write(slave_fd, TEST_STRING_2[5:])\r\n s2 = _readline(master_fd) # \u003c==== HERE LINE 181 ===\r\n self.assertEqual(b'For my pet fish, Eric.\\n', normalize_output(s2))\r\n```\r\n\r\nwith:\r\n\r\n```py\r\ndef _readline(fd):\r\n \"\"\"Read one line. May block forever if no newline is read.\"\"\"\r\n reader = io.FileIO(fd, mode='rb', closefd=False)\r\n return reader.readline()\r\n```\r\n\r\naarch64 RHEL8 Refleaks 3.x:\r\n\r\n```\r\n3:22:48 load avg: 0.00 [467/467/1] test_pty worker non-zero exit code (Exit code 1)\r\nbeginning 6 repetitions\r\n123456\r\n/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.refleak/build/Lib/pty.py:95: DeprecationWarning: This process (pid=502171) is multi-threaded, use of forkpty() may lead to deadlocks in the child.\r\n pid, fd = os.forkpty()\r\nhi there\r\n./home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.refleak/build/Lib/pty.py:95: DeprecationWarning: This process (pid=502171) is multi-threaded, use of forkpty() may lead to deadlocks in the child.\r\n pid, fd = os.forkpty()\r\nTimeout (3:20:00)!\r\nThread 0x0000ffff9f154590 (most recent call first):\r\n File \"/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.refleak/build/Lib/test/test_pty.py\", line 68 in _readline\r\n File \"/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.refleak/build/Lib/test/test_pty.py\", line 181 in test_openpty\r\n (...)\r\n```\r\n\r\nbuild: https://buildbot.python.org/all/#/builders/551/builds/883\r\n\r\ncc @serhiy-storchaka \n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-110677\n* gh-110742\n* gh-110743\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2023-10-11T02:28:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/110673/cpython/issues/110673"}
| 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:eeae55da-8997-bf21-6838-2c2091d3f664 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DDD0:9EFA3:12618B:18B340:6A5182F3 |
| html-safe-nonce | a412f3d3b6215fa4ffd76ceef8852818421ecfc443c04270294e559485a79637 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREQwOjlFRkEzOjEyNjE4QjoxOEIzNDA6NkE1MTgyRjMiLCJ2aXNpdG9yX2lkIjoiMTA5NzU2NjU0MTk1MDU4MzUzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fbae5eb3504091baf304c2cdc99de6b47d2cfeda13f597e37381daf3fbf63535 |
| hovercard-subject-tag | issue:1936658451 |
| 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/110673/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c932f6aed58ce590ee306c1978f13567ead90c6f37b1395dfeb2b3cb326df3cd/python/cpython/issues/110673 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c932f6aed58ce590ee306c1978f13567ead90c6f37b1395dfeb2b3cb326df3cd/python/cpython/issues/110673 |
| og:image:alt | Is os.write(fd, data) guaranteed to write all bytes of data? Or can it write only some (first) bytes of data? Extract of the test: debug("Writing chunked output") os.write(slave_fd, TEST_STRING_2[:... |
| 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 | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | d01c62704ef24df49056c63892a149b775e1353d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width