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

Error: Timeout(60) for node : alice-1 #1191

Closed Andrewjkim2014 closed 1 year ago

Andrewjkim2014 commented 1 year ago

I'm trying to test through zombienet from the cumulus repository. I'm currently trying to run the statemine_kusama_local_network.toml in cumulus/zombienet/examples/statemine_kusama_local_network.toml. I transferred the codebase from the statemine_kusama_local_network.toml file to the config.toml file in the root directory of the cumulus repository. The codebase looks like this:

[relaychain] default_command = "../polkadot/target/release/polkadot" default_args = [ "-lparachain=debug" ] chain = "kusama-local"

[[relaychain.nodes]]
name = "alice"
validator = true

[[relaychain.nodes]]
name = "bob"
validator = true

[[relaychain.nodes]]
name = "charlie"
validator = true

[[relaychain.nodes]]
name = "dave"
validator = true

[[parachains]] id = 1000 chain = "asset-hub-kusama-local" cumulus_based = true

# run alice as parachain collator
[[parachains.collators]]
name = "alice"
validator = true
command = "./target/release/polkadot-parachain"
args = ["-lparachain=debug"]

# run bob as parachain collator
[[parachains.collators]]
name = "bob"
validator = true
command = "./target/release/polkadot-parachain"
args = ["-lparachain=debug"]

# run charlie as parachain collator
[[parachains.collators]]
name = "charlie"
validator = true
command = "./target/release/polkadot-parachain"
args = ["-lparachain=debug"]

# run dave as parachain collator
[[parachains.collators]]
name = "dave"
validator = true
command = "./target/release/polkadot-parachain"
args = ["-lparachain=debug"]

# run eve as parachain collator
[[parachains.collators]]
name = "eve"
validator = true
command = "./target/release/polkadot-parachain"
args = ["-lparachain=debug"]

# run ferdie as parachain collator
[[parachains.collators]]
name = "ferdie"
validator = true
command = "./target/release/polkadot-parachain"
args = ["-lparachain=debug"]

When running the command ./zombienet-macos spawn config.toml -p native, It runs through all the relay chain nodes, however, when it starts running the parachain collators, it keeps giving me this error message:

Error: Timeout(60) for node : alice-1 at NativeClient. (/snapshot/javascript/packages/orchestrator/dist/providers/native/nativeClient.js) at Generator.next () at fulfilled (/snapshot/javascript/packages/orchestrator/dist/providers/native/nativeClient.js).

Could anyone help me fix this issue? Thank you in advance!

*update*** I've located the alice-1.log and this is the message that I'm receiving after running the command:

error: unexpected argument '--ws-port' found

tip: a similar argument exists: '--rpc-port'

Usage: polkadot-parachain --name --listen-addr ... --rpc-port <--node-key |--node-key-type |--node-key-file > <--chain |--dev|--base-path |--log ...|--detailed-log-output|--disable-log-color|--enable-log-reloading|--tracing-targets |--tracing-receiver > [-- ...]

For more information, try '--help'.

wirednkod commented 1 year ago

Thank you @Andrewjkim2014 Can you please provide more information concerning the version of Zombienet that you are running and any other related information you may have (polkadot-parachain and polkadot versions etc)?

Just FYI: version of polkadot-parachain 0.9.430-9cb14fe3cee doesn't contains the renaming to asset-hub, so this chain kusama-asset-hub-local will not work with that version. (https://github.com/paritytech/zombienet/issues/1172#issuecomment-1620627170)