paritytech / zombienet

A cli tool to easily spawn ephemeral Polkadot/Substrate networks and perform tests against them.
https://paritytech.github.io/zombienet/
GNU General Public License v3.0
157 stars 92 forks source link

Zombienet unable to copy chainspec from parachain pod #1815

Closed timbrinded closed 3 months ago

timbrinded commented 3 months ago

Issue Description

When trying to run a zombienet work StorageHub, network spawn hangs during the zombie::kube::chain-spec waiting for chain-spec phase.

[!NOTE]
This only applies to kubernetes provider, this works fine with native.

Steps to reproduce the issue

Steps to reproduce the issue

  1. Run the config here in this git minimalRepro.toml with something like: ./zombienet spawn minimalRepo.toml
  2. wait

Describe the results you received

[!CAUTION] Process stalls at waiting for chain spec from storage hub node. Eventually times out

See full logs at gist spawnLogs.txt

Describe the results you expected

Launched network

Zombienet version

1.3.105

Provider

Kubernetes

Provider version

kubectl version 1.28.3

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

Screenshots

No response

timbrinded commented 3 months ago

This was because how docker image was created :face_exhaling:

pepoviola commented 3 months ago

Hi @timbrinded, thanks for open the issue. I think we can improve the error detection. Did you have the error in the pod? Thanks!