From b27f3ec6bac3dd4cd4c5b76e71e9236fddcaae66 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Mon, 18 Mar 2024 11:41:01 +0100 Subject: [PATCH] github: workaround CI issue with ASAN https://github.com/actions/runner-images/issues/9491 https://github.com/google/fuzztest/commit/7b4f288ce94dd92a48a638301bb7ec5df0cf8c94 Signed-off-by: Alexander Mikhalitsyn --- .github/workflows/tests.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 57bd574f..d586440c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,6 +20,12 @@ jobs: - ubuntu-22.04 runs-on: ${{ matrix.os }} steps: + # TODO(mihalicyn): Remove once the following is fixed: + # https://github.com/actions/runner-images/issues/9491 + - name: Reduce ASLR entropy as a temporary workaround + run: | + sudo sysctl -w vm.mmap_rnd_bits=28 + - name: Checkout code uses: actions/checkout@v2 @@ -63,6 +69,12 @@ jobs: - ubuntu-22.04 runs-on: ${{ matrix.os }} steps: + # TODO(mihalicyn): Remove once the following is fixed: + # https://github.com/actions/runner-images/issues/9491 + - name: Reduce ASLR entropy as a temporary workaround + run: | + sudo sysctl -w vm.mmap_rnd_bits=28 + - name: Checkout code uses: actions/checkout@v2