Skip to content

Known Test Repository Issue Sometimes Misses Test Failures #6411

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 Repository Step Name Console log Pull Request
1580188 dotnet/maui Controls (vlatest) Editor,Effects,Essentials,FlyoutPage,Focus,Fonts,Frame,Gestures,GraphicsView Log
1577231 dotnet/maui Provision SDK & Build BuildTasks Log
1571247 dotnet/runtime Build product Log
1568617 dotnet/sdk 🟣 Run NativeAOT CLI Tests Log dotnet/sdk#55938
1555580 dotnet/aspnetcore Run build.sh Log
1552964 dotnet/maui Controls ScrollView Log
1550096 dotnet/aspnetcore Run build.sh Log dotnet/aspnetcore#68329
1539846 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#131829
Build Repository Test Pull Request
1580831 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1580135 dotnet/runtime System.Net.WebSockets.Client.Tests.ConnectTest_SharedHandler_Loopback.ConnectAndCloseAsync_UseProxyServer_ExpectedClosedState dotnet/runtime#133133
1580155 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1579251 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1578769 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1578399 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_SslProtocols_Test.GetAsync_AllowedSSLVersion_Succeeds
1578024 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1577670 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1577926 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.CommonTemplatesTests.FeaturesSupport dotnet/sdk#56094
1577825 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1577668 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1577496 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable dotnet/runtime#132932
1577349 dotnet/sdk Microsoft.NET.Build.Containers.UnitTests.dll.2.WorkItemExecution dotnet/sdk#56081
1576881 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1576293 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1575919 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable dotnet/runtime#132872
1575896 dotnet/sdk Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewDetailsTest.CanDisplayDetails_InstalledPackage_OtherFeed dotnet/sdk#56012
1575442 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1574568 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1573573 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1570973 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1570294 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1570317 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_SslProtocols_Test.GetAsync_AllowedSSLVersion_Succeeds
1570314 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1563754 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1563522 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1563512 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1563356 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable dotnet/runtime#132649
1562367 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1561613 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1560940 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1559984 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1559365 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1558953 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1553449 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ServerCertificates_Test.UseCallback_BadCertificate_ExpectedPolicyErrors
1553450 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_DangerousAcceptAllCertificatesValidator_Test.InvalidCertificateServers_CertificateValidationDisabled_Succeeds
1552117 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable dotnet/runtime#132274
1552139 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1551997 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1551567 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1551570 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1551205 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1551332 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1550103 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1549807 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1549825 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1549173 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1548975 dotnet/sdk Microsoft.NET.Build.Containers.UnitTests.dll.2.WorkItemExecution dotnet/sdk#55724
1548269 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1546438 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.AutomaticOrManual_DoesntFailRegardlessOfWhetherClientCertsAreAvailable
1546713 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1546477 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1546872 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1546590 dotnet/runtime System.Net.Http.Functional.Tests.SyncHttpHandler_HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly
1546583 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_DangerousAcceptAllCertificatesValidator_Test.InvalidCertificateServers_CertificateValidationDisabled_Succeeds
1546582 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_DangerousAcceptAllCertificatesValidator_Test.InvalidCertificateServers_CertificateValidationDisabled_Succeeds
1546596 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly
1545135 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1544923 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1544242 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_SetAutomaticDecompression_ContentDecompressed_Deflate
1544136 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1543206 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1539402 dotnet/sdk Microsoft.NET.Build.Containers.UnitTests.dll.2.WorkItemExecution dotnet/sdk#55212
1541064 dotnet/runtime IntrinsicsInSystemPrivateCoreLib.Tests.WorkItemExecution dotnet/runtime#131209
1541178 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution
1539770 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
5 23 74

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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