From 2465803000fe8799f2f91799592cef04f8a9d057 Mon Sep 17 00:00:00 2001 From: hulk Date: Wed, 13 Mar 2024 11:19:01 +0800 Subject: [PATCH] Try to workaround the broken ubuntu image (#2161) refer https://github.com/apache/kvrocks/pull/2159#issuecomment-1991711351 This PR is a temporary workaround for actions/runner-images#9491 to avoid blocking the PR merged. Can revert the change once the image issue is resolved. --- .github/workflows/kvrocks.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/kvrocks.yaml b/.github/workflows/kvrocks.yaml index 17a4d10b017..91099f4b7d4 100644 --- a/.github/workflows/kvrocks.yaml +++ b/.github/workflows/kvrocks.yaml @@ -256,6 +256,11 @@ jobs: ./x.py build -j$NPROC --unittest --compiler ${{ matrix.compiler }} ${{ matrix.without_jemalloc }} \ ${{ matrix.without_luajit }} ${{ matrix.with_ninja }} ${{ matrix.with_sanitizer }} ${{ matrix.with_openssl }} \ ${{ matrix.new_encoding }} ${{ matrix.with_speedb }} ${{ env.CMAKE_EXTRA_DEFS }} + + # Can remove this once https://github.com/actions/runner-images/issues/9491 was fixed + - name: Decrease ASLR entropy due to the issue in 20240310.1.0 Ubuntu 22.04 + if: ${{ startsWith(matrix.os, 'ubuntu-22.04') }} + run: sudo sysctl vm.mmap_rnd_bits=28 - name: Build Kvrocks (SonarCloud) if: ${{ matrix.sonarcloud }}