-
Notifications
You must be signed in to change notification settings - Fork 65
76 lines (71 loc) · 2.57 KB
/
rpc-fuzzer-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: QA - RPC Fuzzer Tests
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # Runs every Sunday at 00:00 AM UTC
jobs:
fuzzer-test-address-sanitizer:
runs-on: [ self-hosted, Erigon2 ] # must run on E2 not to steal E3 runner, which is used for PR approval
timeout-minutes: 1440
env:
RPC_PAST_TEST_DIR: /opt/rpc-past-tests
ERIGON_QA_PATH: /opt/erigon-qa
steps:
- name: Checkout Silkworm Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: "1" # Fetch only the last commit, not the entire history
- uses: ./.github/actions/fuzzer-common-steps
timeout-minutes: 1440
with:
fuzzer_sanitizers: address,leak
fuzzer-test-no-sanitizer:
needs: fuzzer-test-thread-sanitizer
runs-on: [ self-hosted, Erigon2 ] # must run on E2 not to steal E3 runner, which is used for PR approval
timeout-minutes: 1440
env:
RPC_PAST_TEST_DIR: /opt/rpc-past-tests
ERIGON_QA_PATH: /opt/erigon-qa
steps:
- name: Checkout Silkworm Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: "1" # Fetch only the last commit, not the entire history
- uses: ./.github/actions/fuzzer-common-steps
timeout-minutes: 1440
fuzzer-test-memory-sanitizer:
needs: fuzzer-test-no-sanitizer
runs-on: [ self-hosted, Erigon2 ] # must run on E2 not to steal E3 runner, which is used for PR approval
timeout-minutes: 1440
env:
RPC_PAST_TEST_DIR: /opt/rpc-past-tests
ERIGON_QA_PATH: /opt/erigon-qa
steps:
- name: Checkout Silkworm Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: "1" # Fetch only the last commit, not the entire history
- uses: ./.github/actions/fuzzer-common-steps
timeout-minutes: 1440
with:
fuzzer_sanitizers: memory
fuzzer-test-thread-sanitizer:
needs: fuzzer-test-address-sanitizer
runs-on: [ self-hosted, Erigon2 ] # must run on E2 not to steal E3 runner, which is used for PR approval
timeout-minutes: 1440
env:
RPC_PAST_TEST_DIR: /opt/rpc-past-tests
ERIGON_QA_PATH: /opt/erigon-qa
steps:
- name: Checkout Silkworm Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: "1" # Fetch only the last commit, not the entire history
- uses: ./.github/actions/fuzzer-common-steps
timeout-minutes: 1440
with:
fuzzer_sanitizers: thread,undefined