zombienet
zombienet copied to clipboard
unable to run local network with native linux zombienet
i am trying to spawn a relay + parachain network locally using the native linux zombienet binary (version 1.2.66
). the relay nodes seem to be spawned fine; however, my parachain doesnt spawn.
i think i am missing something in the parachain settings. i dont even see any parachain logs created.
my network file (tried increasing the timeout value but no luck):
[settings]
timeout = 180000
default_args = [ "-lparachain=debug" ]
[relaychain]
default_command = "/home/abhi/code/polkadot/target/release/polkadot"
chain = "rococo-local"
chain_spec_path = "/home/abhi/code/launch-script/rococo-custom-2-raw.json"
[[relaychain.nodes]]
name = "alice"
ws_port = 9988
rpc_port = 30488
[[relaychain.nodes]]
name = "bob"
ws_port = 9955
rpc_port = 30555
[[parachains]]
id = 2001
addToGenesis = true
genesis_wasm_generator = "/home/abhi/code/ice-substrate/target/release/ice-node export-genesis-wasm --chain arctic-raw.json > arctic-genesis-wasm"
genesis_state_generator = "/home/abhi/code/ice-substrate/target/release/ice-node export-genesis-state --chain arctic-raw.json > arctic-genesis-state"
[parachains.collator]
name = "alice"
command_with_args = "/home/abhi/code/ice-substrate/target/release/ice-node --ws-port=9944 --port=31300 --rpc-port=9933 --collator --tmp --chain=arctic-dev --alice --force-authoring --unsafe-ws-external --unsafe-rpc-external --rpc-external --ws-external --rpc-cors=all --rpc-methods=Unsafe --log=xcm=trace -- --chain=/home/abhi/code/ice-substrate/rococo-local-raw.json --execution=wasm"
ws_port = 9944
rpc_port = 9933
output:
↪ ./zombienet-linux -p native spawn zombienet-config.toml
╔════════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ 🧟 Zombienet │ Initiation ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Provider │ native ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Namespace │ zombie-2c132b6c4ca0fadf524919cc7b8106c5 ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Temp Dir │ /tmp/zombie-2c132b6c4ca0fadf524919cc7b8106c5_-368575-m3SRIMMbT86q ║
╚════════════════════╧════════════════════════════════════════════════════════════════════════════════════════════════════╝
🚧 Chain Spec was set to a file in raw format, can't customize. 🚧
Chain name: Rococo Local Testnet
⚙ Clear Boot Nodes
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Launching │ alice │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Command │ /home/abhi/code/polkadot/target/release/polkadot --chain /tmp/zombie-2c132b6c4ca0fadf │
│ │ 524919cc7b8106c5_-368575-m3SRIMMbT86q/alice/cfg/rococo-local.json --name alice --rpc-cors │
│ │ all --unsafe-rpc-external --rpc-methods unsafe --unsafe-ws-external --no-mdns --node-key 2 │
│ │ bd806c97f0e00af1a1fc3328fa763a9269723c8db8fac4f93af71db186d6e90 --no-telemetry --prometheu │
│ │ s-external --validator --prometheus-port 42779 --rpc-port 30488 --ws-port 9988 --listen-ad │
│ │ dr /ip4/0.0.0.0/tcp/42507/ws --base-path /tmp/zombie-2c132b6c4ca0fadf524919cc7b8106c5_-368 │
│ │ 575-m3SRIMMbT86q/alice/data │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Ready │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
alice running
You can follow the logs of the node by running this command:
tail -f /tmp/zombie-2c132b6c4ca0fadf524919cc7b8106c5_-368575-m3SRIMMbT86q/alice.log
⚙ Added Boot Nodes: /ip4/127.0.0.1/tcp/42507/ws/p2p/12D3KooWQCkBm1BYtkHpocxCwMgR8yjitEeHGx8spzcDLGt2gkBm
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Launching │ bob │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Command │ /home/abhi/code/polkadot/target/release/polkadot --chain /tmp/zombie-2c132b6c4ca0fadf │
│ │ 524919cc7b8106c5_-368575-m3SRIMMbT86q/bob/cfg/rococo-local.json --name bob --rpc-cors all │
│ │ --unsafe-rpc-external --rpc-methods unsafe --unsafe-ws-external --no-mdns --node-key 81b63 │
│ │ 7d8fcd2c6da6359e6963113a1170de795e4b725b84d1e0b4cfd9ec58ce9 --no-telemetry --prometheus-ex │
│ │ ternal --validator --bootnodes /ip4/127.0.0.1/tcp/42507/ws/p2p/12D3KooWQCkBm1BYtkHpocxCwMg │
│ │ R8yjitEeHGx8spzcDLGt2gkBm --prometheus-port 44579 --rpc-port 30555 --ws-port 9955 --listen │
│ │ -addr /ip4/0.0.0.0/tcp/45677/ws --base-path /tmp/zombie-2c132b6c4ca0fadf524919cc7b8106c5_- │
│ │ 368575-m3SRIMMbT86q/bob/data │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Ready │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
bob running
You can follow the logs of the node by running this command:
tail -f /tmp/zombie-2c132b6c4ca0fadf524919cc7b8106c5_-368575-m3SRIMMbT86q/bob.log
All relay chain nodes spawned...
Error: Timeout(60) for node : alice-1
at NativeClient.<anonymous> (/snapshot/zombienet/dist/providers/native/nativeClient.js)
at Generator.next (<anonymous>)
at fulfilled (/snapshot/zombienet/dist/providers/native/nativeClient.js)
Node's logs are available in /tmp/zombie-2c132b6c4ca0fadf524919cc7b8106c5_-368575-m3SRIMMbT86q/logs
i tried increasing the timeout to 120s but my parachain still doesn't spawn.
Hi @abhijeetbhagat, thanks for reporting and use zombienet :) We check the output of the process to decide if the node is running, can you run in debug mode with
DEBUG=zombie* ./zombienet-linux -p native spawn zombienet-config.toml
That will give us the cause of the issue.
Thanks!
hey @pepoviola ! i used that command with the DEBUG
var but do not see any additional logs apart from those i shared above. same output as before.
zombie
Hi @abhijeetbhagat, the output should be in debug mode with DEBUG=zombie*
. Which version of zombienet are you using? Also, there is a public repo to build the collator and try to reproduce?
Thanks!
zombienet version:
↪ ./zombienet-linux version
1.2.68
output:
↪ DEBUG=zombie* ./zombienet-linux -p native spawn zombienet-config.toml
╔════════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ 🧟 Zombienet │ Initiation ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Provider │ native ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Namespace │ zombie-a2d19c874b44afee916e9ea838cadaaa ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Temp Dir │ /tmp/zombie-a2d19c874b44afee916e9ea838cadaaa_-621033-BZ5Bnqoii8v9 ║
╚════════════════════╧════════════════════════════════════════════════════════════════════════════════════════════════════╝
🚧 Chain Spec was set to a file in raw format, can't customize. 🚧
Chain name: Rococo Local Testnet
⚙ Clear Boot Nodes
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Launching │ alice │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Command │ /home/abhi/code/polkadot/target/release/polkadot --chain /tmp/zombie-a2d19c874b44afee │
│ │ 916e9ea838cadaaa_-621033-BZ5Bnqoii8v9/alice/cfg/rococo-local.json --name alice --rpc-cors │
│ │ all --unsafe-rpc-external --rpc-methods unsafe --unsafe-ws-external --no-mdns --node-key 2 │
│ │ bd806c97f0e00af1a1fc3328fa763a9269723c8db8fac4f93af71db186d6e90 --no-telemetry --prometheu │
│ │ s-external --validator --prometheus-port 37459 --rpc-port 30488 --ws-port 9988 --listen-ad │
│ │ dr /ip4/0.0.0.0/tcp/36079/ws --base-path /tmp/zombie-a2d19c874b44afee916e9ea838cadaaa_-621 │
│ │ 033-BZ5Bnqoii8v9/alice/data │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Ready │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
alice running
You can follow the logs of the node by running this command:
tail -f /tmp/zombie-a2d19c874b44afee916e9ea838cadaaa_-621033-BZ5Bnqoii8v9/alice.log
⚙ Added Boot Nodes: /ip4/127.0.0.1/tcp/36079/ws/p2p/12D3KooWQCkBm1BYtkHpocxCwMgR8yjitEeHGx8spzcDLGt2gkBm
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Launching │ bob │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Command │ /home/abhi/code/polkadot/target/release/polkadot --chain /tmp/zombie-a2d19c874b44afee │
│ │ 916e9ea838cadaaa_-621033-BZ5Bnqoii8v9/bob/cfg/rococo-local.json --name bob --rpc-cors all │
│ │ --unsafe-rpc-external --rpc-methods unsafe --unsafe-ws-external --no-mdns --node-key 81b63 │
│ │ 7d8fcd2c6da6359e6963113a1170de795e4b725b84d1e0b4cfd9ec58ce9 --no-telemetry --prometheus-ex │
│ │ ternal --validator --bootnodes /ip4/127.0.0.1/tcp/36079/ws/p2p/12D3KooWQCkBm1BYtkHpocxCwMg │
│ │ R8yjitEeHGx8spzcDLGt2gkBm --prometheus-port 44709 --rpc-port 30555 --ws-port 9955 --listen │
│ │ -addr /ip4/0.0.0.0/tcp/42301/ws --base-path /tmp/zombie-a2d19c874b44afee916e9ea838cadaaa_- │
│ │ 621033-BZ5Bnqoii8v9/bob/data │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Ready │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
bob running
You can follow the logs of the node by running this command:
tail -f /tmp/zombie-a2d19c874b44afee916e9ea838cadaaa_-621033-BZ5Bnqoii8v9/bob.log
All relay chain nodes spawned...
Error: Timeout(60) for node : alice-1
at NativeClient.<anonymous> (/snapshot/zombienet/dist/providers/native/nativeClient.js)
at Generator.next (<anonymous>)
at fulfilled (/snapshot/zombienet/dist/providers/native/nativeClient.js)
Node's logs are available in /tmp/zombie-a2d19c874b44afee916e9ea838cadaaa_-621033-BZ5Bnqoii8v9/logs
Hi @abhijeetbhagat, can you share the repo/image you are using to reproduce and debug this issue? Thanks!
Hey @pepoviola ! This is our repo: https://github.com/web3labs/ice-substrate
Hello @pepoviola I think I get the same error as @abhijeetbhagat trying to launch an acala node. Here are the logs I've gathered, I am on macos M1 using zombienet 1.3.5
:
running acala node v2.9.6
Zombienet logs
zombie creating node: acala1 +9s
zombie::cmdGenerator adding -lsystem=debug,parachain=debug,runtime=debug,sc_basic_authorship=trace,cumulus-consensus=trace,cumulus-collator=trace,collator_protocol=trace,collation_generation=trace,aura=debug,pallet-collator-staking=trace,xcm=trace,pallet-xcm=trace +9s
zombie::cmdGenerator Added --port with value 60149 +2ms
zombie::cmdGenerator Added --ws-port with value 60150 +0ms
zombie::cmdGenerator Added --rpc-port with value 60151 +0ms
zombie::native::client {
zombie::native::client "metadata": {
zombie::native::client "name": "acala1",
zombie::native::client "namespace": "zombie-b3e555ea3e177022b21d6a4537c34c57",
zombie::native::client "labels": {
zombie::native::client "zombie-role": "cumulus-collator",
zombie::native::client "app": "zombienet",
zombie::native::client "zombie-ns": "zombie-b3e555ea3e177022b21d6a4537c34c57",
zombie::native::client "name": "zombie-b3e555ea3e177022b21d6a4537c34c57",
zombie::native::client "instance": "acala1"
zombie::native::client }
zombie::native::client },
zombie::native::client "spec": {
zombie::native::client "cfgPath": "/var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1/cfg",
zombie::native::client "dataPath": "/var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1/data",
zombie::native::client "ports": [
zombie::native::client {
zombie::native::client "containerPort": 9615,
zombie::native::client "name": "prometheus",
zombie::native::client "flag": "--prometheus-port",
zombie::native::client "hostPort": 60098
zombie::native::client },
zombie::native::client {
zombie::native::client "containerPort": 9933,
zombie::native::client "name": "rpc",
zombie::native::client "flag": "--rpc-port",
zombie::native::client "hostPort": 60097
zombie::native::client },
zombie::native::client {
zombie::native::client "containerPort": 9944,
zombie::native::client "name": "ws",
zombie::native::client "flag": "--ws-port",
zombie::native::client "hostPort": 60096
zombie::native::client },
zombie::native::client {
zombie::native::client "containerPort": 30333,
zombie::native::client "name": "p2p",
zombie::native::client "flag": "--port",
zombie::native::client "hostPort": 60095
zombie::native::client }
zombie::native::client ],
zombie::native::client "command": [
zombie::native::client "/Users/andrewplaza/Projects/acala/acala/target/production/acala --name acala1 --node-key fee029f0b50f1b22349ff24b815dac4250f42c149750a3e34b9df99c2ed07104 --chain /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1/cfg/rococo-local-2000.json --base-path /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1/data --listen-addr /ip4/0.0.0.0/tcp/60095/ws --rpc-port 60097 --ws-port 60096 --prometheus-external --prometheus-port 60098 --rpc-cors all --unsafe-rpc-external --rpc-methods unsafe --unsafe-ws-external --collator --force-authoring -lsystem=debug,parachain=debug,runtime=debug,sc_basic_authorship=trace,cumulus-consensus=trace,cumulus-collator=trace,collator_protocol=trace,collation_generation=trace,aura=debug,pallet-collator-staking=trace,xcm=trace,pallet-xcm=trace -- --chain /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1/cfg/rococo-local.json --execution wasm --port 60149 --ws-port 60150 --rpc-port 60151"
zombie::native::client ]
zombie::native::client }
zombie::native::client } +2s
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Pod │ acala1 │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Launching │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Command │ /Users/andrewplaza/Projects/acala/acala/target/production/acala --name acala1 --node- │
│ │ key fee029f0b50f1b22349ff24b815dac4250f42c149750a3e34b9df99c2ed07104 --chain /var/folders/ │
│ │ 34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFn │
│ │ SNw6h/acala1/cfg/rococo-local-2000.json --base-path /var/folders/34/bwst5cqn00l_9vvz7tgbvs │
│ │ zc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1/data --liste │
│ │ n-addr /ip4/0.0.0.0/tcp/60095/ws --rpc-port 60097 --ws-port 60096 --prometheus-external -- │
│ │ prometheus-port 60098 --rpc-cors all --unsafe-rpc-external --rpc-methods unsafe --unsafe-w │
│ │ s-external --collator --force-authoring -lsystem=debug,parachain=debug,runtime=debug,sc_ba │
│ │ sic_authorship=trace,cumulus-consensus=trace,cumulus-collator=trace,collator_protocol=trac │
│ │ e,collation_generation=trace,aura=debug,pallet-collator-staking=trace,xcm=trace,pallet-xcm │
│ │ =trace -- --chain /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022 │
│ │ b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1/cfg/rococo-local.json --execution wasm --port │
│ │ 60149 --ws-port 60150 --rpc-port 60151 │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
zombie::native::client localFilePath /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/rococo-local.json +312ms
zombie::native::client remoteFilePath /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/cfg/rococo-local.json +0ms
zombie::native::client remote dir /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/cfg +0ms
zombie::native::client data dir /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/data +0ms
zombie::native::client localFilePath /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/zombie-wrapper.sh +9ms
zombie::native::client remoteFilePath /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/cfg/zombie-wrapper.sh +0ms
zombie::native::client remote dir /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/cfg +0ms
zombie::native::client data dir /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/data +0ms
zombie::native::client localFilePath /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala-dev-2000-rococo-local.json +0ms
zombie::native::client remoteFilePath /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/cfg/rococo-local-2000.json +0ms
zombie::native::client remote dir /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/cfg +0ms
zombie::native::client data dir /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/data +0ms
zombie::native::client /bin/bash +9ms
zombie::native::client [
zombie::native::client '/Users/andrewplaza/Projects/acala/acala/target/production/acala --name acala1 --node-key fee029f0b50f1b22349ff24b815dac4250f42c149750a3e34b9df99c2ed07104 --chain /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1/cfg/rococo-local-2000.json --base-path /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1/data --listen-addr /ip4/0.0.0.0/tcp/60095/ws --rpc-port 60097 --ws-port 60096 --prometheus-external --prometheus-port 60098 --rpc-cors all --unsafe-rpc-external --rpc-methods unsafe --unsafe-ws-external --collator --force-authoring -lsystem=debug,parachain=debug,runtime=debug,sc_basic_authorship=trace,cumulus-consensus=trace,cumulus-collator=trace,collator_protocol=trace,collation_generation=trace,aura=debug,pallet-collator-staking=trace,xcm=trace,pallet-xcm=trace -- --chain /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1/cfg/rococo-local.json --execution wasm --port 60149 --ws-port 60150 --rpc-port 60151'
zombie::native::client ] +0ms
zombie::native::client 46648 +18ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +0ms
zombie::native::client { exitCode: 0, stdout: ' 0' } +29ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +24ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +77ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +59ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +62ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +63ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +58ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +47ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +39ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +50ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +46ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +48ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +51ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +51ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +49ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +27ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +49ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +50ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +28ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /var/folders/34/bwst5cqn00l_9vvz7tgbvszc0000gn/T/zombie-b3e555ea3e177022b21d6a4537c34c57_-46602-qAPLkFnSNw6h/acala1.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: ' 0' } +25ms
Error: Timeout(60) for node : acala1
at NativeClient.<anonymous> (/snapshot/javascript/packages/orchestrator/dist/providers/native/nativeClient.js)
at Generator.next (<anonymous>)
at fulfilled (/snapshot/javascript/packages/orchestrator/dist/providers/native/nativeClient.js)
zombie-cli TypeError: undefined is not a function
zombie-cli at /snapshot/javascript/packages/utils/dist/tableCli.js
zombie-cli at Array.forEach (<anonymous>)
zombie-cli at CreateLogTable.pushTo (/snapshot/javascript/packages/utils/dist/tableCli.js)
zombie-cli at CreateLogTable.pushToPrint (/snapshot/javascript/packages/utils/dist/tableCli.js)
zombie-cli at Network.<anonymous> (/snapshot/javascript/packages/orchestrator/dist/network.js)
zombie-cli at Generator.next (<anonymous>)
zombie-cli at fulfilled (/snapshot/javascript/packages/orchestrator/dist/network.js) +0ms
UnhandledRejection: TypeError: undefined is not a function
make: *** [run-native-full] Error 233
Acala log
2022-10-26 16:47:43.747 INFO tokio-runtime-worker libp2p_mdns::behaviour::iface: creating instance on iface 10.10.1.69
2022-10-26 16:47:43.747 INFO tokio-runtime-worker libp2p_mdns::behaviour::iface: creating instance on iface 10.10.1.217
2022-10-26 16:47:43.750 INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWS4FJshirWKKutX3oLxqBtztzyZTZQn7EjN9L9wtipnrt /ip4/10.10.1.217/tcp/60965/ws
2022-10-26 16:47:43.750 INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWS4FJshirWKKutX3oLxqBtztzyZTZQn7EjN9L9wtipnrt /ip4/127.0.0.1/tcp/60965/ws
2022-10-26 16:47:43.750 INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWS4FJshirWKKutX3oLxqBtztzyZTZQn7EjN9L9wtipnrt /ip4/10.10.1.69/tcp/60965/ws
2022-10-26 16:47:43.750 INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWG1MiURHgs7N6RFaU4ZrWr6bLfKLKMmXJeFg9awt9jupX /ip4/10.10.1.217/tcp/61044/ws
2022-10-26 16:47:43.750 INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWG1MiURHgs7N6RFaU4ZrWr6bLfKLKMmXJeFg9awt9jupX /ip6/::1/tcp/61044/ws
2022-10-26 16:47:43.750 INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWG1MiURHgs7N6RFaU4ZrWr6bLfKLKMmXJeFg9awt9jupX /ip6/fd65:b091:ea48:4965:14fc:2052:f4b:f2/tcp/61044/ws
2022-10-26 16:47:43.750 INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWG1MiURHgs7N6RFaU4ZrWr6bLfKLKMmXJeFg9awt9jupX /ip6/2601:43:100:8a9:1ca9:d528:cb28:f36e/tcp/61044/ws
2022-10-26 16:47:43.750 INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWG1MiURHgs7N6RFaU4ZrWr6bLfKLKMmXJeFg9awt9jupX /ip6/2601:43:100:8a9:a053:9bc1:3dfb:b2b4/tcp/61044/ws
2022-10-26 16:47:43.750 INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWG1MiURHgs7N6RFaU4ZrWr6bLfKLKMmXJeFg9awt9jupX /ip6/2601:43:100:8a9::1dab/tcp/61044/ws
2022-10-26 16:47:43.750 INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWG1MiURHgs7N6RFaU4ZrWr6bLfKLKMmXJeFg9awt9jupX /ip6/2601:43:100:8a9:cae:52b5:c01c:8324/tcp/61044/ws
2022-10-26 16:47:43.750 INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWG1MiURHgs7N6RFaU4ZrWr6bLfKLKMmXJeFg9awt9jupX /ip6/2601:43:100:8a9:b1ac:9d49:6d4e:ee/tcp/61044/ws
2022-10-26 16:47:43.750 INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWG1MiURHgs7N6RFaU4ZrWr6bLfKLKMmXJeFg9awt9jupX /ip6/fd65:b091:ea48:4965:c63:8e3f:b229:42f6/tcp/61044/ws
2022-10-26 16:47:43.750 INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWG1MiURHgs7N6RFaU4ZrWr6bLfKLKMmXJeFg9awt9jupX /ip6/2601:43:100:8a9::1092/tcp/61044/ws
2022-10-26 16:47:43.750 INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWG1MiURHgs7N6RFaU4ZrWr6bLfKLKMmXJeFg9awt9jupX /ip4/127.0.0.1/tcp/61044/ws
2022-10-26 16:47:43.750 INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWG1MiURHgs7N6RFaU4ZrWr6bLfKLKMmXJeFg9awt9jupX /ip4/10.10.1.69/tcp/61044/ws
2022-10-26 16:47:43.756 INFO tokio-runtime-worker substrate_prometheus_endpoint: 〽️ Prometheus exporter started at 0.0.0.0:60976
2022-10-26 16:47:48.759 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #0 (0x8e5d…f2b7), finalized #0 (0x8e5d…f2b7), ⬇ 2.0kiB/s ⬆ 1.2kiB/s
2022-10-26 16:47:53.764 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #0 (0x8e5d…f2b7), finalized #0 (0x8e5d…f2b7), ⬇ 0.2kiB/s ⬆ 0.1kiB/s
2022-10-26 16:47:58.766 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #0 (0x8e5d…f2b7), finalized #0 (0x8e5d…f2b7), ⬇ 0.2kiB/s ⬆ 0.3kiB/s
2022-10-26 16:48:00.022 DEBUG tokio-runtime-worker aura: Starting authorship at slot 138901440; timestamp = 1666817280002
2022-10-26 16:48:00.022 INFO tokio-runtime-worker sc_basic_authorship::basic_authorship: 🙌 Starting consensus session on top of parent 0x8e5d299818214e69e440aa484eb2b8ee6360e669be8e7a5fb2721de98e68f2b7
2022-10-26 16:48:00.062 DEBUG tokio-runtime-worker sc_basic_authorship::basic_authorship: Attempting to push transactions from the pool.
2022-10-26 16:48:00.062 DEBUG tokio-runtime-worker sc_basic_authorship::basic_authorship: Pool status: PoolStatus { ready: 0, ready_bytes: 0, future: 0, future_bytes: 0 }
2022-10-26 16:48:00.070 DEBUG tokio-runtime-worker runtime::system: [1] length: 394 (normal 0%, op: 0%, mandatory 0%) / normal weight: 0 (0%) / op weight 0 (0%) / mandatory weight 500000000000 (0%)
2022-10-26 16:48:00.072 INFO tokio-runtime-worker sc_basic_authorship::basic_authorship: 🎁 Prepared block for proposing at 1 (10 ms) [hash: 0xd63c9ff014be6f02cd33bbd0c0eb3c6d53ab36aeb6a9dc09740c5bfce6e30c2c; parent_hash: 0x8e5d…f2b7; extrinsics (2): [0xa263…c3c8, 0xbe36…f357]]
2022-10-26 16:48:00.075 INFO tokio-runtime-worker aura: 🔖 Pre-sealed block for proposal at 1. Hash now 0x45c6f56a901424ec1d5cc77327ad363015ec54a3a68c77bfd90a8218791b2522, previously 0xd63c9ff014be6f02cd33bbd0c0eb3c6d53ab36aeb6a9dc09740c5bfce6e30c2c.
2022-10-26 16:48:00.075 WARN tokio-runtime-worker sc_service::client::client: Possible safety violation: attempted to re-finalize last finalized block 0x8e5d299818214e69e440aa484eb2b8ee6360e669be8e7a5fb2721de98e68f2b7
2022-10-26 16:48:00.075 INFO tokio-runtime-worker substrate: ✨ Imported #1 (0x45c6…2522)
2022-10-26 16:48:03.770 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #1 (0x45c6…2522), finalized #1 (0x45c6…2522), ⬇ 67 B/s ⬆ 6 B/s
2022-10-26 16:48:08.770 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #1 (0x45c6…2522), finalized #1 (0x45c6…2522), ⬇ 0.2kiB/s ⬆ 0.2kiB/s
2022-10-26 16:48:13.773 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #1 (0x45c6…2522), finalized #1 (0x45c6…2522), ⬇ 49 B/s ⬆ 0.1kiB/s
2022-10-26 16:48:18.778 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #1 (0x45c6…2522), finalized #1 (0x45c6…2522), ⬇ 0.3kiB/s ⬆ 0.2kiB/s
2022-10-26 16:48:23.783 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #1 (0x45c6…2522), finalized #1 (0x45c6…2522), ⬇ 0 ⬆ 0
2022-10-26 16:48:24.001 DEBUG tokio-runtime-worker aura: No block for 1 slots. Applying exponential lenience, total proposing duration: 750ms
2022-10-26 16:48:24.001 DEBUG tokio-runtime-worker aura: Starting authorship at slot 138901442; timestamp = 1666817304001
2022-10-26 16:48:24.001 INFO tokio-runtime-worker sc_basic_authorship::basic_authorship: 🙌 Starting consensus session on top of parent 0x45c6f56a901424ec1d5cc77327ad363015ec54a3a68c77bfd90a8218791b2522
2022-10-26 16:48:24.002 DEBUG tokio-runtime-worker sc_basic_authorship::basic_authorship: Attempting to push transactions from the pool.
2022-10-26 16:48:24.002 DEBUG tokio-runtime-worker sc_basic_authorship::basic_authorship: Pool status: PoolStatus { ready: 0, ready_bytes: 0, future: 0, future_bytes: 0 }
2022-10-26 16:48:24.002 DEBUG tokio-runtime-worker runtime::system: [2] length: 394 (normal 0%, op: 0%, mandatory 0%) / normal weight: 0 (0%) / op weight 0 (0%) / mandatory weight 10891388000 (0%)
2022-10-26 16:48:24.002 INFO tokio-runtime-worker sc_basic_authorship::basic_authorship: 🎁 Prepared block for proposing at 2 (0 ms) [hash: 0xc65813ddaf0d4de58565d6e9953310cf2955864c65ffa28fbb134da1db3ff327; parent_hash: 0x45c6…2522; extrinsics (2): [0xb68b…f92e, 0xc12d…0607]]
2022-10-26 16:48:24.004 INFO tokio-runtime-worker aura: 🔖 Pre-sealed block for proposal at 2. Hash now 0x95ce5e8ea97f85d74f47d64f50d60bd9303725c2a9224cb256f378016d4ad504, previously 0xc65813ddaf0d4de58565d6e9953310cf2955864c65ffa28fbb134da1db3ff327.
2022-10-26 16:48:24.004 WARN tokio-runtime-worker sc_service::client::client: Possible safety violation: attempted to re-finalize last finalized block 0x45c6f56a901424ec1d5cc77327ad363015ec54a3a68c77bfd90a8218791b2522
2022-10-26 16:48:24.004 INFO tokio-runtime-worker substrate: ✨ Imported #2 (0x95ce…d504)
2022-10-26 16:48:28.784 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #2 (0x95ce…d504), finalized #2 (0x95ce…d504), ⬇ 0.3kiB/s ⬆ 0.3kiB/s
2022-10-26 16:48:33.788 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #2 (0x95ce…d504), finalized #2 (0x95ce…d504), ⬇ 0 ⬆ 0
2022-10-26 16:48:38.791 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #2 (0x95ce…d504), finalized #2 (0x95ce…d504), ⬇ 0.4kiB/s ⬆ 0.3kiB/s
This is probably because of https://github.com/paritytech/substrate/issues/11855
so it requires a node to use a version >polkadot-v0.9.26
So if @abhijeetbhagat upgrades the node substrate version it will probably solve the issue.
Hi @insipx, yes. The timeout
is caused because we don't match the logs lines from the rpc
and that can caused by a bug in < v0.9.26. If you upgrade the version should works or you can pin
the version of tracing-core in the node.
tracing-core = "=0.1.26"
Thanks!
@abhijeetbhagat was you able to find fix?
On deprecated polka launcher it wors. I am trying to make zombienet 1 to 1.
2022-11-15 17:25:12.027 INFO tokio-runtime-worker cumulus-collator: [Parachain] Starting collation. relay_parent=0xae2b1a172c94bfde63d239001c817fad3c78bd6211842f1a64443aa1c514e0f5 at=0x61f787bfb24978f5e48d5cac7b2457ac26d91a0c4a3ed19a0ef10ed91b9ddc1c
2022-11-15 17:25:12.039 INFO tokio-runtime-worker sc_basic_authorship::basic_authorship: [Parachain] 🙌 Starting consensus session on top of parent 0x61f787bfb24978f5e48d5cac7b2457ac26d91a0c4a3ed19a0ef10ed91b9ddc1c
2022-11-15 17:25:12.109 INFO tokio-runtime-worker sc_basic_authorship::basic_authorship: [Parachain] 🎁 Prepared block for proposing at 1 (16 ms) [hash: 0x67af532696d0d2eb122a2bea5a6c457be4958b33a2acdd343e77052e17f03597; parent_hash: 0x61f7…dc1c; extrinsics (2): [0xd4c2…339f, 0xbc49…b6a7]]
2022-11-15 17:25:12.113 INFO tokio-runtime-worker aura: [Parachain] 🔖 Pre-sealed block for proposal at 1. Hash now 0x6f20afc2533465dc51ba2dbcd0296b59478b56046c159a3cc35396100d1cbdce, previously 0x67af532696d0d2eb122a2bea5a6c457be4958b33a2acdd343e77052e17f03597.
This happens on polkalauncher, but not on zombienet.
No, we just upgraded our polkadot dependencies to v0.9.30. I will try tomorrow to see if that really fixes the problem. Yeah, polkadot-launch works fine but since it’s deprecated, we are trying to move to zombienet.
No, we just upgraded our polkadot dependencies to v0.9.30. I will try tomorrow to see if that really fixes the problem. Yeah, polkadot-launch works fine but since it’s deprecated, we are trying to move to zombienet.
Hi @abhijeetbhagat, should works with v0.9.30
. I will also try on my end.
Thanks!
I have put exit 42
into command_with_args
zombie::native::client "/cfg/zombie-wrapper.sh",
zombie::native::client "exit 42"
zombie::native::client ]
zombie::native::client }
zombie::native::client } +20ms
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Pod │ dali-dev-alice │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Launching │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Command │ /cfg/zombie-wrapper.sh exit 42 │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
zombie::native::client localFilePath /tmp/zombie-dbf45acf2a56285efa3a588862dccf8f_-13928-R3EwGwpe7t8m/rococo-local.json +56ms
zombie::native::client remoteFilePath /tmp/zombie-dbf45acf2a56285efa3a588862dccf8f_-13928-R3EwGwpe7t8m/cfg/rococo-local.json +0ms
zombie::native::client remote dir /tmp/zombie-dbf45acf2a56285efa3a588862dccf8f_-13928-R3EwGwpe7t8m/cfg +0ms
zombie::native::client data dir /tmp/zombie-dbf45acf2a56285efa3a588862dccf8f_-13928-R3EwGwpe7t8m/data +0ms
zombie::native::client localFilePath /tmp/zombie-dbf45acf2a56285efa3a588862dccf8f_-13928-R3EwGwpe7t8m/zombie-wrapper.sh +5ms
zombie::native::client remoteFilePath /tmp/zombie-dbf45acf2a56285efa3a588862dccf8f_-13928-R3EwGwpe7t8m/cfg/zombie-wrapper.sh +0ms
zombie::native::client remote dir /tmp/zombie-dbf45acf2a56285efa3a588862dccf8f_-13928-R3EwGwpe7t8m/cfg +0ms
zombie::native::client data dir /tmp/zombie-dbf45acf2a56285efa3a588862dccf8f_-13928-R3EwGwpe7t8m/data +0ms
zombie::native::client /bin/bash +5ms
zombie::native::client [ '/cfg/zombie-wrapper.sh', 'exit 42' ] +0ms
zombie::native::client 14478 +9ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /tmp/zombie-dbf45acf2a56285efa3a588862dccf8f_-13928-R3EwGwpe7t8m/dali-dev-alice.log | wc -l"
zombie::native::client ] +0ms
zombie::native::client { exitCode: 0, stdout: '0' } +13ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /tmp/zombie-dbf45acf2a56285efa3a588862dccf8f_-13928-R3EwGwpe7t8m/dali-dev-alice.log | wc -l"
zombie::native::client ] +3s
zombie::native::client { exitCode: 0, stdout: '0' } +14ms
zombie::native::client [
zombie::native::client '-c',
zombie::native::client "grep -E 'Listening for new connections|Running JSON-RPC' /tmp/zombie-dbf45acf2a56285efa3a588862dccf8f_-13928-R3EwGwpe7t8m/dali-dev-alice.log | wc -l"
As you see, if your collator fails, you will never know what happened (DEBUG mode, native).
Yes, that correct and we are working to improve the error reporting. This will be fixed in the next release. Thanks!
hey @pepoviola! i am still getting that timeout error:
abhi@orion ~/c/z/javascript (main)> node packages/cli/dist/cli.js --provider native spawn zombienet-config.toml
╔════════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ 🧟 Zombienet 🧟 │ Initiation ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Provider │ native ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Namespace │ zombie-80600b54fea89db7bdf8a268bd960162 ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Temp Dir │ /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-80600b54fea89db7bdf8a268bd960162_-5988-LO… ║
╚════════════════════╧════════════════════════════════════════════════════════════════════════════════════════════════════╝
🚧 Chain Spec was set to a file in raw format, can't customize. 🚧
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Chain name: Rococo Local Testnet ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Rococo Local Testnet ⚙ Clear Boot Nodes │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Pod │ alice │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Launching │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Command │ /Users/abhi/code/polkadot/target/release/polkadot --chain /var/folders/6q/n9_41dj50b3 │
│ │ 7xrxn45f_qrbc0000gn/T/zombie-80600b54fea89db7bdf8a268bd960162_-5988-LOhk4aSizFyf/alice/cfg │
│ │ /rococo-local.json --name alice --rpc-cors all --unsafe-rpc-external --rpc-methods unsafe │
│ │ --unsafe-ws-external --no-mdns --node-key 2bd806c97f0e00af1a1fc3328fa763a9269723c8db8fac4f │
│ │ 93af71db186d6e90 --no-telemetry --prometheus-external --validator --prometheus-port 54004 │
│ │ --rpc-port 30488 --ws-port 9988 --listen-addr /ip4/0.0.0.0/tcp/54003/ws --base-path /var/f │
│ │ olders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-80600b54fea89db7bdf8a268bd960162_-5988-L │
│ │ Ohk4aSizFyf/alice/data │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌────────────────────────────────────────┬────────────────────────────────────────────────────────────────────────────────┐
│ Pod │ alice │
├────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Ready │
└────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────┘
╔════════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Pod │ alice ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Status │ Running ║
╟────────────────────╧────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ You can follow the logs of the node by running this command: ║
╚═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
tail -f /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-80600b54fea89db7bdf8a268bd960162_-5988-LOhk4aSizFyf/alice.log
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Rococo Local Testnet ⚙ Added Boot Nodes │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ /ip4/127.0.0.1/tcp/54003/ws/p2p/12D3KooWQCkBm1BYtkHpocxCwMgR8yjitEeHGx8spzcDLGt2gkBm │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Pod │ bob │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Launching │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Command │ /Users/abhi/code/polkadot/target/release/polkadot --chain /var/folders/6q/n9_41dj50b3 │
│ │ 7xrxn45f_qrbc0000gn/T/zombie-80600b54fea89db7bdf8a268bd960162_-5988-LOhk4aSizFyf/bob/cfg/r │
│ │ ococo-local.json --name bob --rpc-cors all --unsafe-rpc-external --rpc-methods unsafe --un │
│ │ safe-ws-external --no-mdns --node-key 81b637d8fcd2c6da6359e6963113a1170de795e4b725b84d1e0b │
│ │ 4cfd9ec58ce9 --no-telemetry --prometheus-external --validator --bootnodes /ip4/127.0.0.1/t │
│ │ cp/54003/ws/p2p/12D3KooWQCkBm1BYtkHpocxCwMgR8yjitEeHGx8spzcDLGt2gkBm --prometheus-port 540 │
│ │ 06 --rpc-port 30555 --ws-port 9955 --listen-addr /ip4/0.0.0.0/tcp/54005/ws --base-path /va │
│ │ r/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-80600b54fea89db7bdf8a268bd960162_-598 │
│ │ 8-LOhk4aSizFyf/bob/data │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌────────────────────────────────────────┬────────────────────────────────────────────────────────────────────────────────┐
│ Pod │ bob │
├────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Ready │
└────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────┘
╔════════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Pod │ bob ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Status │ Running ║
╟────────────────────╧────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ You can follow the logs of the node by running this command: ║
╚═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
tail -f /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-80600b54fea89db7bdf8a268bd960162_-5988-LOhk4aSizFyf/bob.log
All relay chain nodes spawned...
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Pod │ alice-1 │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Launching │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Command │ /cfg/zombie-wrapper.sh /Users/abhi/code/ice-substrate/target/release/ice-node --ws-po │
│ │ rt=9944 --port=31200 --rpc-port=9933 --collator --tmp --chain=arctic-dev --alice --unsafe- │
│ │ ws-external --unsafe-rpc-external --rpc-cors=all --rpc-methods=Unsafe --log=xcm=trace,xcm- │
│ │ executor=trace -- --chain=/Users/abhi/code/ice-substrate/rococo-local-raw.json --execution │
│ │ =wasm │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
Error: Timeout(60) for node : alice-1
at NativeClient.<anonymous> (/Users/abhi/code/zombienet/javascript/packages/orchestrator/dist/providers/native/nativeClient.js:314:19)
at Generator.next (<anonymous>)
at fulfilled (/Users/abhi/code/zombienet/javascript/packages/orchestrator/dist/providers/native/nativeClient.js:5:58)
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Node' │ /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-80600b54fea89db7bdf8a268bd960162_-5988-LO… │
│ s logs: │ │
│ m │ │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
i am on macos with m1 chip this time so couldn't use the zombienet-macos
binary. had to build the javascript code
and then use cli.js
.
this is my zombienet-config.toml
:
[settings]
timeout = 180000
default_args = [ "-lparachain=debug" ]
[relaychain]
default_command = "/Users/abhi/code/polkadot/target/release/polkadot"
chain = "rococo-local"
chain_spec_path = "/Users/abhi/code/zombienet/javascript/rococo-custom-2-raw.json"
[[relaychain.nodes]]
name = "alice"
ws_port = 9988
rpc_port = 30488
[[relaychain.nodes]]
name = "bob"
ws_port = 9955
rpc_port = 30555
[[parachains]]
id = 2000
# addToGenesis = true
# genesis_wasm_generator = "/home/abhi/code/ice-substrate/target/release/ice-node export-genesis-wasm --chain arctic-raw.json > arctic-genesis-wasm"
# genesis_state_generator = "/home/abhi/code/ice-substrate/target/release/ice-node export-genesis-state --chain arctic-raw.json > arctic-genesis-state"
[parachains.collator]
name = "alice"
command_with_args = "/Users/abhi/code/ice-substrate/target/release/ice-node --ws-port=9944 --port=31200 --rpc-port=9933 --collator --tmp --chain=arctic-dev --alice --unsafe-ws-external --unsafe-rpc-external --rpc-cors=all --rpc-methods=Unsafe --log=xcm=trace,xcm-executor=trace -- --chain=/Users/abhi/code/ice-substrate/rococo-local-raw.json --execution=wasm"
#ws_port = 9944
#rpc_port = 9933
this is the alice-1.log file:
abhi@orion ~/c/z/javascript (main) [1]> bat /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-80600b54fea89db7bdf8a268bd960162_-5988-LOhk4aSizFyf/alice-1.log
───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-80600b54fea89db7bdf8a268bd960162_-5988-LOhk4aSizFyf/alice-1.log
───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ /Users/abhi/code/ice-substrate/target/release/ice-node --ws-port=9944 --port=31200 --rpc-port=9933 --collator --tmp --chain=arctic-dev --alice --unsafe-ws-external --unsafe-rpc-external --rpc-cors=all
│ --rpc-methods=Unsafe --log=xcm=trace,xcm-executor=trace -- --chain=/Users/abhi/code/ice-substrate/rococo-local-raw.json --execution=wasm: /cfg/zombie-wrapper.sh: No such file or directory
───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
there is nothing inside the cfg
folder as the error says; however, the zombienet-wrapper.sh
is outside the cfg
folder:
abhi@orion ~/c/z/javascript (main)> ll /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-80600b54fea89db7bdf8a268bd960162_-5988-LOhk4aSizFyf/cfg/
total 0
abhi@orion ~/c/z/javascript (main)> ll /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-80600b54fea89db7bdf8a268bd960162_-5988-LOhk4aSizFyf/
total 7616
drwxr-xr-x 3 abhi staff 96B Nov 17 10:28 2000/
drwxr-xr-x 5 abhi staff 160B Nov 17 10:28 alice/
drwxr-xr-x 4 abhi staff 128B Nov 17 10:28 alice-1/
-rw-r--r-- 1 abhi staff 389B Nov 17 10:28 alice-1.log
-rw-r--r-- 1 abhi staff 1.3K Nov 17 10:28 alice-1.yaml
-rw-r--r-- 1 abhi staff 7.7K Nov 17 10:29 alice.log
-rw-r--r-- 1 abhi staff 1.6K Nov 17 10:28 alice.yaml
drwxr-xr-x 5 abhi staff 160B Nov 17 10:28 bob/
-rw-r--r-- 1 abhi staff 6.3K Nov 17 10:29 bob.log
-rw-r--r-- 1 abhi staff 1.6K Nov 17 10:28 bob.yaml
drwxr-xr-x 2 abhi staff 64B Nov 17 10:28 cfg/
-rw-r--r-- 1 abhi staff 0B Nov 17 10:28 finished.txt
drwxr-xr-x 4 abhi staff 128B Nov 17 10:29 logs/
-rw-r--r-- 1 abhi staff 134B Nov 17 10:28 namespace
-rw-rw-r-- 1 abhi staff 1.8M Nov 17 10:28 rococo-local-plain.json
-rw-rw-r-- 1 abhi staff 1.8M Nov 17 10:28 rococo-local.json
-rwxr-xr-x 1 abhi staff 1.6K Nov 17 10:28 zombie-wrapper.sh*
abhi@orion ~/c/z/javascript (main)>
i am able to successfully launch the same network using polkadot-launch
.
how can i enable debug logs when using the cli.js
script?
Hi @abhijeetbhagat, the command for the collator is wrong. In native provider the wrapper
shouldn't we used. Which version of zombienet are you using?
Thanks!
i am using the latest-ish zombienet source
EDIT:
abhi@orion ~/c/z/javascript (main) [1]> node packages/cli/dist/cli.js version
1.3.17
i am using the latest-ish zombienet source
EDIT:
abhi@orion ~/c/z/javascript (main) [1]> node packages/cli/dist/cli.js version 1.3.17
Thanks, this pr https://github.com/paritytech/zombienet/pull/602 should fix the issue.
Thanks!!
that still hasn't fixed the timeout problem i am afraid. same error.
EDIT: i tried in both fish and bash shells btw.
@abhijeetbhagat as far as i see now if chain start fails.with non zero exit code you will not see errora. you will sew timeout. how may yoi check that chain start with prpvided parameters worked ?
i copy-pasted the chain start command from polkadot-launch (ps aux | grep ice-node
)
if command_with_args
replaced with command_with_args="exit 42". do you get a timeout?
also, what is in the logs of ice-node? likely alice-1.log
?
using exit 42
also results in a timeout -
All relay chain nodes spawned...
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Pod │ alice-1 │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Launching │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Command │ /cfg/zombie-wrapper.sh exit 42 │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
Error: Timeout(60) for node : alice-1
at NativeClient.<anonymous> (/Users/abhi/code/zombienet/javascript/packages/orchestrator/dist/providers/native/nativeClient.js:314:19)
at Generator.next (<anonymous>)
at fulfilled (/Users/abhi/code/zombienet/javascript/packages/orchestrator/dist/providers/native/nativeClient.js:5:58)
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Node' │ /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-997d6433eec041fef7d456f5ebd35758_-19760-4… │
│ s logs: │ │
│ m │ │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
this is the alice-1.log
file:
exit 42: /cfg/zombie-wrapper.sh: No such file or directory
native
should not use the wrapper script (zombie-wrapper.sh
). This should be fixed in main
but I don't create a new release yet. Can you try pull/build?
Thanks!
hey @pepoviola ! i am using the latest commit of the repo (https://github.com/paritytech/zombienet/pull/611). i am no longer getting the timeout error; however, it is still using the zombie-wrapper.sh
file for native
mode.
these are the logs:
bash-3.2$ node packages/cli/dist/cli.js --provider native spawn zombienet-config.toml
╔════════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ 🧟 Zombienet 🧟 │ Initiation ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Provider │ native ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Namespace │ zombie-d0a1ee12df9647f0e713fd4e93d7612c ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Temp Dir │ /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-F… ║
╚════════════════════╧════════════════════════════════════════════════════════════════════════════════════════════════════╝
🚧 Chain Spec was set to a file in raw format, can't customize. 🚧
╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Chain name: Rococo Local Testnet ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Rococo Local Testnet ⚙ Clear Boot Nodes │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Pod │ alice │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Launching │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Command │ /Users/abhi/code/polkadot/target/release/polkadot --chain /var/folders/6q/n9_41dj50b3 │
│ │ 7xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-FTaBSUNr3d00/alice/cf │
│ │ g/rococo-local.json --name alice --rpc-cors all --unsafe-rpc-external --rpc-methods unsafe │
│ │ --unsafe-ws-external --no-mdns --node-key 2bd806c97f0e00af1a1fc3328fa763a9269723c8db8fac4 │
│ │ f93af71db186d6e90 --no-telemetry --prometheus-external --validator --prometheus-port 62181 │
│ │ --rpc-port 30488 --ws-port 9988 --listen-addr /ip4/0.0.0.0/tcp/62180/ws --base-path /var/ │
│ │ folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284 │
│ │ -FTaBSUNr3d00/alice/data │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌────────────────────────────────────────┬────────────────────────────────────────────────────────────────────────────────┐
│ Pod │ alice │
├────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Ready │
└────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────┘
╔════════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Pod │ alice ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Status │ Running ║
╟────────────────────╧────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ You can follow the logs of the node by running this command: ║
╚═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
tail -f /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-FTaBSUNr3d00/alice.log
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Rococo Local Testnet ⚙ Added Boot Nodes │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ /ip4/127.0.0.1/tcp/62180/ws/p2p/12D3KooWQCkBm1BYtkHpocxCwMgR8yjitEeHGx8spzcDLGt2gkBm │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Pod │ bob │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Launching │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Command │ /Users/abhi/code/polkadot/target/release/polkadot --chain /var/folders/6q/n9_41dj50b3 │
│ │ 7xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-FTaBSUNr3d00/bob/cfg/ │
│ │ rococo-local.json --name bob --rpc-cors all --unsafe-rpc-external --rpc-methods unsafe --u │
│ │ nsafe-ws-external --no-mdns --node-key 81b637d8fcd2c6da6359e6963113a1170de795e4b725b84d1e0 │
│ │ b4cfd9ec58ce9 --no-telemetry --prometheus-external --validator --bootnodes /ip4/127.0.0.1/ │
│ │ tcp/62180/ws/p2p/12D3KooWQCkBm1BYtkHpocxCwMgR8yjitEeHGx8spzcDLGt2gkBm --prometheus-port 62 │
│ │ 183 --rpc-port 30555 --ws-port 9955 --listen-addr /ip4/0.0.0.0/tcp/62182/ws --base-path /v │
│ │ ar/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24 │
│ │ 284-FTaBSUNr3d00/bob/data │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌────────────────────────────────────────┬────────────────────────────────────────────────────────────────────────────────┐
│ Pod │ bob │
├────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Ready │
└────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────┘
╔════════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Pod │ bob ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Status │ Running ║
╟────────────────────╧────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ You can follow the logs of the node by running this command: ║
╚═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
tail -f /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-FTaBSUNr3d00/bob.log
All relay chain nodes spawned...
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Pod │ alice-1 │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Status │ Launching │
├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Command │ /cfg/zombie-wrapper.sh /Users/abhi/code/ice-substrate/target/release/ice-node --ws-po │
│ │ rt=9944 --port=31200 --rpc-port=9933 --collator --tmp --chain=arctic-dev --alice --unsafe- │
│ │ ws-external --unsafe-rpc-external --rpc-cors=all --rpc-methods=Unsafe --log=xcm=trace,xcm- │
│ │ executor=trace -- --chain=/Users/abhi/code/ice-substrate/rococo-local-raw.json --execution │
│ │ =wasm │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
Error: Command failed with exit code 1: /bin/bash -c ps 24304
PID TT STAT TIME COMMAND
at makeError (/Users/abhi/code/zombienet/javascript/node_modules/execa/lib/error.js:60:11)
at handlePromise (/Users/abhi/code/zombienet/javascript/node_modules/execa/index.js:118:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
shortMessage: 'Command failed with exit code 1: /bin/bash -c ps 24304',
command: '/bin/bash -c ps 24304',
escapedCommand: '"/bin/bash" -c "ps 24304"',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: ' PID TT STAT TIME COMMAND',
stderr: '',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
Error: Command failed with exit code 1: /bin/bash -c ps 24304
PID TT STAT TIME COMMAND
at makeError (/Users/abhi/code/zombienet/javascript/node_modules/execa/lib/error.js:60:11)
at handlePromise (/Users/abhi/code/zombienet/javascript/node_modules/execa/index.js:118:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
shortMessage: 'Command failed with exit code 1: /bin/bash -c ps 24304',
command: '/bin/bash -c ps 24304',
escapedCommand: '"/bin/bash" -c "ps 24304"',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: ' PID TT STAT TIME COMMAND',
stderr: '',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Node' │ /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-F… │
│ s logs: │ │
│ m │ │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
output of alice-1.log
:
bash-3.2$ bat /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-FTaBSUNr3d00/alice-1.log
───────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-FTaBSUNr3d00/alice-1.log
───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ /Users/abhi/code/ice-substrate/target/release/ice-node --ws-port=9944 --port=31200 --rpc-port=9933 --collator --tmp --chain=arctic-dev --alice --unsafe-ws-external --unsafe-rpc-external --rpc-cors=all --
│ rpc-methods=Unsafe --log=xcm=trace,xcm-executor=trace -- --chain=/Users/abhi/code/ice-substrate/rococo-local-raw.json --execution=wasm: /cfg/zombie-wrapper.sh: No such file or directory
───────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
hey @pepoviola ! i am using the latest commit of the repo (#611). i am no longer getting the timeout error; however, it is still using the
zombie-wrapper.sh
file fornative
mode. these are the logs:bash-3.2$ node packages/cli/dist/cli.js --provider native spawn zombienet-config.toml ╔════════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════╗ ║ 🧟 Zombienet 🧟 │ Initiation ║ ╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢ ║ Provider │ native ║ ╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢ ║ Namespace │ zombie-d0a1ee12df9647f0e713fd4e93d7612c ║ ╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢ ║ Temp Dir │ /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-F… ║ ╚════════════════════╧════════════════════════════════════════════════════════════════════════════════════════════════════╝ 🚧 Chain Spec was set to a file in raw format, can't customize. 🚧 ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ ║ Chain name: Rococo Local Testnet ║ ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Rococo Local Testnet ⚙ Clear Boot Nodes │ └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ ┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Pod │ alice │ ├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ Status │ Launching │ ├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ Command │ /Users/abhi/code/polkadot/target/release/polkadot --chain /var/folders/6q/n9_41dj50b3 │ │ │ 7xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-FTaBSUNr3d00/alice/cf │ │ │ g/rococo-local.json --name alice --rpc-cors all --unsafe-rpc-external --rpc-methods unsafe │ │ │ --unsafe-ws-external --no-mdns --node-key 2bd806c97f0e00af1a1fc3328fa763a9269723c8db8fac4 │ │ │ f93af71db186d6e90 --no-telemetry --prometheus-external --validator --prometheus-port 62181 │ │ │ --rpc-port 30488 --ws-port 9988 --listen-addr /ip4/0.0.0.0/tcp/62180/ws --base-path /var/ │ │ │ folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284 │ │ │ -FTaBSUNr3d00/alice/data │ └────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘ ┌────────────────────────────────────────┬────────────────────────────────────────────────────────────────────────────────┐ │ Pod │ alice │ ├────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤ │ Status │ Ready │ └────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────┘ ╔════════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════╗ ║ Pod │ alice ║ ╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢ ║ Status │ Running ║ ╟────────────────────╧────────────────────────────────────────────────────────────────────────────────────────────────────╢ ║ You can follow the logs of the node by running this command: ║ ╚═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ tail -f /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-FTaBSUNr3d00/alice.log ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Rococo Local Testnet ⚙ Added Boot Nodes │ ├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ /ip4/127.0.0.1/tcp/62180/ws/p2p/12D3KooWQCkBm1BYtkHpocxCwMgR8yjitEeHGx8spzcDLGt2gkBm │ └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ ┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Pod │ bob │ ├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ Status │ Launching │ ├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ Command │ /Users/abhi/code/polkadot/target/release/polkadot --chain /var/folders/6q/n9_41dj50b3 │ │ │ 7xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-FTaBSUNr3d00/bob/cfg/ │ │ │ rococo-local.json --name bob --rpc-cors all --unsafe-rpc-external --rpc-methods unsafe --u │ │ │ nsafe-ws-external --no-mdns --node-key 81b637d8fcd2c6da6359e6963113a1170de795e4b725b84d1e0 │ │ │ b4cfd9ec58ce9 --no-telemetry --prometheus-external --validator --bootnodes /ip4/127.0.0.1/ │ │ │ tcp/62180/ws/p2p/12D3KooWQCkBm1BYtkHpocxCwMgR8yjitEeHGx8spzcDLGt2gkBm --prometheus-port 62 │ │ │ 183 --rpc-port 30555 --ws-port 9955 --listen-addr /ip4/0.0.0.0/tcp/62182/ws --base-path /v │ │ │ ar/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24 │ │ │ 284-FTaBSUNr3d00/bob/data │ └────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘ ┌────────────────────────────────────────┬────────────────────────────────────────────────────────────────────────────────┐ │ Pod │ bob │ ├────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤ │ Status │ Ready │ └────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────┘ ╔════════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════╗ ║ Pod │ bob ║ ╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢ ║ Status │ Running ║ ╟────────────────────╧────────────────────────────────────────────────────────────────────────────────────────────────────╢ ║ You can follow the logs of the node by running this command: ║ ╚═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ tail -f /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-FTaBSUNr3d00/bob.log All relay chain nodes spawned... ┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Pod │ alice-1 │ ├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ Status │ Launching │ ├────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ Command │ /cfg/zombie-wrapper.sh /Users/abhi/code/ice-substrate/target/release/ice-node --ws-po │ │ │ rt=9944 --port=31200 --rpc-port=9933 --collator --tmp --chain=arctic-dev --alice --unsafe- │ │ │ ws-external --unsafe-rpc-external --rpc-cors=all --rpc-methods=Unsafe --log=xcm=trace,xcm- │ │ │ executor=trace -- --chain=/Users/abhi/code/ice-substrate/rococo-local-raw.json --execution │ │ │ =wasm │ └────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘ Error: Command failed with exit code 1: /bin/bash -c ps 24304 PID TT STAT TIME COMMAND at makeError (/Users/abhi/code/zombienet/javascript/node_modules/execa/lib/error.js:60:11) at handlePromise (/Users/abhi/code/zombienet/javascript/node_modules/execa/index.js:118:26) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { shortMessage: 'Command failed with exit code 1: /bin/bash -c ps 24304', command: '/bin/bash -c ps 24304', escapedCommand: '"/bin/bash" -c "ps 24304"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: ' PID TT STAT TIME COMMAND', stderr: '', failed: true, timedOut: false, isCanceled: false, killed: false } Error: Command failed with exit code 1: /bin/bash -c ps 24304 PID TT STAT TIME COMMAND at makeError (/Users/abhi/code/zombienet/javascript/node_modules/execa/lib/error.js:60:11) at handlePromise (/Users/abhi/code/zombienet/javascript/node_modules/execa/index.js:118:26) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { shortMessage: 'Command failed with exit code 1: /bin/bash -c ps 24304', command: '/bin/bash -c ps 24304', escapedCommand: '"/bin/bash" -c "ps 24304"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: ' PID TT STAT TIME COMMAND', stderr: '', failed: true, timedOut: false, isCanceled: false, killed: false } ┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Node' │ /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-F… │ │ s logs: │ │ │ m │ │ └────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
output of
alice-1.log
:bash-3.2$ bat /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-FTaBSUNr3d00/alice-1.log ───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │ File: /var/folders/6q/n9_41dj50b37xrxn45f_qrbc0000gn/T/zombie-d0a1ee12df9647f0e713fd4e93d7612c_-24284-FTaBSUNr3d00/alice-1.log ───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 1 │ /Users/abhi/code/ice-substrate/target/release/ice-node --ws-port=9944 --port=31200 --rpc-port=9933 --collator --tmp --chain=arctic-dev --alice --unsafe-ws-external --unsafe-rpc-external --rpc-cors=all -- │ rpc-methods=Unsafe --log=xcm=trace,xcm-executor=trace -- --chain=/Users/abhi/code/ice-substrate/rococo-local-raw.json --execution=wasm: /cfg/zombie-wrapper.sh: No such file or directory ───────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Can you paste here the toml
file to reproduce.
Thanks!
this is the zombienet-config.toml
file i am using in the launch command:
[settings]
timeout = 180000
default_args = [ "-lparachain=debug" ]
[relaychain]
default_command = "/Users/abhi/code/polkadot/target/release/polkadot"
chain = "rococo-local"
chain_spec_path = "/Users/abhi/code/zombienet/javascript/rococo-custom-2-raw.json"
[[relaychain.nodes]]
name = "alice"
ws_port = 9988
rpc_port = 30488
[[relaychain.nodes]]
name = "bob"
ws_port = 9955
rpc_port = 30555
[[parachains]]
id = 2000
# addToGenesis = true
# genesis_wasm_generator = "/home/abhi/code/ice-substrate/target/release/ice-node export-genesis-wasm --chain arctic-raw.json > arctic-genesis-wasm"
# genesis_state_generator = "/home/abhi/code/ice-substrate/target/release/ice-node export-genesis-state --chain arctic-raw.json > arctic-genesis-state"
[parachains.collator]
name = "alice"
command_with_args = "/Users/abhi/code/ice-substrate/target/release/ice-node --ws-port=9944 --port=31200 --rpc-port=9933 --collator --tmp --chain=arctic-dev --alice --unsafe-ws-external --unsafe-rpc-external --rpc-cors=all --rpc-methods=Unsafe --log=xcm=trace,xcm-executor=trace -- --chain=/Users/abhi/code/ice-substrate/rococo-local-raw.json --execution=wasm"
# command_with_args = "exit 42"
#ws_port = 9944
#rpc_port = 9933
Thanks @abhijeetbhagat, I found the bug and create this PR to fix it. Thanks!!
hey @pepoviola ! thanks for that fix! the para process is now launching without any errors.
there's one problem though - my para isn't registering with the relay. after inspecting the registration call in orchestrator, i found that there are no state, wasm files generated in the
should i open a new issue for this?