Skip to content

[3.13] Disable inputrc in test_pyrepl basic REPL output test (GH-157827) - #157938

Merged
zware merged 1 commit into
python:3.13from
miss-islington:backport-d5dede7-3.13
Sep 22, 2026
Merged

zware merged 1 commit into
python:3.13from
miss-islington:backport-d5dede7-3.13

Conversation

@miss-islington

Copy link
Copy Markdown
Contributor

Specifically, test_no_newline would fail if the user's ~/.inputrc
sets editing-mode vi, which adds (ins) for "insert mode" to the
beginning of the prompt.
(cherry picked from commit d5dede7)

Co-authored-by: Zachary Ware zach@python.org

Specifically, `test_no_newline` would fail if the user's `~/.inputrc`
sets `editing-mode vi`, which adds `(ins)` for "insert mode" to the
beginning of the prompt.
(cherry picked from commit d5dede7)

Co-authored-by: Zachary Ware <zach@python.org>
@bedevere-app bedevere-app Bot added tests Tests in the Lib/test dir awaiting review labels Sep 22, 2026
@zware
zware enabled auto-merge (squash) September 22, 2026 02:04
@zware
zware merged commit 546687f into python:3.13 Sep 22, 2026
45 checks passed
@miss-islington
miss-islington deleted the backport-d5dede7-3.13 branch September 22, 2026 02:27
@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 Arch Linux Asan 3.13 (tierless) has failed when building commit 546687f.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1464/builds/1285) and take a look at the build logs.
  4. Check if the failure is related to this commit (546687f) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1464/builds/1285

Failed tests:

  • test_io

Failed subtests:

  • test_daemon_threads_shutdown_stderr_deadlock - test.test_io.CMiscIOTest.test_daemon_threads_shutdown_stderr_deadlock
  • test_daemon_threads_shutdown_stdout_deadlock - test.test_io.CMiscIOTest.test_daemon_threads_shutdown_stdout_deadlock

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):
  File "/buildbot/buildarea/3.13.pablogsal-arch-x86_64.asan/build/Lib/test/test_io.py", line 4821, in test_daemon_threads_shutdown_stderr_deadlock
    self.check_daemon_threads_shutdown_deadlock('stderr')
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/buildbot/buildarea/3.13.pablogsal-arch-x86_64.asan/build/Lib/test/test_io.py", line 4811, in check_daemon_threads_shutdown_deadlock
    self.assertFalse(err.strip('.!'))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
AssertionError: '=================================================================\n==1244942==ERROR: AddressSanitizer: heap-use-after-free on address 0x7c7dcea52898 at pc 0x56362e3d1046 bp 0x7b4dcc7fe080 sp 0x7b4dcc7fe070\nREAD of size 8 at 0x7c7dcea52898 thread T1\n' is not false


Traceback (most recent call last):
  File "/buildbot/buildarea/3.13.pablogsal-arch-x86_64.asan/build/Lib/test/test_io.py", line 4816, in test_daemon_threads_shutdown_stdout_deadlock
    self.check_daemon_threads_shutdown_deadlock('stdout')
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/buildbot/buildarea/3.13.pablogsal-arch-x86_64.asan/build/Lib/test/test_io.py", line 4811, in check_daemon_threads_shutdown_deadlock
    self.assertFalse(err.strip('.!'))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
AssertionError: '=================================================================\n==1244948==ERROR: AddressSanitizer: heap-use-after-free on address 0x7cf97ce52898 at pc 0x559ed33b4046 bp 0x7bc97abfe080 sp 0x7bc97abfe070\nREAD of size 8 at 0x7cf97ce52898 thread T1\n' is not false


Traceback (most recent call last):
  File "/buildbot/buildarea/3.13.pablogsal-arch-x86_64.asan/build/Lib/test/test_io.py", line 4821, in test_daemon_threads_shutdown_stderr_deadlock
    self.check_daemon_threads_shutdown_deadlock('stderr')
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/buildbot/buildarea/3.13.pablogsal-arch-x86_64.asan/build/Lib/test/test_io.py", line 4811, in check_daemon_threads_shutdown_deadlock
    self.assertFalse(err.strip('.!'))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
AssertionError: '=================================================================\n==1267247==ERROR: AddressSanitizer: heap-use-after-free on address 0x7cd81f852898 at pc 0x560bdc68a046 bp 0x7ba81d5fe080 sp 0x7ba81d5fe070\nREAD of size 8 at 0x7cd81f852898 thread T1\n' is not false

@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 Arch Linux Asan 3.13 (tierless) has failed when building commit 546687f.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1464/builds/1286) and take a look at the build logs.
  4. Check if the failure is related to this commit (546687f) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1464/builds/1286

Failed tests:

  • test_io

Failed subtests:

  • test_daemon_threads_shutdown_stderr_deadlock - test.test_io.CMiscIOTest.test_daemon_threads_shutdown_stderr_deadlock

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):
  File "/buildbot/buildarea/3.13.pablogsal-arch-x86_64.asan/build/Lib/test/test_io.py", line 4821, in test_daemon_threads_shutdown_stderr_deadlock
    self.check_daemon_threads_shutdown_deadlock('stderr')
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/buildbot/buildarea/3.13.pablogsal-arch-x86_64.asan/build/Lib/test/test_io.py", line 4811, in check_daemon_threads_shutdown_deadlock
    self.assertFalse(err.strip('.!'))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
AssertionError: '=================================================================\n==1564511==ERROR: AddressSanitizer: heap-use-after-free on address 0x7c70b7252898 at pc 0x562b37ffe046 bp 0x7b40b4ffe080 sp 0x7b40b4ffe070\nREAD of size 8 at 0x7c70b7252898 thread T1\n' is not false


Traceback (most recent call last):
  File "/buildbot/buildarea/3.13.pablogsal-arch-x86_64.asan/build/Lib/test/test_io.py", line 4821, in test_daemon_threads_shutdown_stderr_deadlock
    self.check_daemon_threads_shutdown_deadlock('stderr')
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/buildbot/buildarea/3.13.pablogsal-arch-x86_64.asan/build/Lib/test/test_io.py", line 4811, in check_daemon_threads_shutdown_deadlock
    self.assertFalse(err.strip('.!'))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
AssertionError: '=================================================================\n==1559781==ERROR: AddressSanitizer: heap-use-after-free on address 0x7c90cde52898 at pc 0x5587cc41f046 bp 0x7b60cbbfe080 sp 0x7b60cbbfe070\nREAD of size 8 at 0x7c90cde52898 thread T1\n' is not false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issue skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants