Skip to content

[macOS 26] dotnet dev-certs fails to save HTTPS developer certificate in Helix #133435

Description

@lewing

Description

WASM Helix work items on osx.26.arm64.open intermittently fail during environment setup when dotnet dev-certs https cannot save the HTTPS developer certificate. The failure occurs before tests execute and has been observed on multiple machines and builds.

Reproduction Steps

Run a browser-wasm library test work item on the osx.26.arm64.open Helix queue. The failure is intermittent and has been confirmed in builds 1586491 and 1584957.

Expected behavior

dotnet dev-certs https completes successfully and the WASM test executes.

Actual behavior

+ dotnet dev-certs https
There was an error saving the HTTPS developer certificate to the current user personal certificate store.
+ export _commandExitCode=2

The subsequent missing xharness-event-processor.py message is secondary to the setup command exiting with code 2.

Regression?

Unknown.

Known Workarounds

Retrying is effective. In build 1584957, the affected work item passed after Helix resubmission.

Configuration

  • Queue: osx.26.arm64.open
  • Architecture: ARM64
  • Confirmed on dci-mac-build-462 running macOS 26.4 and dci-mac-build-480 running macOS 26.4.1
  • SDK: 11.0.100-rc.1.26420.103

Other information

This replaces dotnet/dnceng#6723 because the Known Build Error label and Build Analysis automation were unavailable there.

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1586491
Leg Name: browser-wasm osx Release LibraryTests_SmokeMac - osx.26.arm64.open

Also observed in https://dev.azure.com/dnceng-public/public/_build/results?buildId=1584957 on a different machine, where the affected work item passed after Helix resubmission.

Error Details

+ dotnet dev-certs https
There was an error saving the HTTPS developer certificate to the current user personal certificate store.
+ export _commandExitCode=2

Error Message

{
  "ErrorMessage": "There was an error saving the HTTPS developer certificate to the current user personal certificate store.",
  "BuildRetry": true,
  "ExcludeConsoleLog": false
}

Note

This issue was drafted and filed with GitHub Copilot.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1586491
Error message validated: [There was an error saving the HTTPS developer certificate to the current user personal certificate store.]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 9/8/2026 7:25:27 PM UTC

Report

Build Repository Test Pull Request
1628946 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Linq.Tests.WorkItemExecution
1628720 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Linq.Tests.WorkItemExecution
1628632 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution
1628467 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Tests.WorkItemExecution
1627706 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution
1626978 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Tests.WorkItemExecution
1626932 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution
1626490 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution
1626070 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution
1625681 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution
1625455 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution
1624585 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution
1622753 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution
1622122 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution
1621475 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution
1618762 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution
1615518 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution #130050
1615169 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution
1614394 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution
1614059 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution #130050
1613971 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Linq.Tests.WorkItemExecution
1612733 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Tests.WorkItemExecution
1611974 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution
1611907 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Linq.Tests.WorkItemExecution
1611548 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Tests.WorkItemExecution
1611331 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Tests.WorkItemExecution
1611296 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution
1611095 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution
1610317 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution
1609928 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution
1609313 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Linq.Tests.WorkItemExecution
1606964 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Linq.Tests.WorkItemExecution
1602939 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Tests.WorkItemExecution
1598865 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution
1598671 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Tests.WorkItemExecution #130050
1598095 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution
1596425 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution
1594788 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Intrinsics.Tests.WorkItemExecution
1593453 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Tests.WorkItemExecution
1591427 dotnet/runtime WasmTestOnChrome-MONO-ST-System.Runtime.Tests.WorkItemExecution #130050

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 13 40

Activity

  1. added
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Sep 8, 2026
  2. dotnet-policy-service commented on Sep 8, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @bartonjs, @vcsjones, @dotnet/area-system-security
    See info in area-owners.md if you want to be subscribed.

  3. removed
    untriagedNew issue has not been triaged by the area owner
    on Sep 9, 2026
  4. added this to the Future milestone on Sep 9, 2026
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions