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
1197912 dotnet/runtime Send tests to Helix (Unix) Log
1197893 dotnet/runtime Send to Helix (Unix) Log dotnet/runtime#120987
1197888 dotnet/runtime Send to Helix (Unix) Log dotnet/runtime#121468
1197874 dotnet/sdk 🟣 Run TestBuild Tests Log dotnet/sdk#50684
1197858 dotnet/runtime Send to Helix (Unix) Log dotnet/runtime#121450
1197840 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121443
1197830 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121464
1197817 dotnet/runtime Send to Helix Log
2834254 dotnet-runtime Send to Helix Log
1197801 dotnet/runtime Send to Helix Log
1197802 dotnet/runtime Send tests to Helix (Unix) Log
1197803 dotnet/runtime Send tests to Helix (Unix) Log
1197784 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#116203
1197791 dotnet/runtime Send tests to Helix (Unix) Log
1197746 dotnet/runtime Send to Helix Log dotnet/runtime#117788
1197737 dotnet/runtime Send to Helix Log dotnet/runtime#121458
1197745 dotnet/sdk 🟣 Run TestBuild Tests Log dotnet/sdk#50684
1197727 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121460
1197723 dotnet/runtime Send to Helix (Unix) Log dotnet/runtime#121450
1197686 dotnet/runtime Send to Helix (Unix) Log dotnet/runtime#120987
1197665 dotnet/sdk 🟣 Run TestBuild Tests Log dotnet/sdk#51624
1197656 dotnet/runtime Send tests to Helix (Unix) Log
1197708 dotnet/sdk 🟣 Run AoT Tests Log dotnet/sdk#51635
1197707 dotnet/sdk 🟣 Run AoT Tests Log dotnet/sdk#51567
1197698 dotnet/sdk Run Tests in Helix Log dotnet/sdk#51634
1197702 dotnet/sdk Run AoT Tests in Helix Log dotnet/sdk#51407
1197635 dotnet/runtime Send to Helix (Unix) Log dotnet/runtime#121396
1197446 dotnet/runtime Send to Helix Log dotnet/runtime#121457
1197618 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121435
1197638 dotnet/runtime Send to Helix Log dotnet/runtime#121456
1197662 dotnet/sdk Run AoT Tests in Helix Log
1197557 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#117788
1197563 dotnet/runtime Send to Helix Log dotnet/runtime#121458
1197487 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121453
1197501 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#119432
1197576 dotnet/sdk Run AoT Tests Log dotnet/sdk#51607
1197573 dotnet/sdk Run AoT Tests in Helix Log
1197482 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121443
1197568 dotnet/sdk 🟣 Run TestBuild Tests Log dotnet/sdk#51376
1197571 dotnet/sdk Run AoT Tests in Helix Log
1197477 dotnet/runtime Send tests to Helix (Unix) Log
1197572 dotnet/sdk Run AoT Tests in Helix Log
1197519 dotnet/runtime Send to Helix Log dotnet/runtime#121456
1197465 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121050
1197409 dotnet/runtime Send to Helix Log
1197542 dotnet/sdk Run AoT Tests in Helix Log dotnet/sdk#51628
1197534 dotnet/sdk 🟣 Run TestBuild Tests Log dotnet/sdk#51624
1197395 dotnet/runtime Send to Helix Log dotnet/runtime#121427
1197513 dotnet/sdk Run AoT Tests in Helix Log dotnet/sdk#51626
1197408 dotnet/runtime Send tests to Helix (Unix) Log
1197432 dotnet/runtime Send to Helix (Unix) Log dotnet/runtime#121450
1197086 dotnet/runtime Send to Helix Log dotnet/runtime#118957
1197493 dotnet/sdk Run TestBuild Tests Log dotnet/sdk#51621
1197399 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121316
1197388 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121412
1197431 dotnet/sdk Run AoT Tests Log dotnet/sdk#51558
1197382 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121318
1197375 dotnet/runtime Send to Helix (Unix) Log
1197426 dotnet/machinelearning Run Helix Tests Log
1197381 dotnet/runtime Send to Helix (Unix) Log
1197328 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121432
1197354 dotnet/runtime Send to Helix (Unix) Log dotnet/runtime#121427
1197337 dotnet/runtime Send to Helix (Unix) Log dotnet/runtime#121083
1197318 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121418
1197361 dotnet/sdk Run AoT Tests Log dotnet/sdk#51558
1197280 dotnet/runtime Send to Helix Log dotnet/runtime#121449
1197246 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121355
1197262 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#120980
1197332 dotnet/sdk 🟣 Run AoT Tests Log dotnet/sdk#51620
1197255 dotnet/runtime Send to Helix Log dotnet/runtime#121111
1197232 dotnet/runtime Send tests to Helix (Unix) Log
1197105 dotnet/runtime Send to Helix Log dotnet/runtime#121446
1197236 dotnet/runtime Send to Helix Log dotnet/runtime#121411
1197288 dotnet/sdk 🟣 Run TestBuild Tests Log dotnet/sdk#51571
2833841 dotnet-dotnet-monitor Build Log
2833839 dotnet-sdk Run Tests in Helix Log #54880
2833837 dotnet-sdk Run Tests in Helix Log #54878
1197190 dotnet/runtime Send to Helix (Unix) Log dotnet/runtime#121450
2833838 dotnet-sdk Run Tests in Helix Log #54879
1197205 dotnet/runtime Send to Helix (Unix) Log dotnet/runtime#112876
1196841 dotnet/runtime Send tests to Helix (Unix) Log
1196413 dotnet/machinelearning Run Helix Tests Log dotnet/machinelearning#7542
1197231 dotnet/sdk Run Tests in Helix Log dotnet/sdk#51618
1197150 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121360
1197217 dotnet/sdk 🟣 Run AoT Tests Log dotnet/sdk#51612
1197157 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121363
1196709 dotnet/runtime Send to Helix Log dotnet/runtime#119432
1197174 dotnet/sdk 🟣 Run AoT Tests Log dotnet/sdk#51462
1194639 dotnet/sdk 🟣 Run TestBuild Tests Log dotnet/sdk#51571
1197079 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121448
1196959 dotnet/runtime Send to Helix Log dotnet/runtime#115335
1197057 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#121444
1197051 dotnet/runtime Send to Helix (Unix) Log dotnet/runtime#121443
1197038 dotnet/runtime Send to Helix (Unix) Log dotnet/runtime#121380
1196824 dotnet/runtime Send to Helix Log
1197033 dotnet/runtime Send to Helix Log dotnet/runtime#119255
1196998 dotnet/runtime Send to Helix (Unix) Log dotnet/runtime#121442
1196854 dotnet/runtime Send to Helix Log
1196912 dotnet/sdk Run AoT Tests Log dotnet/sdk#51611
1196921 dotnet/runtime Send to Helix Log
Displaying 100 of 174 results
Build Definition Test Pull Request
1197822 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1197810 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_Success
1197674 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51462
1197700 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51565
1197678 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51632
1197590 dotnet/roslyn workitem_7.WorkItemExecution
1197569 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51458
1197544 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51630
1197365 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51621
1197438 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51622
1197398 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51612
1197114 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51612
1197078 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51614
1197030 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51609
1196926 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1196931 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.Public_Interop_ExactVersion_BufferContent_Success
1196834 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51376
1196832 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51564
1196597 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51604
1196621 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51606
1196524 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51567
1196590 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51603
1196459 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51473
1196358 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#51558
1196426 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewSearchTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed dotnet/sdk#50468
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
62 200 200

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