Skip to content

Commit

Permalink
testsuite.yml: fix ASAN build tests
Browse files Browse the repository at this point in the history
This works around actions/runner-images#9491

Apparently a recent Ubuntu update changed the ASLR entropy to
use more bits which is incompatible with ASAN as shipped with
Ubuntu.

This adjusts the entropy bits to be compatible with ASAN.

Thanks to ilmari who found the ticket linked above.
  • Loading branch information
tonycoz committed Mar 18, 2024
1 parent 0e9cc8e commit 2757a46
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,9 @@ jobs:
sudo apt-get update
sudo apt-get install -y libgdbm-dev libdb-dev
- uses: actions/checkout@v3
# this can be removed once https://github.com/actions/runner-images/issues/9491 is fixed
- name: Reduce ASLR entropy
run: sudo sysctl -w vm.mmap_rnd_bits=28
- name: git cfg
run: |
git config diff.renameLimit 999999
Expand Down Expand Up @@ -768,6 +771,9 @@ jobs:
sudo apt-get update
sudo apt-get install -y libgdbm-dev libdb-dev
- uses: actions/checkout@v3
# this can be removed once https://github.com/actions/runner-images/issues/9491 is fixed
- name: Reduce ASLR entropy
run: sudo sysctl -w vm.mmap_rnd_bits=28
- name: git cfg
run: |
git config diff.renameLimit 999999
Expand Down

0 comments on commit 2757a46

Please sign in to comment.