durabletask-netherite/azure-pipelines.yml

112 строки
3.9 KiB
YAML
Исходник Обычный вид История

2020-12-04 19:23:06 +03:00
# .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
trigger:
- main
pool:
vmImage: 'windows-latest'
variables:
solution: 'DurableTask.Netherite.sln'
buildPlatform: 'Any CPU'
Implement CacheSizeTracker and use FASTER v2 (#128) * update to FASTER v2 and implement MemoryTracker * update history size calculation in tests * fix renamed variable * work around incorrect status on read completion callback * minor updates to tests * adjust timeout for latest bits * Recover fewer pages. * handle one more transient timeout on storage calls. * fix compaction (cherry picked from commit acec2f0ac06c25e39bda3edcb4ab6a7a8b71d5bb) * fix client issues causing hangs (cherry picked from commit 6434c56033ee9fac995659764ab2aedd75fb0d94) * update to latest prerelease (cherry picked from commit 0ad283aaa9956022d1e5bf14b616961a59f071d6) * add EH overlap to work around bug * add tolerance to MemoryReduction test * overhaul exception handling in query events * remove deadlock risks in cancellation token handlers * compaction must be categorized like scan * load fewer pages on recovery * trace event id string when receiving packet * add condition to size check to account for concurrent modifications * keep termination continuation direct for tracing and for debugging * retry slow reads to work around FASTER hang issues * update tracing * instrument hang detection * update timeout limits * refactor cancellation * make the faultinjector back off of startup after 2 failures * overhaul shutdown sequence * add hang detection to azure storage device * add CompactThenFail test * simplify checkpoint state machine as compaction now already moves BeginAddress * fix bug in PartitionErrorHandler * Arm assertions in release build also, and run EH CI tests on release * extend hang detection limit to 90s and remove the slowest ScaleSmallScenarios test * update compaction progress reporting * recognize yet another type of transient storage error * use release build and remove concurrent test from EH tests on CI * implement thread count watcher * fix bug in AzureStorageDevice.RemoveSegmentsAsync and add to tracking * remove .ConfigureAwait(false) * update PerformanceTests http bindings to support arbitrary prefixes with start/purge/query/count/await * fix CI * fix nullref in dispose
2022-03-10 03:40:18 +03:00
buildConfiguration: 'Release'
2020-12-04 19:23:06 +03:00
steps:
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'
- task: VSBuild@1
inputs:
solution: '$(solution)'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
- task: DotNetCoreCLI@2
displayName: EventHubs Parametric Tests
env:
AzureWebJobsStorage: $(StorageConnectionString)
EventHubsConnection: $(TransportConnectionString)
timeoutInMinutes: 15
inputs:
command: 'test'
projects: '**/DurableTask.Netherite.Tests.csproj'
arguments: '--configuration $(buildConfiguration) --filter "AnyTransport=true" --verbosity normal --no-build --blame-hang --blame-hang-timeout 5m'
testRunTitle: 'Netherite Transport-Parametric Tests on EventHubs'
- task: DotNetCoreCLI@2
displayName: SingleHost AzureFunctions Tests
env:
AzureWebJobsStorage: $(StorageConnectionString)
EventHubsConnection: SingleHost
timeoutInMinutes: 15
inputs:
command: 'test'
projects: '**/DurableTask.Netherite.AzureFunctions.Tests.csproj'
arguments: '--configuration $(buildConfiguration) --verbosity normal --no-build --blame-hang --blame-hang-timeout 5m'
testRunTitle: 'Netherite Tests for Azure Functions on SingleHost'
- task: DotNetCoreCLI@2
displayName: EventHubs AzureFunctions Tests
env:
AzureWebJobsStorage: $(StorageConnectionString)
EventHubsConnection: $(TransportConnectionString)
timeoutInMinutes: 15
inputs:
command: 'test'
projects: '**/DurableTask.Netherite.AzureFunctions.Tests.csproj'
arguments: '--configuration $(buildConfiguration) --verbosity normal --no-build --blame-hang --blame-hang-timeout 5m'
testRunTitle: 'Netherite Tests for Azure Functions on EventHubs'
- task: DotNetCoreCLI@2
displayName: Memory Parametric Tests
env:
AzureWebJobsStorage: $(StorageConnectionString)
EventHubsConnection: Memory
inputs:
command: 'test'
projects: '**/DurableTask.Netherite.Tests.csproj'
arguments: '--configuration $(buildConfiguration) --filter "AnyTransport=true" --verbosity normal --no-build --blame-hang --blame-hang-timeout 5m'
testRunTitle: 'Netherite Transport-Parametric Tests on Memory'
- task: DotNetCoreCLI@2
displayName: Memory AzureFunctions Tests
env:
AzureWebJobsStorage: $(StorageConnectionString)
EventHubsConnection: Memory
timeoutInMinutes: 15
inputs:
command: 'test'
projects: '**/DurableTask.Netherite.AzureFunctions.Tests.csproj'
arguments: '--configuration $(buildConfiguration) --verbosity normal --no-build --blame-hang --blame-hang-timeout 5m'
testRunTitle: 'Netherite Tests for Azure Functions on Memory'
- task: DotNetCoreCLI@2
displayName: SingleHost Parametric Tests
env:
AzureWebJobsStorage: $(StorageConnectionString)
EventHubsConnection: SingleHost
timeoutInMinutes: 15
2020-12-04 19:23:06 +03:00
inputs:
command: 'test'
projects: '**/DurableTask.Netherite.Tests.csproj'
arguments: '--configuration $(buildConfiguration) --filter "AnyTransport=true" --verbosity normal --no-build --blame-hang --blame-hang-timeout 5m'
testRunTitle: 'Netherite Transport-Parametric Tests on SingleHost'
- task: DotNetCoreCLI@2
displayName: EventHubs Specific Tests
env:
AzureWebJobsStorage: $(StorageConnectionString)
EventHubsConnection: $(TransportConnectionString)
timeoutInMinutes: 45
inputs:
command: 'test'
projects: '**/DurableTask.Netherite.Tests.csproj'
arguments: '--configuration $(buildConfiguration) --filter "AnyTransport=false" --verbosity normal --no-build --blame-hang --blame-hang-timeout 10m'
testRunTitle: 'Netherite Transport-Specific Tests'