From 6ef5cc26554805fcf83fd7800742681c2b5893ce Mon Sep 17 00:00:00 2001 From: ManickaP Date: Tue, 2 Sep 2025 09:11:39 +0200 Subject: [PATCH 1/2] Wind down docker compose between individual runs in HTTP stress --- eng/pipelines/libraries/stress/http.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eng/pipelines/libraries/stress/http.yml b/eng/pipelines/libraries/stress/http.yml index e083bbac2a6e43..cad30ac8be55b4 100644 --- a/eng/pipelines/libraries/stress/http.yml +++ b/eng/pipelines/libraries/stress/http.yml @@ -63,6 +63,7 @@ extends: export STRESS_SERVER_ARGS="$HTTPSTRESS_SERVER_ARGS -http 3.0" mkdir -p $DUMPS_SHARE docker-compose up --abort-on-container-exit --no-color + docker-compose down timeoutInMinutes: 35 # In case the HTTP/3.0 run hangs, we timeout shortly after the expected 30 minute run displayName: Run HttpStress - HTTP 3.0 condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true')) @@ -73,6 +74,7 @@ extends: export STRESS_SERVER_ARGS="$HTTPSTRESS_SERVER_ARGS -http 2.0" mkdir -p $DUMPS_SHARE docker-compose up --abort-on-container-exit --no-color + docker-compose down displayName: Run HttpStress - HTTP 2.0 condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true')) @@ -82,6 +84,7 @@ extends: export STRESS_SERVER_ARGS="$HTTPSTRESS_SERVER_ARGS -http 1.1" mkdir -p $DUMPS_SHARE docker-compose up --abort-on-container-exit --no-color + docker-compose down displayName: Run HttpStress - HTTP 1.1 condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true')) From bf5bc2b7f6e5a47e798bd3d3347c25acb3b1ce44 Mon Sep 17 00:00:00 2001 From: ManickaP Date: Wed, 3 Sep 2025 09:11:48 +0200 Subject: [PATCH 2/2] Experiment 2 --- eng/pipelines/libraries/stress/http.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/eng/pipelines/libraries/stress/http.yml b/eng/pipelines/libraries/stress/http.yml index cad30ac8be55b4..bdc5c956051ee8 100644 --- a/eng/pipelines/libraries/stress/http.yml +++ b/eng/pipelines/libraries/stress/http.yml @@ -63,7 +63,6 @@ extends: export STRESS_SERVER_ARGS="$HTTPSTRESS_SERVER_ARGS -http 3.0" mkdir -p $DUMPS_SHARE docker-compose up --abort-on-container-exit --no-color - docker-compose down timeoutInMinutes: 35 # In case the HTTP/3.0 run hangs, we timeout shortly after the expected 30 minute run displayName: Run HttpStress - HTTP 3.0 condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true')) @@ -73,8 +72,8 @@ extends: export STRESS_CLIENT_ARGS="$HTTPSTRESS_CLIENT_ARGS -http 2.0" export STRESS_SERVER_ARGS="$HTTPSTRESS_SERVER_ARGS -http 2.0" mkdir -p $DUMPS_SHARE - docker-compose up --abort-on-container-exit --no-color docker-compose down + docker-compose up --abort-on-container-exit --no-color displayName: Run HttpStress - HTTP 2.0 condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true')) @@ -83,8 +82,8 @@ extends: export STRESS_CLIENT_ARGS="$HTTPSTRESS_CLIENT_ARGS -http 1.1" export STRESS_SERVER_ARGS="$HTTPSTRESS_SERVER_ARGS -http 1.1" mkdir -p $DUMPS_SHARE - docker-compose up --abort-on-container-exit --no-color docker-compose down + docker-compose up --abort-on-container-exit --no-color displayName: Run HttpStress - HTTP 1.1 condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true'))