Skip to content

feature: Support EIPs upto Cancun #1

feature: Support EIPs upto Cancun

feature: Support EIPs upto Cancun #1

name: "Hive consensus tests"
on:
push:
branches: [release/*]
workflow_dispatch:
inputs:
parallelism:
description: "Number of concurrently running tests in each job."
required: true
default: "8"
type: choice
options: ["1", "2", "3", "4", "8", "16"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
create_docker_image:
name: "Generate docker image"
outputs:
cleanRef: ${{ steps.prepare_ref.outputs.cleanRef }}
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
needs: [create_docker_image]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Prepare docker tag
id: prepare_ref
run: |
REF_NAME=${{ github.ref }}
CLEAN_REF=$(echo "${REF_NAME/refs\/heads\//}" | sed 's/[^a-zA-Z0-9._-]/-/g')
echo "CLEAN_REF=$CLEAN_REF" >> $GITHUB_ENV
echo "cleanRef=$CLEAN_REF" >> $GITHUB_OUTPUT
- name: Set Repo and Org Variables
id: cleanup
run: |
echo "ORG_NAME=${{ github.repository_owner }}" >> $GITHUB_ENV
echo "REPO_NAME=${{ github.event.repository.name }}" >> $GITHUB_ENV
- name: Check if master or release branch
id: check_conditions
run: |
ref="${{ github.ref }}"
event_name="${{ github.event_name }}"
# Append "refs/heads/" prefix if it's not already there
if [[ $ref != refs/heads/* ]]; then
ref="refs/heads/$ref"
fi
# Initialize variables
skip_docker_build="false"
skip_wait_for_docker="false"
# Set conditions based on branch and event type
if [[ "$ref" == "refs/heads/master" || $ref == refs/heads/release* ]]; then
skip_docker_build="true"
if [[ "$event_name" == "workflow_dispatch" ]]; then
skip_wait_for_docker="true"
fi
fi
# Output the variables
echo "skip_docker_build=$skip_docker_build" >> $GITHUB_OUTPUT
echo "wait_for_docker=$wait_for_docker" >> $GITHUB_OUTPUT
- name: Trigger Docker Build Action with Cleaned Ref
if: steps.check_conditions.outputs.skip_docker_build != 'true'
uses: benc-uk/workflow-dispatch@v1
env:
ADDITIONAL_OPTIONS: ${{ inputs.additional_options }}
with:
workflow: publish-docker.yml
ref: "${{ github.ref }}"
token: "${{ secrets.REPOSITORY_DISPATCH_TOKEN }}"
inputs: '{
"tag": "${{ env.CLEAN_REF }}",
"dockerfile": "Dockerfile",
"build-config": "release"
}'
- name: Wait for Docker Build Action to complete
if: steps.check_conditions.outputs.skip_wait_for_docker != 'true'
env:
GITHUB_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_TOKEN }}
WORKFLOW_ID: "publish-docker.yml"
MAX_WAIT_MINUTES: "5"
INTERVAL: "5"
TIMEOUT: "10"
ORG_NAME: ${{ env.ORG_NAME }}
REPO_NAME: ${{ env.REPO_NAME }}
REF: ${{ github.ref }}
run: |
chmod +x scripts/wait-for-workflow-completed.sh
./scripts/wait-for-workflow-completed.sh
working-directory: ${{ github.workspace }}
generate_hive_consensus_tests:
name: "Prepare all hive tests to be started"
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
needs: [create_docker_image]
steps:
- name: Check out Nethermind repository
uses: actions/checkout@v4
with:
path: nethermind
submodules: "recursive"
- name: Generate Hive Json For Matrix
id: set-matrix
run: |
cd nethermind/tools/HiveConsensusWorkflowGenerator
dotnet run
cat matrix.json
echo "matrix=$(jq -c . matrix.json)" >> $GITHUB_OUTPUT
run_hive_tests:
runs-on: ubuntu-latest
needs: [generate_hive_consensus_tests, create_docker_image]
strategy:
fail-fast: false
matrix:
hiveTests: ${{fromJson(needs.generate_hive_consensus_tests.outputs.matrix)}}
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '8' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v4
with:
path: nethermind
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v4
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: |
tag=${{ needs.create_docker_image.outputs.cleanRef }}
sed -i -e "s|^ARG baseimage=.*|ARG baseimage=nethermindeth/nethermind|" -e "s|^ARG tag=.*|ARG tag=$tag|" hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Run hive for tests - ${{ join(matrix.hiveTests.testNames, ', ') }}
continue-on-error: true
working-directory: hive
run: |
IFS=',' read -ra TEST_NAMES <<< "${{ join(matrix.hiveTests.testNames, ',') }}"
for testName in "${TEST_NAMES[@]}"
do
./hive --client nethermind --sim ethereum/consensus --sim.limit /$testName --sim.parallelism $PARALLELISM
done
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_7:
name: 7. Combined tests (e.g. opcADDiffPlaces)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run opcADDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcADDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcAEDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcAEDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcAFDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcAFDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcB0DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcB0DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcB1DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcB1DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcB2DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcB2DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcB3DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcB3DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcB4DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcB4DiffPlaces --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_8:
name: 8. Combined tests (e.g. opcB5DiffPlaces)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run opcB5DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcB5DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcB6DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcB6DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcB7DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcB7DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcB8DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcB8DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcB9DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcB9DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcBADiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcBADiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcBBDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcBBDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcBCDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcBCDiffPlaces --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_9:
name: 9. Combined tests (e.g. opcBDDiffPlaces)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run opcBDDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcBDDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcBEDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcBEDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcBFDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcBFDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcC0DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcC0DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcC1DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcC1DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcC2DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcC2DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcC3DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcC3DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcC4DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcC4DiffPlaces --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_10:
name: 10. Combined tests (e.g. opcC5DiffPlaces)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run opcC5DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcC5DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcC6DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcC6DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcC7DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcC7DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcC8DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcC8DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcC9DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcC9DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcCADiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcCADiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcCBDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcCBDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcCCDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcCCDiffPlaces --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_11:
name: 11. Combined tests (e.g. opcCDDiffPlaces)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run opcCDDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcCDDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcCEDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcCEDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcCFDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcCFDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcD0DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcD0DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcD1DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcD1DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcD2DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcD2DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcD3DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcD3DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcD4DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcD4DiffPlaces --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_12:
name: 12. Combined tests (e.g. opcD5DiffPlaces)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run opcD5DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcD5DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcD6DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcD6DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcD7DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcD7DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcD8DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcD8DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcD9DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcD9DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcDADiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcDADiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcDBDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcDBDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcDCDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcDCDiffPlaces --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_13:
name: 13. Combined tests (e.g. opcDDDiffPlaces)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run opcDDDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcDDDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcDEDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcDEDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcDFDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcDFDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcE0DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcE0DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcE1DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcE1DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcE2DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcE2DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcE3DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcE3DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcE4DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcE4DiffPlaces --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_14:
name: 14. Combined tests (e.g. opcE5DiffPlaces)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run opcE5DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcE5DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcE6DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcE6DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcE7DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcE7DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcE8DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcE8DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcE9DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcE9DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcEADiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcEADiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcEBDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcEBDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcECDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcECDiffPlaces --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_15:
name: 15. Combined tests (e.g. opcEDDiffPlaces)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run opcEDDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcEDDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcEEDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcEEDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcEFDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcEFDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcF6DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcF6DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcF7DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcF7DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcF8DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcF8DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcF9DiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcF9DiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcFBDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcFBDiffPlaces --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_16:
name: 16. Combined tests (e.g. opcFCDiffPlaces)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run opcFCDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcFCDiffPlaces --sim.parallelism $PARALLELISM
- name: Run opcFEDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /opcFEDiffPlaces --sim.parallelism $PARALLELISM
- name: Run operationDiffGas
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /operationDiffGas --sim.parallelism $PARALLELISM
- name: Run undefinedOpcodeFirstByte
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /undefinedOpcodeFirstByte --sim.parallelism $PARALLELISM
- name: Run stBugs
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stBugs --sim.parallelism $PARALLELISM
- name: Run stCallCodes
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stCallCodes --sim.parallelism $PARALLELISM
- name: Run stCallCreateCallCodeTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stCallCreateCallCodeTest --sim.parallelism $PARALLELISM
- name: Run stCallDelegateCodesCallCodeHomestead
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stCallDelegateCodesCallCodeHomestead --sim.parallelism $PARALLELISM
- name: Run stCallDelegateCodesHomestead
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stCallDelegateCodesHomestead --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_17:
name: 17. Combined tests (e.g. stChainId)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run stChainId
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stChainId --sim.parallelism $PARALLELISM
- name: Run stCodeCopyTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stCodeCopyTest --sim.parallelism $PARALLELISM
- name: Run stCodeSizeLimit
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stCodeSizeLimit --sim.parallelism $PARALLELISM
- name: Run stCreate2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stCreate2 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_18:
name: 18. Combined tests (e.g. stCreateTest)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run stCreateTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stCreateTest --sim.parallelism $PARALLELISM
- name: Run stDelegatecallTestHomestead
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stDelegatecallTestHomestead --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_19:
name: 19. Combined tests (e.g. stEIP150singleCodeGasPrices)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run stEIP150singleCodeGasPrices
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stEIP150singleCodeGasPrices --sim.parallelism $PARALLELISM
- name: Run stEIP150Specific
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stEIP150Specific --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_20:
name: 20. intrinsic
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run intrinsic
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /intrinsic --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_21:
name: 21. Combined tests (e.g. baseFeeDiffPlaces)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run baseFeeDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /baseFeeDiffPlaces --sim.parallelism $PARALLELISM
- name: Run gasPriceDiffPlaces
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /gasPriceDiffPlaces --sim.parallelism $PARALLELISM
- name: Run lowFeeCap
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /lowFeeCap --sim.parallelism $PARALLELISM
- name: Run lowGasLimit
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /lowGasLimit --sim.parallelism $PARALLELISM
- name: Run lowGasPriceOldTypes
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /lowGasPriceOldTypes --sim.parallelism $PARALLELISM
- name: Run outOfFunds
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /outOfFunds --sim.parallelism $PARALLELISM
- name: Run outOfFundsOldTypes
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /outOfFundsOldTypes --sim.parallelism $PARALLELISM
- name: Run senderBalance
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /senderBalance --sim.parallelism $PARALLELISM
- name: Run tipTooHigh
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /tipTooHigh --sim.parallelism $PARALLELISM
- name: Run transactionIntinsicBug
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /transactionIntinsicBug --sim.parallelism $PARALLELISM
- name: Run typeTwoBerlin
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /typeTwoBerlin --sim.parallelism $PARALLELISM
- name: Run valCausesOOF
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /valCausesOOF --sim.parallelism $PARALLELISM
- name: Run stEIP158Specific
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stEIP158Specific --sim.parallelism $PARALLELISM
- name: Run stEIP2930
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stEIP2930 --sim.parallelism $PARALLELISM
- name: Run stEIP3607
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stEIP3607 --sim.parallelism $PARALLELISM
- name: Run stExample
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stExample --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_22:
name: 22. buffer
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run buffer
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /buffer --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_23:
name: 23. Combined tests (e.g. stExtCodeHash)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run stExtCodeHash
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stExtCodeHash --sim.parallelism $PARALLELISM
- name: Run stHomesteadSpecific
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stHomesteadSpecific --sim.parallelism $PARALLELISM
- name: Run stInitCodeTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stInitCodeTest --sim.parallelism $PARALLELISM
- name: Run stLogTests
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stLogTests --sim.parallelism $PARALLELISM
- name: Run stMemExpandingEIP150Calls
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stMemExpandingEIP150Calls --sim.parallelism $PARALLELISM
- name: Run stMemoryStressTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stMemoryStressTest --sim.parallelism $PARALLELISM
- name: Run bufferSrcOffset
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /bufferSrcOffset --sim.parallelism $PARALLELISM
- name: Run callDataCopyOffset
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /callDataCopyOffset --sim.parallelism $PARALLELISM
- name: Run calldatacopy_dejavu
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /calldatacopy_dejavu --sim.parallelism $PARALLELISM
- name: Run calldatacopy_dejavu2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /calldatacopy_dejavu2 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_24:
name: 24. Combined tests (e.g. codeCopyOffset)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run codeCopyOffset
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /codeCopyOffset --sim.parallelism $PARALLELISM
- name: Run codecopy_dejavu
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /codecopy_dejavu --sim.parallelism $PARALLELISM
- name: Run codecopy_dejavu2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /codecopy_dejavu2 --sim.parallelism $PARALLELISM
- name: Run extcodecopy_dejavu
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /extcodecopy_dejavu --sim.parallelism $PARALLELISM
- name: Run log1_dejavu
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /log1_dejavu --sim.parallelism $PARALLELISM
- name: Run log2_dejavu
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /log2_dejavu --sim.parallelism $PARALLELISM
- name: Run log3_dejavu
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /log3_dejavu --sim.parallelism $PARALLELISM
- name: Run log4_dejavu
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /log4_dejavu --sim.parallelism $PARALLELISM
- name: Run mem0b_singleByte
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem0b_singleByte --sim.parallelism $PARALLELISM
- name: Run mem31b_singleByte
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem31b_singleByte --sim.parallelism $PARALLELISM
- name: Run mem32b_singleByte
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32b_singleByte --sim.parallelism $PARALLELISM
- name: Run mem32kb+1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb+1 --sim.parallelism $PARALLELISM
- name: Run mem32kb+31
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb+31 --sim.parallelism $PARALLELISM
- name: Run mem32kb+32
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb+32 --sim.parallelism $PARALLELISM
- name: Run mem32kb+33
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb+33 --sim.parallelism $PARALLELISM
- name: Run mem32kb-1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb-1 --sim.parallelism $PARALLELISM
- name: Run mem32kb-31
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb-31 --sim.parallelism $PARALLELISM
- name: Run mem32kb-32
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb-32 --sim.parallelism $PARALLELISM
- name: Run mem32kb-33
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb-33 --sim.parallelism $PARALLELISM
- name: Run mem32kb
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb --sim.parallelism $PARALLELISM
- name: Run mem32kb_singleByte+1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb_singleByte+1 --sim.parallelism $PARALLELISM
- name: Run mem32kb_singleByte+31
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb_singleByte+31 --sim.parallelism $PARALLELISM
- name: Run mem32kb_singleByte+32
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb_singleByte+32 --sim.parallelism $PARALLELISM
- name: Run mem32kb_singleByte+33
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb_singleByte+33 --sim.parallelism $PARALLELISM
- name: Run mem32kb_singleByte-1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb_singleByte-1 --sim.parallelism $PARALLELISM
- name: Run mem32kb_singleByte-31
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb_singleByte-31 --sim.parallelism $PARALLELISM
- name: Run mem32kb_singleByte-32
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb_singleByte-32 --sim.parallelism $PARALLELISM
- name: Run mem32kb_singleByte-33
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb_singleByte-33 --sim.parallelism $PARALLELISM
- name: Run mem32kb_singleByte
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem32kb_singleByte --sim.parallelism $PARALLELISM
- name: Run mem33b_singleByte
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem33b_singleByte --sim.parallelism $PARALLELISM
- name: Run mem64kb+1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb+1 --sim.parallelism $PARALLELISM
- name: Run mem64kb+31
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb+31 --sim.parallelism $PARALLELISM
- name: Run mem64kb+32
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb+32 --sim.parallelism $PARALLELISM
- name: Run mem64kb+33
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb+33 --sim.parallelism $PARALLELISM
- name: Run mem64kb-1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb-1 --sim.parallelism $PARALLELISM
- name: Run mem64kb-31
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb-31 --sim.parallelism $PARALLELISM
- name: Run mem64kb-32
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb-32 --sim.parallelism $PARALLELISM
- name: Run mem64kb-33
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb-33 --sim.parallelism $PARALLELISM
- name: Run mem64kb
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb --sim.parallelism $PARALLELISM
- name: Run mem64kb_singleByte+1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb_singleByte+1 --sim.parallelism $PARALLELISM
- name: Run mem64kb_singleByte+31
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb_singleByte+31 --sim.parallelism $PARALLELISM
- name: Run mem64kb_singleByte+32
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb_singleByte+32 --sim.parallelism $PARALLELISM
- name: Run mem64kb_singleByte+33
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb_singleByte+33 --sim.parallelism $PARALLELISM
- name: Run mem64kb_singleByte-1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb_singleByte-1 --sim.parallelism $PARALLELISM
- name: Run mem64kb_singleByte-31
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb_singleByte-31 --sim.parallelism $PARALLELISM
- name: Run mem64kb_singleByte-32
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb_singleByte-32 --sim.parallelism $PARALLELISM
- name: Run mem64kb_singleByte-33
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb_singleByte-33 --sim.parallelism $PARALLELISM
- name: Run mem64kb_singleByte
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mem64kb_singleByte --sim.parallelism $PARALLELISM
- name: Run memCopySelf
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /memCopySelf --sim.parallelism $PARALLELISM
- name: Run memReturn
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /memReturn --sim.parallelism $PARALLELISM
- name: Run mload16bitBound
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mload16bitBound --sim.parallelism $PARALLELISM
- name: Run mload8bitBound
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mload8bitBound --sim.parallelism $PARALLELISM
- name: Run mload_dejavu
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mload_dejavu --sim.parallelism $PARALLELISM
- name: Run mstore_dejavu
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mstore_dejavu --sim.parallelism $PARALLELISM
- name: Run mstroe8_dejavu
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /mstroe8_dejavu --sim.parallelism $PARALLELISM
- name: Run oog
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /oog --sim.parallelism $PARALLELISM
- name: Run sha3_dejavu
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /sha3_dejavu --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_25:
name: 25. Combined tests (e.g. stackLimitGas_1023)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run stackLimitGas_1023
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackLimitGas_1023 --sim.parallelism $PARALLELISM
- name: Run stackLimitGas_1024
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackLimitGas_1024 --sim.parallelism $PARALLELISM
- name: Run stackLimitGas_1025
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackLimitGas_1025 --sim.parallelism $PARALLELISM
- name: Run stackLimitPush31_1023
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackLimitPush31_1023 --sim.parallelism $PARALLELISM
- name: Run stackLimitPush31_1024
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackLimitPush31_1024 --sim.parallelism $PARALLELISM
- name: Run stackLimitPush31_1025
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackLimitPush31_1025 --sim.parallelism $PARALLELISM
- name: Run stackLimitPush32_1023
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackLimitPush32_1023 --sim.parallelism $PARALLELISM
- name: Run stackLimitPush32_1024
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackLimitPush32_1024 --sim.parallelism $PARALLELISM
- name: Run stackLimitPush32_1025
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackLimitPush32_1025 --sim.parallelism $PARALLELISM
- name: Run stNonZeroCallsTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stNonZeroCallsTest --sim.parallelism $PARALLELISM
- name: Run blake2B
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /blake2B --sim.parallelism $PARALLELISM
- name: Run delegatecall09Undefined
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /delegatecall09Undefined --sim.parallelism $PARALLELISM
- name: Run identity_to_bigger
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /identity_to_bigger --sim.parallelism $PARALLELISM
- name: Run identity_to_smaller
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /identity_to_smaller --sim.parallelism $PARALLELISM
- name: Run idPrecomps
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /idPrecomps --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_26:
name: 26. precompsEIP2929
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run precompsEIP2929
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /precompsEIP2929 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_27:
name: 27. Combined tests (e.g. modexp)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run modexp
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /modexp --sim.parallelism $PARALLELISM
- name: Run modexpTests
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /modexpTests --sim.parallelism $PARALLELISM
- name: Run sec80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /sec80 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_28:
name: 28. Combined tests (e.g. stPreCompiledContracts2)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run stPreCompiledContracts2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stPreCompiledContracts2 --sim.parallelism $PARALLELISM
- name: Run stQuadraticComplexityTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stQuadraticComplexityTest --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_29:
name: 29. stRandom
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run stRandom
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stRandom --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_30:
name: 30. Combined tests (e.g. stRandom2)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run stRandom2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stRandom2 --sim.parallelism $PARALLELISM
- name: Run stRecursiveCreate
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stRecursiveCreate --sim.parallelism $PARALLELISM
- name: Run stRefundTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stRefundTest --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_31:
name: 31. stReturnDataTest
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run stReturnDataTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stReturnDataTest --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_32:
name: 32. Combined tests (e.g. stRevertTest)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run stRevertTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stRevertTest --sim.parallelism $PARALLELISM
- name: Run stSelfBalance
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stSelfBalance --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_33:
name: 33. stSStoreTest
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run stSStoreTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stSStoreTest --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_34:
name: 34. Combined tests (e.g. stShift)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run stShift
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stShift --sim.parallelism $PARALLELISM
- name: Run stSLoadTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stSLoadTest --sim.parallelism $PARALLELISM
- name: Run stSolidityTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stSolidityTest --sim.parallelism $PARALLELISM
- name: Run stSpecialTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stSpecialTest --sim.parallelism $PARALLELISM
- name: Run shallowStack
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /shallowStack --sim.parallelism $PARALLELISM
- name: Run stackOverflow
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackOverflow --sim.parallelism $PARALLELISM
- name: Run stackOverflowDUP
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackOverflowDUP --sim.parallelism $PARALLELISM
- name: Run stackOverflowM1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackOverflowM1 --sim.parallelism $PARALLELISM
- name: Run stackOverflowM1DUP
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackOverflowM1DUP --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_35:
name: 35. stackOverflowM1PUSH
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run stackOverflowM1PUSH
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackOverflowM1PUSH --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_36:
name: 36. underflowTest
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run underflowTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /underflowTest --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_37:
name: 37. Combined tests (e.g. stackOverflowPUSH)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run stackOverflowPUSH
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackOverflowPUSH --sim.parallelism $PARALLELISM
- name: Run stackOverflowSWAP
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stackOverflowSWAP --sim.parallelism $PARALLELISM
- name: Run stacksanitySWAP
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stacksanitySWAP --sim.parallelism $PARALLELISM
- name: Run StaticcallToPrecompileFromCalledContract
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /StaticcallToPrecompileFromCalledContract --sim.parallelism $PARALLELISM
- name: Run StaticcallToPrecompileFromContractInitialization
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /StaticcallToPrecompileFromContractInitialization --sim.parallelism $PARALLELISM
- name: Run StaticcallToPrecompileFromTransaction
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /StaticcallToPrecompileFromTransaction --sim.parallelism $PARALLELISM
- name: Run static_ABAcalls0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_ABAcalls0 --sim.parallelism $PARALLELISM
- name: Run static_ABAcalls1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_ABAcalls1 --sim.parallelism $PARALLELISM
- name: Run static_ABAcalls2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_ABAcalls2 --sim.parallelism $PARALLELISM
- name: Run static_ABAcalls3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_ABAcalls3 --sim.parallelism $PARALLELISM
- name: Run static_ABAcallsSuicide0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_ABAcallsSuicide0 --sim.parallelism $PARALLELISM
- name: Run static_ABAcallsSuicide1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_ABAcallsSuicide1 --sim.parallelism $PARALLELISM
- name: Run static_Call10
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call10 --sim.parallelism $PARALLELISM
- name: Run static_Call1024BalanceTooLow
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call1024BalanceTooLow --sim.parallelism $PARALLELISM
- name: Run static_Call1024BalanceTooLow2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call1024BalanceTooLow2 --sim.parallelism $PARALLELISM
- name: Run static_Call1024OOG
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call1024OOG --sim.parallelism $PARALLELISM
- name: Run static_Call1024PreCalls
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call1024PreCalls --sim.parallelism $PARALLELISM
- name: Run static_Call1024PreCalls2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call1024PreCalls2 --sim.parallelism $PARALLELISM
- name: Run static_Call1024PreCalls3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call1024PreCalls3 --sim.parallelism $PARALLELISM
- name: Run static_Call1MB1024Calldepth
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call1MB1024Calldepth --sim.parallelism $PARALLELISM
- name: Run static_Call50000
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call50000 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_38:
name: 38. Combined tests (e.g. static_Call50000bytesContract50_1)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run static_Call50000bytesContract50_1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call50000bytesContract50_1 --sim.parallelism $PARALLELISM
- name: Run static_Call50000bytesContract50_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call50000bytesContract50_2 --sim.parallelism $PARALLELISM
- name: Run static_Call50000bytesContract50_3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call50000bytesContract50_3 --sim.parallelism $PARALLELISM
- name: Run static_Call50000_ecrec
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call50000_ecrec --sim.parallelism $PARALLELISM
- name: Run static_Call50000_identity
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call50000_identity --sim.parallelism $PARALLELISM
- name: Run static_Call50000_identity2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call50000_identity2 --sim.parallelism $PARALLELISM
- name: Run static_Call50000_rip160
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call50000_rip160 --sim.parallelism $PARALLELISM
- name: Run static_CallAndCallcodeConsumeMoreGasThenTransactionHas
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallAndCallcodeConsumeMoreGasThenTransactionHas --sim.parallelism $PARALLELISM
- name: Run static_CallAskMoreGasOnDepth2ThenTransactionHas
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallAskMoreGasOnDepth2ThenTransactionHas --sim.parallelism $PARALLELISM
- name: Run static_callBasic
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callBasic --sim.parallelism $PARALLELISM
- name: Run static_callcallcallcode_001
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_001 --sim.parallelism $PARALLELISM
- name: Run static_callcallcallcode_001_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_001_2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcallcode_001_OOGE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_001_OOGE --sim.parallelism $PARALLELISM
- name: Run static_callcallcallcode_001_OOGE_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_001_OOGE_2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcallcode_001_OOGMAfter
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_001_OOGMAfter --sim.parallelism $PARALLELISM
- name: Run static_callcallcallcode_001_OOGMAfter2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_001_OOGMAfter2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcallcode_001_OOGMAfter_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_001_OOGMAfter_2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcallcode_001_OOGMAfter_3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_001_OOGMAfter_3 --sim.parallelism $PARALLELISM
- name: Run static_callcallcallcode_001_OOGMBefore
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_001_OOGMBefore --sim.parallelism $PARALLELISM
- name: Run static_callcallcallcode_001_OOGMBefore2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_001_OOGMBefore2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcallcode_001_SuicideEnd
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_001_SuicideEnd --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_39:
name: 39. Combined tests (e.g. static_callcallcallcode_001_SuicideEnd2)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run static_callcallcallcode_001_SuicideEnd2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_001_SuicideEnd2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcallcode_001_SuicideMiddle
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_001_SuicideMiddle --sim.parallelism $PARALLELISM
- name: Run static_callcallcallcode_001_SuicideMiddle2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_001_SuicideMiddle2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcallcode_ABCB_RECURSIVE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_ABCB_RECURSIVE --sim.parallelism $PARALLELISM
- name: Run static_callcallcallcode_ABCB_RECURSIVE2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcallcode_ABCB_RECURSIVE2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcall_000
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcall_000 --sim.parallelism $PARALLELISM
- name: Run static_callcallcall_000_OOGE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcall_000_OOGE --sim.parallelism $PARALLELISM
- name: Run static_callcallcall_000_OOGMAfter
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcall_000_OOGMAfter --sim.parallelism $PARALLELISM
- name: Run static_callcallcall_000_OOGMAfter2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcall_000_OOGMAfter2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcall_000_OOGMBefore
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcall_000_OOGMBefore --sim.parallelism $PARALLELISM
- name: Run static_callcallcall_000_SuicideEnd
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcall_000_SuicideEnd --sim.parallelism $PARALLELISM
- name: Run static_callcallcall_000_SuicideMiddle
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcall_000_SuicideMiddle --sim.parallelism $PARALLELISM
- name: Run static_callcallcall_ABCB_RECURSIVE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcall_ABCB_RECURSIVE --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_011
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_011 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_011_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_011_2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_011_OOGE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_011_OOGE --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_011_OOGE_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_011_OOGE_2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_011_OOGMAfter
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_011_OOGMAfter --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_011_OOGMAfter2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_011_OOGMAfter2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_011_OOGMAfter_1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_011_OOGMAfter_1 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_011_OOGMAfter_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_011_OOGMAfter_2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_011_OOGMBefore
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_011_OOGMBefore --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_011_OOGMBefore2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_011_OOGMBefore2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_011_SuicideEnd
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_011_SuicideEnd --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_011_SuicideEnd2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_011_SuicideEnd2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_011_SuicideMiddle
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_011_SuicideMiddle --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_011_SuicideMiddle2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_011_SuicideMiddle2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_ABCB_RECURSIVE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_ABCB_RECURSIVE --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecallcode_ABCB_RECURSIVE2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecallcode_ABCB_RECURSIVE2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_010
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_010 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_010_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_010_2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_010_OOGE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_010_OOGE --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_010_OOGE_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_010_OOGE_2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_010_OOGMAfter
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_010_OOGMAfter --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_010_OOGMAfter2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_010_OOGMAfter2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_010_OOGMAfter_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_010_OOGMAfter_2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_010_OOGMAfter_3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_010_OOGMAfter_3 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_010_OOGMBefore
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_010_OOGMBefore --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_010_OOGMBefore2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_010_OOGMBefore2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_010_SuicideEnd
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_010_SuicideEnd --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_010_SuicideEnd2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_010_SuicideEnd2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_010_SuicideMiddle
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_010_SuicideMiddle --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_010_SuicideMiddle2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_010_SuicideMiddle2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_ABCB_RECURSIVE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_ABCB_RECURSIVE --sim.parallelism $PARALLELISM
- name: Run static_callcallcodecall_ABCB_RECURSIVE2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcodecall_ABCB_RECURSIVE2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcode_01_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcode_01_2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcode_01_OOGE_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcode_01_OOGE_2 --sim.parallelism $PARALLELISM
- name: Run static_callcallcode_01_SuicideEnd
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcode_01_SuicideEnd --sim.parallelism $PARALLELISM
- name: Run static_callcallcode_01_SuicideEnd2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcallcode_01_SuicideEnd2 --sim.parallelism $PARALLELISM
- name: Run static_callcall_00
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcall_00 --sim.parallelism $PARALLELISM
- name: Run static_callcall_00_OOGE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcall_00_OOGE --sim.parallelism $PARALLELISM
- name: Run static_callcall_00_OOGE_1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcall_00_OOGE_1 --sim.parallelism $PARALLELISM
- name: Run static_callcall_00_OOGE_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcall_00_OOGE_2 --sim.parallelism $PARALLELISM
- name: Run static_callcall_00_SuicideEnd
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcall_00_SuicideEnd --sim.parallelism $PARALLELISM
- name: Run static_callChangeRevert
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callChangeRevert --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcallcode_101
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_101 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcallcode_101_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_101_2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcallcode_101_OOGE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_101_OOGE --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcallcode_101_OOGE_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_101_OOGE_2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcallcode_101_OOGMAfter
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_101_OOGMAfter --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_40:
name: 40. Combined tests (e.g. static_callcodecallcallcode_101_OOGMAfter2)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run static_callcodecallcallcode_101_OOGMAfter2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_101_OOGMAfter2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcallcode_101_OOGMAfter_1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_101_OOGMAfter_1 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcallcode_101_OOGMAfter_3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_101_OOGMAfter_3 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcallcode_101_OOGMBefore
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_101_OOGMBefore --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcallcode_101_OOGMBefore2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_101_OOGMBefore2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcallcode_101_SuicideEnd
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_101_SuicideEnd --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcallcode_101_SuicideEnd2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_101_SuicideEnd2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcallcode_101_SuicideMiddle
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_101_SuicideMiddle --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcallcode_101_SuicideMiddle2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_101_SuicideMiddle2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcallcode_ABCB_RECURSIVE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_ABCB_RECURSIVE --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcallcode_ABCB_RECURSIVE2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcallcode_ABCB_RECURSIVE2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_100
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_100 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_100_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_100_2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_100_OOGE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_100_OOGE --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_100_OOGE2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_100_OOGE2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_100_OOGMAfter
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_100_OOGMAfter --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_100_OOGMAfter2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_100_OOGMAfter2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_100_OOGMAfter_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_100_OOGMAfter_2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_100_OOGMAfter_3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_100_OOGMAfter_3 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_100_OOGMBefore
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_100_OOGMBefore --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_100_OOGMBefore2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_100_OOGMBefore2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_100_SuicideEnd
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_100_SuicideEnd --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_100_SuicideEnd2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_100_SuicideEnd2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_100_SuicideMiddle
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_100_SuicideMiddle --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_100_SuicideMiddle2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_100_SuicideMiddle2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_ABCB_RECURSIVE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_ABCB_RECURSIVE --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcall_ABCB_RECURSIVE2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcall_ABCB_RECURSIVE2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecallcode_111_SuicideEnd
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecallcode_111_SuicideEnd --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_110
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_110 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_1102
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_1102 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_110_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_110_2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_110_OOGE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_110_OOGE --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_110_OOGE2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_110_OOGE2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_110_OOGMAfter
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_110_OOGMAfter --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_110_OOGMAfter2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_110_OOGMAfter2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_110_OOGMAfter_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_110_OOGMAfter_2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_110_OOGMAfter_3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_110_OOGMAfter_3 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_110_OOGMBefore
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_110_OOGMBefore --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_110_OOGMBefore2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_110_OOGMBefore2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_110_SuicideEnd
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_110_SuicideEnd --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_110_SuicideEnd2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_110_SuicideEnd2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_110_SuicideMiddle
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_110_SuicideMiddle --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_110_SuicideMiddle2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_110_SuicideMiddle2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_ABCB_RECURSIVE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_ABCB_RECURSIVE --sim.parallelism $PARALLELISM
- name: Run static_callcodecallcodecall_ABCB_RECURSIVE2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecallcodecall_ABCB_RECURSIVE2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecall_10
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecall_10 --sim.parallelism $PARALLELISM
- name: Run static_callcodecall_10_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecall_10_2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecall_10_OOGE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecall_10_OOGE --sim.parallelism $PARALLELISM
- name: Run static_callcodecall_10_OOGE_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecall_10_OOGE_2 --sim.parallelism $PARALLELISM
- name: Run static_callcodecall_10_SuicideEnd
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecall_10_SuicideEnd --sim.parallelism $PARALLELISM
- name: Run static_callcodecall_10_SuicideEnd2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcodecall_10_SuicideEnd2 --sim.parallelism $PARALLELISM
- name: Run static_callcode_checkPC
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callcode_checkPC --sim.parallelism $PARALLELISM
- name: Run static_CallContractToCreateContractAndCallItOOG
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallContractToCreateContractAndCallItOOG --sim.parallelism $PARALLELISM
- name: Run static_CallContractToCreateContractOOG
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallContractToCreateContractOOG --sim.parallelism $PARALLELISM
- name: Run static_CallContractToCreateContractOOGBonusGas
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallContractToCreateContractOOGBonusGas --sim.parallelism $PARALLELISM
- name: Run static_CallContractToCreateContractWhichWouldCreateContractIfCalled
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallContractToCreateContractWhichWouldCreateContractIfCalled --sim.parallelism $PARALLELISM
- name: Run static_callCreate
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callCreate --sim.parallelism $PARALLELISM
- name: Run static_callCreate2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callCreate2 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_41:
name: 41. Combined tests (e.g. static_callCreate3)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run static_callCreate3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callCreate3 --sim.parallelism $PARALLELISM
- name: Run static_calldelcode_01
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_calldelcode_01 --sim.parallelism $PARALLELISM
- name: Run static_calldelcode_01_OOGE
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_calldelcode_01_OOGE --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecover0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecover0 --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecover0_0input
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecover0_0input --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecover0_completeReturnValue
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecover0_completeReturnValue --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecover0_Gas2999
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecover0_Gas2999 --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecover0_gas3000
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecover0_gas3000 --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecover0_NoGas
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecover0_NoGas --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecover0_overlappingInputOutput
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecover0_overlappingInputOutput --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecover1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecover1 --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecover2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecover2 --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecover3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecover3 --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecover80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecover80 --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecoverCheckLength
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecoverCheckLength --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecoverCheckLengthWrongV
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecoverCheckLengthWrongV --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecoverH_prefixed0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecoverH_prefixed0 --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecoverR_prefixed0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecoverR_prefixed0 --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecoverS_prefixed0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecoverS_prefixed0 --sim.parallelism $PARALLELISM
- name: Run static_CallEcrecoverV_prefixed0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallEcrecoverV_prefixed0 --sim.parallelism $PARALLELISM
- name: Run static_CallGoesOOGOnSecondLevel
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallGoesOOGOnSecondLevel --sim.parallelism $PARALLELISM
- name: Run static_CallGoesOOGOnSecondLevel2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallGoesOOGOnSecondLevel2 --sim.parallelism $PARALLELISM
- name: Run static_CallIdentitiy_1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallIdentitiy_1 --sim.parallelism $PARALLELISM
- name: Run static_CallIdentity_1_nonzeroValue
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallIdentity_1_nonzeroValue --sim.parallelism $PARALLELISM
- name: Run static_CallIdentity_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallIdentity_2 --sim.parallelism $PARALLELISM
- name: Run static_CallIdentity_3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallIdentity_3 --sim.parallelism $PARALLELISM
- name: Run static_CallIdentity_4
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallIdentity_4 --sim.parallelism $PARALLELISM
- name: Run static_CallIdentity_4_gas17
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallIdentity_4_gas17 --sim.parallelism $PARALLELISM
- name: Run static_CallIdentity_4_gas18
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallIdentity_4_gas18 --sim.parallelism $PARALLELISM
- name: Run static_CallIdentity_5
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallIdentity_5 --sim.parallelism $PARALLELISM
- name: Run static_CallLoseGasOOG
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallLoseGasOOG --sim.parallelism $PARALLELISM
- name: Run static_callOutput1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callOutput1 --sim.parallelism $PARALLELISM
- name: Run static_callOutput2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callOutput2 --sim.parallelism $PARALLELISM
- name: Run static_callOutput3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callOutput3 --sim.parallelism $PARALLELISM
- name: Run static_callOutput3Fail
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callOutput3Fail --sim.parallelism $PARALLELISM
- name: Run static_callOutput3partial
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callOutput3partial --sim.parallelism $PARALLELISM
- name: Run static_callOutput3partialFail
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callOutput3partialFail --sim.parallelism $PARALLELISM
- name: Run static_CallRecursiveBomb0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRecursiveBomb0 --sim.parallelism $PARALLELISM
- name: Run static_CallRecursiveBomb0_OOG_atMaxCallDepth
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRecursiveBomb0_OOG_atMaxCallDepth --sim.parallelism $PARALLELISM
- name: Run static_CallRecursiveBomb1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRecursiveBomb1 --sim.parallelism $PARALLELISM
- name: Run static_CallRecursiveBomb2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRecursiveBomb2 --sim.parallelism $PARALLELISM
- name: Run static_CallRecursiveBomb3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRecursiveBomb3 --sim.parallelism $PARALLELISM
- name: Run static_CallRecursiveBombLog
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRecursiveBombLog --sim.parallelism $PARALLELISM
- name: Run static_CallRecursiveBombLog2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRecursiveBombLog2 --sim.parallelism $PARALLELISM
- name: Run static_CallRecursiveBombPreCall
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRecursiveBombPreCall --sim.parallelism $PARALLELISM
- name: Run static_CallRecursiveBombPreCall2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRecursiveBombPreCall2 --sim.parallelism $PARALLELISM
- name: Run static_CallRipemd160_1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRipemd160_1 --sim.parallelism $PARALLELISM
- name: Run static_CallRipemd160_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRipemd160_2 --sim.parallelism $PARALLELISM
- name: Run static_CallRipemd160_3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRipemd160_3 --sim.parallelism $PARALLELISM
- name: Run static_CallRipemd160_3_postfixed0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRipemd160_3_postfixed0 --sim.parallelism $PARALLELISM
- name: Run static_CallRipemd160_3_prefixed0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRipemd160_3_prefixed0 --sim.parallelism $PARALLELISM
- name: Run static_CallRipemd160_4
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRipemd160_4 --sim.parallelism $PARALLELISM
- name: Run static_CallRipemd160_4_gas719
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRipemd160_4_gas719 --sim.parallelism $PARALLELISM
- name: Run static_CallRipemd160_5
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallRipemd160_5 --sim.parallelism $PARALLELISM
- name: Run static_CallSha256_1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallSha256_1 --sim.parallelism $PARALLELISM
- name: Run static_CallSha256_1_nonzeroValue
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallSha256_1_nonzeroValue --sim.parallelism $PARALLELISM
- name: Run static_CallSha256_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallSha256_2 --sim.parallelism $PARALLELISM
- name: Run static_CallSha256_3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallSha256_3 --sim.parallelism $PARALLELISM
- name: Run static_CallSha256_3_postfix0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallSha256_3_postfix0 --sim.parallelism $PARALLELISM
- name: Run static_CallSha256_3_prefix0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallSha256_3_prefix0 --sim.parallelism $PARALLELISM
- name: Run static_CallSha256_4
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallSha256_4 --sim.parallelism $PARALLELISM
- name: Run static_CallSha256_4_gas99
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallSha256_4_gas99 --sim.parallelism $PARALLELISM
- name: Run static_CallSha256_5
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallSha256_5 --sim.parallelism $PARALLELISM
- name: Run static_callToCallCodeOpCodeCheck
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callToCallCodeOpCodeCheck --sim.parallelism $PARALLELISM
- name: Run static_callToCallOpCodeCheck
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callToCallOpCodeCheck --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_42:
name: 42. Combined tests (e.g. static_callToDelCallOpCodeCheck)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run static_callToDelCallOpCodeCheck
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callToDelCallOpCodeCheck --sim.parallelism $PARALLELISM
- name: Run static_CallToNameRegistrator0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallToNameRegistrator0 --sim.parallelism $PARALLELISM
- name: Run static_CallToReturn1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CallToReturn1 --sim.parallelism $PARALLELISM
- name: Run static_CalltoReturn2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CalltoReturn2 --sim.parallelism $PARALLELISM
- name: Run static_callToStaticOpCodeCheck
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callToStaticOpCodeCheck --sim.parallelism $PARALLELISM
- name: Run static_callWithHighValue
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callWithHighValue --sim.parallelism $PARALLELISM
- name: Run static_callWithHighValueAndGasOOG
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callWithHighValueAndGasOOG --sim.parallelism $PARALLELISM
- name: Run static_callWithHighValueAndOOGatTxLevel
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callWithHighValueAndOOGatTxLevel --sim.parallelism $PARALLELISM
- name: Run static_callWithHighValueOOGinCall
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_callWithHighValueOOGinCall --sim.parallelism $PARALLELISM
- name: Run static_CALL_OneVCallSuicide
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CALL_OneVCallSuicide --sim.parallelism $PARALLELISM
- name: Run static_call_OOG_additionalGasCosts1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_call_OOG_additionalGasCosts1 --sim.parallelism $PARALLELISM
- name: Run static_call_OOG_additionalGasCosts2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_call_OOG_additionalGasCosts2 --sim.parallelism $PARALLELISM
- name: Run static_call_value_inherit
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_call_value_inherit --sim.parallelism $PARALLELISM
- name: Run static_call_value_inherit_from_call
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_call_value_inherit_from_call --sim.parallelism $PARALLELISM
- name: Run static_CALL_ZeroVCallSuicide
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CALL_ZeroVCallSuicide --sim.parallelism $PARALLELISM
- name: Run static_CheckCallCostOOG
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CheckCallCostOOG --sim.parallelism $PARALLELISM
- name: Run static_CheckOpcodes
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CheckOpcodes --sim.parallelism $PARALLELISM
- name: Run static_CheckOpcodes2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CheckOpcodes2 --sim.parallelism $PARALLELISM
- name: Run static_CheckOpcodes3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CheckOpcodes3 --sim.parallelism $PARALLELISM
- name: Run static_CheckOpcodes4
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CheckOpcodes4 --sim.parallelism $PARALLELISM
- name: Run static_CheckOpcodes5
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CheckOpcodes5 --sim.parallelism $PARALLELISM
- name: Run static_contractCreationMakeCallThatAskMoreGasThenTransactionProvided
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_contractCreationMakeCallThatAskMoreGasThenTransactionProvided --sim.parallelism $PARALLELISM
- name: Run static_contractCreationOOGdontLeaveEmptyContractViaTransaction
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_contractCreationOOGdontLeaveEmptyContractViaTransaction --sim.parallelism $PARALLELISM
- name: Run static_CREATE_ContractSuicideDuringInit
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CREATE_ContractSuicideDuringInit --sim.parallelism $PARALLELISM
- name: Run static_CREATE_ContractSuicideDuringInit_ThenStoreThenReturn
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CREATE_ContractSuicideDuringInit_ThenStoreThenReturn --sim.parallelism $PARALLELISM
- name: Run static_CREATE_ContractSuicideDuringInit_WithValue
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CREATE_ContractSuicideDuringInit_WithValue --sim.parallelism $PARALLELISM
- name: Run static_CREATE_EmptyContractAndCallIt_0wei
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CREATE_EmptyContractAndCallIt_0wei --sim.parallelism $PARALLELISM
- name: Run static_CREATE_EmptyContractWithStorageAndCallIt_0wei
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_CREATE_EmptyContractWithStorageAndCallIt_0wei --sim.parallelism $PARALLELISM
- name: Run static_ExecuteCallThatAskForeGasThenTrabsactionHas
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_ExecuteCallThatAskForeGasThenTrabsactionHas --sim.parallelism $PARALLELISM
- name: Run static_InternalCallHittingGasLimit
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_InternalCallHittingGasLimit --sim.parallelism $PARALLELISM
- name: Run static_InternalCallHittingGasLimit2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_InternalCallHittingGasLimit2 --sim.parallelism $PARALLELISM
- name: Run static_InternlCallStoreClearsOOG
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_InternlCallStoreClearsOOG --sim.parallelism $PARALLELISM
- name: Run static_log0_emptyMem
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_log0_emptyMem --sim.parallelism $PARALLELISM
- name: Run static_log0_logMemsizeTooHigh
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_log0_logMemsizeTooHigh --sim.parallelism $PARALLELISM
- name: Run static_log0_logMemsizeZero
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_log0_logMemsizeZero --sim.parallelism $PARALLELISM
- name: Run static_log0_logMemStartTooHigh
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_log0_logMemStartTooHigh --sim.parallelism $PARALLELISM
- name: Run static_log0_nonEmptyMem
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_log0_nonEmptyMem --sim.parallelism $PARALLELISM
- name: Run static_log0_nonEmptyMem_logMemSize1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_log0_nonEmptyMem_logMemSize1 --sim.parallelism $PARALLELISM
- name: Run static_log0_nonEmptyMem_logMemSize1_logMemStart31
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_log0_nonEmptyMem_logMemSize1_logMemStart31 --sim.parallelism $PARALLELISM
- name: Run static_log1_emptyMem
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_log1_emptyMem --sim.parallelism $PARALLELISM
- name: Run static_log1_logMemsizeTooHigh
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_log1_logMemsizeTooHigh --sim.parallelism $PARALLELISM
- name: Run static_log1_logMemsizeZero
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_log1_logMemsizeZero --sim.parallelism $PARALLELISM
- name: Run static_log1_logMemStartTooHigh
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_log1_logMemStartTooHigh --sim.parallelism $PARALLELISM
- name: Run static_log1_MaxTopic
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_log1_MaxTopic --sim.parallelism $PARALLELISM
- name: Run static_log_Caller
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_log_Caller --sim.parallelism $PARALLELISM
- name: Run static_LoopCallsDepthThenRevert
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_LoopCallsDepthThenRevert --sim.parallelism $PARALLELISM
- name: Run static_LoopCallsDepthThenRevert2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_LoopCallsDepthThenRevert2 --sim.parallelism $PARALLELISM
- name: Run static_LoopCallsDepthThenRevert3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_LoopCallsDepthThenRevert3 --sim.parallelism $PARALLELISM
- name: Run static_LoopCallsThenRevert
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_LoopCallsThenRevert --sim.parallelism $PARALLELISM
- name: Run static_makeMoney
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_makeMoney --sim.parallelism $PARALLELISM
- name: Run static_PostToReturn1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_PostToReturn1 --sim.parallelism $PARALLELISM
- name: Run static_RawCallGasAsk
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_RawCallGasAsk --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_43:
name: 43. sstore_combinations_initial00
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run sstore_combinations_initial00
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /sstore_combinations_initial00 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_44:
name: 44. sstore_combinations_initial00_2
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run sstore_combinations_initial00_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /sstore_combinations_initial00_2 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_45:
name: 45. sstore_combinations_initial01
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run sstore_combinations_initial01
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /sstore_combinations_initial01 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_46:
name: 46. sstore_combinations_initial01_2
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run sstore_combinations_initial01_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /sstore_combinations_initial01_2 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_47:
name: 47. sstore_combinations_initial10
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run sstore_combinations_initial10
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /sstore_combinations_initial10 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_48:
name: 48. sstore_combinations_initial10_2
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run sstore_combinations_initial10_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /sstore_combinations_initial10_2 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_49:
name: 49. sstore_combinations_initial11
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run sstore_combinations_initial11
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /sstore_combinations_initial11 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_50:
name: 50. sstore_combinations_initial11_2
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run sstore_combinations_initial11_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /sstore_combinations_initial11_2 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_51:
name: 51. sstore_combinations_initial20
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run sstore_combinations_initial20
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /sstore_combinations_initial20 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_52:
name: 52. sstore_combinations_initial20_2
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run sstore_combinations_initial20_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /sstore_combinations_initial20_2 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_53:
name: 53. sstore_combinations_initial21
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run sstore_combinations_initial21
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /sstore_combinations_initial21 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_54:
name: 54. sstore_combinations_initial21_2
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run sstore_combinations_initial21_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /sstore_combinations_initial21_2 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_55:
name: 55. Combined tests (e.g. static_refund_CallA)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run static_refund_CallA
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_refund_CallA --sim.parallelism $PARALLELISM
- name: Run static_refund_CallToSuicideNoStorage
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_refund_CallToSuicideNoStorage --sim.parallelism $PARALLELISM
- name: Run static_refund_CallToSuicideTwice
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_refund_CallToSuicideTwice --sim.parallelism $PARALLELISM
- name: Run static_Return50000_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Return50000_2 --sim.parallelism $PARALLELISM
- name: Run static_ReturnTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_ReturnTest --sim.parallelism $PARALLELISM
- name: Run static_ReturnTest2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_ReturnTest2 --sim.parallelism $PARALLELISM
- name: Run static_RETURN_Bounds
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_RETURN_Bounds --sim.parallelism $PARALLELISM
- name: Run static_RETURN_BoundsOOG
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_RETURN_BoundsOOG --sim.parallelism $PARALLELISM
- name: Run static_RevertDepth2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_RevertDepth2 --sim.parallelism $PARALLELISM
- name: Run static_RevertOpcodeCalls
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_RevertOpcodeCalls --sim.parallelism $PARALLELISM
- name: Run static_ZeroValue_CALL_OOGRevert
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_ZeroValue_CALL_OOGRevert --sim.parallelism $PARALLELISM
- name: Run static_ZeroValue_SUICIDE_OOGRevert
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_ZeroValue_SUICIDE_OOGRevert --sim.parallelism $PARALLELISM
- name: Run stStaticFlagEnabled
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stStaticFlagEnabled --sim.parallelism $PARALLELISM
- name: Run stSystemOperationsTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stSystemOperationsTest --sim.parallelism $PARALLELISM
- name: Run CALLBlake2f_MaxRounds
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /CALLBlake2f_MaxRounds --sim.parallelism $PARALLELISM
- name: Run static_Call50000_sha256
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /static_Call50000_sha256 --sim.parallelism $PARALLELISM
- name: Run stTransactionTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stTransactionTest --sim.parallelism $PARALLELISM
- name: Run stTransitionTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stTransitionTest --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_56:
name: 56. Combined tests (e.g. stWalletTest)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run stWalletTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stWalletTest --sim.parallelism $PARALLELISM
- name: Run stZeroCallsRevert
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stZeroCallsRevert --sim.parallelism $PARALLELISM
- name: Run stZeroCallsTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stZeroCallsTest --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_2_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_2_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_2_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_2_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_340282366920938463463374607431768211456_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_340282366920938463463374607431768211456_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_340282366920938463463374607431768211456_21000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_340282366920938463463374607431768211456_21000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_340282366920938463463374607431768211456_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_340282366920938463463374607431768211456_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_340282366920938463463374607431768211456_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_340282366920938463463374607431768211456_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_340282366920938463463374607431768211456_28000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_340282366920938463463374607431768211456_28000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_340282366920938463463374607431768211456_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_340282366920938463463374607431768211456_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_5616_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_5616_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_5616_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_5616_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_5616_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_5616_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_5617_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_5617_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_5617_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_5617_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_5617_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_5617_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_5617_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_5617_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_616_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_616_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_9935_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_9935_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_9935_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_9935_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_9935_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_9935_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_9935_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_9935_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_9_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_9_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_9_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_9_21000_96 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_57:
name: 57. Combined tests (e.g. ecmul_1-2_9_28000_128)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run ecmul_1-2_9_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_9_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_9_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_9_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_0_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_0_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_0_21000_64
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_0_21000_64 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_0_21000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_0_21000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_0_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_0_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_0_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_0_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_0_28000_64
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_0_28000_64 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_0_28000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_0_28000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_0_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_0_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_1_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_1_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_1_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_1_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_1_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_1_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_1_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_1_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_2_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_2_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_2_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_2_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_2_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_2_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_2_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_2_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_340282366920938463463374607431768211456_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_340282366920938463463374607431768211456_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_340282366920938463463374607431768211456_21000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_340282366920938463463374607431768211456_21000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_340282366920938463463374607431768211456_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_340282366920938463463374607431768211456_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_340282366920938463463374607431768211456_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_340282366920938463463374607431768211456_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_340282366920938463463374607431768211456_28000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_340282366920938463463374607431768211456_28000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_340282366920938463463374607431768211456_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_340282366920938463463374607431768211456_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_5616_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_5616_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_5616_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_5616_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_5616_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_5616_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_5616_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_5616_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_5617_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_5617_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_5617_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_5617_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_5617_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_5617_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_5617_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_5617_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_9935_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_9935_21000_128 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_58:
name: 58. Combined tests (e.g. ecmul_1-3_9935_21000_96)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run ecmul_1-3_9935_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_9935_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_9935_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_9935_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_9935_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_9935_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_9_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_9_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_9_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_9_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_9_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_9_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-3_9_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-3_9_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_0_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_0_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_0_21000_64
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_0_21000_64 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_0_21000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_0_21000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_0_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_0_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_0_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_0_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_0_28000_64
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_0_28000_64 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_0_28000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_0_28000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_0_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_0_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_1456_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_1456_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_1456_21000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_1456_21000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_1456_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_1456_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_1456_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_1456_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_1456_28000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_1456_28000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_1456_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_1456_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_1_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_1_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_1_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_1_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_1_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_1_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_1_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_1_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_2_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_2_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_2_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_2_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_2_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_2_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_2_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_2_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_5616_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_5616_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_5616_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_5616_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_5616_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_5616_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_5616_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_5616_28000_96 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_59:
name: 59. Combined tests (e.g. ecmul_7827-6598_5617_21000_128)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run ecmul_7827-6598_5617_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_5617_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_5617_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_5617_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_5617_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_5617_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_5617_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_5617_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_9935_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_9935_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_9935_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_9935_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_9935_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_9935_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_9935_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_9935_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_9_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_9_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_9_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_9_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_9_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_9_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_7827-6598_9_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_7827-6598_9_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecpairing_bad_length_191
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_bad_length_191 --sim.parallelism $PARALLELISM
- name: Run ecpairing_bad_length_193
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_bad_length_193 --sim.parallelism $PARALLELISM
- name: Run ecpairing_empty_data
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_empty_data --sim.parallelism $PARALLELISM
- name: Run ecpairing_empty_data_insufficient_gas
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_empty_data_insufficient_gas --sim.parallelism $PARALLELISM
- name: Run ecpairing_one_point_fail
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_one_point_fail --sim.parallelism $PARALLELISM
- name: Run ecpairing_one_point_insufficient_gas
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_one_point_insufficient_gas --sim.parallelism $PARALLELISM
- name: Run ecpairing_one_point_not_in_subgroup
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_one_point_not_in_subgroup --sim.parallelism $PARALLELISM
- name: Run ecpairing_one_point_with_g1_zero
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_one_point_with_g1_zero --sim.parallelism $PARALLELISM
- name: Run ecpairing_one_point_with_g2_zero
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_one_point_with_g2_zero --sim.parallelism $PARALLELISM
- name: Run ecpairing_one_point_with_g2_zero_and_g1_invalid
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_one_point_with_g2_zero_and_g1_invalid --sim.parallelism $PARALLELISM
- name: Run ecpairing_perturb_g2_by_curve_order
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_perturb_g2_by_curve_order --sim.parallelism $PARALLELISM
- name: Run ecpairing_perturb_g2_by_field_modulus
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_perturb_g2_by_field_modulus --sim.parallelism $PARALLELISM
- name: Run ecpairing_perturb_g2_by_field_modulus_again
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_perturb_g2_by_field_modulus_again --sim.parallelism $PARALLELISM
- name: Run ecpairing_perturb_g2_by_one
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_perturb_g2_by_one --sim.parallelism $PARALLELISM
- name: Run ecpairing_perturb_zeropoint_by_curve_order
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_perturb_zeropoint_by_curve_order --sim.parallelism $PARALLELISM
- name: Run ecpairing_perturb_zeropoint_by_field_modulus
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_perturb_zeropoint_by_field_modulus --sim.parallelism $PARALLELISM
- name: Run ecpairing_perturb_zeropoint_by_one
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_perturb_zeropoint_by_one --sim.parallelism $PARALLELISM
- name: Run ecpairing_three_point_fail_1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_three_point_fail_1 --sim.parallelism $PARALLELISM
- name: Run ecpairing_three_point_match_1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_three_point_match_1 --sim.parallelism $PARALLELISM
- name: Run ecpairing_two_points_with_one_g2_zero
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_two_points_with_one_g2_zero --sim.parallelism $PARALLELISM
- name: Run ecpairing_two_point_fail_1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_two_point_fail_1 --sim.parallelism $PARALLELISM
- name: Run ecpairing_two_point_fail_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_two_point_fail_2 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_60:
name: 60. Combined tests (e.g. ecpairing_two_point_match_1)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run ecpairing_two_point_match_1
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_two_point_match_1 --sim.parallelism $PARALLELISM
- name: Run ecpairing_two_point_match_2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_two_point_match_2 --sim.parallelism $PARALLELISM
- name: Run ecpairing_two_point_match_3
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_two_point_match_3 --sim.parallelism $PARALLELISM
- name: Run ecpairing_two_point_match_4
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_two_point_match_4 --sim.parallelism $PARALLELISM
- name: Run ecpairing_two_point_match_5
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_two_point_match_5 --sim.parallelism $PARALLELISM
- name: Run ecpairing_two_point_oog
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecpairing_two_point_oog --sim.parallelism $PARALLELISM
- name: Run pairingTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /pairingTest --sim.parallelism $PARALLELISM
- name: Run pointAdd
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /pointAdd --sim.parallelism $PARALLELISM
- name: Run pointAddTrunc
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /pointAddTrunc --sim.parallelism $PARALLELISM
- name: Run pointMulAdd
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /pointMulAdd --sim.parallelism $PARALLELISM
- name: Run pointMulAdd2
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /pointMulAdd2 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-0_0-0_21000_0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_0-0_21000_0 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-0_0-0_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_0-0_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-0_0-0_21000_192
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_0-0_21000_192 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_61:
name: 61. Combined tests (e.g. ecadd_0-0_0-0_21000_64)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run ecadd_0-0_0-0_21000_64
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_0-0_21000_64 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-0_0-0_21000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_0-0_21000_80 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-0_0-0_25000_0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_0-0_25000_0 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-0_0-0_25000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_0-0_25000_128 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-0_0-0_25000_192
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_0-0_25000_192 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-0_0-0_25000_64
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_0-0_25000_64 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-0_0-0_25000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_0-0_25000_80 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-0_1-2_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_1-2_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-0_1-2_21000_192
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_1-2_21000_192 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-0_1-2_25000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_1-2_25000_128 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-0_1-2_25000_192
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_1-2_25000_192 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-0_1-3_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_1-3_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-0_1-3_25000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-0_1-3_25000_128 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-3_1-2_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-3_1-2_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecadd_0-3_1-2_25000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_0-3_1-2_25000_128 --sim.parallelism $PARALLELISM
- name: Run ecadd_1-2_0-0_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1-2_0-0_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecadd_1-2_0-0_21000_192
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1-2_0-0_21000_192 --sim.parallelism $PARALLELISM
- name: Run ecadd_1-2_0-0_21000_64
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1-2_0-0_21000_64 --sim.parallelism $PARALLELISM
- name: Run ecadd_1-2_0-0_25000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1-2_0-0_25000_128 --sim.parallelism $PARALLELISM
- name: Run ecadd_1-2_0-0_25000_192
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1-2_0-0_25000_192 --sim.parallelism $PARALLELISM
- name: Run ecadd_1-2_0-0_25000_64
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1-2_0-0_25000_64 --sim.parallelism $PARALLELISM
- name: Run ecadd_1-2_1-2_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1-2_1-2_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecadd_1-2_1-2_21000_192
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1-2_1-2_21000_192 --sim.parallelism $PARALLELISM
- name: Run ecadd_1-2_1-2_25000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1-2_1-2_25000_128 --sim.parallelism $PARALLELISM
- name: Run ecadd_1-2_1-2_25000_192
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1-2_1-2_25000_192 --sim.parallelism $PARALLELISM
- name: Run ecadd_1-3_0-0_21000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1-3_0-0_21000_80 --sim.parallelism $PARALLELISM
- name: Run ecadd_1-3_0-0_25000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1-3_0-0_25000_80 --sim.parallelism $PARALLELISM
- name: Run ecadd_1145-3932_1145-4651_21000_192
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1145-3932_1145-4651_21000_192 --sim.parallelism $PARALLELISM
- name: Run ecadd_1145-3932_1145-4651_25000_192
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1145-3932_1145-4651_25000_192 --sim.parallelism $PARALLELISM
- name: Run ecadd_1145-3932_2969-1336_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1145-3932_2969-1336_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecadd_1145-3932_2969-1336_25000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_1145-3932_2969-1336_25000_128 --sim.parallelism $PARALLELISM
- name: Run ecadd_6-9_19274124-124124_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_6-9_19274124-124124_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecadd_6-9_19274124-124124_25000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecadd_6-9_19274124-124124_25000_128 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_62:
name: 62. Combined tests (e.g. ecmul_0-0_0_21000_0)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run ecmul_0-0_0_21000_0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_0_21000_0 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_0_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_0_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_0_21000_40
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_0_21000_40 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_0_21000_64
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_0_21000_64 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_0_21000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_0_21000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_0_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_0_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_0_28000_0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_0_28000_0 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_0_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_0_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_0_28000_40
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_0_28000_40 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_0_28000_64
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_0_28000_64 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_0_28000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_0_28000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_0_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_0_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_1_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_1_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_1_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_1_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_1_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_1_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_1_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_1_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_2_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_2_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_2_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_2_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_2_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_2_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_2_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_2_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_340282366920938463463374607431768211456_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_340282366920938463463374607431768211456_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_340282366920938463463374607431768211456_21000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_340282366920938463463374607431768211456_21000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_340282366920938463463374607431768211456_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_340282366920938463463374607431768211456_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_340282366920938463463374607431768211456_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_340282366920938463463374607431768211456_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_340282366920938463463374607431768211456_28000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_340282366920938463463374607431768211456_28000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_340282366920938463463374607431768211456_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_340282366920938463463374607431768211456_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_5616_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_5616_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_5616_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_5616_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_5616_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_5616_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_5616_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_5616_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_5617_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_5617_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_5617_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_5617_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_5617_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_5617_28000_128 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_63:
name: 63. Combined tests (e.g. ecmul_0-0_5617_28000_96)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run ecmul_0-0_5617_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_5617_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_9935_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_9935_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_9935_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_9935_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_9935_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_9935_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_9935_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_9935_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_9_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_9_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_9_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_9_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_9_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_9_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-0_9_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-0_9_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_0_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_0_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_0_21000_64
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_0_21000_64 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_0_21000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_0_21000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_0_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_0_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_0_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_0_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_0_28000_64
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_0_28000_64 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_0_28000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_0_28000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_0_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_0_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_1_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_1_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_1_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_1_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_1_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_1_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_1_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_1_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_2_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_2_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_2_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_2_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_2_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_2_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_2_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_2_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_340282366920938463463374607431768211456_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_340282366920938463463374607431768211456_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_340282366920938463463374607431768211456_21000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_340282366920938463463374607431768211456_21000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_340282366920938463463374607431768211456_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_340282366920938463463374607431768211456_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_340282366920938463463374607431768211456_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_340282366920938463463374607431768211456_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_340282366920938463463374607431768211456_28000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_340282366920938463463374607431768211456_28000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_340282366920938463463374607431768211456_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_340282366920938463463374607431768211456_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_5616_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_5616_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_5616_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_5616_21000_96 --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_64:
name: 64. Combined tests (e.g. ecmul_0-3_5616_28000_128)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v4
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run ecmul_0-3_5616_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_5616_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_5616_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_5616_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_5617_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_5617_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_5617_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_5617_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_5617_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_5617_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_5617_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_5617_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_9935_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_9935_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_9935_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_9935_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_9935_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_9935_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_9935_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_9935_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_9_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_9_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_9_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_9_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_9_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_9_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_0-3_9_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_0-3_9_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_0_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_0_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_0_21000_64
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_0_21000_64 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_0_21000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_0_21000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_0_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_0_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_0_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_0_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_0_28000_64
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_0_28000_64 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_0_28000_80
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_0_28000_80 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_0_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_0_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_1_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_1_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_1_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_1_21000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_1_28000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_1_28000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_1_28000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_1_28000_96 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_2_21000_128
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_2_21000_128 --sim.parallelism $PARALLELISM
- name: Run ecmul_1-2_2_21000_96
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /ecmul_1-2_2_21000_96 --sim.parallelism $PARALLELISM
- name: Run stEIP3651-warmcoinbase
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stEIP3651-warmcoinbase --sim.parallelism $PARALLELISM
- name: Run stEIP3855-push0
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stEIP3855-push0 --sim.parallelism $PARALLELISM
- name: Run stEIP3860-limitmeterinitcode
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /stEIP3860-limitmeterinitcode --sim.parallelism $PARALLELISM
- name: Run bc4895-withdrawals
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /bc4895-withdrawals --sim.parallelism $PARALLELISM
- name: Run bcBlockGasLimitTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /bcBlockGasLimitTest --sim.parallelism $PARALLELISM
- name: Run bcEIP1559
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /bcEIP1559 --sim.parallelism $PARALLELISM
- name: Print results
run: |
cd nethermind/tools/HiveConsensusWorkflowGenerator
dotnet run
cat matrix.json
echo "matrix=$(jq -c . matrix.json)" >> $GITHUB_OUTPUT
run_hive_tests:

Check failure on line 6085 in .github/workflows/hive-consensus-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/hive-consensus-tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 6085
runs-on: ubuntu-latest
needs: [generate_hive_consensus_tests, create_docker_image]
strategy:
fail-fast: false
matrix:
hiveTests: ${{fromJson(needs.generate_hive_consensus_tests.outputs.matrix)}}
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '8' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v4
with:
path: nethermind
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v4
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Run hive for tests - ${{ join(matrix.hiveTests.testNames, ', ') }}
continue-on-error: true
working-directory: hive
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run bcExample
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /bcExample --sim.parallelism $PARALLELISM
- name: Run bcForkStressTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /bcForkStressTest --sim.parallelism $PARALLELISM
- name: Run bcGasPricerTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /bcGasPricerTest --sim.parallelism $PARALLELISM
- name: Run bcMultiChainTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /bcMultiChainTest --sim.parallelism $PARALLELISM
- name: Run bcRandomBlockhashTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /bcRandomBlockhashTest --sim.parallelism $PARALLELISM
- name: Run bcStateTests
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /bcStateTests --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"
test_68:
name: 68. Combined tests (e.g. bcTotalDifficultyTest)
runs-on: ubuntu-latest
steps:
- name: Set up parameters
run: |
echo "PARALLELISM=${{ github.event.inputs.parallelism || '3' }}" >> $GITHUB_ENV
- name: Check out Nethermind repository
uses: actions/checkout@v3
with:
path: nethermind
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: nethermind
file: nethermind/Dockerfile
tags: nethermind:test-${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar
- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Set up Go environment
uses: actions/setup-go@v3.0.0
with:
go-version: ">=1.17.0"
- name: Check out Hive repository
uses: actions/checkout@v3
with:
repository: ethereum/hive
ref: master
path: hive
- name: Patch Hive Dockerfile
run: sed -i 's#FROM $baseimage:$tag#FROM nethermind:test-${{ github.sha }}#g' hive/clients/nethermind/Dockerfile
- name: Build Hive
working-directory: hive
run: go build .
- name: Load Docker image
run: docker load --input /tmp/image.tar
- name: Run bcTotalDifficultyTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /bcTotalDifficultyTest --sim.parallelism $PARALLELISM
- name: Run bcUncleSpecialTests
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /bcUncleSpecialTests --sim.parallelism $PARALLELISM
- name: Run bcUncleTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /bcUncleTest --sim.parallelism $PARALLELISM
- name: Run bcValidBlockTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /bcValidBlockTest --sim.parallelism $PARALLELISM
- name: Run bcWalletTest
continue-on-error: true
working-directory: hive
run: ./hive --client nethermind --sim ethereum/consensus --sim.limit /bcWalletTest --sim.parallelism $PARALLELISM
- name: Print results
run: |
chmod +x nethermind/scripts/hive-results.sh
nethermind/scripts/hive-results.sh "hive/workspace/logs/*.json"