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