Re: [Django] #36678: Infinite retries in parallel test runner if _init_worker fails

10 views
Skip to first unread message

Django

unread,
Oct 21, 2025, 6:15:42 PM10/21/25
to django-...@googlegroups.com
#36678: Infinite retries in parallel test runner if _init_worker fails
-----------------------------------+---------------------------------------
Reporter: Jacob Walls | Owner: Jacob Walls
Type: Bug | Status: assigned
Component: Testing framework | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+---------------------------------------
Changes (by Jacob Walls):

* has_patch: 0 => 1

Comment:

[https://github.com/django/django/pull/19983 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/36678#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Oct 21, 2025, 6:17:05 PM10/21/25
to django-...@googlegroups.com
#36678: Infinite retries in parallel test runner if _init_worker fails
-----------------------------------+---------------------------------------
Reporter: Jacob Walls | Owner: Jacob Walls
Type: Bug | Status: assigned
Component: Testing framework | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+---------------------------------------
Changes (by Simon Charette):

* stage: Unreviewed => Accepted

--
Ticket URL: <https://code.djangoproject.com/ticket/36678#comment:3>

Django

unread,
Oct 21, 2025, 6:22:17 PM10/21/25
to django-...@googlegroups.com
#36678: Infinite retries in parallel test runner if _init_worker fails
-----------------------------------+---------------------------------------
Reporter: Jacob Walls | Owner: Jacob Walls
Type: Bug | Status: assigned
Component: Testing framework | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-----------------------------------+---------------------------------------
Changes (by Jacob Walls):

* needs_better_patch: 0 => 1

Comment:

Need to tack back toward an earlier approach that tracked the origin of
the failure in `_init_worker` to avoid introducing an arbitrary time limit
on tests.
--
Ticket URL: <https://code.djangoproject.com/ticket/36678#comment:4>

Django

unread,
Oct 21, 2025, 7:11:43 PM10/21/25
to django-...@googlegroups.com
#36678: Infinite retries in parallel test runner if _init_worker fails
-----------------------------------+---------------------------------------
Reporter: Jacob Walls | Owner: Jacob Walls
Type: Bug | Status: assigned
Component: Testing framework | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+---------------------------------------
Changes (by Jacob Walls):

* needs_better_patch: 1 => 0

--
Ticket URL: <https://code.djangoproject.com/ticket/36678#comment:5>

Django

unread,
Oct 24, 2025, 4:19:50 PM10/24/25
to django-...@googlegroups.com
#36678: Infinite retries in parallel test runner if _init_worker fails
-----------------------------------+---------------------------------------
Reporter: Jacob Walls | Owner: Jacob Walls
Type: Bug | Status: assigned
Component: Testing framework | Version: dev
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+---------------------------------------
Changes (by Jacob Walls):

* severity: Normal => Release blocker

Comment:

I think we need to handle this before 6.0 final since while this was only
a theoretical failure point before, #36083 is going to make this a
realistic vector for errors.
--
Ticket URL: <https://code.djangoproject.com/ticket/36678#comment:6>

Django

unread,
Oct 29, 2025, 8:10:33 AM10/29/25
to django-...@googlegroups.com
#36678: Infinite retries in parallel test runner if _init_worker fails
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: Jacob
| Walls
Type: Bug | Status: assigned
Component: Testing framework | Version: dev
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):

* stage: Accepted => Ready for checkin

--
Ticket URL: <https://code.djangoproject.com/ticket/36678#comment:7>

Django

unread,
Oct 29, 2025, 8:11:44 AM10/29/25
to django-...@googlegroups.com
#36678: Infinite retries in parallel test runner if _init_worker fails
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: Jacob
| Walls
Type: Bug | Status: closed
Component: Testing framework | Version: dev
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by nessita <124304+nessita@…>):

* resolution: => fixed
* status: assigned => closed

Comment:

In [changeset:"1aa69a7491ce7f7f1f164a26a3dfaaa1aeeab217" 1aa69a7]:
{{{#!CommitTicketReference repository=""
revision="1aa69a7491ce7f7f1f164a26a3dfaaa1aeeab217"
Fixed #36678 -- Limited retries in ParallelTestRunner.

Thanks Natalia Bidart for the review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36678#comment:8>

Django

unread,
Oct 29, 2025, 8:12:42 AM10/29/25
to django-...@googlegroups.com
#36678: Infinite retries in parallel test runner if _init_worker fails
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: Jacob
| Walls
Type: Bug | Status: closed
Component: Testing framework | Version: dev
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Natalia <124304+nessita@…>):

In [changeset:"69386758efaae997bc3fc5b8de0e742033fec662" 6938675]:
{{{#!CommitTicketReference repository=""
revision="69386758efaae997bc3fc5b8de0e742033fec662"
[6.0.x] Fixed #36678 -- Limited retries in ParallelTestRunner.

Thanks Natalia Bidart for the review.

Backport of 1aa69a7491ce7f7f1f164a26a3dfaaa1aeeab217 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36678#comment:9>
Reply all
Reply to author
Forward
0 new messages