[unstable2507] Backport #10541: test-utils/fix: Parachains test-utils relay parent descendants mock data #14973
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Zombienet Polkadot | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review, labeled] | |
| merge_group: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR: 1 | |
| LOCAL_DIR: "./polkadot/zombienet_tests" | |
| GHA_CLUSTER_SERVER_ADDR: "https://kubernetes.default:443" | |
| # use spot by default | |
| X_INFRA_INSTANCE: "spot" | |
| # don't retry sdk tests | |
| NEXTEST_RETRIES: 0 | |
| KUBECONFIG: "/data/config" | |
| ZOMBIE_CLEANER_DISABLED: 1 | |
| # only run if we have changes in [subtrate, polkadot] directories or this workflow. | |
| jobs: | |
| isdraft: | |
| uses: ./.github/workflows/reusable-isdraft.yml | |
| preflight: | |
| needs: isdraft | |
| uses: ./.github/workflows/zombienet-reusable-preflight.yml | |
| # | |
| # functional | |
| # | |
| # TODO: Disabled, occasionally (1 on ~50-70 runs) fails | |
| zombienet-polkadot-functional-0001-parachains-pvf: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-0001-parachains-pvf') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0001-parachains-pvf.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/functional" | |
| concurrency: 1 | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| # TODO: Disabled, occasionally (1 on ~50-70 runs) fails | |
| zombienet-polkadot-functional-0002-parachains-disputes: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-0002-parachains-disputes') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| MALUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/malus:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0002-parachains-disputes.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/functional" | |
| concurrency: 1 | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| zombienet-polkadot-functional-0003-beefy-and-mmr: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-0003-beefy-and-mmr') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_DEFAULT_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0003-beefy-and-mmr.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/functional" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| # TODO: Disabled, occasionally (2 on ~50-70 runs) fails | |
| zombienet-polkadot-functional-0004-parachains-disputes-garbage-candidate: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-0004-parachains-disputes-garbage-candidate') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| MALUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/malus:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0004-parachains-garbage-candidate.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/functional" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| zombienet-polkadot-functional-0006-parachains-max-tranche0: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-0006-parachains-max-tranche0') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0006-parachains-max-tranche0.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/functional" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| zombienet-polkadot-functional-0007-dispute-freshly-finalized: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-0007-dispute-freshly-finalized') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| MALUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/malus:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0007-dispute-freshly-finalized.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/functional" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| zombienet-polkadot-functional-0008-dispute-old-finalized: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-0008-dispute-old-finalized') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| MALUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/malus:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0008-dispute-old-finalized.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/functional" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| zombienet-polkadot-functional-0010-validator-disabling: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-0010-validator-disabling') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| MALUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/malus:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0010-validator-disabling.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/functional" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| # | |
| zombienet-polkadot-functional-0013-systematic-chunk-recovery: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-0013-systematic-chunk-recovery') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0013-systematic-chunk-recovery.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/functional" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| # | |
| zombienet-polkadot-functional-0014-chunk-fetching-network-compatibility: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-0014-chunk-fetching-network-compatibility') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| # this test require an old version of polkadot | |
| POLKADOT_IMAGE: "docker.io/paritypr/polkadot-debug" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| # We need to use an older version of polkadot/polkadot-parachain, particulary a version that doesn't includes | |
| # https://github.com/paritytech/polkadot-sdk/pull/1644, and since this change is also used by the collators we need to | |
| # keep this test to ensure that works with older versions. | |
| - name: download_old_release_bins | |
| shell: bash | |
| run: | | |
| BIN_DIR="$(pwd)/bin_old" | |
| mkdir -p $BIN_DIR | |
| for bin in polkadot polkadot-parachain; do | |
| OLD_NAME="$bin-old" | |
| echo "downloading $bin as $OLD_NAME in $BIN_DIR"; | |
| curl -L -o $BIN_DIR/$OLD_NAME https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-v1.7.0/$bin | |
| chmod 755 $BIN_DIR/$OLD_NAME; | |
| done | |
| for bin in polkadot-execute-worker polkadot-prepare-worker; do | |
| OLD_NAME="$bin" | |
| echo "downloading $bin as $OLD_NAME in $BIN_DIR"; | |
| curl -L -o $BIN_DIR/$OLD_NAME https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-v1.7.0/$bin | |
| chmod 755 $BIN_DIR/$OLD_NAME; | |
| done | |
| ls -ltr $BIN_DIR | |
| export PATH=$BIN_DIR:$PATH | |
| echo "PATH=$PATH" >> $GITHUB_ENV | |
| echo $PATH | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| env: | |
| OLD_SUFFIX: "-old" | |
| with: | |
| test: "0014-chunk-fetching-network-compatibility.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/functional" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| # | |
| zombienet-polkadot-functional-0015-coretime-shared-core: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-0015-coretime-shared-core') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| CUMULUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-parachain-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: cp_script | |
| run: | | |
| cp --remove-destination ${LOCAL_DIR}/assign-core.js ${LOCAL_DIR}/functional | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0015-coretime-shared-core.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/functional" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| # | |
| zombienet-polkadot-functional-0019-coretime-collation-fetching-fairness: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-0019-coretime-collation-fetching-fairness') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| CUMULUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-parachain-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: cp_script | |
| run: | | |
| cp --remove-destination ${LOCAL_DIR}/assign-core.js ${LOCAL_DIR}/functional | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0019-coretime-collation-fetching-fairness.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/functional" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| # smoke | |
| # | |
| zombienet-polkadot-smoke-0001-parachains-smoke-test: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-smoke-0001-parachains-smoke-test') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_DEFAULT_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0001-parachains-smoke-test.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/smoke" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| # | |
| zombienet-polkadot-smoke-0002-parachains-parachains-upgrade-smoke: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-smoke-0002-parachains-parachains-upgrade-smoke') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_DEFAULT_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| CUMULUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-parachain-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0002-parachains-upgrade-smoke-test.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/smoke" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| # TODO: Disabled | |
| zombienet-polkadot-smoke-0003-deregister-register-validator: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-smoke-0003-deregister-register-validator') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_DEFAULT_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0003-deregister-register-validator-smoke.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/smoke" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| # | |
| zombienet-polkadot-smoke-0004-coretime-smoke-test: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-smoke-0004-coretime-smoke-test') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| CUMULUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-parachain-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0004-coretime-smoke-test.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/smoke" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| # | |
| zombienet-polkadot-smoke-0005-precompile-pvf-smoke: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-smoke-0005-precompile-pvf-smoke') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| CUMULUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-parachain-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0005-precompile-pvf-smoke.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/smoke" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| # misc | |
| # TODO: Disabled, occasionally (1 on ~50-70 runs) fails | |
| zombienet-polkadot-misc-0001-parachains-paritydb: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-misc-0001-parachains-paritydb') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0001-paritydb.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/misc" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # TODO: needs to resolve how to pass the GH_TOKEN to pods | |
| # | |
| # zombienet-polkadot-misc-0002-upgrade-node: | |
| # needs: [preflight] | |
| # if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-misc-0002-upgrade-node') }} | |
| # runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| # timeout-minutes: 60 | |
| # container: | |
| # image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| # env: | |
| # ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| # COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| # DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| # ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| # steps: | |
| # - name: Checkout | |
| # uses: actions/checkout@v4 | |
| # - name: custom_setup | |
| # run: | | |
| # export ZOMBIENET_INTEGRATION_TEST_IMAGE="docker.io/parity/polkadot:latest" | |
| # echo "Overrided polkadot image ${ZOMBIENET_INTEGRATION_TEST_IMAGE}" | |
| # export POLKADOT_PR_ARTIFACTS_URL=${{ needs.preflight.outputs.POLKADOT_PR_ARTIFACTS_URL }} | |
| # echo "POLKADOT_PR_ARTIFACTS_URL: ${POLKADOT_PR_ARTIFACTS_URL}" | |
| # - name: zombienet_test | |
| # uses: ./.github/actions/zombienet | |
| # with: | |
| # test: "0002-upgrade-node.zndsl" | |
| # local-dir: "${{ env.LOCAL_DIR }}/misc" | |
| # gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| # build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| # ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| # Malus | |
| # | |
| zombienet-polkadot-malus-0001-dispute-valid: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-malus-0001-dispute-valid') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_IMAGE }} | |
| env: | |
| ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| MALUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/malus:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| DEBUG: ${{ needs.preflight.outputs.DEBUG }} | |
| LOCAL_DIR: "./polkadot/node/malus" | |
| ZOMBIENET_PROVIDER: ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet | |
| with: | |
| test: "0001-dispute-valid-block.zndsl" | |
| local-dir: "${{ env.LOCAL_DIR }}/integrationtests" | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| # | |
| # sdk tests | |
| # | |
| # TODO: Disabled | |
| zombienet-polkadot-coretime-revenue: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-coretime-revenue') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_SDK_DEFAULT_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_SDK_IMAGE }} | |
| env: | |
| # sdk tests are looking for POLKADOT_IMAGE | |
| POLKADOT_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| MALUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/malus:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| RUST_LOG: ${{ needs.preflight.outputs.RUST_LOG }} | |
| ZOMBIE_PROVIDER: ${{ needs.preflight.outputs.ZOMBIE_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet-sdk | |
| with: | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| test: "smoke::coretime_revenue::coretime_revenue_test" | |
| prefix: "polkadot" | |
| # | |
| # | |
| zombienet-polkadot-elastic-scaling-slot-based-3cores: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-elastic-scaling-slot-based-3cores') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_SDK_IMAGE }} | |
| env: | |
| # sdk tests are looking for POLKADOT_IMAGE | |
| POLKADOT_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| CUMULUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/test-parachain:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| RUST_LOG: ${{ needs.preflight.outputs.RUST_LOG }} | |
| ZOMBIE_PROVIDER: ${{ needs.preflight.outputs.ZOMBIE_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet-sdk | |
| with: | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| test: "elastic_scaling::slot_based_3cores::slot_based_3cores_test" | |
| prefix: "polkadot" | |
| # | |
| # TODO: Disabled, fails very often with zombienet native provider | |
| zombienet-polkadot-elastic-scaling-slot-based-12cores: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-elastic-scaling-slot-based-12cores') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_SDK_IMAGE }} | |
| env: | |
| # sdk tests are looking for POLKADOT_IMAGE | |
| POLKADOT_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| CUMULUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/test-parachain:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| RUST_LOG: ${{ needs.preflight.outputs.RUST_LOG }} | |
| ZOMBIE_PROVIDER: ${{ needs.preflight.outputs.ZOMBIE_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet-sdk | |
| with: | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| test: "elastic_scaling::slot_based_12cores::slot_based_12cores_test" | |
| prefix: "polkadot" | |
| # | |
| # | |
| zombienet-polkadot-elastic-scaling-doesnt-break-parachains: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-elastic-scaling-doesnt-break-parachains') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_SDK_IMAGE }} | |
| env: | |
| # sdk tests are looking for POLKADOT_IMAGE | |
| POLKADOT_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| CUMULUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-parachain-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| RUST_LOG: ${{ needs.preflight.outputs.RUST_LOG }} | |
| ZOMBIE_PROVIDER: ${{ needs.preflight.outputs.ZOMBIE_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet-sdk | |
| with: | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| test: "elastic_scaling::doesnt_break_parachains::doesnt_break_parachains_test" | |
| prefix: "polkadot" | |
| # | |
| # | |
| zombienet-polkadot-elastic-scaling-basic-3cores: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-elastic-scaling-basic-3cores') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_SDK_IMAGE }} | |
| env: | |
| # sdk tests are looking for POLKADOT_IMAGE | |
| POLKADOT_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| CUMULUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| RUST_LOG: ${{ needs.preflight.outputs.RUST_LOG }} | |
| ZOMBIE_PROVIDER: ${{ needs.preflight.outputs.ZOMBIE_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet-sdk | |
| with: | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| test: "elastic_scaling::basic_3cores::basic_3cores_test" | |
| prefix: "polkadot" | |
| # | |
| # | |
| zombienet-polkadot-functional-sync-backing: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-sync-backing') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_SDK_IMAGE }} | |
| env: | |
| # sdk tests are looking for POLKADOT_IMAGE | |
| POLKADOT_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| CUMULUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/test-parachain:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| RUST_LOG: ${{ needs.preflight.outputs.RUST_LOG }} | |
| ZOMBIE_PROVIDER: ${{ needs.preflight.outputs.ZOMBIE_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet-sdk | |
| with: | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| test: "functional::sync_backing::sync_backing_test" | |
| prefix: "polkadot" | |
| # | |
| # | |
| zombienet-polkadot-functional-async-backing-6-seconds-rate: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-async-backing-6-seconds-rate') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_SDK_IMAGE }} | |
| env: | |
| # sdk tests are looking for POLKADOT_IMAGE | |
| POLKADOT_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| CUMULUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-parachain-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| RUST_LOG: ${{ needs.preflight.outputs.RUST_LOG }} | |
| ZOMBIE_PROVIDER: ${{ needs.preflight.outputs.ZOMBIE_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet-sdk | |
| with: | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| test: "functional::async_backing_6_seconds_rate::async_backing_6_seconds_rate_test" | |
| prefix: "polkadot" | |
| # | |
| # | |
| # TODO: Disabled, occasionally (1 on ~50-100 runs) fails | |
| zombienet-polkadot-functional-duplicate-collations: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-duplicate-collations') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_SDK_IMAGE }} | |
| env: | |
| # sdk tests are looking for POLKADOT_IMAGE | |
| POLKADOT_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| CUMULUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-parachain-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| RUST_LOG: ${{ needs.preflight.outputs.RUST_LOG }} | |
| ZOMBIE_PROVIDER: ${{ needs.preflight.outputs.ZOMBIE_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet-sdk | |
| with: | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| test: "functional::duplicate_collations::duplicate_collations_test" | |
| prefix: "polkadot" | |
| # | |
| # TODO: Disabled, occasionally (2 on ~50-70 runs) fails | |
| zombienet-polkadot-disputes-slashing: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-disputes-slashing') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_SDK_DEFAULT_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_SDK_IMAGE }} | |
| env: | |
| # sdk tests are looking for POLKADOT_IMAGE | |
| POLKADOT_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| CUMULUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-parachain-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| MALUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/malus:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| RUST_LOG: ${{ needs.preflight.outputs.RUST_LOG }} | |
| ZOMBIE_PROVIDER: ${{ needs.preflight.outputs.ZOMBIE_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet-sdk | |
| with: | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| test: "disabling::slashing" | |
| prefix: "polkadot" | |
| # | |
| # | |
| # TODO: Disabled, occasionally (1 on ~50-100 runs) fails | |
| zombienet-polkadot-functional-spam-statement-distribution-requests: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-functional-spam-statement-distribution-requests') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_SDK_IMAGE }} | |
| env: | |
| # sdk tests are looking for POLKADOT_IMAGE | |
| POLKADOT_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| MALUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/malus:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| RUST_LOG: ${{ needs.preflight.outputs.RUST_LOG }} | |
| ZOMBIE_PROVIDER: ${{ needs.preflight.outputs.ZOMBIE_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet-sdk | |
| with: | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| test: "functional::spam_statement_distribution_requests::spam_statement_distribution_requests_test" | |
| prefix: "polkadot" | |
| zombienet-polkadot-approval-voting-coalescing: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-approval-voting-coalescing') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_SDK_IMAGE }} | |
| env: | |
| # sdk tests are looking for POLKADOT_IMAGE | |
| POLKADOT_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| MALUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/malus:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| RUST_LOG: ${{ needs.preflight.outputs.RUST_LOG }} | |
| ZOMBIE_PROVIDER: ${{ needs.preflight.outputs.ZOMBIE_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet-sdk | |
| with: | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| test: "functional::approval_voting_coalescing::approval_voting_coalescing_test" | |
| prefix: "polkadot" | |
| # | |
| # | |
| zombienet-polkadot-approved-peer-mixed-validators: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-approved-peer-mixed-validators') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_SDK_IMAGE }} | |
| env: | |
| # sdk tests are looking for POLKADOT_IMAGE | |
| POLKADOT_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| OLD_POLKADOT_IMAGE: "docker.io/paritypr/polkadot-debug:master-187cddde" | |
| OLD_POLKADOT_COMMAND: "polkadot-old" | |
| COL_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| RUST_LOG: ${{ needs.preflight.outputs.RUST_LOG }} | |
| ZOMBIE_PROVIDER: ${{ needs.preflight.outputs.ZOMBIE_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| # We need to use an older version of polkadot | |
| - name: download_old_release_bins | |
| shell: bash | |
| run: | | |
| BIN_DIR="$(pwd)/bin_old" | |
| mkdir -p $BIN_DIR | |
| for bin in polkadot polkadot-parachain; do | |
| OLD_NAME="$bin-old" | |
| echo "downloading $bin as $OLD_NAME in $BIN_DIR"; | |
| curl -L -o $BIN_DIR/$OLD_NAME https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-stable2503/$bin | |
| chmod 755 $BIN_DIR/$OLD_NAME; | |
| done | |
| for bin in polkadot-execute-worker polkadot-prepare-worker; do | |
| OLD_NAME="$bin" | |
| echo "downloading $bin as $OLD_NAME in $BIN_DIR"; | |
| curl -L -o $BIN_DIR/$OLD_NAME https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-stable2503/$bin | |
| chmod 755 $BIN_DIR/$OLD_NAME; | |
| done | |
| ls -ltr $BIN_DIR | |
| export PATH=$BIN_DIR:$PATH | |
| echo "PATH=$PATH" >> $GITHUB_ENV | |
| echo $PATH | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet-sdk | |
| with: | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| test: "functional::approved_peer_mixed_validators::approved_peer_mixed_validators_test" | |
| prefix: "polkadot" | |
| # | |
| # | |
| zombienet-polkadot-shared-core-idle-parachain: | |
| needs: [preflight] | |
| if: ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) && ! contains(needs.preflight.outputs.FLAKY_TESTS, 'zombienet-polkadot-shared-core-idle-parachain') }} | |
| runs-on: ${{ needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER }} | |
| timeout-minutes: 60 | |
| container: | |
| image: ${{ needs.preflight.outputs.ZOMBIENET_SDK_IMAGE }} | |
| env: | |
| # sdk tests are looking for POLKADOT_IMAGE | |
| POLKADOT_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| CUMULUS_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-parachain-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}" | |
| RUST_LOG: ${{ needs.preflight.outputs.RUST_LOG }} | |
| ZOMBIE_PROVIDER: ${{ needs.preflight.outputs.ZOMBIE_PROVIDER }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: zombienet_test | |
| uses: ./.github/actions/zombienet-sdk | |
| with: | |
| gh-token: ${{ secrets.GITHUB_TOKEN }} | |
| build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }} | |
| ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | |
| test: "functional::shared_core_idle_parachain::shared_core_idle_parachain_test" | |
| prefix: "polkadot" |