localgov icon indicating copy to clipboard operation
localgov copied to clipboard

LocalGovUpdateTest fails without returning an error

Open stephen-cox opened this issue 7 months ago • 2 comments

Not sure what's going wrong here as the failure message is a bit cryptic:

Testing /app/web/profiles/contrib/localgov
.F                                                                  2 / 2 (100%)

Time: 00:52.130, Memory: 18.68 MB

There was 1 failure:

1) Drupal\Tests\localgov\Functional\LocalGovUpdateTest::testUpdate
Test was run in child process and ended unexpectedly

/app/vendor/phpunit/phpunit/src/Framework/TestSuite.php:685
/app/vendor/phpunit/phpunit/src/Framework/TestSuite.php:685
/app/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
/app/vendor/phpunit/phpunit/src/TextUI/Command.php:146
/app/vendor/phpunit/phpunit/src/TextUI/Command.php:99

stephen-cox avatar May 23 '25 11:05 stephen-cox

Flagging this as a blocker to a stable Drupal 11 release. While it effects both Drupal 10 and 11, we're not able to automatically test the upgrade between the two with this test not running.

stephen-cox avatar May 23 '25 14:05 stephen-cox

I saw an error where the stack size limit is exceeded I wonder if it's the same.

PHP Fatal error: Maximum call stack size of 8339456 bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reached during compilation. Try splitting expression in /var/www/html/web/profiles/contrib/localgov/tests/fixtures/localgov-2.3.20.php.gz on line 159086

tonypaulbarker avatar Jul 22 '25 08:07 tonypaulbarker