msquic/.azure/azure-pipelines.periodic.yml

150 строки
3.3 KiB
YAML
Исходник Постоянная ссылка Обычный вид История

#
# Continuous Integration (CI)
# This pipeline builds and runs MsQuic performance RPS long run tests.
#
trigger: none
pr: none
schedules:
- cron: "0 0 * * Sun"
displayName: Weekly Perf Run
branches:
include:
- main
always: true
name: 0.$(Date:yyyy).$(Date:MM).$(DayOfMonth).$(Rev:rr).0
stages:
#
# Builds
#
2022-08-23 02:09:24 +03:00
- stage: build_winuser_schannel
displayName: Build Windows (Schannel)
dependsOn: []
variables:
runCodesignValidationInjection: false
jobs:
- template: ./templates/build-config-user.yml
parameters:
2022-08-23 02:09:24 +03:00
image: windows-latest
platform: windows
arch: x64
tls: schannel
config: Release
extraPrepareArgs: -DisableTest
2022-08-23 02:09:24 +03:00
extraBuildArgs: -DisableTest -DisableTools -PGO
- stage: build_winuser_openssl
displayName: Build Windows (OpenSSL)
dependsOn: []
variables:
runCodesignValidationInjection: false
jobs:
- template: ./templates/build-config-user.yml
parameters:
image: windows-latest
platform: windows
arch: x64
tls: openssl
config: Release
extraPrepareArgs: -DisableTest
extraBuildArgs: -DisableTest -DisableTools -PGO
2023-02-02 21:43:49 +03:00
- stage: build_winuser_openssl3
displayName: Build Windows (OpenSSL3)
dependsOn: []
variables:
runCodesignValidationInjection: false
jobs:
- template: ./templates/build-config-user.yml
parameters:
image: windows-latest
platform: windows
arch: x64
tls: openssl3
config: Release
extraPrepareArgs: -DisableTest
extraBuildArgs: -DisableTest -DisableTools -PGO
#
# Performance Tests
#
2022-08-23 02:09:24 +03:00
- stage: perf_winuser_schannel
displayName: Performance Testing Windows (Schannel)
dependsOn:
2022-08-23 02:09:24 +03:00
- build_winuser_schannel
jobs:
- template: ./templates/run-performance.yml
parameters:
pool: MsQuic-Win-Perf
platform: windows
localTls: schannel
remoteTls: schannel
arch: x64
testTypes: Remote
2022-08-23 02:09:24 +03:00
extraArgs: -PGO
failOnRegression: 0
- stage: perf_winuser_openssl
displayName: Performance Testing Windows (OpenSSL)
dependsOn:
- build_winuser_openssl
jobs:
- template: ./templates/run-performance.yml
parameters:
pool: MsQuic-Win-Perf
platform: windows
localTls: openssl
remoteTls: openssl
arch: x64
testTypes: Remote
extraArgs: -PGO
failOnRegression: 0
2023-02-02 21:43:49 +03:00
- stage: perf_winuser_openssl3
displayName: Performance Testing Windows (OpenSSL3)
dependsOn:
- build_winuser_openssl3
jobs:
- template: ./templates/run-performance.yml
parameters:
pool: MsQuic-Win-Perf
platform: windows
localTls: openssl3
remoteTls: openssl3
arch: x64
testTypes: Remote
extraArgs: -PGO
failOnRegression: 0
- stage: perf_winuser_xdp
displayName: Performance Testing Windows (XDP)
dependsOn:
Unify datapath (#3819) * Remove QUIC_USE_RAW_DATAPATH (logic only) * move logic to core side * remove QUIC_USE_RAW_DATAPATH from test * fix googletest version and add last line * replace from flag to function call * fix build error * fix build/test issues * implement CxPlatResolveRoute for normal socket * add Getter of Datapath feature * fix build issues * adopt comments * adopt comment and fix kernel build error * fix kernel build error * more fix for kernel build * Unify datapath * DatapathTest partially work * just unify build of both normal socket and xdp * SOCKET: RAW{...Socket{BASE{addr}}}, DATAPATH: XDP{RAW{DATAPATH*}} <-> DATAPATH{RAW*, BASE{callbacks}} * tmp * add preview_feature flag back * refactoring CxPlatIsRouteReady * fix linux code check * adjust func names * fix comments * fix IsRouteReady and clean ifdef for _KERNEL_MODE * kernel build error * Set RouteResolved for Rx * fix more tests * move global definition in header file * kernel to avoid calling helper function * move QuitTestIsFeatureSupported after RegistrationOpen * supress warning * remove QuitTestIsFeatureSupported from quic_gtest as it doesn't work as expected by dependency of MsQuicLib.Datapath * remove raw feature check as much as possible * ifdef for UseQTIP visibility * tmp * tmp * fix merge side effects * all tests passed * fix tests in msquicplatformtest * fix tcp with duonic * update clog * use xdp v1 * WIP cleanup * refactoring CXPLAT_SEND_DATA * remove mangling and function pointer * remove unnecessary change in test * fix comments * cleanup * move logic to _winuser * use dummy raw datapath for uwp build * dummy raw * remove double free * fix comments * update dummy func * fix perf run for TCP * partially fix comments * fix build error for uwp and remove duplicate variable in raw socket * set socket before start receiving * add dummy to clog * add clog files for dummy * fix dependency for cargo on windows * remove dummy clog files * remove AuxSocket * add pwsh for cargo setup * clog fix * add include dir for cargo * [WIP] fix cargo and qtip * fix clog, qtip, rename private raw functions and cleanup * experiment to avoid write overflow * use Config->Route->DatapathType for data allocation * more strict if conditions * fix comments * fix uwp build * fix clog and artifact name * fix back xdp dependency * Simply build automation * missed one * apply unification to linux and remove QUIC_USE_XDP flag * move types to any platform * add abstruction layer for linux * add clog * add clog dependencies * fix CodeCheck issues * remove xdp specific artifact dir name and always install xdp deps * add docs * More Fixes for XDP in automation (mostly OneBranch) --------- Co-authored-by: Nick Banks <nibanks@microsoft.com>
2023-09-23 22:45:17 +03:00
- build_winuser_schannel
jobs:
- template: ./templates/run-performance.yml
parameters:
pool: MsQuic-Win-Perf
platform: windows
localTls: schannel
remoteTls: schannel
arch: x64
Unify datapath (#3819) * Remove QUIC_USE_RAW_DATAPATH (logic only) * move logic to core side * remove QUIC_USE_RAW_DATAPATH from test * fix googletest version and add last line * replace from flag to function call * fix build error * fix build/test issues * implement CxPlatResolveRoute for normal socket * add Getter of Datapath feature * fix build issues * adopt comments * adopt comment and fix kernel build error * fix kernel build error * more fix for kernel build * Unify datapath * DatapathTest partially work * just unify build of both normal socket and xdp * SOCKET: RAW{...Socket{BASE{addr}}}, DATAPATH: XDP{RAW{DATAPATH*}} <-> DATAPATH{RAW*, BASE{callbacks}} * tmp * add preview_feature flag back * refactoring CxPlatIsRouteReady * fix linux code check * adjust func names * fix comments * fix IsRouteReady and clean ifdef for _KERNEL_MODE * kernel build error * Set RouteResolved for Rx * fix more tests * move global definition in header file * kernel to avoid calling helper function * move QuitTestIsFeatureSupported after RegistrationOpen * supress warning * remove QuitTestIsFeatureSupported from quic_gtest as it doesn't work as expected by dependency of MsQuicLib.Datapath * remove raw feature check as much as possible * ifdef for UseQTIP visibility * tmp * tmp * fix merge side effects * all tests passed * fix tests in msquicplatformtest * fix tcp with duonic * update clog * use xdp v1 * WIP cleanup * refactoring CXPLAT_SEND_DATA * remove mangling and function pointer * remove unnecessary change in test * fix comments * cleanup * move logic to _winuser * use dummy raw datapath for uwp build * dummy raw * remove double free * fix comments * update dummy func * fix perf run for TCP * partially fix comments * fix build error for uwp and remove duplicate variable in raw socket * set socket before start receiving * add dummy to clog * add clog files for dummy * fix dependency for cargo on windows * remove dummy clog files * remove AuxSocket * add pwsh for cargo setup * clog fix * add include dir for cargo * [WIP] fix cargo and qtip * fix clog, qtip, rename private raw functions and cleanup * experiment to avoid write overflow * use Config->Route->DatapathType for data allocation * more strict if conditions * fix comments * fix uwp build * fix clog and artifact name * fix back xdp dependency * Simply build automation * missed one * apply unification to linux and remove QUIC_USE_XDP flag * move types to any platform * add abstruction layer for linux * add clog * add clog dependencies * fix CodeCheck issues * remove xdp specific artifact dir name and always install xdp deps * add docs * More Fixes for XDP in automation (mostly OneBranch) --------- Co-authored-by: Nick Banks <nibanks@microsoft.com>
2023-09-23 22:45:17 +03:00
extraTestArgs: -XDP
testTypes: Remote
extraArgs: -PGO
failOnRegression: 0
2022-08-23 02:09:24 +03:00
- stage: make_pull_request
displayName: Make Pull Request
dependsOn:
2022-08-23 02:09:24 +03:00
- perf_winuser_schannel
- perf_winuser_openssl
2023-02-02 21:43:49 +03:00
- perf_winuser_openssl3
- perf_winuser_xdp
jobs:
2022-08-23 02:09:24 +03:00
- template: ./templates/make-pgo-pr.yml