bump zombienet version. (#7180)

* bump zombienet version

* enable upgrade node test

* changes to fix test

* typo in pipeline
This commit is contained in:
Javier Viola
2023-05-07 16:23:36 -03:00
committed by GitHub
parent d3852d718a
commit 0e5974f55b
4 changed files with 37 additions and 38 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ variables:
BUILDAH_COMMAND: "buildah --storage-driver overlay2"
DOCKER_OS: "debian:stretch"
ARCH: "x86_64"
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.49"
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.50"
default:
cache: {}
@@ -183,40 +183,37 @@ zombienet-tests-misc-paritydb:
tags:
- zombienet-polkadot-integration-test
## TODO: https://github.com/paritytech/polkadot/issues/7177
## This is temporarily because it's currently broken
##
# zombienet-tests-misc-upgrade-node:
# stage: zombienet
# image: "${ZOMBIENET_IMAGE}"
# extends:
# - .kubernetes-env
# - .zombienet-refs
# needs:
# - job: publish-polkadot-debug-image
# - job: publish-test-collators-image
# - job: build-linux-stable
# artifacts: true
# variables:
# GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/misc"
# before_script:
# - echo "Zombie-net Tests Config"
# - echo "${ZOMBIENET_IMAGE_NAME}"
# - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}"
# - echo "${GH_DIR}"
# - export DEBUG=zombie,zombie::network-node
# - export ZOMBIENET_INTEGRATION_TEST_IMAGE="docker.io/parity/polkadot:latest"
# - export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG}
# - BUILD_LINUX_JOB_ID="$(cat ./artifacts/BUILD_LINUX_JOB_ID)"
# - export POLKADOT_PR_BIN_URL="https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/${BUILD_LINUX_JOB_ID}/artifacts/raw/artifacts/polkadot"
# script:
# - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
# --github-remote-dir="${GH_DIR}"
# --test="0002-upgrade-node.zndsl"
# allow_failure: true
# retry: 2
# tags:
# - zombienet-polkadot-integration-test
zombienet-tests-misc-upgrade-node:
stage: zombienet
image: "${ZOMBIENET_IMAGE}"
extends:
- .kubernetes-env
- .zombienet-refs
needs:
- job: publish-polkadot-debug-image
- job: publish-test-collators-image
- job: build-linux-stable
artifacts: true
variables:
GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/misc"
before_script:
- echo "Zombie-net Tests Config"
- echo "${ZOMBIENET_IMAGE_NAME}"
- echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}"
- echo "${GH_DIR}"
- export DEBUG=zombie,zombie::network-node
- export ZOMBIENET_INTEGRATION_TEST_IMAGE="docker.io/parity/polkadot:latest"
- export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG}
- BUILD_LINUX_JOB_ID="$(cat ./artifacts/BUILD_LINUX_JOB_ID)"
- export POLKADOT_PR_BIN_URL="https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/${BUILD_LINUX_JOB_ID}/artifacts/raw/artifacts/polkadot"
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
--github-remote-dir="${GH_DIR}"
--test="0002-upgrade-node.zndsl"
allow_failure: false
retry: 2
tags:
- zombienet-polkadot-integration-test
zombienet-tests-malus-dispute-valid:
stage: zombienet
@@ -9,10 +9,12 @@ chain = "rococo-local"
[[relaychain.nodes]]
name = "alice"
args = [ "-lparachain=debug,runtime=debug", "--db paritydb" ]
substrate_cli_args_version = 1
[[relaychain.nodes]]
name = "bob"
args = [ "-lparachain=debug,runtime=debug", "--db rocksdb" ]
substrate_cli_args_version = 1
[[relaychain.nodes]]
name = "charlie"
@@ -2,8 +2,8 @@ Description: Smoke / Upgrade Node
Network: ./0002-upgrade-node.toml
Creds: config
alice: parachain 2000 block height is at least 10 within 200 seconds
bob: parachain 2001 block height is at least 10 within 200 seconds
charlie: parachain 2000 block height is at least 10 within 200 seconds
dave: parachain 2001 block height is at least 10 within 200 seconds
# upgrade both nodes
# For testing using native provider you should set this env var