0

I am trying to Configure the test network settings. I am following this tutorial.

This is my config.toml file

[relaychain]

default_command = "./binaries/polkadot/polkadot"
default_args = ["-lparachain=debug"]

chain = "rococo-local"

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

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

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

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

[[parachains]]
id = 1000
cumulus_based = true

[parachains.collator]
name = "parachain-A-1000-collator01"
command = "./binaries/parachain-template/parachain-template-node"

[[parachains]]
id = 1001
cumulus_based = true

[parachains.collator]
name = "parachain-B-1001-collator01"
command = "./binaries/parachain-template/parachain-template-node"

When I start test network using ./zombienet-macos spawn config.toml -p native command, network is started but I get this warning,

(node:28868) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `zombienet-macos --trace-warnings ...` to show where the warning was created)

Error    fetching metrics from: http://127.0.0.1:50697/metrics

Error    fetching metrics from: http://127.0.0.1:50705/metrics

Error    fetching metrics from: http://127.0.0.1:50701/metrics

Error    fetching metrics from: http://127.0.0.1:50709/metrics

Why I am getting this warning? How to fix this or should I ignore?

and after some time it terminate automatically with this error,

Error    fetching metrics from: http://127.0.0.1:52347/metrics

Error    fetching metrics from: http://127.0.0.1:52343/metrics

     Error:  
         Timeout(300), "getting desired metric value 1 within 300 secs".


     Error:  
         Timeout(300), "getting desired metric value 1 within 300 secs".


     Error:  
         Timeout(300), "getting desired metric value 1 within 300 secs".


     Error:  
         Timeout(300), "getting desired metric value 1 within 300 secs".

Error:       Error: At least one of the nodes fails to start

undefined
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Node'              │ /var/folders/q3/d699hkpx49xfy236ph7sltr40000gn/T/zombie-d3059dd228663607be58ce72a2009ae4_-34898-V… │
│ s logs:            │                                                                                                    │
│ m                  │                                                                                                    │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘

Error    fetching metrics from: http://127.0.0.1:52335/metrics

Error    fetching metrics from: http://127.0.0.1:52339/metrics

Error    fetching metrics from: http://127.0.0.1:52347/metrics

Error    fetching metrics from: http://127.0.0.1:52343/metrics
ganesholi@Ganeshs-MacBook-Air ~ % 
18
  • Hi, can you check if you are running the latest version of zombienet (v1.3.63)
    – pepoviola
    Commented Aug 3, 2023 at 11:17
  • ./zombienet-macos version 1.3.30. Do i need to update @pepoviola?
    – go11li
    Commented Aug 3, 2023 at 11:21
  • 1
    Yes, please. You need to update to the latest version v1.3.63 and should works as expected. Thanks!
    – pepoviola
    Commented Aug 3, 2023 at 11:37
  • @pepoviola now my latest version is v1.3.63 and now I am getting warning error.
    – go11li
    Commented Aug 3, 2023 at 11:56
  • 1
    Since github.com/paritytech/polkadot/pull/7337, polkadot will have two other binaries (workers) that you need to compile. Can you please compile from tag v1.0.0 and will works as expected.
    – pepoviola
    Commented Aug 3, 2023 at 17:54

1 Answer 1

1

Switch to release-v1.0.0 branch and recompile. This is due to the fact that on master, since this PR, polkadot has two other binaries (workers) that you need to compile.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.