◐ Shell
reader mode source ↗
Skip to content

gh-101100: Fix sphinx warnings in library/asyncio-subprocess.rst#130994

Merged
kumaraditya303 merged 1 commit into
mainfrom
unknown repository
Mar 10, 2025
Merged

gh-101100: Fix sphinx warnings in library/asyncio-subprocess.rst#130994
kumaraditya303 merged 1 commit into
mainfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Mar 9, 2025

Copy link
Copy Markdown

Fixed some links to refer to the correct targets with the appropriate prefix.


📚 Documentation preview 📚: https://cpython-previews--130994.org.readthedocs.build/

@kumaraditya303 kumaraditya303 enabled auto-merge (squash) March 10, 2025 12:38
@kumaraditya303 kumaraditya303 merged commit 7cc99a5 into python:main Mar 10, 2025
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Mar 10, 2025
@ghost ghost deleted the doc-fix-5 branch March 10, 2025 13:08
@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot aarch64 Fedora Stable Refleaks 3.x (tier-2) has failed when building commit 7cc99a5.

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/123/builds/795) and take a look at the build logs.
  4. Check if the failure is related to this commit (7cc99a5) 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/123/builds/795

Failed tests:

  • test_perf_profiler

Failed subtests:

  • test_python_calls_appear_in_the_stack_if_perf_activated - test.test_perf_profiler.TestPerfProfilerWithDwarf.test_python_calls_appear_in_the_stack_if_perf_activated

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

==

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/Lib/test/test_perf_profiler.py", line 364, in test_python_calls_appear_in_the_stack_if_perf_activated
    self.assertIn(f"py::foo:{script}", stdout)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'py::foo:/tmp/test_python_8acj39x1/tmpkooxxyh3/perftest.py' not found in 'python 2851493 474278.762661:          1 cycles:Pu: \n\t    ffffb325cac0 _start+0x0 (/usr/lib/ld-linux-aarch64.so.1)\n\npython 2851493 474278.762684:          1 cycles:Pu: \n\tffffc95efcdffc78 [unknown] ([unknown])\n\tffffc95efce0049c [unknown] ([unknown])\n\tffffc95efb9a15e4 [unknown] ([unknown])\n\t    ffffb325cac0 _start+0x0 (/usr/lib/ld-linux-aarch64.so.1)\n\npython 2851493 474278.763075:          1 cycles:Pu: \n\t    ffffb325fd14 __memset_generic+0x114 (inlined)\n\t    ffffb32480db <invalid>+0x3fb (inlined)\n\t    ffffb32480db _dl_map_object_from_fd+0x3fb (/usr/lib/ld-linux-aarch64.so.1)\n\t    ffffb3249133 _dl_map_object+0x1e7 (/usr/lib/ld-linux-aarch64.so.1)\n\t    ffffb32445bf openaux+0x3f (/usr/lib/ld-linux-aarch64.so.1)\n\t    ffffb3243303 _dl_catch_exception+0x63 (/usr/lib/ld-linux-aarch64.so.1)\n\t    ffffb3244b33 _dl_map_object_deps+0x553 (/usr/lib/ld-linux-aarch64.so.1)\n\t    ffffb325a19f dl_main+0x139f (/usr/lib/ld-linux-aarch64.so.1)\n\t    ffffb32575ff _dl_sysdep_start+0x1df (/usr/lib/ld-linux-aarch64.so.1)\n\t    ffffb3258b17 _dl_start_final+0x5ab (inlined)\n\t    ffffb3258b17 _dl_start+0x5ab (/usr/lib/ld-linux-aarch64.so.1)\n\t    ffffb325cad3 _start+0x13 (/usr/lib/ld-linux-aarch64.so.1)\n\npython 2851493 474278.763093:        302 cycles:Pu: \n\tffffc95efcdfff10 [unknown] ([unknown])\n\tffffc95efce004cc [unknown] ([unknown])\n\tffffc95efb9a15e4 [unknown] ([unknown])\n\t    ffffb325e628 <invalid>+0x28 (inlined)\n\t    ffffb325e628 mmap64+0x28 (/usr/lib/ld-linux-aarch64.so.1)\n\t    ffffb32486bf <invalid>+0x9df (inlined)\n\t    ffffb32486bf _dl_map_object_from_fd+0x9df (/usr/lib/ld-linux-aarch64.so.1)\n\t    ffffb3249133 _dl_map_object+0x1e7 (/usr/lib/ld-linux-aarch6
in+0xb (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t    ffffb2ff625b __libc_start_call_main+0x7b (/usr/lib64/libc.so.6)\n\t    ffffb2ff633b __libc_start_main@GLIBC_2.17+0x9b (inlined)\n\t          41efaf _start+0x2f (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\npython 2851493 474278.765248:     159809 cycles:Pu: \n\t          4b31b8 PyDescr_NewMethod+0x0 (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          535f0b type_add_method+0x103 (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          535fb3 type_add_methods+0x2b (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          536523 type_ready_fill_dict+0x1f (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          543a87 type_ready+0x93 (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          543d17 init_static_type+0x1a7 (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          543e0f _PyStaticType_InitBuiltin+0x23 (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          502bc7 _PyTypes_InitTypes+0xa7 (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          66885f pycore_init_types+0x1b (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          668e77 pycore_interp_init+0x10b (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          669073 pyinit_config+0xaf (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          6708d3 pyinit_core+0xdb (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          6709ab Py_InitializeFromConfig+0x97 (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          6a181f pymain_init+0xff (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          6a18ef pymain_main+0xf (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          6a1983 Py_BytesMain+0x27 (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          41f0b7 main+0xb (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t    ffffb2ff625b __libc_start_call_main+0x7b (/usr/lib64/libc.so.6)\n\t    ffffb2ff633b __libc_start_main@GLIBC_2.17+0x9b (inlined)\n\t          41efaf _start+0x2f (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\npython 2851493 474278.766748:    2858649 cycles:Pu: \n\t          51ead0 PyObject_Malloc+0x4 (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          538fe7 _PyObject_MallocWithType+0x63 (inlined)\n\t          538fe7 _PyType_AllocNoTrack+0x63 (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          5390bb PyType_GenericAlloc+0x13 (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          4b2197 descr_new+0x1f (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          4b33b3 PyDescr_NewWrapper+0x2b (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          5361bb add_operators+0x5f (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          536517 type_ready_fill_dict+0x13 (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          543a87 type_ready+0x93 (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          543d17 init_static_type+0x1a7 (/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/python)\n\t          543e0f _PyStaticType_InitBuiltin+0x23 (/home/buildbot/buildarea/3.x.cstratak-fedora-stabl


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.refleak/build/Lib/test/test_perf_profiler.py", line 362, in test_python_calls_appear_in_the_stack_if_perf_activated
    self.assertEqual(stderr, "")
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^
AssertionError: 'Warning:\nProcessed 574 events and lost 3[34 chars]\n\n' != ''
- Warning:
- Processed 574 events and lost 3 chunks!
- 
- Check IO/CPU overload!
- 

@miss-islington-app

Copy link
Copy Markdown

Thanks @koyuki7w for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Thanks @koyuki7w for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Sorry, @koyuki7w and @kumaraditya303, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 7cc99a54b755cc7cc0b3680fde7834cf612d4fbc 3.12

@miss-islington-app

Copy link
Copy Markdown

Sorry, @koyuki7w and @kumaraditya303, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 7cc99a54b755cc7cc0b3680fde7834cf612d4fbc 3.13

@hugovk

hugovk commented Mar 11, 2025

Copy link
Copy Markdown
Member

@koyuki7w Thanks for the PR! Please could you do the backports?

@bedevere-app

bedevere-app Bot commented Mar 11, 2025

Copy link
Copy Markdown

GH-131074 is a backport of this pull request to the 3.13 branch.

@bedevere-app

bedevere-app Bot commented Mar 11, 2025

Copy link
Copy Markdown

GH-131075 is a backport of this pull request to the 3.12 branch.

@ghost

ghost commented Mar 11, 2025

Copy link
Copy Markdown
Author

@hugovk Thanks, I've backported it now.

hugovk pushed a commit that referenced this pull request Mar 11, 2025
@bedevere-app

bedevere-app Bot commented Mar 11, 2025

Copy link
Copy Markdown

GH-131075 is a backport of this pull request to the 3.12 branch.

1 similar comment
@bedevere-app

bedevere-app Bot commented Mar 11, 2025

Copy link
Copy Markdown

GH-131075 is a backport of this pull request to the 3.12 branch.

hugovk pushed a commit that referenced this pull request Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants