Skip to content

[wip] ignore 2603 ci empty - #34726

Closed
maflcko wants to merge 2 commits into
bitcoin:masterfrom
maflcko:2603-ci-empty
Closed

maflcko wants to merge 2 commits into
bitcoin:masterfrom
maflcko:2603-ci-empty

Conversation

@maflcko

@maflcko maflcko commented Mar 3, 2026

Copy link
Copy Markdown
Member

No description provided.

@maflcko
maflcko marked this pull request as draft March 3, 2026 21:54
@DrahtBot

DrahtBot commented Mar 3, 2026 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
Stale ACK furszy

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #32297 (bitcoin-cli: Add -ipcconnect option by ryanofsky)
  • #32061 (Replace libevent with our own HTTP and socket-handling implementation by pinheadmz)
  • #31723 (qa: Facilitate debugging bitcoind inside functional tests by hodlinator)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

LLM Linter (✨ experimental)

Possible typos and grammar issues:

  • #'p2p_orphan_handling.py' -> # 'p2p_orphan_handling.py' [Missing space after # makes the commented-out line harder to read/identify as a comment.]

  • will never time out. -> will never timeout. [Typographic inconsistency in the compound noun; “timeout” is the standard form for the concept referenced.]

2026-03-26 16:46:45

@furszy

furszy commented Mar 4, 2026 •

Copy link
Copy Markdown
Member

ACK de71c9adfb777d3bbfc7b88e06f2f61db0030bf8

Changes look clearly good to me.

@fanquake

fanquake commented Mar 9, 2026

Copy link
Copy Markdown
Member

Still using this?

@maflcko
maflcko force-pushed the 2603-ci-empty branch 2 times, most recently from 23e73c4 to 3c4c81c Compare March 11, 2026 15:54
@maflcko

maflcko commented Mar 11, 2026

Copy link
Copy Markdown
Member Author

Funny, how the bug goes away when logging is added?

@maflcko maflcko closed this Mar 11, 2026
@maflcko maflcko reopened this Mar 11, 2026
@maflcko maflcko closed this Mar 12, 2026
@maflcko maflcko reopened this Mar 12, 2026
@maflcko
maflcko force-pushed the 2603-ci-empty branch 2 times, most recently from 0f2f993 to 25d5816 Compare March 13, 2026 06:50
@maflcko

maflcko commented Mar 13, 2026

Copy link
Copy Markdown
Member Author

No idea. Giving up for now.

@maflcko

maflcko commented Mar 13, 2026

Copy link
Copy Markdown
Member Author

hmm, let's try docker

@maflcko maflcko reopened this Mar 13, 2026
@maflcko
maflcko force-pushed the 2603-ci-empty branch 3 times, most recently from 30d5c7a to 70eae8f Compare March 13, 2026 20:15
@maflcko

maflcko commented Mar 25, 2026

Copy link
Copy Markdown
Member Author

I was thinking one of the upstream CVE fixes broke this? Though, none of them hit Ubuntu 24.04, so maybe not?

python3.14 (3.14.0-1ubuntu0.3) questing-security; urgency=medium

  * SECURITY REGRESSION: Revert patch for CVE-2025-15366
    - debian/patches/CVE-2025-15366.patch: Reverted. Patch breaks RFC
      9051 IMAP conformance and introduces behavior regressions avoided
      by upstream.
    - CVE-2025-15366
  * SECURITY REGRESSION: Revert patch for CVE-2025-15367
    - debian/patches/CVE-2025-15367.patch: Reverted to prevent behavior
      regressions, aligning with upstream backporting decisions.
    - CVE-2025-15367
  * SECURITY REGRESSION: Allow HTAB in wsgiref header values
    - debian/patches/CVE-2026-0865-2.patch: Permit HTAB in header values
      (excluding names) in Lib/wsgiref/headers.py, add test coverage.
    - CVE-2026-0865 

 -- Vyom Yadav <[email protected]>  Tue, 03 Mar 2026 18:06:02 +0530

python3.14 (3.14.0-1ubuntu0.2) questing-security; urgency=medium

  * SECURITY UPDATE: Header injection in email messages where addresses are not
    sanitized.
    - debian/patches/CVE-2025-11468.patch: Add escape parentheses and backslash
      in Lib/email/_header_value_parser.py. Add test in
      Lib/test/test_email/test__header_value_parser.py.
    - CVE-2025-11468
  * SECURITY UPDATE: Quadratic algorithm when building excessively nested XML
    documents.
    - debian/patches/CVE-2025-12084-*.patch: Remove _in_document and replace
      with node.ownerDocument in Lib/xml/dom/minidom.py. Set self.ownerDocument
      to None in Lib/xml/dom/minidom.py. Add test in Lib/test/test_minidom.py.
    - CVE-2025-12084
  * SECURITY UPDATE: OOM and denial of service when opening malicious plist
    file.
    - debian/patches/CVE-2025-13837.patch: Add _MIN_READ_BUF_SIZE and _read
      with checks in Lib/plistlib.py. Add test in Lib/test/test_plistlib.py.
    - CVE-2025-13837
  * SECURITY UPDATE: Header injection in user controlled data URLs in urllib.
    - debian/patches/CVE-2025-15282.patch: Add control character checks in
      Lib/urllib/request.py. Add test in Lib/test/test_urllib.py.
  * SECURITY UPDATE: Command injection through user controlled commands in
    imaplib.
    - debian/patches/CVE-2025-15366.patch: Add _control_chars and checks in
      Lib/imaplib.py. Add test in Lib/test/test_imaplib.py.
  * SECURITY UPDATE: Command injection through user controlled commands in
    poplib.
    - debian/patches/CVE-2025-15367.patch: Add control character regex check
      in Lib/poplib.py. Add test in Lib/test/test_poplib.py.
    - CVE-2025-15367
  * SECURITY UPDATE: HTTP header injection in user controlled cookie values.
    - debian/patches/CVE-2026-0672.patch: Add _control_characters_re and
      checks in Lib/http/cookies.py. Add test in Lib/test/test_http_cookies.py.
    - CVE-2026-0672
  * SECURITY UPDATE: HTTP header injection in user controlled headers and
    values with newlines.
    - debian/patches/CVE-2026-0865.patch: Add _control_chars_re and check in
      Lib/wsgiref/headers.py. Add test in Lib/test/support/__init__.py and
      Lib/test/test_wsgiref.py.
    - CVE-2026-0865

 -- Hlib Korzhynskyy <[email protected]>  Thu, 22 Jan 2026 16:10:43 -0330

python3.14 (3.14.0-1ubuntu0.1) questing-security; urgency=medium

  * SECURITY UPDATE: HTTP Content-Length denial of service
    - debian/patches/CVE-2025-13836.patch: Read large data in chunks with
      geometric reads in Lib/http/client.py and add tests in 
      Lib/test/test_httplib.py
    - CVE-2025-13836

 -- Vyom Yadav <[email protected]>  Thu, 08 Jan 2026 19:50:58 +0530

@maflcko

maflcko commented Mar 25, 2026

Copy link
Copy Markdown
Member Author

Confirm a forth time that the issue really is inside the python ppa ...

Ok, that failed again.

Let's try python3.13=3.13.7-1 from

python3.13 (3.13.7-1ubuntu0.4) questing-security; urgency=medium

  * SECURITY REGRESSION: Revert patch for CVE-2025-15366
    - debian/patches/CVE-2025-15366.patch: Reverted. Patch breaks RFC
      9051 IMAP conformance and introduces behavior regressions avoided
      by upstream.
    - CVE-2025-15366
  * SECURITY REGRESSION: Revert patch for CVE-2025-15367
    - debian/patches/CVE-2025-15367.patch: Reverted to prevent behavior
      regressions, aligning with upstream backporting decisions.
    - CVE-2025-15367
  * SECURITY REGRESSION: Allow HTAB in wsgiref header values
    - debian/patches/CVE-2026-0865-2.patch: Permit HTAB in header values
      (excluding names) in Lib/wsgiref/headers.py, add test coverage.
    - CVE-2026-0865

 -- Vyom Yadav <[email protected]>  Tue, 03 Mar 2026 17:49:54 +0530

python3.13 (3.13.7-1ubuntu0.3) questing-security; urgency=medium

  * SECURITY UPDATE: Header injection in email messages where addresses are not
    sanitized.
    - debian/patches/CVE-2025-11468.patch: Add escape parentheses and backslash
      in Lib/email/_header_value_parser.py. Add test in
      Lib/test/test_email/test__header_value_parser.py.
    - CVE-2025-11468
  * SECURITY UPDATE: Quadratic algorithm when building excessively nested XML
    documents.
    - debian/patches/CVE-2025-12084-*.patch: Remove _in_document and replace
      with node.ownerDocument in Lib/xml/dom/minidom.py. Set self.ownerDocument
      to None in Lib/xml/dom/minidom.py. Add test in Lib/test/test_minidom.py.
    - CVE-2025-12084
  * SECURITY UPDATE: OOM and denial of service when opening malicious plist
    file.
    - debian/patches/CVE-2025-13837.patch: Add _MIN_READ_BUF_SIZE and _read
      with checks in Lib/plistlib.py. Add test in Lib/test/test_plistlib.py.
    - CVE-2025-13837
  * SECURITY UPDATE: Header injection in user controlled data URLs in urllib.
    - debian/patches/CVE-2025-15282.patch: Add control character checks in
      Lib/urllib/request.py. Add test in Lib/test/test_urllib.py.
  * SECURITY UPDATE: Command injection through user controlled commands in
    imaplib.
    - debian/patches/CVE-2025-15366.patch: Add _control_chars and checks in
      Lib/imaplib.py. Add test in Lib/test/test_imaplib.py.
  * SECURITY UPDATE: Command injection through user controlled commands in
    poplib.
    - debian/patches/CVE-2025-15367.patch: Add control character regex check
      in Lib/poplib.py. Add test in Lib/test/test_poplib.py.
    - CVE-2025-15367
  * SECURITY UPDATE: HTTP header injection in user controlled cookie values.
    - debian/patches/CVE-2026-0672.patch: Add _control_characters_re and
      checks in Lib/http/cookies.py. Add test in Lib/test/test_http_cookies.py.
    - CVE-2026-0672
  * SECURITY UPDATE: HTTP header injection in user controlled headers and
    values with newlines.
    - debian/patches/CVE-2026-0865.patch: Add _control_chars_re and check in
      Lib/wsgiref/headers.py. Add test in Lib/test/support/__init__.py and
      Lib/test/test_wsgiref.py.
    - CVE-2026-0865

 -- Hlib Korzhynskyy <[email protected]>  Thu, 22 Jan 2026 16:45:57 -0330

python3.13 (3.13.7-1ubuntu0.2) questing-security; urgency=medium

  * SECURITY UPDATE: HTTP Content-Length denial of service
    - debian/patches/CVE-2025-13836.patch: Read large data in chunks with
      geometric reads in Lib/http/client.py and add tests in 
      Lib/test/test_httplib.py
    - CVE-2025-13836

 -- Vyom Yadav <[email protected]>  Thu, 08 Jan 2026 17:45:45 +0530

python3.13 (3.13.7-1ubuntu0.1) questing-security; urgency=medium

  * SECURITY UPDATE: Possible payload obfuscation
    - debian/patches/CVE-2025-8291.patch: check consistency of
      the zip64 end of central dir record in Lib/zipfile.py,
      Lib/test/test_zipfile.py.
    - CVE-2025-8291
  * SECURITY UPDATE: Performance degradation
    - debian/patches/CVE-2025-6075.patch: fix quadratic complexity
      in os.path.expandvars() in Lib/ntpatch.py, Lib/posixpath.py,
      Lib/test/test_genericpatch.py, Lib/test/test_npath.py.
    - CVE-2025-6075

 -- Hlib Korzhynskyy <[email protected]>  Mon, 24 Nov 2025 17:21:28 -0330

python3.13 (3.13.7-1) unstable; urgency=medium

  * Python 3.13.7.
  * Patch: Use a list for epub_exclude_files in Sphinx config.

 -- Stefano Rivera <[email protected]>  Thu, 21 Aug 2025 00:17:40 +0200

@maflcko

maflcko commented Mar 25, 2026

Copy link
Copy Markdown
Member Author

@maflcko

maflcko commented Mar 25, 2026

Copy link
Copy Markdown
Member Author

ok, I guess this will be passing. I'll apply the CVE patch fix next ...

@maflcko
maflcko force-pushed the 2603-ci-empty branch 2 times, most recently from c264e57 to 3020bce Compare March 25, 2026 13:53
@maflcko
maflcko force-pushed the 2603-ci-empty branch 2 times, most recently from 6d49052 to fb6c959 Compare March 25, 2026 20:10
@maflcko

maflcko commented Mar 25, 2026

Copy link
Copy Markdown
Member Author

Hmm, so the first patch passed ...

Let's go back to 7c01ca981d4f9c725dd6d00116aa18b86ac3984b and try to reduce the runtime a bit.

@maflcko
maflcko force-pushed the 2603-ci-empty branch 2 times, most recently from 57ff350 to 8448687 Compare March 26, 2026 07:11
@maflcko

maflcko commented Mar 26, 2026

Copy link
Copy Markdown
Member Author

I don't understand why it passed with the CVE patch applied, this means the patch is not relevant here, and some other ppa patch is relevant, but which one? Let's try the CVE patch again, but --reverse ...

Edit: That also fails, So I guess I am either applying the patch incorrectly, or it is unrelated ...

@maflcko
maflcko force-pushed the 2603-ci-empty branch 3 times, most recently from 5124179 to 12b3a4c Compare March 26, 2026 12:09

@rkrux rkrux left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice customisation of the testing job.
nproc is 8 and 16 tests are run in parallel, 9600 p2p_orphan_handling tests are run in total.

Sharing observations from the tcpdump: The last run was on the 207th iteration of the test and it failed at 12:23:33 but the first "win 0" occurred 30secs earlier at 12:23:03, 11 secs after the start of the test. The connection started degrading 30secs earlier.

Comment thread depends/patches/libevent/a.patch Outdated
Comment on lines +9 to +12
+ if (req->ntoread > 0) {
+ /* We are ready to read the body. */
+ usleep(5000); // Sleep for 5 milliseconds
+ }

@rkrux rkrux Mar 26, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does sleeping the server (libevent to be precise) before reading help?

])
a = [
'p2p_orphan_handling.py',
] * (num_procs * 2 * 2 * 60 * 5)
run([
sys.executable,
f"./{build_dir}/test/functional/test_runner.py",
"-j",
str(num_procs * 2),

@rkrux rkrux Mar 26, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this job tests multiple commits (although sequentially I assume) and I noted that in the 4-5 failures attached in the issue, the failure occurred at any commit. It's only in this customised job I noted it to fail in the first commit itself.

Do you think experimenting with num_procs // 2 for the "test ancestor commits" job would help? Overall the job will be slower though.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants