Skip to content

Issues with build instrumentation in CDash 5.3.0 #3945

Description

@ngladitz

Bug report

I wanted to give CTEST_USE_INSTRUMENTATION and CTEST_USE_VERBOSE_INSTRUMENTATION a try but ran into multiple issues.

I use the Ninja generator and CMake 4.4.2. CDash is currently at 5.3.0.

Build submissions with CTEST_USE_INSTRUMENTATION and CTEST_USE_VERBOSE_INSTRUMENTATION result in empty build columns on the dashboard. I see this on macOS, Linux and Windows.

In the log file I found entries similar to:

[2026-08-24 09:47:35] production.INFO: XML validation failed for file Foo_-__-_7724ada3-31b7-4f40-ac98-fbb0c92661f5_-_6b4407ef6a792a913bead5ccf50666c0.xml.  Accepted submission anyway.  
[2026-08-24 09:47:40] production.WARNING: Failed to process Foo_-__-_7724ada3-31b7-4f40-ac98-fbb0c92661f5_-_6b4407ef6a792a913bead5ccf50666c0.xml with message: PDOException: SQLSTATE[23502]: Not null violation: 7 ERROR:  null value in column "value" of relation "buildmeasurements" violates not-null constraint

Presumably CMake rather than CDash issue but on Windows with MSVC I additionally notice that the build xml file captured a lot of warnings similar to:

[CTest: warning matched] Note: including file:c:\foo\bar.h

i.e. /showIncludes output that presumably should have been filtered out.
Might be related to also using CTest launchers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions