mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 22:23:11 +00:00
.github: [jepsen] use "bash -c" to execute lein run cmd (#6136)
Fixes https://github.com/tendermint/tendermint/runs/1925329781 ``` OCI runtime exec failed: exec failed: container_linux.go:370: starting container process caused: exec: "lein run test --nemesis none --workload cas-register --concurrency 10 --tendermint-url https://github.com/melekes/katas/releases/download/0.2.0/tendermint.tar.gz --merkleeyes-url https://github.com/melekes/katas/releases/download/0.2.0/merkleeyes_0.1.7.tar.gz": stat lein run test --nemesis none --workload cas-register --concurrency 10 --tendermint-url https://github.com/melekes/katas/releases/download/0.2.0/tendermint.tar.gz --merkleeyes-url https://github.com/melekes/katas/releases/download/0.2.0/merkleeyes_0.1.7.tar.gz: no such file or directory: unknown ```
This commit is contained in:
15
.github/workflows/jepsen.yml
vendored
15
.github/workflows/jepsen.yml
vendored
@@ -11,21 +11,18 @@ on:
|
||||
description: 'Nemesis to use: (none | clocks | single-partitions | half-partitions | ring-partitions | split-dup-validators | peekaboo-dup-validators | changing-validators | crash | truncate-tendermint | truncate-merkleeyes)'
|
||||
required: true
|
||||
default: 'none'
|
||||
dupValidators:
|
||||
description: 'Whether to have multiple validators share the same key.'
|
||||
dupOrSuperByzValidators:
|
||||
description: '"--dup-validators" (multiple validators share the same key) and(or) "--super-byzantine-validators" (byzantine validators have just shy of 2/3 the voting weight)'
|
||||
required: false
|
||||
default: 'false'
|
||||
superByzantineValidators:
|
||||
description: 'Should byzantine validators have just shy of 2/3 the voting weight?'
|
||||
required: false
|
||||
default: 'false'
|
||||
default: ''
|
||||
concurrency:
|
||||
description: 'How many workers should we run? Must be an integer and >= 10, optionally followed by n (e.g. 3n) to multiply by the number of nodes.'
|
||||
required: true
|
||||
default: 10
|
||||
timeLimit:
|
||||
description: 'Excluding setup and teardown, how long should a test run for, in seconds?'
|
||||
required: false
|
||||
required: true
|
||||
default: 60
|
||||
tendermintUrl:
|
||||
description: 'Where to grab the Tendermint binary (linux/amd64 tarball)?'
|
||||
required: true
|
||||
@@ -49,4 +46,4 @@ jobs:
|
||||
|
||||
- name: Run the test
|
||||
working-directory: tendermint
|
||||
run: docker exec -i jepsen-control 'lein run test --nemesis ${{ github.event.inputs.nemesis }} --workload ${{ github.event.inputs.workload }} --concurrency ${{ github.event.inputs.concurrency }} --tendermint-url ${{ github.event.inputs.tendermintUrl }} --merkleeyes-url ${{ github.event.inputs.merkleeyesUrl }}'
|
||||
run: docker exec -i jepsen-control bash -c 'lein run test --nemesis ${{ github.event.inputs.nemesis }} --workload ${{ github.event.inputs.workload }} --concurrency ${{ github.event.inputs.concurrency }} --tendermint-url ${{ github.event.inputs.tendermintUrl }} --merkleeyes-url ${{ github.event.inputs.merkleeyesUrl }} --time-limit ${{ github.event.inputs.timeLimit }} ${{ github.event.inputs.dupOrSuperByzValidators }}'
|
||||
|
||||
Reference in New Issue
Block a user