Skip to content

Commit

Permalink
Define retries at crank worker level
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros authored Aug 2, 2023
1 parent f0e6721 commit c0498a0
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build/baselines-database-scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ steps:
- task: PublishToAzureServiceBus@1
condition: succeededOrFailed()
timeoutInMinutes: 10
retryCountOnTaskFailure: 1
displayName: "${{ s.displayName }} - ${{ b.displayName }}"
inputs:
connectedServiceName: ${{ parameters.connection }}
Expand All @@ -82,5 +81,6 @@ steps:
{
"name": "crank",
"condition": "(${{ parameters.condition }})",
"retries": 1,
"args": [ "${{ s.arguments }} ${{ b.arguments }} ${{ parameters.arguments }} $(azureProfile) --variable duration=30 --no-metadata --no-measurements --session $(session) --command-line-property --table BaselineBenchmarks --sql SQL_CONNECTION_STRING --chart" ]
}
2 changes: 1 addition & 1 deletion build/baselines-scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ steps:
- task: PublishToAzureServiceBus@1
condition: succeededOrFailed()
timeoutInMinutes: 10
retryCountOnTaskFailure: 1
displayName: "${{ s.displayName }} - ${{ b.displayName }}"
inputs:
connectedServiceName: ${{ parameters.connection }}
Expand All @@ -79,5 +78,6 @@ steps:
{
"name": "crank",
"condition": "(${{ parameters.condition }})",
"retries": 1,
"args": [ "${{ s.arguments }} ${{ b.arguments }} ${{ parameters.arguments }} $(azureProfile) --no-metadata --no-measurements --session $(session) --command-line-property --table BaselineBenchmarks --sql SQL_CONNECTION_STRING --chart" ]
}
2 changes: 1 addition & 1 deletion build/frameworks-database-scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ steps:
- task: PublishToAzureServiceBus@1
condition: succeededOrFailed()
displayName: ${{ s.displayName }}
retryCountOnTaskFailure: 1
inputs:
connectedServiceName: ${{ parameters.connection }}
waitForCompletion: true
Expand All @@ -59,5 +58,6 @@ steps:
{
"name": "crank",
"condition": "(${{ parameters.condition }})",
"retries": 1,
"args": [ "${{ s.arguments }} ${{ parameters.arguments }} --application.noClean true --no-metadata --no-measurements --session $(session) --description \"${{ s.displayName }} $(System.JobDisplayName)\" --property buildId=\"$(buildId)\" --property buildNumber=\"$(buildNumber)\" --command-line-property --table TrendBenchmarks --sql SQL_CONNECTION_STRING --chart" ]
}
2 changes: 1 addition & 1 deletion build/frameworks-scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ steps:
- task: PublishToAzureServiceBus@1
condition: succeededOrFailed()
displayName: ${{ s.displayName }}
retryCountOnTaskFailure: 1
inputs:
connectedServiceName: ${{ parameters.connection }}
waitForCompletion: true
Expand All @@ -74,5 +73,6 @@ steps:
{
"name": "crank",
"condition": "(${{ parameters.condition }})",
"retries": 1,
"args": [ "${{ s.arguments }} ${{ parameters.arguments }} --application.noClean true --no-metadata --no-measurements --session $(session) --description \"${{ s.displayName }} $(System.JobDisplayName)\" --property buildId=\"$(buildId)\" --property buildNumber=\"$(buildNumber)\" --command-line-property --table TrendBenchmarks --sql SQL_CONNECTION_STRING --chart" ]
}
1 change: 0 additions & 1 deletion build/mono-database-scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ steps:
displayName: "${{ s.displayName }} - ${{ runtime.displayName }}"
condition: succeededOrFailed()
timeoutInMinutes: 60
retryCountOnTaskFailure: 1
inputs:
connectedServiceName: ${{ parameters.connection }}
waitForCompletion: true
Expand Down
1 change: 0 additions & 1 deletion build/mono-scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ steps:
displayName: "${{ s.displayName }} - ${{ runtime.displayName }}"
condition: succeededOrFailed()
timeoutInMinutes: 60
retryCountOnTaskFailure: 1
inputs:
connectedServiceName: ${{ parameters.connection }}
waitForCompletion: true
Expand Down
2 changes: 1 addition & 1 deletion build/mvc-scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ steps:
- task: PublishToAzureServiceBus@1
condition: succeededOrFailed()
displayName: ${{ s.displayName }}
retryCountOnTaskFailure: 1
inputs:
connectedServiceName: ${{ parameters.connection }}
waitForCompletion: true
Expand All @@ -96,6 +95,7 @@ steps:
{
"name": "crank",
"condition": "(${{ parameters.condition }})",
"retries": 1,
"args": [ "${{ s.arguments }} $(azureProfile) ${{ parameters.arguments }} --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/steadystate.profile.yml --application.framework net8.0 --application.options.collectCounters true --application.collectDependencies true --no-metadata --no-measurements --session $(session) --description \"${{ s.displayName }} $(System.JobDisplayName)\" --property buildId=\"$(buildId)\" --property buildNumber=\"$(buildNumber)\" --command-line-property --table MvcBenchmarks --sql SQL_CONNECTION_STRING --chart" ]
}
Expand Down
2 changes: 1 addition & 1 deletion build/nativeaot-scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ steps:
- task: PublishToAzureServiceBus@1
displayName: "${{ s.displayName }}"
condition: succeededOrFailed()
retryCountOnTaskFailure: 1
inputs:
connectedServiceName: ${{ parameters.connection }}
waitForCompletion: true
Expand All @@ -144,5 +143,6 @@ steps:
{
"name": "crank",
"condition": "(${{ parameters.condition }}) && (${{ s.condition }})",
"retries": 1,
"args": [ "${{ s.arguments }} ${{ parameters.arguments }} --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/steadystate.profile.yml --application.framework net8.0 --application.options.collectCounters true --no-metadata --no-measurements --session $(session) --description \"${{ s.displayName }} $(System.JobDisplayName)\" --property buildId=\"$(buildId)\" --property buildNumber=\"$(buildNumber)\" --command-line-property --table NativeAotBenchmarks --sql SQL_CONNECTION_STRING --chart" ]
}
2 changes: 1 addition & 1 deletion build/signalr-scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ steps:
condition: succeededOrFailed()
enabled: ${{ not( and( eq(transport.displayName, 'ServerSentEvents'), eq(protocol.displayName, 'MessagePack'))) }}
displayName: ${{ s.displayName }} ${{ transport.displayName }} ${{ protocol.displayName }}
retryCountOnTaskFailure: 1
inputs:
connectedServiceName: ${{ parameters.connection }}
waitForCompletion: true
Expand All @@ -64,6 +63,7 @@ steps:
{
"timeout": "00:5:00",
"condition": "${{ parameters.condition }}",
"retries": 1,
"name": "crank",
"args": [ "${{ s.arguments }} ${{ transport.arguments }} ${{ protocol.arguments }} --application.options.collectCounters true --load.options.collectCounters true ${{ parameters.arguments }} --load.channel edge --load.framework net8.0 --warmup.channel edge --warmup.framework net8.0 --application.framework net8.0 --session $(session) --command-line-property --table SignalRBenchmarks --sql SQL_CONNECTION_STRING --chart --no-measurements --no-metadata --warmup.options.discardResults true" ]
}
Expand Down
2 changes: 1 addition & 1 deletion build/trend-database-scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ steps:
displayName: "${{ s.displayName }}"
condition: succeededOrFailed()
timeoutInMinutes: 10
retryCountOnTaskFailure: 1
inputs:
connectedServiceName: ${{ parameters.connection }}
waitForCompletion: true
Expand All @@ -55,5 +54,6 @@ steps:
{
"name": "crank",
"condition": "(${{ parameters.condition }})",
"retries": 1,
"args": [ "${{ s.arguments }} $(azureProfile) --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/steadystate.profile.yml --application.framework net8.0 ${{ parameters.arguments }} --application.options.collectCounters true --application.collectDependencies true --no-metadata --no-measurements --session $(session) --description \"${{ s.displayName }} $(System.JobDisplayName)\" --property buildId=\"$(buildId)\" --property buildNumber=\"$(buildNumber)\" --command-line-property --table TrendBenchmarks --sql SQL_CONNECTION_STRING --chart" ]
}
2 changes: 1 addition & 1 deletion build/trend-scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ steps:
displayName: "${{ s.displayName }}"
condition: succeededOrFailed()
timeoutInMinutes: 10
retryCountOnTaskFailure: 1
inputs:
connectedServiceName: ${{ parameters.connection }}
waitForCompletion: true
Expand All @@ -94,5 +93,6 @@ steps:
{
"name": "crank",
"condition": "(${{ parameters.condition }})",
"retries": 1,
"args": [ "${{ s.arguments }} $(azureProfile) --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/steadystate.profile.yml --application.framework net8.0 --application.collectDependencies true ${{ parameters.arguments }} --application.options.collectCounters true --no-metadata --no-measurements --session $(session) --description \"${{ s.displayName }} $(System.JobDisplayName)\" --property buildId=\"$(buildId)\" --property buildNumber=\"$(buildNumber)\" --command-line-property --table TrendBenchmarks --sql SQL_CONNECTION_STRING --chart" ]
}

0 comments on commit c0498a0

Please sign in to comment.