Hive - test exclusions (#5121)

* feat(hive): reduce output verbosity in CI

* feat(hive): run hive and parse as one to always generate output

* feat(hive): add exclusions (wip) and single step CI
This commit is contained in:
Max Revitt 2022-08-22 14:02:52 +01:00 committed by GitHub
parent ed7b01ebe9
commit bcb3cac220
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 5 deletions

View File

@ -138,11 +138,10 @@ jobs:
- name: build erigon image (root permissions)
run: sudo DOCKER_TAG=thorax/erigon:ci-$GITHUB_SHA DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) make docker
- name: run hive
run: sudo mkdir /results && docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v ${{ github.workspace }}:/work thorax/hive:latest --sim ethereum/engine --results-root=/work/results --client erigon_ci-$GITHUB_SHA --docker.output --loglevel 5
- name: parse hive output
run: docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v ${{ github.workspace }}:/work --entrypoint /app/hivecioutput thorax/hive:latest --resultsdir=/work/results --outdir=/work/results
- name: run hive and parse output
run: |
sudo mkdir /results && docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v ${{ github.workspace }}:/work thorax/hive:latest --sim ethereum/engine --results-root=/work/results --client erigon_ci-$GITHUB_SHA
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v ${{ github.workspace }}:/work --entrypoint /app/hivecioutput thorax/hive:latest --resultsdir=/work/results --outdir=/work/results --exclusionsFile=/work/hive/exclusions.json
- name: archive hive results
uses: actions/upload-artifact@v3

17
hive/exclusions.json Normal file
View File

@ -0,0 +1,17 @@
{
"testSuites": [
{
"name": "engine-transition",
"testCases": [
"Terminal blocks are gossiped",
"Build Payload After Multiple Terminal blocks via gossip"
]
},
{
"Name": "sync",
"testCases": [
"go-ethereum as sync source"
]
}
]
}