Skip to content

Commit

Permalink
fix socat integration CI
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel40791765 committed Sep 6, 2024
1 parent 16ca6e7 commit aee8f59
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/ci/integration/run_socat_integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ function build_and_test_socat() {
autoconf
./configure --enable-openssl-base="$AWS_LC_INSTALL_FOLDER"
make -j "$NUM_CPU_THREADS"
# See: t/V1497389456.
# socat decreased the test wait time to 3 milliseconds, which causes failures when additional warnings/logs are written.
# Extending the wait time to 50 milliseconds is just right for us.
sed -i 's/MILLIs=\$((3/MILLIs=\$((50/' ./test.sh
# test 146 OPENSSLLISTENDSA: fails because AWS-LC doesn't support FFDH ciphersuites which are needed for DSA
# test 216 UDP6MULTICAST_UNIDIR: known flaky test in socat with newer kernels
# test 309 OPENSSLRENEG1: AWS-LC doesn't support renegotiation by default, it can be enabled by calling SSL_set_renegotiate_mode
Expand Down Expand Up @@ -53,7 +57,7 @@ mkdir -p ${SCRATCH_FOLDER}
rm -rf "${SCRATCH_FOLDER:?}"/*

mkdir -p "$AWS_LC_BUILD_FOLDER" "$AWS_LC_INSTALL_FOLDER"
git clone --depth 1 https://repo.or.cz/socat.git "$SOCAT_SRC"
git clone https://repo.or.cz/socat.git "$SOCAT_SRC"

aws_lc_build "$SRC_ROOT" "$AWS_LC_BUILD_FOLDER" "$AWS_LC_INSTALL_FOLDER" -DBUILD_SHARED_LIBS=1 -DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=RelWithDebInfo
export LD_LIBRARY_PATH="${AWS_LC_INSTALL_FOLDER}/lib/:${AWS_LC_INSTALL_FOLDER}/lib64/:${LD_LIBRARY_PATH:-}"
Expand Down

0 comments on commit aee8f59

Please sign in to comment.