Skip to content

Multiple snapshots pointing at the same URL collide during extraction #540

Description

@skunert

Issue Description

We encountered some issues when multiple nodes point to the same snapshot URL with zombienet SDK. In smoldot, this leads to us having some code that prefetches the snapshots and extracts them per-node.

IMO zombienet-sdk should support this and make sure extraction can happen nicely.

Smoldot PR for reference: paritytech/smoldot#3249

Steps to reproduce the issue

Have a test with same snapshots, run a few times.

Describe the results you received

Panic with

called `Result::unwrap()` on an `Err` value: Custom { kind: UnexpectedEof,
  error: TarError { desc: "failed to unpack `data/chains/.../db/full/000008.log`", ... } }

Describe the results you expected

Snapshot extracted gracefully

Zombienet version

0.4.11

Provider

Native

Provider version

-

Upstream Latest Release

Yes

Additional environment details

No response

Additional information

No response

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions