-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds kurtosis-assertoor to ci (#11464)
kurtosis assertoor tests in ci decision points: - since the job takes about 45 minutes to run, I decided not to run it on every PR, but rather we run it every 12 hours at 2AM/PM UTC. - all tests are present in https://github.com/ethpandaops/assertoor-test/tree/master/assertoor-tests. This ci runs [these](https://github.com/erigontech/erigon/pull/11464/files#diff-b45e49409c33f39133315225d30c02d8cfacfd9a53d1157bca61284683a4c498R22) tests. - test is for ubuntu only; not for mac or windows. Many tests are failing; specially the validator related ones. Tracked separately - #11590
- Loading branch information
1 parent
4772138
commit cdc5395
Showing
2 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
participants_matrix: | ||
el: | ||
- el_type: geth | ||
- el_type: erigon | ||
el_image: <<ERIGON_IMAGE_PLACEHOLDER>> | ||
cl: | ||
- cl_type: lighthouse | ||
- cl_type: teku | ||
network_params: | ||
electra_fork_epoch: 1 | ||
min_validator_withdrawability_delay: 1 | ||
shard_committee_period: 1 | ||
additional_services: | ||
- dora | ||
- apache | ||
- assertoor | ||
snooper_enabled: true | ||
assertoor_params: | ||
run_stability_check: false | ||
run_block_proposal_check: false | ||
tests: | ||
- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/all-opcodes-test.yaml | ||
#- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/blob-transactions-test.yaml | ||
#- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/dencun-opcodes-test.yaml | ||
#- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/eoa-transactions-test.yaml | ||
#- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/stability-check.yaml | ||
- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/synchronized-check.yaml | ||
#- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/validator-exit-test.yaml | ||
# - https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/validator-lifecycle-test-v2.yaml | ||
# - https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/validator-lifecycle-test.yaml | ||
# - https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/validator-proposer-slashing-test.yaml | ||
# - https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/validator-withdrawal-test.yaml | ||
# - https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/validator-withdrawal-test-v2.yaml | ||
# - https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/validator-slashing-test.yaml | ||
# - https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/block-proposal-check.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Kurtosis Assertoor GitHub Action | ||
|
||
on: | ||
schedule: | ||
- cron: "0 2,14 * * *" # runs at 2am and 2pm UTC | ||
workflow_dispatch: | ||
# pull_request: | ||
# branches: | ||
# - kurtosis_assertoor | ||
# types: | ||
# - opened | ||
# - reopened | ||
# - synchronize | ||
# - ready_for_review | ||
# push: | ||
# branches: | ||
# - kurtosis_assertoor | ||
|
||
|
||
|
||
jobs: | ||
assertoor_test: | ||
strategy: | ||
matrix: | ||
# list of os: https://github.com/actions/virtual-environments | ||
os: | ||
- { id: ubuntu-22.04, name: ubuntu } | ||
runs-on: ${{ matrix.os.id }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: make docker (see dockerhub for image builds) | ||
run: DOCKER_TAG=thorax/erigon:ci-$GITHUB_SHA DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) make docker | ||
|
||
|
||
- name: Install dependencies on Linux | ||
if: runner.os == 'Linux' | ||
run: sudo apt update && sudo apt install build-essential | ||
|
||
- name: download kurtosis config | ||
run: | | ||
wget -O kurtosis_config_with_p.yaml https://raw.githubusercontent.com/erigontech/erigon/kurtosis_assertoor/.github/workflows/kurtosis/config.yaml | ||
sed 's/<<ERIGON_IMAGE_PLACEHOLDER>>/thorax\/erigon:ci-'$GITHUB_SHA'/' kurtosis_config_with_p.yaml > kurtosis_config.yaml | ||
- name: Run Kurtosis + assertoor tests | ||
uses: ethpandaops/kurtosis-assertoor-github-action@v1 | ||
with: | ||
enclave_name: "kurtosis-run-${{ matrix.os.name }}-${{ github.run_id }}" | ||
ethereum_package_args: "./kurtosis_config.yaml" | ||
#kurtosis_extra_args: --verbosity detailed --cli-log-level trace | ||
enclave_dump: false |