OpenTelemetryNodePagePerformanceTest random failure

Created on 30 August 2025, about 1 month ago

Problem/Motivation

https://git.drupalcode.org/project/drupal/-/jobs/6367323

We occasionally execute 3 less database queries on the cold cache request than are in the assertions, looks like about 1/4 of test runs.

If we added specific query assertions we could find out which queries that is, but 458 queries is a lot to assert, so I think we should quick-fix this with a range and maybe open another issue to add specific query assertions, see if we can find out what the difference is in an MR.

1) Drupal\Tests\demo_umami\FunctionalJavascript\OpenTelemetryNodePagePerformanceTest::testNodePage
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
 Array &0 [
-    'QueryCount' => 458,
+    'QueryCount' => 455,
     'CacheSetCount' => 441,
     'CacheDeleteCount' => 0,
     'CacheTagLookupQueryCount' => 43,
/builds/project/drupal/core/tests/Drupal/Tests/PerformanceTestTrait.php:689
/builds/project/drupal/core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryNodePagePerformanceTest.php:64

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component

phpunit

Created by

πŸ‡¬πŸ‡§United Kingdom catch

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