Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
bump zombienet version to v1.3.37 (#6773)
Browse files Browse the repository at this point in the history
* bump zombienet version

* remove redundant 'is up' assertion

* bump zombienet version

* bump to latest version of zombienet

* add more time to check peers
  • Loading branch information
pepoviola authored Mar 7, 2023
1 parent 8cbf42d commit d0419a9
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 66 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ variables:
BUILDAH_IMAGE: "quay.io/buildah/stable:v1.27"
DOCKER_OS: "debian:stretch"
ARCH: "x86_64"
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.2.78"
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.37"

default:
cache: {}
Expand Down
26 changes: 8 additions & 18 deletions zombienet_tests/functional/0001-parachains-pvf.zndsl
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@ Description: PVF preparation & execution time
Network: ./0001-parachains-pvf.toml
Creds: config

# Some sanity checks
alice: is up
bob: is up
charlie: is up
dave: is up
eve: is up
ferdie: is up
one: is up
two: is up

# Check authority status.
alice: reports node_roles is 4
bob: reports node_roles is 4
Expand Down Expand Up @@ -54,14 +44,14 @@ one: reports histogram polkadot_pvf_preparation_time has at least 1 samples in b
two: reports histogram polkadot_pvf_preparation_time has at least 1 samples in buckets ["0.1", "0.5", "1", "2", "3", "10"] within 10 seconds

# Check all buckets >= 20.
alice: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds
bob: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds
charlie: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds
dave: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds
ferdie: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds
eve: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds
one: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds
two: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds
alice: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "120", "+Inf"] within 10 seconds
bob: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "120", "+Inf"] within 10 seconds
charlie: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "120", "+Inf"] within 10 seconds
dave: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "120", "+Inf"] within 10 seconds
ferdie: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "120", "+Inf"] within 10 seconds
eve: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "120", "+Inf"] within 10 seconds
one: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "120", "+Inf"] within 10 seconds
two: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "120", "+Inf"] within 10 seconds

# Check execution time.
# There are two different timeout conditions: BACKING_EXECUTION_TIMEOUT(2s) and
Expand Down
9 changes: 0 additions & 9 deletions zombienet_tests/functional/0002-parachains-disputes.zndsl
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@ Description: Disputes initiation, conclusion and lag
Network: ./0002-parachains-disputes.toml
Creds: config

alice: is up
bob: is up
charlie: is up
dave: is up
eve: is up
ferdie: is up
one: is up
two: is up

# Check authority status and peers.
alice: reports node_roles is 4
bob: reports node_roles is 4
Expand Down
6 changes: 0 additions & 6 deletions zombienet_tests/functional/0003-beefy-and-mmr.zndsl
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ Description: Test BEEFY voting and finality, test MMR proofs. Assumes Rococo ses
Network: ./0003-beefy-and-mmr.toml
Creds: config

# Some sanity checks.
validator-0: is up
validator-1: is up
validator-2: is up
validator-3: is up

# Check authority status.
validator-0: reports node_roles is 4
validator-1: reports node_roles is 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ Description: Test dispute finality lag when 1/3 of parachain validators always a
Network: ./0003-parachains-garbage-candidate.toml
Creds: config

honest-validator-0: is up
honest-validator-1: is up
honest-validator-2: is up
malus-validator-0: is up

# Check authority status.
honest-validator-0: reports node_roles is 4
honest-validator-1: reports node_roles is 4
Expand Down
11 changes: 0 additions & 11 deletions zombienet_tests/misc/0001-paritydb.zndsl
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,6 @@ Description: Check that paritydb works without affecting finality lag and block
Network: ./0001-paritydb.toml
Creds: config

validator-0: is up
validator-1: is up
validator-2: is up
validator-3: is up
validator-4: is up
validator-5: is up
validator-6: is up
validator-7: is up
validator-8: is up
validator-9: is up

# Check if we are using ParityDB.
validator: log line contains "Database: ParityDb"
validator: run ./0001-check_paritydb.sh within 60 seconds
Expand Down
5 changes: 0 additions & 5 deletions zombienet_tests/misc/0002-upgrade-node.zndsl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ Description: Smoke / Upgrade Node
Network: ./0002-upgrade-node.toml
Creds: config

alice: is up
bob: is up
charlie: is up
dave: is up

alice: parachain 2000 block height is at least 10 within 200 seconds
bob: parachain 2001 block height is at least 10 within 200 seconds

Expand Down
3 changes: 0 additions & 3 deletions zombienet_tests/smoke/0001-parachains-smoke-test.zndsl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@ Description: Smoke Test
Network: ./0001-parachains-smoke-test.toml
Creds: config


alice: is up
bob: is up
alice: parachain 100 is registered within 225 seconds
alice: parachain 100 block height is at least 10 within 200 seconds
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ Description: Smoke Test
Network: ./0002-parachains-upgrade-smoke-test.toml
Creds: config


alice: is up
bob: is up
alice: parachain 100 is registered within 225 seconds
alice: parachain 100 block height is at least 10 within 400 seconds
alice: parachain 100 perform dummy upgrade within 200 seconds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ Description: Deregister / Register Validator Smoke
Network: ./0003-deregister-register-validator-smoke.toml
Creds: config

alice: is up within 30 seconds
bob: is up within 30 seconds
charlie: is up within 30 seconds
dave: is up within 30 seconds

# ensure is in the validator set
dave: reports polkadot_node_is_parachain_validator is 1 within 240 secs
dave: reports polkadot_node_is_active_validator is 1 within 240 secs
Expand Down

0 comments on commit d0419a9

Please sign in to comment.