Commit ab15393d authored by OptimismBot's avatar OptimismBot Committed by GitHub

Merge pull request #6216 from ethereum-optimism/aj/report-hive-tests

hive: Improve reporting of hive test failures
parents 865a7ab0 e9a85759
...@@ -1081,21 +1081,32 @@ jobs: ...@@ -1081,21 +1081,32 @@ jobs:
- go/mod-download - go/mod-download
- go/save-cache - go/save-cache
- run: { command: "go build ." } - run: { command: "go build ." }
- run: { command: "go build junit/junitformatter.go" }
- run: - run:
command: | command: |
./hive \ ./hive \
-sim=<<parameters.sim>> \ -sim=<<parameters.sim>> \
-sim.loglevel=5 \ -sim.loglevel=5 \
-client=go-ethereum_v1.11.6,op-geth_optimism,op-proposer_<<parameters.version>>,op-batcher_<<parameters.version>>,op-node_<<parameters.version>> |& tee /tmp/hive.log || echo "failed." -client=go-ethereum_v1.11.6,op-geth_optimism,op-proposer_<<parameters.version>>,op-batcher_<<parameters.version>>,op-node_<<parameters.version>> |& tee /tmp/hive.log
- run: - run:
command: | command: |
tar -cvf /tmp/workspace.tgz -C /home/circleci/project /home/circleci/project/workspace tar -cvf /tmp/workspace.tgz -C /home/circleci/project /home/circleci/project/workspace
name: "Archive workspace" name: "Archive workspace"
when: always
- run:
command: |
./junitformatter /home/circleci/project/workspace/logs/*.json > /home/circleci/project/workspace/logs/junit.xml
when: always
- store_artifacts: - store_artifacts:
path: /tmp/workspace.tgz path: /tmp/workspace.tgz
destination: hive-workspace.tgz destination: hive-workspace.tgz
- run: when: always
command: "! grep 'pass.*=false' /tmp/hive.log" - store_test_results:
path: /home/circleci/project/workspace/logs/junit.xml
when: always
- store_artifacts:
path: /home/circleci/project/workspace/logs/junit.xml
when: always
bedrock-go-tests: bedrock-go-tests:
docker: docker:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment