Skip to content

Create multi job helix project to support multiple test modes on CI #36215

Open

Description

@steveisok

As discussed in #35568 (review), we need to construct a multi job helix project that calls into sendtohelix.proj with different variables and in parallel.

A good example for this approach would be the mono interpreter. Since it is built within every mono runtime, it can be enabled with the --interpreter parameter. It would be wasteful of CI resources to do this independently of a regular mono test run, so shuffling different parameters into sendtohelix.proj would do the trick.

On the yml side, we would need to trigger the multi job helix project:

steps:
- script: ${{ parameters.msbuildScript }}
$(Build.SourcesDirectory)/src/libraries/sendtohelix.proj
/t:test
/p:RuntimeFlavor=${{ parameters.runtimeFlavor }}
/p:TargetArchitecture=${{ parameters.archGroup }}
/p:Configuration=${{ parameters.configuration }}
/p:TargetOS=${{ parameters.targetOS }}
/p:TestScope=${{ parameters.testScope }}
/p:TestRunNamePrefixSuffix=${{ parameters.testRunNamePrefixSuffix }}
/p:HelixBuild=$(Build.BuildNumber)
/p:Creator=${{ parameters.creator }}
${{ parameters.extraHelixArguments }}
/bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/SendToHelix.binlog

And then within the multi job helix project, we would shuffle different parameters to sendtohelix.proj as it exists today.

Activity

  1. added
    area-Infrastructure-coreclr
    untriaged
    on May 11, 2020
  2. added and removed
    area-Infrastructure-coreclr
    untriaged
    on May 11, 2020
  3. added this to the 5.0 milestone on May 11, 2020
  4. ViktorHofer commented on Jul 27, 2020

    @ViktorHofer
    Member

    I believe the tracking work is already implemented. cc @safern

  5. safern commented on Jul 27, 2020

    @safern
    Member

    The work to achieve this is already implemented, however we still need to move interpreter leg to the regular leg and use that mechanism still.

  6. steveisok commented on Jul 27, 2020

    @steveisok
    MemberAuthor
  7. ViktorHofer commented on Jul 30, 2020

    @ViktorHofer
    Member

    @steveisok moving to infrastructure-mono as the remaining work is updating the interpreter leg to use the new mechanism.

  8. modified the milestones: 5.0.0, 6.0.0 on Aug 14, 2020
  9. modified the milestones: 6.0.0, 7.0.0 on Jul 26, 2021
  10. modified the milestones: 7.0.0, Future on Jul 25, 2022
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