Skip to content

Commit

Permalink
Fix linux build image in eng/pipelines/libraries/stress/http.yml (#11…
Browse files Browse the repository at this point in the history
…1664)

* Fix linux build image in eng/pipelines/libraries/stress/http.yml

* Align docker-compose.yml with the one from SslStress

* Fix copy/paste mistake

* Set correct WORKDIR

* fix

* Disable asan

---------

Co-authored-by: Radek Zikmund <r.zikmund.rz@gmail.com>
  • Loading branch information
akoeplinger and rzikm authored Jan 27, 2025
1 parent f41b65f commit 3b7057b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion eng/pipelines/libraries/stress/http.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ extends:
DUMPS_SHARE: "$(Build.ArtifactStagingDirectory)/dumps/"
pool:
name: $(DncEngPublicBuildPool)
demands: ImageOverride -equals 1es-ubuntu-1804-open
demands: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open

steps:
- checkout: self
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ RUN apt-get update -y && \
RUN git clone --depth 1 --single-branch --branch v2.4.4 --recursive https://github.com/microsoft/msquic
RUN cd msquic/ && \
mkdir build && \
cmake -B build -DCMAKE_BUILD_TYPE=Debug -DQUIC_ENABLE_LOGGING=false -DQUIC_USE_SYSTEM_LIBCRYPTO=true -DQUIC_BUILD_TOOLS=off -DQUIC_BUILD_TEST=off -DQUIC_BUILD_PERF=off -DQUIC_TLS=openssl3 -DQUIC_ENABLE_SANITIZERS=on && \
cmake -B build -DCMAKE_BUILD_TYPE=Debug -DQUIC_ENABLE_LOGGING=false -DQUIC_USE_SYSTEM_LIBCRYPTO=true -DQUIC_BUILD_TOOLS=off -DQUIC_BUILD_TEST=off -DQUIC_BUILD_PERF=off -DQUIC_TLS=openssl3 && \
# -DQUIC_ENABLE_SANITIZERS=on && \
cd build && \
cmake --build . --config Debug
RUN cd msquic/build/bin/Debug && \
Expand Down Expand Up @@ -42,7 +43,7 @@ ENV STRESS_ROLE=''
ENV STRESS_ARGS=''

# configure adress sanitizer
ENV ASAN_OPTIONS='detect_leaks=0'
ENV LD_PRELOAD=/usr/lib/gcc/x86_64-linux-gnu/12/libasan.so
# ENV ASAN_OPTIONS='detect_leaks=0'
# ENV LD_PRELOAD=/usr/lib/gcc/x86_64-linux-gnu/12/libasan.so

CMD ./entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: '3' # Although the version attribute is obsolete and should be ignored, it's seemingly not the case on Build.Ubuntu.2204.Amd64.Open
services:
client:
build:
Expand Down

0 comments on commit 3b7057b

Please sign in to comment.