Repository navigation
Use helix job monitor #84810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use helix job monitor #84810
Changes from 7 commits
6ac3357
1211117
a2e5f09
b1959af
e032e62
cb06955
19d201c
86d3b6a
e6f7116
db47dc0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,6 +37,8 @@ pr: | |
| - '*.md' | ||
|
|
||
| variables: | ||
| - template: /eng/common/templates/variables/pool-providers.yml | ||
|
|
||
| # This value is conditionally overriden by the variable group DotNet-HelixApi-Access. | ||
| # ADO only lets us conditionally include a variable group on individual stages. | ||
| - name: HelixApiAccessToken | ||
|
|
@@ -199,7 +201,7 @@ stages: | |
| name: 'Managed' | ||
| container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9' | ||
|
|
||
| - stage: Windows_Debug_Desktop | ||
| - stage: Windows_Debug_Tests | ||
| dependsOn: Windows_Debug_Build | ||
| variables: | ||
| - ${{ if ne(variables['System.TeamProject'], 'public') }}: | ||
|
|
@@ -216,53 +218,6 @@ stages: | |
| helixApiAccessToken: $(HelixApiAccessToken) | ||
| poolParameters: ${{ parameters.windowsPool }} | ||
|
|
||
| - stage: Windows_Release_Desktop | ||
| dependsOn: Windows_Release_Build | ||
| variables: | ||
| - ${{ if ne(variables['System.TeamProject'], 'public') }}: | ||
| - group: DotNet-HelixApi-Access | ||
| jobs: | ||
| - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}: | ||
| - template: eng/pipelines/test-windows-job.yml | ||
| parameters: | ||
| testRunName: 'Test Windows Desktop Release 32' | ||
| jobName: Test_Windows_Desktop_Release_32 | ||
| testArtifactName: Transport_Artifacts_Windows_Release | ||
| configuration: Release | ||
| testArguments: -testDesktop -testArch x86 | ||
| helixQueueName: $(HelixWindowsVsQueueName) | ||
| helixApiAccessToken: $(HelixApiAccessToken) | ||
| poolParameters: ${{ parameters.windowsPool }} | ||
|
|
||
| - template: eng/pipelines/test-windows-job.yml | ||
| parameters: | ||
| testRunName: 'Test Windows Desktop Release 64' | ||
| jobName: Test_Windows_Desktop_Release_64 | ||
| testArtifactName: Transport_Artifacts_Windows_Release | ||
| configuration: Release | ||
| testArguments: -testDesktop -testArch x64 | ||
| helixQueueName: $(HelixWindowsVsQueueName) | ||
| helixApiAccessToken: $(HelixApiAccessToken) | ||
| poolParameters: ${{ parameters.windowsPool }} | ||
|
|
||
| - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}: | ||
| - template: eng/pipelines/test-windows-job.yml | ||
| parameters: | ||
| testRunName: 'Test Windows Desktop Spanish Release 64' | ||
| jobName: Test_Windows_Desktop_Spanish_Release_64 | ||
| testArtifactName: Transport_Artifacts_Windows_Release | ||
| configuration: Release | ||
| testArguments: -testDesktop -testArch x64 | ||
| helixQueueName: $(HelixWindowsSpanishQueueName) | ||
| helixApiAccessToken: $(HelixApiAccessToken) | ||
| poolParameters: ${{ parameters.windowsPool }} | ||
|
|
||
| - stage: Windows_Debug_CoreClr | ||
| dependsOn: Windows_Debug_Build | ||
| variables: | ||
| - ${{ if ne(variables['System.TeamProject'], 'public') }}: | ||
| - group: DotNet-HelixApi-Access | ||
| jobs: | ||
| - template: eng/pipelines/test-windows-job.yml | ||
| parameters: | ||
| testRunName: 'Test Windows CoreClr Debug' | ||
|
|
@@ -331,12 +286,51 @@ stages: | |
| helixApiAccessToken: $(HelixApiAccessToken) | ||
| poolParameters: ${{ parameters.windowsPool }} | ||
|
|
||
| - stage: Windows_Release_CoreClr | ||
| - template: /eng/common/core-templates/job/helix-job-monitor.yml | ||
| parameters: | ||
| helixAccessToken: $(HelixApiAccessToken) | ||
|
|
||
| - stage: Windows_Release_Tests | ||
| dependsOn: Windows_Release_Build | ||
| variables: | ||
| - ${{ if ne(variables['System.TeamProject'], 'public') }}: | ||
| - group: DotNet-HelixApi-Access | ||
| jobs: | ||
| - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}: | ||
| - template: eng/pipelines/test-windows-job.yml | ||
| parameters: | ||
| testRunName: 'Test Windows Desktop Release 32' | ||
| jobName: Test_Windows_Desktop_Release_32 | ||
| testArtifactName: Transport_Artifacts_Windows_Release | ||
| configuration: Release | ||
| testArguments: -testDesktop -testArch x86 | ||
| helixQueueName: $(HelixWindowsVsQueueName) | ||
| helixApiAccessToken: $(HelixApiAccessToken) | ||
| poolParameters: ${{ parameters.windowsPool }} | ||
|
|
||
| - template: eng/pipelines/test-windows-job.yml | ||
| parameters: | ||
| testRunName: 'Test Windows Desktop Release 64' | ||
| jobName: Test_Windows_Desktop_Release_64 | ||
| testArtifactName: Transport_Artifacts_Windows_Release | ||
| configuration: Release | ||
| testArguments: -testDesktop -testArch x64 | ||
| helixQueueName: $(HelixWindowsVsQueueName) | ||
| helixApiAccessToken: $(HelixApiAccessToken) | ||
| poolParameters: ${{ parameters.windowsPool }} | ||
|
|
||
| - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}: | ||
| - template: eng/pipelines/test-windows-job.yml | ||
| parameters: | ||
| testRunName: 'Test Windows Desktop Spanish Release 64' | ||
| jobName: Test_Windows_Desktop_Spanish_Release_64 | ||
| testArtifactName: Transport_Artifacts_Windows_Release | ||
| configuration: Release | ||
| testArguments: -testDesktop -testArch x64 | ||
| helixQueueName: $(HelixWindowsSpanishQueueName) | ||
| helixApiAccessToken: $(HelixApiAccessToken) | ||
| poolParameters: ${{ parameters.windowsPool }} | ||
|
|
||
| - template: eng/pipelines/test-windows-job.yml | ||
| parameters: | ||
| testRunName: 'Test Windows CoreClr Release' | ||
|
|
@@ -348,6 +342,10 @@ stages: | |
| helixApiAccessToken: $(HelixApiAccessToken) | ||
| poolParameters: ${{ parameters.windowsPool }} | ||
|
|
||
| - template: /eng/common/core-templates/job/helix-job-monitor.yml | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So we must have one monitor leg per one stage?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will continue to offer us the ability to initiate a retry earlier for shorter stages. Retries are performed by rerunning the monitor job which then retries only the failed work items. David did combine some small stages where it made sense.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Makes sense but I think the main motivation for the monitor job is to save CI resources, so one job would do that better. I guess it's a tradeoff. (Also the monitor job only retries the actually failed work item so it will already be so much faster to retry failed jobs than what we have now.)
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah - and the arcade implementation requires a monitor per stage. So I merged a few stages where it made sense. We now have just two windows stages (tied to the build debug or release) |
||
| parameters: | ||
| helixAccessToken: $(HelixApiAccessToken) | ||
|
|
||
| - stage: Unix_Debug_CoreClr | ||
| dependsOn: Unix_Build | ||
| variables: | ||
|
|
@@ -392,6 +390,10 @@ stages: | |
| helixApiAccessToken: $(HelixApiAccessToken) | ||
| poolParameters: ${{ parameters.ubuntuPool }} | ||
|
|
||
| - template: /eng/common/core-templates/job/helix-job-monitor.yml | ||
| parameters: | ||
| helixAccessToken: $(HelixApiAccessToken) | ||
|
|
||
| - stage: Correctness | ||
| dependsOn: [] | ||
| jobs: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.