Skip to content

Crash during dotnet test with runner version 2.331.0 #13544

@vbreuss

Description

@vbreuss

Description

I suddenly started experiencing crashes when using dotnet test on Github Actions (see this build run with runner image 2.331.0):

  04:59:12 [DBG] Test run for /Users/runner/work/Mockolate/Mockolate/Tests/Mockolate.Tests/bin/Release/net10.0/Mockolate.Tests.dll (.NETCoreApp,Version=v10.0)
  04:59:12 [DBG] VSTest version 18.0.1 (arm64)
  04:59:12 [DBG] 
  04:59:12 [DBG] Starting test execution, please wait...
  04:59:12 [DBG] A total of 1 test files matched the specified pattern.
  Error: The active test run was aborted. Reason: Test host process crashed
  04:59:12 [ERR] The active test run was aborted. Reason: Test host process crashed
  04:59:12 [DBG] Results File: /Users/runner/work/Mockolate/Mockolate/TestResults/Mockolate.Tests_net10.0.trx
  04:59:12 [DBG] 
  04:59:12 [DBG] Passed!  - Failed:     0, Passed:   685, Skipped:     0, Total:   685, Duration: 617 ms - Mockolate.Tests.dll (net10.0)
  Error: Test Run Aborted.
  04:59:12 [ERR] Test Run Aborted.

The same commit built successfully with runner image 2.330.0

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • Ubuntu Slim
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • macOS 26 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

Current runner version: '2.331.0'
Runner Image Provisioner
Hosted Compute Agent
Version: 20260115.477
Commit: 4b342d620503cbe250a3154040964899ea7c9b00
Build Date: 2026-01-15T22:32:41Z
Worker ID: {eaadfa3a-d2c8-4894-9d06-6e74ce7f53eb}
Azure Region: westus

https://github.com/aweXpect/Mockolate/actions/runs/21039675822

Is it regression?

20251211.462, https://github.com/aweXpect/Mockolate/actions/runs/20919069303

Expected behavior

The build should succeed

Actual behavior

The test process crashes (The active test run was aborted. Reason: Test host process crashed)

Repro steps

Run any build on the Mockolate repository

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