run frame-omni-bencher overhead command in CI for all runtimes in the runtime matrix#7459
Conversation
dc7194d to
9000c0c
Compare
|
Some tests failed because not all chains have development genesis presets. I shall add them in the same PR. |
may be this flag needs to be added? if so you can reuse bench_flags from the matrix |
|
Thanks a lot for the hint! I thought/hoped so too initially, however the flags are different, unfortunately. I can overwrite the |
|
I noticed that there is an open issue regarding the missing genesis presets. I extracted a separate PR for that: Edit: The PRs for adding genesis presets have now been merged. So this PR is unblocked. |
e74e2d7 to
6962792
Compare
|
@ggwpez everything works now except for glutton. The error says that it can't look up the transaction, but I can only find that the overhead command is executing Error logRunning short overhead benchmarking for PACKAGE_NAME=glutton-westend-runtime and RUNTIME_BLOB_PATH=./target/release/wbuild/glutton-westend-runtime/glutton_westend_runtime.compact.compressed.wasm
-rw-r--r-- 1 root root 4840334 Mar 4 10:03 ./target/release/wbuild/glutton-westend-runtime/glutton_westend_runtime.compact.compressed.wasm
Running command: ./target/release/frame-omni-bencher v1 benchmark overhead --runtime ./target/release/wbuild/glutton-westend-runtime/glutton_westend_runtime.compact.compressed.wasm
2025-03-04T10:08:11.598970Z INFO polkadot_sdk_frame::benchmark::overhead: Identified Chain type from metadata: Parachain(paraid = 100)
2025-03-04T10:08:12.362275Z INFO polkadot_sdk_frame::benchmark::overhead: Per-block execution overhead [ns]:
Total: 34427576
Min: 331742, Max: 410174
Average: 344275, Median: 342620, Stddev: 9655.69
Percentiles 99th, 95th, 75th: 373583, 353799, 346876
Error: Client(ApplyExtrinsicFailed(Validity(TransactionValidityError::Unknown(UnknownTransaction::CannotLookup))))Edit: Ah ok, it seems that the error is misleading. This error is also thrown if the extrinsic is not signed by the sudo key for glutton, and the sudo key is missing in the presets; fixing it now. |
This comment was marked as outdated.
This comment was marked as outdated.
|
I think the PR is now ready to be review. 🚀 And maybe give it a silent tag? |
|
Wonderful, thanks for the approval. I think the PR is green enough for the merge queue. Can someone do that? |
I discovered in #7459, that the overhead benchmark is not working for glutton-westend, as the client can't send `system.remark` extrinsics. This was due to 2 issues: 1. Alice was not set as sudo. Hence, the `CheckOnlySudoAccount` deemed the extrinsic as invalid. 2. The `CheckNonce` TxExtension also marked the extrinsic as invalid, as the account doesn't exist (because glutton has no balances pallet). This PR fixes the 1.) for now. I wanted to simply remove the `CheckNonce` in the TxExtension to fix 2., but it turns out that this is not possible, as the tx-pool needs the nonce tag to identify the transaction. #6884 will fix sending extrinsics on glutton. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: s0me0ne-unkn0wn <48632512+s0me0ne-unkn0wn@users.noreply.github.com>
|
We can enable glutton-soon after #7846 is merged. So we should just wait a bit more. |
|
One more review needed for this tiny PR. @ggwpez, maybe you want to give me the honor of reviewing this PR, as it closes your issue? :D |
|
I merged master, which increased some timeouts in the CI. Let's try adding it to the merge queue again. |
35e6bef
* master: (58 commits) Upgrade link-checker cache to v4 (#7874) Updating readmes (#7950) Cumulus: Remove some old scripts (#7946) pallet-bounties: allow bounties to never expire (#7723) run frame-omni-bencher overhead command in CI for all runtimes in the runtime matrix (#7459) Update README.md for Cumulus (#7930) FRAME: Meta Transaction (#6428) Follow up for: Use the umbrella crate for the parachain template #5993 (#7464) Add an extra_constant to pallet-treasury (#7918) Bump the ci_dependencies group across 1 directory with 4 updates (#7855) remove compromised action (#7934) Fixing token-economics dead link (#5302) [pallet-revive] Fix pallet-revive-fixtures build.rs (#7928) cumulus: fix pov exporter format (#7923) sp-api: Support `mut` in `impl_runtime_apis!` (#7924) Remove clones from block seal function (#7917) [pallet-revive] precompiles 2->9 (#7810) Use non-native token to benchmark xcm on asset hub (#7893) [CI] bump timeout wait for build in zombienet workflows. (#7871) taplo: split long array line to multiline array (#7905) ...
As defined in #6347, we want to run the omni-benchers overhead command in the CI to be sure that it keeps working.
Closes #6347