Title: test_concurrent_futures.test_shutdown: AssertionError: b'' != b'apple' · Issue #112542 · python/cpython · GitHub
Open Graph Title: test_concurrent_futures.test_shutdown: AssertionError: b'' != b'apple' · Issue #112542 · python/cpython
X Title: test_concurrent_futures.test_shutdown: AssertionError: b'' != b'apple' · Issue #112542 · python/cpython
Description: Bug report Bug description: Bug report Bug description: Configuration: ./configure --with-pydebug Test Output: (full-test-output.txt) freebsd@generic:~/cpython % ./python -m test -j2 == CPython 3.13.0a2+ (heads/main:37589d76bb, Apr 29 20...
Open Graph Description: Bug report Bug description: Bug report Bug description: Configuration: ./configure --with-pydebug Test Output: (full-test-output.txt) freebsd@generic:~/cpython % ./python -m test -j2 == CPython 3.1...
X Description: Bug report Bug description: Bug report Bug description: Configuration: ./configure --with-pydebug Test Output: (full-test-output.txt) freebsd@generic:~/cpython % ./python -m test -j2 == CPython 3.1...
Opengraph URL: https://github.com/python/cpython/issues/112542
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_concurrent_futures.test_shutdown: AssertionError: b'' != b'apple'","articleBody":"# Bug report\n\n### Bug description:\n\n# Bug report\n\n### Bug description:\n\nConfiguration:\n```sh\n./configure --with-pydebug\n```\nTest Output: ([full-test-output.txt](https://github.com/python/cpython/files/13507353/full-test-output.txt))\n```sh\nfreebsd@generic:~/cpython % ./python -m test -j2\n== CPython 3.13.0a2+ (heads/main:37589d76bb, Apr 29 2023, 11:49:22) [Clang 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386\n== FreeBSD-13.2-RELEASE-arm64-aarch64-64bit-ELF little-endian\n== Python build: debug\n== cwd: /home/freebsd/cpython/build/test_python_worker_32780æ\n== CPU count: 4\n== encodings: locale=UTF-8 FS=utf-8\n== resources: all test resources are disabled, use -u option to unskip tests\n\nUsing random seed: 3819139510\n0:00:00 load avg: 2.45 Run 469 tests in parallel using 2 worker processes\n0:00:02 load avg: 2.42 [ 1/469] test.test_asyncio.test_buffered_proto passed\n0:00:04 load avg: 2.42 [ 2/469] test.test_asyncio.test_context passed\n0:00:11 load avg: 2.38 [ 3/469] test.test_asyncio.test_eager_task_factory passed\n0:00:15 load avg: 2.35 [ 4/469] test.test_asyncio.test_base_events passed\n0:00:39 load avg: 2.23 [ 5/469] test.test_asyncio.test_futures passed\n0:00:41 load avg: 2.21 [ 6/469] test.test_asyncio.test_futures2 passed -- running (1): test.test_asyncio.test_events (30.4 sec)\n0:00:49 load avg: 2.20 [ 7/469] test.test_asyncio.test_locks passed -- running (1): test.test_asyncio.test_events (38.4 sec)\n0:00:53 load avg: 2.26 [ 8/469] test.test_asyncio.test_pep492 passed -- running (1): test.test_asyncio.test_events (41.7 sec)\n0:00:59 load avg: 2.24 [ 9/469] test.test_asyncio.test_proactor_events passed -- running (1): test.test_asyncio.test_events (47.8 sec)\n0:01:01 load avg: 2.22 [ 10/469] test.test_asyncio.test_protocols passed -- running (1): test.test_asyncio.test_events (50.1 sec)\n0:01:06 load avg: 2.20 [ 11/469] test.test_asyncio.test_queues passed -- running (1): test.test_asyncio.test_events (54.8 sec)\n0:01:09 load avg: 2.19 [ 12/469] test.test_asyncio.test_runners passed -- running (1): test.test_asyncio.test_events (58.3 sec)\n0:01:15 load avg: 2.17 [ 13/469] test.test_asyncio.test_selector_events passed -- running (1): test.test_asyncio.test_events (1 min 4 sec)\n0:01:18 load avg: 2.17 [ 14/469] test.test_asyncio.test_events passed (1 min 6 sec)\n0:01:21 load avg: 2.08 [ 15/469] test.test_asyncio.test_server passed\n/home/freebsd/cpython/Lib/asyncio/events.py:84: ResourceWarning: unclosed \u003csocket.socket fd=8, family=1, type=1, proto=0, laddr=./test_python_jpgh9dpl.sock\u003e\n self._context.run(self._callback, *self._args)\nResourceWarning: Enable tracemalloc to get the object allocation traceback\nExecuting \u003cTask finished name='Task-44' coro=\u003cUnixServerCleanupTests.test_unix_server_cleanup_replaced() done, defined at /home/freebsd/cpython/Lib/test/test_asyncio/test_server.py:227\u003e result=None created at /home/freebsd/cpython/Lib/asyncio/runners.py:100\u003e took 0.104 seconds\n0:01:33 load avg: 1.91 [ 16/469] test.test_asyncio.test_sock_lowlevel passed\n0:02:03 load avg: 1.62 running (2): test.test_asyncio.test_sendfile (47.9 sec), test.test_asyncio.test_ssl (30.0 sec)\n\n0:02:33 load avg: 1.58 running (2): test.test_asyncio.test_sendfile (1 min 17 sec), test.test_asyncio.test_ssl (1 min)\n0:02:37 load avg: 1.61 [ 17/469] test.test_asyncio.test_sendfile passed (1 min 22 sec) -- running (1): test.test_asyncio.test_ssl (1 min 4 sec)\n0:02:46 load avg: 2.04 [ 18/469] test.test_asyncio.test_sslproto passed -- running (1): test.test_asyncio.test_ssl (1 min 12 sec)\n0:02:50 load avg: 2.04 [ 19/469] test.test_asyncio.test_streams passed -- running (1): test.test_asyncio.test_ssl (1 min 17 sec)\n0:03:16 load avg: 2.02 [ 20/469] test.test_asyncio.test_ssl passed (1 min 42 sec)\n0:03:20 load avg: 1.94 [ 21/469] test.test_asyncio.test_subprocess passed\n0:03:27 load avg: 1.95 [ 22/469] test.test_asyncio.test_taskgroups passed\n0:03:30 load avg: 1.95 [ 23/469] test.test_asyncio.test_threads passed\n0:03:34 load avg: 1.87 [ 24/469] test.test_asyncio.test_timeouts passed\n0:03:37 load avg: 1.96 [ 25/469] test.test_asyncio.test_transports passed\n0:03:46 load avg: 1.97 [ 26/469] test.test_asyncio.test_unix_events passed\n0:03:50 load avg: 1.97 [ 27/469] test.test_asyncio.test_waitfor passed -- running (1): test.test_asyncio.test_tasks (30.5 sec)\n0:03:52 load avg: 1.97 [ 28/469] test.test_asyncio.test_windows_events skipped -- running (1): test.test_asyncio.test_tasks (32.8 sec)\ntest.test_asyncio.test_windows_events skipped -- Windows only\n0:03:54 load avg: 1.97 [ 29/469] test.test_asyncio.test_windows_utils skipped -- running (1): test.test_asyncio.test_tasks (34.7 sec)\ntest.test_asyncio.test_windows_utils skipped -- Windows only\n0:04:23 load avg: 1.75 [ 30/469] test.test_concurrent_futures.test_as_completed passed -- running (1): test.test_asyncio.test_tasks (1 min 3 sec)\n0:04:40 load avg: 1.84 [ 31/469] test.test_asyncio.test_tasks passed (1 min 20 sec)\n0:04:45 load avg: 1.77 [ 32/469] test.test_concurrent_futures.test_future passed\n0:04:54 load avg: 1.80 [ 33/469] test.test_concurrent_futures.test_init passed -- running (1): test.test_concurrent_futures.test_deadlock (30.8 sec)\n0:05:24 load avg: 2.12 running (2): test.test_concurrent_futures.test_process_pool (30.0 sec), test.test_concurrent_futures.test_deadlock (1 min)\n0:05:27 load avg: 2.12 [ 34/469] test.test_concurrent_futures.test_deadlock passed (1 min 4 sec) -- running (1): test.test_concurrent_futures.test_process_pool (33.8 sec)\n0:05:57 load avg: 2.95 running (2): test.test_concurrent_futures.test_process_pool (1 min 3 sec), test.test_concurrent_futures.test_shutdown (30.0 sec)\n0:06:09 load avg: 3.83 [ 35/469] test.test_concurrent_futures.test_process_pool passed (1 min 15 sec) -- running (1): test.test_concurrent_futures.test_shutdown (41.3 sec)\n0:06:13 load avg: 3.68 [ 36/469] test.test_concurrent_futures.test_thread_pool passed -- running (1): test.test_concurrent_futures.test_shutdown (45.2 sec)\n0:06:30 load avg: 3.30 [ 37/469/1] test.test_concurrent_futures.test_shutdown failed (1 failure) (1 min 2 sec)\ntest test.test_concurrent_futures.test_shutdown failed -- Traceback (most recent call last):\n File \"/home/freebsd/cpython/Lib/test/test_concurrent_futures/test_shutdown.py\", line 50, in test_interpreter_shutdown\n self.assertEqual(out.strip(), b\"apple\")\nAssertionError: b'' != b'apple'\n\n...\n..\n.\n\n== Tests result: FAILURE ==\n\n24 tests skipped:\n test.test_asyncio.test_windows_events\n test.test_asyncio.test_windows_utils test_ctypes test_dbm_gnu\n test_devpoll test_epoll test_idle test_ioctl test_launcher\n test_msvcrt test_perf_profiler test_perfmaps test_readline\n test_sqlite3 test_stable_abi_ctypes test_startfile test_tcl\n test_tkinter test_ttk test_ttk_textonly test_turtle\n test_winconsoleio test_winreg test_wmi\n\n8 tests skipped (resource denied):\n test_curses test_peg_generator test_smtpnet test_socketserver\n test_urllib2net test_urllibnet test_winsound test_zipfile64\n\n4 tests failed:\n test.test_concurrent_futures.test_shutdown\n test.test_gdb.test_backtrace test.test_gdb.test_misc\n test.test_gdb.test_pretty_print\n\n433 tests OK.\n\nTotal duration: 57 min 8 sec\nTotal tests: run=39,180 failures=7 skipped=1,476\nTotal test files: run=461/469 failed=4 skipped=24 resource_denied=8\nResult: FAILURE\n```\n\nEnvironment:\n```sh\nfreebsd@generic:~/cpython % uname -a\nFreeBSD generic 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC arm64\nfreebsd@generic:~/cpython % \n```\n\n\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nOther","author":{"url":"https://github.com/furkanonder","@type":"Person","name":"furkanonder"},"datePublished":"2023-11-30T01:47:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/112542/cpython/issues/112542"}
| 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:7c7c40d0-ee8a-0824-9229-ca1097c34ebf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9EDA:374780:4CA207:677CF7:696AAAA9 |
| html-safe-nonce | ee3331f060b9e89728152728b950af7fd985998a3867465f3b3e8d84f7c13b19 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RURBOjM3NDc4MDo0Q0EyMDc6Njc3Q0Y3OjY5NkFBQUE5IiwidmlzaXRvcl9pZCI6IjkxNDI3NDA4NjA5MzM5NDE5MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1f598a36877a5058189e83376a2a3ea008829bcbbec316898f51bac12c643914 |
| hovercard-subject-tag | issue:2017719152 |
| 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/112542/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6a27f85d2e4058611455dde94a8f5860ffd3651ec1b0c36a5b12f5dc9d6563d9/python/cpython/issues/112542 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a27f85d2e4058611455dde94a8f5860ffd3651ec1b0c36a5b12f5dc9d6563d9/python/cpython/issues/112542 |
| og:image:alt | Bug report Bug description: Bug report Bug description: Configuration: ./configure --with-pydebug Test Output: (full-test-output.txt) freebsd@generic:~/cpython % ./python -m test -j2 == CPython 3.1... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | furkanonder |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3eaf9b8cf1badcd7041a8ad480b9d9b28bea0ef1cc821ca9ff20f2cc7f4fe4b9 |
| 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 | dd9a979046e6382bd084e2bd873bf65f797125ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width