Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Companion for substrate PR#9890 #3961

Merged
5 commits merged into from
Sep 30, 2021
Merged

Companion for substrate PR#9890 #3961

5 commits merged into from
Sep 30, 2021

Conversation

zjb0807
Copy link
Contributor

@zjb0807 zjb0807 commented Sep 29, 2021

@zjb0807
Copy link
Contributor Author

zjb0807 commented Sep 29, 2021

/benchmark runtime kusama pallet_democracy

@parity-benchapp
Copy link

parity-benchapp bot commented Sep 29, 2021

Benchmark Runtime Kusama Pallet for branch "update-weights" with command cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/

Results
error: failed to run custom build command for `polkadot-runtime v0.9.9 (/home/benchbot/bench-bot/git/polkadot/runtime/polkadot)`

Caused by:
  process didn't exit successfully: `/home/benchbot/bench-bot/git/polkadot/target/release/build/polkadot-runtime-f976a6b2f493a117/build-script-build` (exit status: 1)
  --- stdout
  �[1;33mInformation that should be included in a bug report.�[0m
  �[1;33mExecuting build command:�[0m "rustup" "run" "nightly" "cargo" "rustc" "--target=wasm32-unknown-unknown" "--manifest-path=/home/benchbot/bench-bot/git/polkadot/target/release/wbuild/polkadot-runtime/Cargo.toml" "--color=always" "--release"
  �[1;33mUsing rustc version:�[0m rustc 1.56.0-nightly (b7404c898 2021-09-03)


  --- stderr
  �[0m�[0m�[1m�[36m    Blocking�[0m waiting for file lock on package cache
  �[0m�[0m�[1m�[36m    Blocking�[0m waiting for file lock on package cache
  �[0m�[0m�[1m�[36m    Blocking�[0m waiting for file lock on package cache
  �[0m�[0m�[1m�[36m    Blocking�[0m waiting for file lock on package cache
  �[0m�[0m�[1m�[32m   Compiling�[0m syn v1.0.77
  �[0m�[0m�[1m�[32m   Compiling�[0m libc v0.2.103
  �[0m�[0m�[1m�[32m   Compiling�[0m tracing v0.1.28
  �[0m�[0m�[1m�[32m   Compiling�[0m jobserver v0.1.21
  �[0m�[0m�[1m�[32m   Compiling�[0m getrandom v0.2.1
  �[0m�[0m�[1m�[32m   Compiling�[0m cc v1.0.67
  �[0m�[0m�[1m�[32m   Compiling�[0m rand_core v0.6.1
  �[0m�[0m�[1m�[32m   Compiling�[0m synstructure v0.12.4
  �[0m�[0m�[1m�[32m   Compiling�[0m serde_derive v1.0.130
  �[0m�[0m�[1m�[32m   Compiling�[0m thiserror-impl v1.0.26
  �[0m�[0m�[1m�[32m   Compiling�[0m impl-trait-for-tuples v0.2.1
  �[0m�[0m�[1m�[32m   Compiling�[0m derive_more v0.99.16
  �[0m�[0m�[1m�[32m   Compiling�[0m ref-cast-impl v1.0.2
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-debug-derive v3.0.0 (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-support-procedural-tools-derive v3.0.0 (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m derivative v2.2.0
  �[0m�[0m�[1m�[32m   Compiling�[0m xcm-procedural v0.1.0 (/home/benchbot/bench-bot/git/polkadot/xcm/procedural)
  �[0m�[0m�[1m�[32m   Compiling�[0m enumn v0.1.3
  �[0m�[0m�[1m�[32m   Compiling�[0m enumflags2_derive v0.6.4
  �[0m�[0m�[1m�[32m   Compiling�[0m strum_macros v0.21.1
  �[0m�[0m�[1m�[32m   Compiling�[0m zstd-sys v1.4.20+zstd.1.4.9
  �[0m�[0m�[1m�[32m   Compiling�[0m rand_chacha v0.3.1
  �[0m�[0m�[1m�[32m   Compiling�[0m zeroize_derive v1.0.0
  �[0m�[0m�[1m�[32m   Compiling�[0m parity-util-mem-derive v0.1.0
  �[0m�[0m�[1m�[32m   Compiling�[0m serde v1.0.130
  �[0m�[0m�[1m�[32m   Compiling�[0m thiserror v1.0.26
  �[0m�[0m�[1m�[32m   Compiling�[0m ref-cast v1.0.2
  �[0m�[0m�[1m�[32m   Compiling�[0m enumflags2 v0.6.4
  �[0m�[0m�[1m�[32m   Compiling�[0m rand v0.8.4
  �[0m�[0m�[1m�[32m   Compiling�[0m zeroize v1.4.1
  �[0m�[0m�[1m�[32m   Compiling�[0m toml v0.5.6
  �[0m�[0m�[1m�[32m   Compiling�[0m cargo-platform v0.1.1
  �[0m�[0m�[1m�[32m   Compiling�[0m camino v1.0.4
  �[0m�[0m�[1m�[32m   Compiling�[0m semver v0.11.0
  �[0m�[0m�[1m�[32m   Compiling�[0m serde_json v1.0.68
  �[0m�[0m�[1m�[32m   Compiling�[0m secrecy v0.7.0
  �[0m�[0m�[1m�[32m   Compiling�[0m curve25519-dalek v2.1.0
  �[0m�[0m�[1m�[32m   Compiling�[0m merlin v2.0.0
  �[0m�[0m�[1m�[32m   Compiling�[0m tempfile v3.2.0
  �[0m�[0m�[1m�[32m   Compiling�[0m proc-macro-crate v1.1.0
  �[0m�[0m�[1m�[32m   Compiling�[0m schnorrkel v0.9.1
  �[0m�[0m�[1m�[32m   Compiling�[0m libsecp256k1 v0.7.0
  �[0m�[0m�[1m�[32m   Compiling�[0m cargo_metadata v0.13.1
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-support-procedural-tools v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m parity-scale-codec-derive v2.3.1
  �[0m�[0m�[1m�[32m   Compiling�[0m scale-info-derive v1.0.0
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-runtime-interface-proc-macro v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-api-proc-macro v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-npos-elections-solution-type v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-staking-reward-curve v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-support-procedural v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m parity-scale-codec v2.3.1
  �[0m�[0m�[1m�[32m   Compiling�[0m scale-info v1.0.0
  �[0m�[0m�[1m�[32m   Compiling�[0m impl-codec v0.5.1
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-storage v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-wasm-interface v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-tracing v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-version-proc-macro v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m primitive-types v0.10.1
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-arithmetic v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-metadata v14.0.0
  �[0m�[0m�[1m�[32m   Compiling�[0m finality-grandpa v0.14.4
  �[0m�[0m�[1m�[32m   Compiling�[0m xcm v0.9.9 (/home/benchbot/bench-bot/git/polkadot/xcm)
  �[0m�[0m�[1m�[32m   Compiling�[0m parity-util-mem v0.10.2
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-runtime-interface v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m memory-db v0.27.0
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-core v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-io v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-inherents v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-trie v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-application-crypto v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-runtime v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-version v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-staking v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-npos-elections v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-authorship v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-consensus-slots v0.10.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-consensus-vrf v0.10.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m polkadot-core-primitives v0.9.9 (/home/benchbot/bench-bot/git/polkadot/core-primitives)
  �[0m�[0m�[1m�[32m   Compiling�[0m slot-range-helper v0.9.9 (/home/benchbot/bench-bot/git/polkadot/runtime/common/slot_range_helper)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-api v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-support v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-timestamp v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-session v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-authority-discovery v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m beefy-primitives v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-consensus-babe v0.10.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-finality-grandpa v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-block-builder v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-system-rpc-runtime-api v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-offchain v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-transaction-pool v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-system v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m polkadot-parachain v0.9.9 (/home/benchbot/bench-bot/git/polkadot/parachain)
  �[0m�[0m�[1m�[32m   Compiling�[0m xcm-executor v0.9.9 (/home/benchbot/bench-bot/git/polkadot/xcm/xcm-executor)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-benchmarking v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-authorship v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-election-provider-support v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-mmr-primitives v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-transaction-payment v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-nicks v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-executive v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m polkadot-primitives v0.9.9 (/home/benchbot/bench-bot/git/polkadot/primitives)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-timestamp v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-balances v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-vesting v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-utility v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-collective v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-multisig v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-proxy v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-scheduler v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-democracy v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-membership v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-elections-phragmen v5.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-indices v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-identity v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-system-benchmarking v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-im-online v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-election-provider-multi-phase v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-bags-list v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-mmr v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-transaction-payment-rpc-runtime-api v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-session v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-treasury v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-offences v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-tips v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-bounties v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-staking v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-authority-discovery v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-babe v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-beefy v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-grandpa v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-session-benchmarking v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m polkadot-runtime-parachains v0.9.9 (/home/benchbot/bench-bot/git/polkadot/runtime/parachains)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-beefy-mmr v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-offences-benchmarking v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m polkadot-runtime-common v0.9.9 (/home/benchbot/bench-bot/git/polkadot/runtime/common)
  �[0m�[0m�[1m�[32m   Compiling�[0m zstd-safe v3.0.1+zstd.1.4.9
  �[0m�[0m�[1m�[32m   Compiling�[0m zstd v0.6.1+zstd.1.4.9
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-maybe-compressed-blob v4.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m substrate-wasm-builder v5.0.0-dev (https://github.com/paritytech/substrate?branch=master#2ab5cd28)
  �[0m�[0m�[1m�[32m   Compiling�[0m polkadot-runtime v0.9.9 (/home/benchbot/bench-bot/git/polkadot/runtime/polkadot)
  �[0m�[1m�[38;5;9merror[E0407]�[0m�[0m�[1m: method `on_initialize_base_with_launch_period` is not a member of trait `pallet_democracy::WeightInfo`�[0m
  �[0m   �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/polkadot/src/weights/pallet_democracy.rs:132:2�[0m
  �[0m    �[0m�[0m�[1m�[38;5;12m|�[0m
  �[0m�[1m�[38;5;12m132�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m/�[0m�[0m �[0m�[0m    fn on_initialize_base_with_launch_period(r: u32) -> Weight {�[0m
  �[0m�[1m�[38;5;12m133�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m        (7_728_000 as Weight)�[0m
  �[0m�[1m�[38;5;12m134�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m            // Standard Error: 4_000�[0m
  �[0m�[1m�[38;5;12m135�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m            .saturating_add((5_099_000 as Weight).saturating_mul(r as Weight))�[0m
  �[0m�[1m�[38;5;12m136�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m            .saturating_add(T::DbWeight::get().reads(5 as Weight))�[0m
  �[0m�[1m�[38;5;12m137�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m            .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))�[0m
  �[0m�[1m�[38;5;12m138�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m    }�[0m
  �[0m    �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|_____^�[0m�[0m �[0m�[0m�[1m�[38;5;9mnot a member of trait `pallet_democracy::WeightInfo`�[0m

  �[0m�[1mFor more information about this error, try `rustc --explain E0407`.�[0m
  �[0m�[0m�[1m�[31merror�[0m�[1m:�[0m could not compile `polkadot-runtime` due to previous error
error: build failed

ERROR: Unable to commit file ./runtime/kusama/src/weights/

@zjb0807
Copy link
Contributor Author

zjb0807 commented Sep 29, 2021

/benchmark runtime polkadot pallet_democracy

@parity-benchapp
Copy link

parity-benchapp bot commented Sep 29, 2021

Benchmark Runtime Polkadot Pallet for branch "update-weights" with command cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/

Results
error: failed to run custom build command for `polkadot-runtime v0.9.9 (/home/benchbot/bench-bot/git/polkadot/runtime/polkadot)`

Caused by:
  process didn't exit successfully: `/home/benchbot/bench-bot/git/polkadot/target/release/build/polkadot-runtime-f976a6b2f493a117/build-script-build` (exit status: 1)
  --- stdout
  �[1;33mInformation that should be included in a bug report.�[0m
  �[1;33mExecuting build command:�[0m "rustup" "run" "nightly" "cargo" "rustc" "--target=wasm32-unknown-unknown" "--manifest-path=/home/benchbot/bench-bot/git/polkadot/target/release/wbuild/polkadot-runtime/Cargo.toml" "--color=always" "--release"
  �[1;33mUsing rustc version:�[0m rustc 1.56.0-nightly (b7404c898 2021-09-03)


  --- stderr
  �[0m�[0m�[1m�[36m    Blocking�[0m waiting for file lock on package cache
  �[0m�[0m�[1m�[36m    Blocking�[0m waiting for file lock on package cache
  �[0m�[0m�[1m�[32m   Compiling�[0m polkadot-runtime v0.9.9 (/home/benchbot/bench-bot/git/polkadot/runtime/polkadot)
  �[0m�[1m�[38;5;9merror[E0407]�[0m�[0m�[1m: method `on_initialize_base_with_launch_period` is not a member of trait `pallet_democracy::WeightInfo`�[0m
  �[0m   �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/polkadot/src/weights/pallet_democracy.rs:132:2�[0m
  �[0m    �[0m�[0m�[1m�[38;5;12m|�[0m
  �[0m�[1m�[38;5;12m132�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m/�[0m�[0m �[0m�[0m    fn on_initialize_base_with_launch_period(r: u32) -> Weight {�[0m
  �[0m�[1m�[38;5;12m133�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m        (7_728_000 as Weight)�[0m
  �[0m�[1m�[38;5;12m134�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m            // Standard Error: 4_000�[0m
  �[0m�[1m�[38;5;12m135�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m            .saturating_add((5_099_000 as Weight).saturating_mul(r as Weight))�[0m
  �[0m�[1m�[38;5;12m136�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m            .saturating_add(T::DbWeight::get().reads(5 as Weight))�[0m
  �[0m�[1m�[38;5;12m137�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m            .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))�[0m
  �[0m�[1m�[38;5;12m138�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m    }�[0m
  �[0m    �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|_____^�[0m�[0m �[0m�[0m�[1m�[38;5;9mnot a member of trait `pallet_democracy::WeightInfo`�[0m

  �[0m�[1mFor more information about this error, try `rustc --explain E0407`.�[0m
  �[0m�[0m�[1m�[31merror�[0m�[1m:�[0m could not compile `polkadot-runtime` due to previous error
error: build failed

ERROR: Unable to commit file ./runtime/polkadot/src/weights/

@zjb0807
Copy link
Contributor Author

zjb0807 commented Sep 29, 2021

/benchmark runtime kusama pallet_democracy

@parity-benchapp
Copy link

parity-benchapp bot commented Sep 29, 2021

Benchmark Runtime Kusama Pallet for branch "update-weights" with command cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/

Results
error: failed to run custom build command for `polkadot-runtime v0.9.9 (/home/benchbot/bench-bot/git/polkadot/runtime/polkadot)`

Caused by:
  process didn't exit successfully: `/home/benchbot/bench-bot/git/polkadot/target/release/build/polkadot-runtime-f976a6b2f493a117/build-script-build` (exit status: 1)
  --- stdout
  �[1;33mInformation that should be included in a bug report.�[0m
  �[1;33mExecuting build command:�[0m "rustup" "run" "nightly" "cargo" "rustc" "--target=wasm32-unknown-unknown" "--manifest-path=/home/benchbot/bench-bot/git/polkadot/target/release/wbuild/polkadot-runtime/Cargo.toml" "--color=always" "--release"
  �[1;33mUsing rustc version:�[0m rustc 1.56.0-nightly (b7404c898 2021-09-03)


  --- stderr
  �[0m�[0m�[1m�[32m   Compiling�[0m polkadot-runtime v0.9.9 (/home/benchbot/bench-bot/git/polkadot/runtime/polkadot)
  �[0m�[1m�[38;5;9merror[E0407]�[0m�[0m�[1m: method `on_initialize_base_with_launch_period` is not a member of trait `pallet_democracy::WeightInfo`�[0m
  �[0m   �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/polkadot/src/weights/pallet_democracy.rs:132:2�[0m
  �[0m    �[0m�[0m�[1m�[38;5;12m|�[0m
  �[0m�[1m�[38;5;12m132�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m/�[0m�[0m �[0m�[0m    fn on_initialize_base_with_launch_period(r: u32) -> Weight {�[0m
  �[0m�[1m�[38;5;12m133�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m        (7_728_000 as Weight)�[0m
  �[0m�[1m�[38;5;12m134�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m            // Standard Error: 4_000�[0m
  �[0m�[1m�[38;5;12m135�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m            .saturating_add((5_099_000 as Weight).saturating_mul(r as Weight))�[0m
  �[0m�[1m�[38;5;12m136�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m            .saturating_add(T::DbWeight::get().reads(5 as Weight))�[0m
  �[0m�[1m�[38;5;12m137�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m            .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))�[0m
  �[0m�[1m�[38;5;12m138�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m    }�[0m
  �[0m    �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|_____^�[0m�[0m �[0m�[0m�[1m�[38;5;9mnot a member of trait `pallet_democracy::WeightInfo`�[0m

  �[0m�[1mFor more information about this error, try `rustc --explain E0407`.�[0m
  �[0m�[0m�[1m�[31merror�[0m�[1m:�[0m could not compile `polkadot-runtime` due to previous error
error: build failed

ERROR: Unable to commit file ./runtime/kusama/src/weights/

@ghost
Copy link

ghost commented Sep 30, 2021

Error: Companion update failed: Command 'Command { std: "git" "push" "zjb0807" "update-weights", kill_on_drop: false }' failed with status Some(1); output: To https://github.com/zjb0807/polkadot.git
! [remote rejected] update-weights -> update-weights (refusing to allow a GitHub App to create or update workflow .github/workflows/extrinsic-ordering-check-from-bin.yml without workflows permission)
error: failed to push some refs to 'https://x-access-token:${SECRET}@github.com/zjb0807/polkadot.git'

@shawntabrizi shawntabrizi added C1-low PR touches the given topic and has a low impact on builders. B7-runtimenoteworthy D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed. and removed C1-low PR touches the given topic and has a low impact on builders. labels Sep 30, 2021
@shawntabrizi
Copy link
Member

bot merge

@ghost
Copy link

ghost commented Sep 30, 2021

Waiting for commit status.

@ghost ghost merged commit ac28a78 into paritytech:master Sep 30, 2021
ordian added a commit that referenced this pull request Sep 30, 2021
* master: (52 commits)
  Companion for substrate PR#9890 (#3961)
  Bump version, tx_version and spec_version in prep for v0.9.11 (#3970)
  Fix master compilation (#3977)
  Make most XCM APIs accept an Into<MultiLocation> where MultiLocation is accepted (#3627)
  fix disputes tests (#3974)
  Drop availability only for candidates that lose disputes (#3973)
  revert +1 change to be on the safer side (#3972)
  paras_inherent: reject only candidates with concluded disputes (#3969)
  feat: measured oneshots (#3902)
  remove `AllSubsystems` and `AllSubsystemsGen` types (#3874)
  Companion for Substrate#9867 (#3938)
  Substrate Companion for #9552 (#3834)
  CI: run disputes tests (#3962)
  Bump parity-scale-codec from 2.3.0 to 2.3.1 (#3959)
  approval-voting: populate session cache in advance (#3954)
  Bump libc from 0.2.102 to 0.2.103 (#3950)
  fix master (#3955)
  Docker files chore (#3880)
  Bump nix from 0.19.1 to 0.20.0 (#3587)
  remove connected disconnected state, 3rd attempt (#3898)
  ...
ordian added a commit that referenced this pull request Oct 3, 2021
* master: (72 commits)
  change genesis authority set for wococo-local, revert rococo-local (#3998)
  ignore irrelevant approvals in logs (#3859)
  avoid expect, on free availability core (#3994)
  preserve finalized block in active leaves (#3997)
  some tweaks to rococo-local (#3996)
  always broadcast tranche 0 assignments and add a delay before approval (#3904)
  Tidy up XCM errors in preparation for v2. (#3988)
  add disputes call to Rococo (#3993)
  Fix an off-by-one: revert rather than revert-to (#3991)
  add logs to relay chain selection (#3990)
  av-store: clean up StoreAvailableData message (#3984)
  add polkadot-simnet runner (#3985)
  Remove incorrect proof about Jemalloc (#3982)
  add new rococo chainspec (#3976)
  bump async-std's version to remove conflict for substrate (#3981)
  gossip-support: set last_session_index earlier (#3978)
  Companion for substrate PR#9890 (#3961)
  Bump version, tx_version and spec_version in prep for v0.9.11 (#3970)
  Fix master compilation (#3977)
  Make most XCM APIs accept an Into<MultiLocation> where MultiLocation is accepted (#3627)
  ...
@chevdor chevdor added the A4-companion A PR that needs a companion PR to merge in parallel for one of its downstream dependencies. label Oct 21, 2021
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A4-companion A PR that needs a companion PR to merge in parallel for one of its downstream dependencies. C1-low PR touches the given topic and has a low impact on builders. D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants