-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parachain not producing any block: expected 0 to be at least 10 #182
Comments
Hi @AuroraLantean, thanks for submit this issue and your feedback. In this case the error:
Is from You need to add this [types.Header]
number = "u64"
parent_hash = "Hash"
post_state = "Hash" So, in your case will be: [relaychain]
default_image = "docker.io/paritypr/polkadot-debug:master"
default_command = "polkadot"
default_args = [ "-lparachain=debug" ]
chain = "rococo-local"
[[relaychain.nodes]]
name = "alice"
validator = true
[[relaychain.nodes]]
name = "bob"
validator = true
[[parachains]]
id = 100
[parachains.collator]
name = "collator01"
image = "docker.io/paritypr/colander:master"
command = "adder-collator"
[types.Header]
number = "u64"
parent_hash = "Hash"
post_state = "Hash" Thanks! |
Hi @pepoviola , thank you for your quick reply!
|
Hi @AuroraLantean, Thanks! |
Hi @pepoviola
|
Hi @AuroraLantean, when you run the
You can see the logs of the Thanks! |
@pepoviola Okay. Thanks. I found them in bob.log:
So bob's blocks are imported, right? Thanks |
Yes, Thanks! |
@pepoviola Thank you. Yes, I tried that with 70 but the test still failed...
the above line 2 should be matched by the above glob pattern matching Actually, I only need to use regex pattern matching "Imported #[0-9]+" to check if the parachain is producing blocks, right? I don't know what it is but something is not right. please advise.
|
Hi @AuroraLantean,
makes that when the test-runner try to assert this one
The block import is higher than
I hope make sense, but if not please ping me 👍 Thanks! |
Hello @pepoviola Thank you. could you clarify what you meant by "The block import is higher than 1x and will not match until 1xx" ? Did you mean is 1x = 10, 11, 12, etc and 1xx = 100, 101, 102, etc ? Also I tried this below from the guide, which is slightly different without asterisks, it also failed: I don't think glob match works very well searching text in log files, or it is more complicated to be used... So this feature file works well
Thanks |
Hi @AuroraLantean,I fix the issue and should works as expected in main. Thanks!! |
@pepoviola Okay please close this. Thank you! |
I was following your guide https://paritytech.github.io/zombienet/docs/book/test-dsl-definition-spec.html#available-assertions
I copied this line below from that Available Assertions and pasted it into 0001-small-network.feature file
alice: parachain 100 block height is at least 10 within 250 seconds
Then I ran the test:
./zombienet-linux -p kubernetes test zombienet/0001-small-network.feature
Then the output:
It seems the parachain is not producing any block!???
What is this error below?
How can I solve this? What is wrong? please advise. Thank you
The text was updated successfully, but these errors were encountered: