Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 3 additions & 17 deletions .github/workflows/zombienet_polkadot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ jobs:

zombienet-polkadot-tests:
name: ${{ matrix.test.job-name }}
runs-on: ${{ matrix.test.runner-type == 'large' && (matrix.test.use-zombienet-sdk && needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER || needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER) || (matrix.test.use-zombienet-sdk && needs.preflight.outputs.ZOMBIENET_SDK_DEFAULT_RUNNER || needs.preflight.outputs.ZOMBIENET_DEFAULT_RUNNER) }}
runs-on: ${{ matrix.test.runner-type == 'large' && needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER || needs.preflight.outputs.ZOMBIENET_SDK_DEFAULT_RUNNER }}
timeout-minutes: 70 # 60 for test + 10 for send logs
needs: [preflight]
if: ${{ github.event_name == 'workflow_call' || github.event_name == 'workflow_dispatch' || github.event_name == 'merge_group' || (needs.preflight.outputs.changes_substrate == 'true' || needs.preflight.outputs.changes_polkadot == 'true' || needs.preflight.outputs.changes_zombienet == 'true') }}
container:
image: ${{ matrix.test.use-zombienet-sdk && needs.preflight.outputs.ZOMBIENET_SDK_IMAGE || needs.preflight.outputs.ZOMBIENET_IMAGE }}
image: ${{ needs.preflight.outputs.ZOMBIENET_SDK_IMAGE }}
options: -v /tmp/zombienet:/tmp/zombienet
env:
ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}"
Expand Down Expand Up @@ -93,21 +93,7 @@ jobs:
shell: bash
run: ${{ matrix.test.additional-setup }}

- name: zombienet_test (v1)
if: ${{ !matrix.test.use-zombienet-sdk }}
timeout-minutes: 60
uses: ./.github/actions/zombienet
with:
test-definition: ${{ matrix.test.test-definition }}
job-name: ${{ matrix.test.job-name }}
local-dir: ${{ matrix.test.local-dir }}
concurrency: ${{ matrix.test.concurrency || 1 }}
gh-token: ${{ secrets.GITHUB_TOKEN }}
build-id: ${{ needs.preflight.outputs.BUILD_RUN_ID }}
ref-slug: ${{ needs.preflight.outputs.SOURCE_REF_SLUG }}

- name: zombienet_test (sdk)
if: ${{ matrix.test.use-zombienet-sdk }}
- name: zombienet_test
uses: ./.github/actions/zombienet-sdk
with:
test-filter: ${{ matrix.test.test-filter }}
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/zombienet_substrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ jobs:

zombienet-substrate-tests:
name: ${{ matrix.test.job-name }}
runs-on: ${{ matrix.test.runner-type == 'large' && (matrix.test.use-zombienet-sdk && needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER || needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER) || (matrix.test.use-zombienet-sdk && needs.preflight.outputs.ZOMBIENET_SDK_DEFAULT_RUNNER || needs.preflight.outputs.ZOMBIENET_DEFAULT_RUNNER) }}
runs-on: ${{ matrix.test.runner-type == 'large' && needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER || needs.preflight.outputs.ZOMBIENET_SDK_DEFAULT_RUNNER }}
timeout-minutes: 70 # 60 for test + 10 for send logs
needs: [preflight]
if: ${{ github.event_name == 'workflow_call' || github.event_name == 'workflow_dispatch' || github.event_name == 'merge_group' || (needs.preflight.outputs.changes_substrate == 'true' || needs.preflight.outputs.changes_polkadot == 'true' || needs.preflight.outputs.changes_zombienet == 'true') }}
container:
image: ${{ matrix.test.use-zombienet-sdk && needs.preflight.outputs.ZOMBIENET_SDK_IMAGE || needs.preflight.outputs.ZOMBIENET_IMAGE }}
image: ${{ needs.preflight.outputs.ZOMBIENET_SDK_IMAGE }}
options: -v /tmp/zombienet:/tmp/zombienet
env:
ZOMBIENET_INTEGRATION_TEST_IMAGE: "${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}"
Expand All @@ -87,8 +87,7 @@ jobs:
shell: bash
run: ${{ matrix.test.additional-setup }}

- name: zombienet_test (sdk)
if: ${{ matrix.test.use-zombienet-sdk }}
- name: zombienet_test
uses: ./.github/actions/zombienet-sdk
with:
test-filter: ${{ matrix.test.test-filter }}
Expand Down
11 changes: 0 additions & 11 deletions .github/zombienet-env
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
# zombienet settings
ZOMBIENET_PROVIDER=native
ZOMBIENET_IMAGE_FOR_NATIVE=docker.io/paritytech/zombienet:v1.3.133
ZOMBIENET_DEFAULT_RUNNER_FOR_NATIVE=parity-zombienet-native-default
ZOMBIENET_LARGE_RUNNER_FOR_NATIVE=parity-zombienet-native-large
ZOMBIENET_DEFAULT_RUNNER_FOR_NATIVE_PERSISTENT=parity-zombienet-native-default-persistent
ZOMBIENET_LARGE_RUNNER_FOR_NATIVE_PERSISTENT=parity-zombienet-native-large-persistent
ZOMBIENET_IMAGE_FOR_K8S=docker.io/paritytech/zombienet:v1.3.133
ZOMBIENET_RUNNER_FOR_K8S=parity-zombienet
DEBUG=zombie,zombie::network-node,zombie::kube::client::logs

# zombienet-sdk settings
ZOMBIE_PROVIDER=native
ZOMBIENET_SDK_IMAGE_FOR_NATIVE=docker.io/paritytech/ci-unified:bullseye-1.84.1-2025-01-28-v202502131220
Expand Down
1 change: 0 additions & 1 deletion .github/zombienet-flaky-tests
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ zombienet-polkadot-coretime-revenue:8944
zombienet-polkadot-elastic-scaling-slot-based-12cores:8945
zombienet-polkadot-disputes-slashing:8946
zombienet-polkadot-functional-spam-statement-distribution-requests:8947
zombienet-polkadot-misc-0001-parachains-paritydb:8951
zombienet-polkadot-functional-duplicate-collations:8950
zombienet-substrate-0002-validators-warp-sync:8871
zombienet-cumulus-0009-elastic_scaling_pov_recovery:8986
Expand Down
26 changes: 13 additions & 13 deletions .github/zombienet-tests/zombienet_cumulus_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
test-filter: "zombie_ci::sync_blocks::sync_blocks_from_tip_without_connected_collator"
runner-type: "default"
cumulus-image: "test-parachain"
use-zombienet-sdk: true


- job-name: "zombienet-cumulus-0002-pov_recovery"
test-filter: "zombie_ci::pov_recovery::pov_recovery"
runner-type: "default"
cumulus-image: "test-parachain"
use-zombienet-sdk: true


- job-name: "zombienet-cumulus-0003-full_node_catching_up"
test-filter: "zombie_ci::full_node_catching_up::full_node_catching_up"
Expand All @@ -20,70 +20,70 @@
runner-type: "default"
cumulus-image: "test-parachain"
needs-wasm-binary: true
use-zombienet-sdk: true


- job-name: "zombienet-cumulus-0005-migrate_solo_to_para"
test-filter: "zombie_ci::migrate_solo::migrate_solo_to_para"
runner-type: "default"
cumulus-image: "test-parachain"
use-zombienet-sdk: true


- job-name: "zombienet-cumulus-0006-rpc_collator_builds_blocks"
test-filter: "zombie_ci::rpc_collator_build_blocks::rpc_collator_builds_blocks"
runner-type: "large"
cumulus-image: "test-parachain"
use-zombienet-sdk: true


- job-name: "zombienet-cumulus-0007-full_node_warp_sync"
test-filter: "zombie_ci::full_node_warp_sync::full_node_warp_sync"
runner-type: "large"
cumulus-image: "test-parachain"
use-zombienet-sdk: true


- job-name: "zombienet-cumulus-0008-elastic_authoring"
test-filter: "zombie_ci::elastic_scaling::slot_based_authoring::elastic_scaling_slot_based_authoring"
runner-type: "default"
cumulus-image: "test-parachain"
use-zombienet-sdk: true


# Disabled, occasionally fails
# See https://github.com/paritytech/polkadot-sdk/issues/8986
- job-name: "zombienet-cumulus-0009-elastic_scaling_pov_recovery"
test-filter: "zombie_ci::elastic_scaling::pov_recovery::elastic_scaling_pov_recovery"
runner-type: "default"
cumulus-image: "test-parachain"
use-zombienet-sdk: true


# Disabled, occasionally fails.
# See https://github.com/paritytech/polkadot-sdk/issues/8999
- job-name: "zombienet-cumulus-0010-elastic_scaling_multiple_block_per_slot"
test-filter: "zombie_ci::elastic_scaling::multiple_blocks_per_slot::elastic_scaling_multiple_blocks_per_slot"
runner-type: "default"
cumulus-image: "test-parachain"
use-zombienet-sdk: true


- job-name: "zombienet-cumulus-0011-dht-bootnodes"
test-filter: "zombie_ci::bootnodes::dht_bootnodes_test"
runner-type: "default"
cumulus-image: "polkadot-parachain-debug"
use-zombienet-sdk: true


- job-name: "zombienet-cumulus-0013-elastic_scaling_slot_based_rp_offset"
test-filter: "zombie_ci::elastic_scaling::slot_based_rp_offset::elastic_scaling_slot_based_relay_parent_offset_test"
runner-type: "default"
cumulus-image: "test-parachain"
use-zombienet-sdk: true


- job-name: "zombienet-cumulus-0014-elastic_scaling_upgrade_to_3_cores"
test-filter: "zombie_ci::elastic_scaling::upgrade_to_3_cores::elastic_scaling_upgrade_to_3_cores"
runner-type: "default"
cumulus-image: "test-parachain"
use-zombienet-sdk: true

needs-wasm-binary: true

- job-name: "zombienet-cumulus-0015-parachain-runtime-upgrade"
test-filter: "zombie_ci::parachain_runtime_upgrade_slot_duration_18s::parachain_runtime_upgrade_slot_duration_18s"
runner-type: "default"
cumulus-image: "test-parachain"
use-zombienet-sdk: true

needs-wasm-binary: true
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
test-filter: "smoke::minimal_template_block_production_test"
runner-type: "default"
cumulus-image: "test-parachain"
use-zombienet-sdk: true


- job-name: "zombienet-parachain-template-0002-parachain_template_block_production"
test-filter: "smoke::parachain_template_block_production_test"
runner-type: "default"
cumulus-image: "test-parachain"
use-zombienet-sdk: true


- job-name: "zombienet-parachain-template-0003-solochain_template_block_production"
test-filter: "smoke::solochain_template_block_production_test"
runner-type: "default"
cumulus-image: "test-parachain"
use-zombienet-sdk: true

Loading
Loading