Skip to content

Known Test Repository Issue Sometimes Misses Test Failures #6411

@nagilson

Description

@nagilson

Build

https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1196220

Build leg reported

Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.BasicTest

Pull Request

dotnet/sdk#51591

Known issue core information

Fill out the known issue JSON section by following the step by step documentation on how to create a known issue

 {
    "ErrorMessage" : "The SSL connection",
    "BuildRetry": false,
    "ErrorPattern": "",
    "ExcludeConsoleLog": false
 }

So, I believe there is an issue with the known issue flagger, where it is failing to mark certain failures as known, even if they are a known issue. Please let me know if I am mistaken.

Here's the issue:
Looking at this image, this test was not considered a known issue:
https://github.com/dotnet/sdk/pull/51591/checks?check_run_id=54740778719

Image

I believe that, because it's showing as a test failure, and other similar test failures are counted in the above section:

Image

Furthermore, it appeared to be blocking build-analysis from being green.

Here's such an example of 1 of several 'known issues' that flag this issue:
#5015
dotnet/sdk#51574
#6410

As you can see in, #51574 looks for the string "The SSL connection could not be established" as a ErrorMessage which is supposed to use String.Contains. The test, however, that I think was not flagged as a 'known issue', did indeed have that error message string. It looks like some were flagged, while others were not. Here's the output of that 'unknown' test failure:

Expected command to exit with 0 but it did not.\nFile Name: /Users/runner/work/1/s/artifacts/bin/redist/Release/dotnet/dotnet\nArguments: new console --search --debug:custom-hive /Users/runner/work/1/s/artifacts/tmp/Release/dotnet-new.IntegrationTests/SharedHomeDirectory/20251106211951401\nExit Code: 103\nStdOut:\nWarning: use of 'dotnet new --search' is deprecated. Use 'dotnet new search' instead.\nFor more information, run: \n   dotnet new search -h\n\nSearching for the templates...\nStdErr:\nMatches from template source: NuGet.org\nSearch failed: Failed to update search cache. (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.)\n\nFor details on the exit code, refer to https://aka.ms/templating-exit-codes#103\n [[Full log]](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1196220&view=ms.vss-test-web.build-test-results-tab&runId=33106418&resultId=100166&paneView=debug)

While there may be a confounding variable in that there are now several known issues which are tracking substrings of each other, or may overlap, the whole reason there are multiple in the first place is because the first existing known test repository issue did not flag all of the tests which failed with the known issue.

Could this alternatively be a limitation of:

  1. A limit of how many tests can be flagged as a known issue for the same known issue
  2. A different 'failing configuration' which causes issues to be missed?
  3. A misunderstanding of which strings get searched? Note that I believe the error is also in the 'helix logs'.
  4. A failure of my own accord to file the known issue? @dotnet/dnceng

Release Note Category

  • Feature changes/additions
  • Bug fixes
  • Internal Infrastructure Improvements

Release Note Description

Additional information about the issue reported

No response

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1196220
Error message validated: [The SSL Connection C]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 11/6/2025 10:39:11 PM UTC

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1196220
Error message validated: [The SSL connection]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/6/2025 10:42:09 PM UTC

Report

Build Definition Step Name Console log Pull Request
1196423 dotnet/machinelearning Build Log dotnet/machinelearning#7543
1196398 dotnet/aspnetcore Run build.sh Log dotnet/aspnetcore#64262
1196235 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121356
1196186 dotnet/runtime Send to Helix (Unix) Log dotnet/runtime#121417
1196168 dotnet/runtime Send tests to Helix (Unix) Log
Build Definition Test Pull Request
1196358 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51558
1196220 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51591

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
7 7 7

Report

Build Definition Step Name Console log Pull Request
1233693 dotnet/maui 🛠️ Build Microsoft.Maui.sln Log
1229346 dotnet/maui Run Helix Tests Log dotnet/maui#33109
1226023 dotnet/sdk 🟣 Build Log dotnet/sdk#52038
2852422 dotnet-dotnet Build Log
Build Definition Test Pull Request
1237351 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#52242
1238014 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51765
1237835 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51158
1237683 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#50314
1233645 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.DoNotShowDeprecationMessage_WhenNewCommandIsUsed dotnet/sdk#52226
1233219 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51307
1233129 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#52046
1232948 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#52180
1232839 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#52176
1232758 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.DoNotShowDeprecationMessage_WhenNewCommandIsUsed dotnet/sdk#52157
1232580 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#52176
1232708 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#52135
1232579 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#52175
1232586 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#52053
1232584 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51934
1232542 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#52022
1232360 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#52170
1232072 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#52164
1231187 dotnet/aspire Aspire.Templates.Tests.BuildAndRunStarterTemplateBuiltInTest.Aspire.Templates.Tests.BuildAndRunStarterTemplateBuiltInTest.BuildAndRunStarterTemplateBuiltInTest_Test
1230519 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.DoNotShowDeprecationMessage_WhenNewCommandIsUsed dotnet/sdk#51934
1230508 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.DoNotShowDeprecationMessage_WhenNewCommandIsUsed dotnet/sdk#52152
1230492 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.DoNotShowDeprecationMessage_WhenNewCommandIsUsed dotnet/sdk#52137
1226948 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1223692 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1223681 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1222854 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1222694 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1221118 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#52013
1220169 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1220161 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1220166 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1219876 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1219636 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
2852861 dotnet-sdk Microsoft.NET.Build.Containers.UnitTests.dll.2.WorkItemExecution #55756
1218559 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1218552 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1218352 dotnet/sdk Microsoft.NET.Build.Containers.UnitTests.dll.2.WorkItemExecution dotnet/sdk#51985
1217561 dotnet/sdk Microsoft.NET.Build.Containers.UnitTests.dll.2.WorkItemExecution dotnet/sdk#51910
1217659 dotnet/sdk Microsoft.NET.Build.Containers.UnitTests.dll.2.WorkItemExecution dotnet/sdk#51908
1217080 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1217088 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1216781 dotnet/sdk Microsoft.NET.Build.Containers.UnitTests.dll.2.WorkItemExecution dotnet/sdk#51910
1216353 dotnet/sdk Microsoft.NET.Build.Containers.UnitTests.dll.2.WorkItemExecution dotnet/sdk#51891
1216377 dotnet/sdk Microsoft.NET.Build.Containers.UnitTests.dll.2.WorkItemExecution dotnet/sdk#51956
1216137 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1216133 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1215666 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1215665 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1215368 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1214886 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1214885 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1214884 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1214227 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1214213 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1213751 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1213362 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1213365 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1213361 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1212975 dotnet/sdk Microsoft.NET.Build.Containers.UnitTests.dll.2.WorkItemExecution dotnet/sdk#51915
1212269 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 4 64

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