PHPUnit job hangs as of update to PHPUnit 11.5.29
Problem/Motivation
As of the recent release of PHPUnit 11.5.29, phpunit jobs fail due to timeout.
Steps to reproduce
See Merge Requests after its release, Aug 9, 2025, 3:13 AM EDT.
Observe most of the failures are due to hitting the 1 hour timeout.
Examples:
https://git.drupalcode.org/issue/htmx-3540479/-/jobs/6159888
https://git.drupalcode.org/issue/media_gallery-3539899/-/jobs/6159729
https://git.drupalcode.org/project/display_builder/-/jobs/6159721
https://git.drupalcode.org/project/config_overlay/-/jobs/6158274
However, here is an outlier:
A job that passed phpunit after the release:
https://git.drupalcode.org/issue/mastodon_api-3540097/-/jobs/6159841
Proposed resolution
I've opened https://github.com/sebastianbergmann/phpunit/issues/6304.
However, I am unable to reproduce this issue with vanilla PHP. This might be coming from up the chain in Drupal.
Remaining tasks
- Review and document the outlier, passing job.
- TBD