From e4cfcc1dd9fc74b734c2fa37d143b776421153c4 Mon Sep 17 00:00:00 2001 From: SChernykh <15806605+SChernykh@users.noreply.github.com> Date: Thu, 14 Mar 2024 09:26:20 +0100 Subject: [PATCH] Sync test: possible fix for sanitizer errors --- .github/workflows/test-sync.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test-sync.yml b/.github/workflows/test-sync.yml index f9bd9ed..373a967 100644 --- a/.github/workflows/test-sync.yml +++ b/.github/workflows/test-sync.yml @@ -67,6 +67,7 @@ jobs: python ../tests/src/stratum_dummy.py 1 & python ../tests/src/stratum_dummy.py 2 & python ../tests/src/stratum_dummy.py 3 & + sudo sysctl vm.mmap_rnd_bits=28 TSAN_OPTIONS="suppressions=../tests/src/tsan_sup.txt halt_on_error=1" ./p2pool --host xmrnode.facspro.net --rpc-port 18089 --zmq-port 18084 --host xmr2.rs.me --wallet 44MnN1f3Eto8DZYUWuE5XZNUtE3vcRzt2j6PzqWpPau34e6Cf4fAxt6X2MBmrm6F9YMEiMNjN6W4Shn4pLcfNAja621jwyg --mini --out-peers 200 --data-api data --local-api --loglevel 6 - name: Check p2pool.log @@ -152,6 +153,7 @@ jobs: python ../tests/src/stratum_dummy.py 1 & python ../tests/src/stratum_dummy.py 2 & python ../tests/src/stratum_dummy.py 3 & + sudo sysctl vm.mmap_rnd_bits=28 MSAN_OPTIONS="halt_on_error=1" ./p2pool --host xmrnode.facspro.net --rpc-port 18089 --zmq-port 18084 --host xmr2.rs.me --wallet 44MnN1f3Eto8DZYUWuE5XZNUtE3vcRzt2j6PzqWpPau34e6Cf4fAxt6X2MBmrm6F9YMEiMNjN6W4Shn4pLcfNAja621jwyg --mini --out-peers 200 --data-api data --local-api --loglevel 6 - name: Check p2pool.log @@ -198,6 +200,7 @@ jobs: python ../tests/src/stratum_dummy.py 1 & python ../tests/src/stratum_dummy.py 2 & python ../tests/src/stratum_dummy.py 3 & + sudo sysctl vm.mmap_rnd_bits=28 UBSAN_OPTIONS="suppressions=../tests/src/ubsan_sup.txt halt_on_error=1" ./p2pool --host xmrnode.facspro.net --rpc-port 18089 --zmq-port 18084 --host xmr2.rs.me --wallet 44MnN1f3Eto8DZYUWuE5XZNUtE3vcRzt2j6PzqWpPau34e6Cf4fAxt6X2MBmrm6F9YMEiMNjN6W4Shn4pLcfNAja621jwyg --mini --out-peers 200 --data-api data --local-api --loglevel 6 - name: Check p2pool.log @@ -244,6 +247,7 @@ jobs: python ../tests/src/stratum_dummy.py 1 & python ../tests/src/stratum_dummy.py 2 & python ../tests/src/stratum_dummy.py 3 & + sudo sysctl vm.mmap_rnd_bits=28 ASAN_OPTIONS="detect_stack_use_after_return=1 atexit=1" ./p2pool --host xmrnode.facspro.net --rpc-port 18089 --zmq-port 18084 --host xmr2.rs.me --wallet 44MnN1f3Eto8DZYUWuE5XZNUtE3vcRzt2j6PzqWpPau34e6Cf4fAxt6X2MBmrm6F9YMEiMNjN6W4Shn4pLcfNAja621jwyg --mini --out-peers 200 --data-api data --local-api --loglevel 6 - name: Check p2pool.log