project_browser_test.time service tests fail on 10.3

Created on 29 May 2024, 6 months ago
Updated 1 June 2024, 6 months ago

Problem/Motivation

We have some incoming issues for Drupal 10.3. Every test that hits project_browser_test.time service is failing with:

Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "project_browser_test.time", path: "session -> session_manager -> project_browser_test.time -> state -> cache.bootstrap -> cache.backend.database".

   │
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:149
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:438
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:239
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:179
   │ /var/www/html/web/core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php:98
   │ /var/www/html/web/core/lib/Drupal/Core/Cache/CacheFactory.php:110
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:257
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:179
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:438
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:239
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:179
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:438
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:239
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:179
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:438
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:239
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:179
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:438
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:239
   │ /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:179
   │ /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php:1003
   │ /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php:849
   │ /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleInstaller.php:622
   │ /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleInstaller.php:248
   │ /var/www/html/web/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php:83
   │ /var/www/html/web/core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php:500
   │ /var/www/html/web/core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php:81
   │ /var/www/html/web/core/tests/Drupal/Tests/BrowserTestBase.php:575
   │ /var/www/html/web/core/tests/Drupal/Tests/BrowserTestBase.php:370
   │ /var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
   │

Steps to reproduce

  1. Setup with https://github.com/ddev/ddev-drupal-contrib
  2. Change to 10.3 in config.contrib.yaml
  3. ddev restart
  4. ddev poser (I hack this command, adding composer info to confirm I'm getting the Drupal version i want.
  5. ddev phpunit

Proposed resolution

📌 Task
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇦🇺Australia sime Melbourne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024