From 7ceae1ac308bbf5e64a311e132935a79caad6bd8 Mon Sep 17 00:00:00 2001 From: Dmitrii Korolev Date: Wed, 19 Feb 2025 12:18:45 +0100 Subject: [PATCH 1/2] specify jobs --- build/trend-scenarios.yml | 20 ++++++++++++++++++++ scenarios/tls.benchmarks.yml | 1 + 2 files changed, 21 insertions(+) diff --git a/build/trend-scenarios.yml b/build/trend-scenarios.yml index 98d4e899d..5fc6b63fa 100644 --- a/build/trend-scenarios.yml +++ b/build/trend-scenarios.yml @@ -120,6 +120,26 @@ parameters: - displayName: "Kestrel Linux: TLS Renegotiation" arguments: --scenario tls-renegotiation-kestrel $(tlsJobs) --property scenario=KestrelTLSRenegotiation --application.options.requiredOperatingSystem linux +# TLS (IDNA Relay) + + - displayName: "[IDNA] HttpSys Windows: TLS Handshakes" + arguments: --scenario tls-handshakes-httpsys $(tlsJobs) --property scenario=IDNAHttpSysTLSHandshakes --profile idna-intel-win-relay + + - displayName: "[IDNA] HttpSys Windows: mTLS Handshakes" + arguments: --scenario mTls-handshakes-httpsys $(tlsJobs) --property scenario=IDNAHttpSysMutualTLSHandshakes --profile idna-intel-win-relay + + - displayName: "[IDNA] HttpSys Windows: TLS Renegotiation" + arguments: --scenario tls-renegotiation-httpsys $(tlsJobs) --property scenario=IDNAHttpSysTLSRenegotiation --profile idna-intel-win-relay + + - displayName: "[IDNA] Kestrel Linux: TLS Handshakes" + arguments: --scenario tls-handshakes-kestrel $(tlsJobs) --property scenario=IDNAKestrelTLSHandshakes idna-intel-lin-relay + + - displayName: "[IDNA] Kestrel Linux: mTLS Handshakes" + arguments: --scenario mTls-handshakes-kestrel $(tlsJobs) --property scenario=IDNAKestrelMutualTLSHandshakes idna-intel-lin-relay + + - displayName: "[IDNA] Kestrel Linux: TLS Renegotiation" + arguments: --scenario tls-renegotiation-kestrel $(tlsJobs) --property scenario=IDNAKestrelTLSRenegotiation idna-intel-lin-relay + steps: - ${{ each s in parameters.scenarios }}: - task: PublishToAzureServiceBus@2 diff --git a/scenarios/tls.benchmarks.yml b/scenarios/tls.benchmarks.yml index d65eca051..25eb31d13 100644 --- a/scenarios/tls.benchmarks.yml +++ b/scenarios/tls.benchmarks.yml @@ -2,6 +2,7 @@ - https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Bombardier/bombardier.yml - https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.HttpClient/httpclient.yml - https://github.com/aspnet/Benchmarks/blob/main/scenarios/aspnet.profiles.yml?raw=true + - https://github.com/aspnet/Benchmarks/blob/main/build/azure.profile.yml?raw=true variables: serverPort: 5000 From f1211d384b67fe655e7c63a54f6ca06780ca33bb Mon Sep 17 00:00:00 2001 From: Dmitrii Korolev Date: Wed, 19 Feb 2025 12:40:34 +0100 Subject: [PATCH 2/2] rejection jobs as well --- build/job-variables.yml | 2 ++ build/trend-scenarios.yml | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/build/job-variables.yml b/build/job-variables.yml index 32bcefd43..768a94545 100644 --- a/build/job-variables.yml +++ b/build/job-variables.yml @@ -67,6 +67,8 @@ variables: value: --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/antiforgery.benchmarks.yml - name: tlsJobs value: --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/tls.benchmarks.yml +- name: rejectionJobs + value: --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/rejection.benchmarks.yml - name: goldilocksJobs value: --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/goldilocks.benchmarks.yml - name: monoJobs diff --git a/build/trend-scenarios.yml b/build/trend-scenarios.yml index 5fc6b63fa..1f9f1addb 100644 --- a/build/trend-scenarios.yml +++ b/build/trend-scenarios.yml @@ -140,6 +140,26 @@ parameters: - displayName: "[IDNA] Kestrel Linux: TLS Renegotiation" arguments: --scenario tls-renegotiation-kestrel $(tlsJobs) --property scenario=IDNAKestrelTLSRenegotiation idna-intel-lin-relay +# Rejection + + - displayName: "HttpSys Windows: Encoded URL symbols" + arguments: --scenario httpsys-encoded-url $(rejectionJobs) --property scenario=RejectionEncodedUrlHttpSys --application.options.requiredOperatingSystem windows + + - displayName: "HttpSys Windows: Invalid Header" + arguments: --scenario httpsys-header-symbols $(rejectionJobs) --property scenario=RejectionInvalidHeaderHttpSys --application.options.requiredOperatingSystem windows + + - displayName: "HttpSys Windows: Host Header Mismatch" + arguments: --scenario httpsys-hostheader-mismatch $(rejectionJobs) --property scenario=RejectionHostHeaderMismatchHttpSys --application.options.requiredOperatingSystem windows + + - displayName: "Kestrel Linux: Encoded URL symbols" + arguments: --scenario kestrel-encoded-url $(rejectionJobs) --property scenario=RejectionEncodedUrlKestrel --application.options.requiredOperatingSystem linux + + - displayName: "Kestrel Linux: Invalid Header" + arguments: --scenario kestrel-header-symbols $(rejectionJobs) --property scenario=RejectionInvalidHeaderKestrel --application.options.requiredOperatingSystem linux + + - displayName: "Kestrel Linux: Host Header Mismatch" + arguments: --scenario kestrel-hostheader-mismatch $(rejectionJobs) --property scenario=RejectionHostHeaderMismatchKestrel --application.options.requiredOperatingSystem linux + steps: - ${{ each s in parameters.scenarios }}: - task: PublishToAzureServiceBus@2