ci: remove workaround for ASan in Ubuntu GHA images

Message ID 20241107131506.2924839-1-david.marchand@redhat.com (mailing list archive)
State Accepted, archived
Delegated to: David Marchand
Headers
Series ci: remove workaround for ASan in Ubuntu GHA images |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-compile-arm64-testing pending Testing pending
ci/intel-Functional success Functional PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/github-robot: build success github build: passed
ci/iol-marvell-Functional success Functional Testing PASS
ci/iol-unit-amd64-testing success Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-compile-amd64-testing success Testing PASS
ci/iol-unit-arm64-testing success Testing PASS
ci/iol-sample-apps-testing success Testing PASS

Commit Message

David Marchand Nov. 7, 2024, 1:15 p.m. UTC
This workaround is directly applied inside Ubuntu GHA images themselves.

Link: https://github.com/actions/runner-images/commit/9485052d98ba055be3355565e23630de8f8c4ef8
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 .github/workflows/build.yml | 7 -------
 1 file changed, 7 deletions(-)
  

Comments

David Marchand Nov. 26, 2024, 2:17 p.m. UTC | #1
On Thu, Nov 7, 2024 at 2:15 PM David Marchand <david.marchand@redhat.com> wrote:
>
> This workaround is directly applied inside Ubuntu GHA images themselves.
>
> Link: https://github.com/actions/runner-images/commit/9485052d98ba055be3355565e23630de8f8c4ef8
> Signed-off-by: David Marchand <david.marchand@redhat.com>

Applied, thanks.
  

Patch

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f7d3affbaa..224fa80dcd 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -139,13 +139,6 @@  jobs:
         .ci/linux-setup.sh
         # Workaround on $HOME permissions as EAL checks them for plugin loading
         chmod o-w $HOME
-    - name: Reduce ASLR entropy
-      if: env.ASAN == 'true'
-      # ASan in llvm 14 provided in ubuntu-22.04 is incompatible with
-      # high-entropy ASLR configured in much newer kernels that GitHub
-      # runners are using leading to random crashes:
-      #   https://github.com/actions/runner-images/issues/9491
-      run: sudo sysctl -w vm.mmap_rnd_bits=28
     - name: Build and test
       run: .ci/linux-build.sh
     - name: Upload logs on failure