From 56447f11613484098764a811eb9a1ba2991a48a0 Mon Sep 17 00:00:00 2001 From: Max Charlamb Date: Thu, 26 Feb 2026 13:17:33 -0500 Subject: [PATCH] Workaround PublishTestResults v2.270.0 xUnit dot-parsing bug Override AllowPtrToDetectTestRunRetryFiles to false at the job level for the cDAC and DAC jobs, as recommended by the Azure Pipelines team in microsoft/azure-pipelines-tasks#21871 (comment). The variable is set to true by the shared Arcade job template (eng/common/core-templates/job/job.yml). Setting it to false via jobParameters.variables overrides that default and restores v2.262.0 behavior where parameterized test names containing dots (e.g. 'projectk.sdk.prebuilt.cdac.10.0.2') are not incorrectly split into hierarchy fragments. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- eng/pipelines/runtime-diagnostics.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/eng/pipelines/runtime-diagnostics.yml b/eng/pipelines/runtime-diagnostics.yml index b67d6987ea80a1..bc6069d0fffeaa 100644 --- a/eng/pipelines/runtime-diagnostics.yml +++ b/eng/pipelines/runtime-diagnostics.yml @@ -85,6 +85,12 @@ extends: isOfficialBuild: ${{ variables.isOfficialBuild }} liveRuntimeDir: $(Build.SourcesDirectory)/artifacts/runtime timeoutInMinutes: 360 + # Workaround: microsoft/azure-pipelines-tasks#21871 + # PublishTestResults v2.270.0 garbles parameterized xUnit test names containing dots. + # Unsetting this feature flag restores v2.262.0 behavior until a permanent fix ships. + variables: + - name: AllowPtrToDetectTestRunRetryFiles + value: false dependsOn: - build_windows_x64_release_AllSubsets_CoreCLR preBuildSteps: @@ -133,6 +139,10 @@ extends: isOfficialBuild: ${{ variables.isOfficialBuild }} liveRuntimeDir: $(Build.SourcesDirectory)/artifacts/runtime timeoutInMinutes: 360 + # Workaround: microsoft/azure-pipelines-tasks#21871 + variables: + - name: AllowPtrToDetectTestRunRetryFiles + value: false dependsOn: - build_windows_x64_release_AllSubsets_CoreCLR preBuildSteps: