PHPUnit job hangs as of update to PHPUnit 11.5.29
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3540591. --> Reported by: [jcandan](https://www.drupal.org/user/1831444) Related to !391 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>As of the recent <a href="https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.29">release of PHPUnit 11.5.29</a>, <code>phpunit</code> jobs fail due to timeout.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>See <a href="https://git.drupalcode.org/groups/project/-/merge_requests/?sort=updated_desc&amp;state=opened">Merge Requests</a> after its release, Aug 9, 2025, 3:13 AM EDT.</p> <p>Observe most of the failures are due to hitting the 1 hour timeout.</p> <p>Examples:</p> <p><a href="https://git.drupalcode.org/issue/htmx-3540479/-/jobs/6159888">https://git.drupalcode.org/issue/htmx-3540479/-/jobs/6159888</a><br> <a href="https://git.drupalcode.org/issue/media_gallery-3539899/-/jobs/6159729">https://git.drupalcode.org/issue/media_gallery-3539899/-/jobs/6159729</a><br> <a href="https://git.drupalcode.org/project/display_builder/-/jobs/6159721">https://git.drupalcode.org/project/display_builder/-/jobs/6159721</a><br> <a href="https://git.drupalcode.org/project/config_overlay/-/jobs/6158274">https://git.drupalcode.org/project/config_overlay/-/jobs/6158274</a></p> <p>However, here is an outlier:</p> <p>A job that passed <code>phpunit</code> after the release:</p> <p><a href="https://git.drupalcode.org/issue/mastodon_api-3540097/-/jobs/6159841">https://git.drupalcode.org/issue/mastodon_api-3540097/-/jobs/6159841</a></p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>I've opened <a href="https://github.com/sebastianbergmann/phpunit/issues/6304">https://github.com/sebastianbergmann/phpunit/issues/6304</a>.</p> <p>However, I am unable to reproduce this issue with vanilla PHP. This might be coming from up the chain in Drupal.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <ul> <li>Review and document the outlier, passing job.</li> <li>TBD</li> </ul>
issue