dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.95k stars 4.65k forks source link

Means to construct a repro environment (e.g. a local Hyper-V, an Azure VM) based on the Helix configuration #45701

Open trylek opened 3 years ago

trylek commented 3 years ago

Initial cost estimate: 4 weeks Initial contacts: @MattGal, @trylek, @tommcdon

One of top developer-reported pain points is the inability to locally reproduce a Helix work item. This issue tracks the design and implementation of a scheme bridging this gap. It will likely require cooperation from the core-eng team. The design may include one or more of the following options:

  1. Providing a script / link for installation of a local Hyper-V VM with the appropriate configuration;

  2. Providing a script / link for allocation and configuration of an Azure VM with the appropriate configuration - needs clarification w.r.t. Azure machine budget;

  3. Detailing machine configuration somewhere in the AzDO test results and / or in the test logs;

  4. Providing means to redirect the test results to a suitable location during local execution (as opposed to upload to Azure in case of test runs on Helix clients).

tommcdon commented 3 years ago

@agocke

lukas-lansky commented 3 years ago

With regards to 2, HelixReproVMs DevTest Lab can be already used to create Helix machines from the same VHD that is being used in CI:

image

What's missing is the ability to easily re-run an existing Helix job. Core-eng provided Repro Tool in the past, but for some reasons I'm not totally familiar with it's no longer available.