hyperledger / iroha

Iroha - A simple, enterprise-grade decentralized ledger
https://wiki.hyperledger.org/display/iroha
Apache License 2.0
434 stars 277 forks source link

Broken benchmarks (at least iroha2-dev) #3978

Closed 6r1d closed 10 months ago

6r1d commented 1 year ago

cargo bench command doesn't work on iroha2-dev anymore. We need to determine what is broken so we can tell something about the speed of Iroha.

Build context:

Log on iroha2-dev:

consider passing `-Zlints` to enable this feature.
warning: /home/grid/Documents/work/iroha/schema/derive/Cargo.toml: unused manifest key `lints` (may be supported in a future version)

consider passing `-Zlints` to enable this feature.
   Compiling wasm-opt-sys v0.114.1
   Compiling wasm-opt-cxx-sys v0.114.1
   Compiling parity_scale_decoder v2.0.0-pre-rc.19 (/home/grid/Documents/work/iroha/tools/parity_scale_decoder)
   Compiling iroha_core v2.0.0-pre-rc.19 (/home/grid/Documents/work/iroha/core)
   Compiling kura_inspector v2.0.0-pre-rc.19 (/home/grid/Documents/work/iroha/tools/kura_inspector)
warning: use of deprecated method `iroha_core::wsv::WorldStateView::apply`: This function is to be used in testing only. 
  --> core/benches/blocks/apply_blocks.rs:72:17
   |
72 |             wsv.apply(block)?;
   |                 ^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: use of deprecated method `wsv::WorldStateView::apply`: This function is to be used in testing only. 
   --> core/src/smartcontracts/isi/query.rs:298:13
    |
298 |         wsv.apply(&first_block)?;
    |             ^^^^^
    |
    = note: `#[warn(deprecated)]` on by default

warning: use of deprecated method `wsv::WorldStateView::apply`: This function is to be used in testing only. 
   --> core/src/smartcontracts/isi/query.rs:308:17
    |
308 |             wsv.apply(&block)?;
    |                 ^^^^^

warning: use of deprecated method `wsv::WorldStateView::apply`: This function is to be used in testing only. 
   --> core/src/smartcontracts/isi/query.rs:434:13
    |
434 |         wsv.apply(&vcb)?;
    |             ^^^^^

warning: use of deprecated method `wsv::WorldStateView::apply`: This function is to be used in testing only. 
    --> core/src/sumeragi/main_loop.rs:1203:13
     |
1203 |         wsv.apply(&genesis).expect("Failed to apply block");
     |             ^^^^^

error[E0599]: no method named `payload_mut` found for enum `iroha_data_model::block::SignedBlock` in the current scope
    --> core/src/sumeragi/main_loop.rs:1250:15
     |
1250 |         block.payload_mut().commit_topology.clear();
     |               ^^^^^^^^^^^ help: there is a method with a similar name: `payload`

error[E0599]: no method named `payload_mut` found for enum `iroha_data_model::block::SignedBlock` in the current scope
    --> core/src/sumeragi/main_loop.rs:1273:15
     |
1273 |         block.payload_mut().commit_topology.clear();
     |               ^^^^^^^^^^^ help: there is a method with a similar name: `payload`

error[E0599]: no method named `payload_mut` found for enum `iroha_data_model::block::SignedBlock` in the current scope
    --> core/src/sumeragi/main_loop.rs:1291:15
     |
1291 |         block.payload_mut().header.height = 42;
     |               ^^^^^^^^^^^ help: there is a method with a similar name: `payload`

error[E0599]: no method named `payload_mut` found for enum `iroha_data_model::block::SignedBlock` in the current scope
    --> core/src/sumeragi/main_loop.rs:1338:15
     |
1338 |         block.payload_mut().header.view_change_index = 42;
     |               ^^^^^^^^^^^ help: there is a method with a similar name: `payload`

   Compiling wasm-opt v0.114.1
error[E0599]: no method named `payload_mut` found for enum `iroha_data_model::block::SignedBlock` in the current scope
    --> core/src/sumeragi/main_loop.rs:1355:15
     |
1355 |         block.payload_mut().header.view_change_index = 42;
     |               ^^^^^^^^^^^ help: there is a method with a similar name: `payload`

error[E0599]: no method named `payload_mut` found for enum `iroha_data_model::block::SignedBlock` in the current scope
    --> core/src/sumeragi/main_loop.rs:1365:15
     |
1365 |         block.payload_mut().header.view_change_index = 0;
     |               ^^^^^^^^^^^ help: there is a method with a similar name: `payload`

error[E0599]: no method named `payload_mut` found for enum `iroha_data_model::block::SignedBlock` in the current scope
    --> core/src/sumeragi/main_loop.rs:1390:15
     |
1390 |         block.payload_mut().header.view_chang

Log on iroha2-stable:

   Compiling iroha_wasm_test_runner v2.0.0-pre-rc.19 (/home/grid/Documents/work/iroha/tools/wasm_test_runner)
warning: use of deprecated method `wsv::WorldStateView::apply`: This function is to be used in testing only. 
   --> core/src/smartcontracts/isi/query.rs:298:13
    |
298 |         wsv.apply(&first_block)?;
    |             ^^^^^
    |
    = note: `#[warn(deprecated)]` on by default

warning: use of deprecated method `wsv::WorldStateView::apply`: This function is to be used in testing only. 
   --> core/src/smartcontracts/isi/query.rs:308:17
    |
308 |             wsv.apply(&block)?;
    |                 ^^^^^

warning: use of deprecated method `wsv::WorldStateView::apply`: This function is to be used in testing only. 
   --> core/src/smartcontracts/isi/query.rs:434:13
    |
434 |         wsv.apply(&vcb)?;
    |             ^^^^^

warning: use of deprecated method `wsv::WorldStateView::apply`: This function is to be used in testing only. 
    --> core/src/sumeragi/main_loop.rs:1203:13
     |
1203 |         wsv.apply(&genesis).expect("Failed to apply block");
     |             ^^^^^

error[E0599]: no method named `payload_mut` found for enum `iroha_data_model::block::SignedBlock` in the current scope
    --> core/src/sumeragi/main_loop.rs:1250:15
     |
1250 |         block.payload_mut().commit_topology.clear();
     |               ^^^^^^^^^^^ help: there is a method with a similar name: `payload`

error[E0599]: no method named `payload_mut` found for enum `iroha_data_model::block::SignedBlock` in the current scope
    --> core/src/sumeragi/main_loop.rs:1273:15
     |
1273 |         block.payload_mut().commit_topology.clear();
     |               ^^^^^^^^^^^ help: there is a method with a similar name: `payload`

error[E0599]: no method named `payload_mut` found for enum `iroha_data_model::block::SignedBlock` in the current scope
    --> core/src/sumeragi/main_loop.rs:1291:15
     |
1291 |         block.payload_mut().header.height = 42;
     |               ^^^^^^^^^^^ help: there is a method with a similar name: `payload`

error[E0599]: no method named `payload_mut` found for enum `iroha_data_model::block::SignedBlock` in the current scope
    --> core/src/sumeragi/main_loop.rs:1338:15
     |
1338 |         block.payload_mut().header.view_change_index = 42;
     |               ^^^^^^^^^^^ help: there is a method with a similar name: `payload`

error[E0599]: no method named `payload_mut` found for enum `iroha_data_model::block::SignedBlock` in the current scope
    --> core/src/sumeragi/main_loop.rs:1355:15
     |
1355 |         block.payload_mut().header.view_change_index = 42;
     |               ^^^^^^^^^^^ help: there is a method with a similar name: `payload`

error[E0599]: no method named `payload_mut` found for enum `iroha_data_model::block::SignedBlock` in the current scope
    --> core/src/sumeragi/main_loop.rs:1365:15
     |
1365 |         block.payload_mut().header.view_change_index = 0;
     |               ^^^^^^^^^^^ help: there is a method with a similar name: `payload`

error[E0599]: no method named `payload_mut` found for enum `iroha_data_model::block::SignedBlock` in the current scope
    --> core/src/sumeragi/main_loop.rs:1390:15
     |
1390 |         block.payload_mut().header.view_change_index = 42;
     |               ^^^^^^^^^^^ help: there is a method with a similar name: `payload`

error[E0599]: no method named `payload_mut` found for enum `iroha_data_model::block::SignedBlock` in the current scope
    --> core/src/sumeragi/main_loop.rs:1391:15
     |
1391 |         block.payload_mut().header.height = 1;
     |               ^^^^^^^^^^^ help: there is a method with a similar name: `payload`

warning: use of deprecated method `wsv::WorldStateView::apply`: This function is to be used in testing only. 
    --> core/src/wsv.rs:1358:17
     |
1358 |             wsv.apply(&block).unwrap();
     |                 ^^^^^

warning: use of deprecated method `wsv::WorldStateView::apply`: This function is to be used in testing only. 
    --> core/src/wsv.rs:1382:17
     |
1382 |             wsv.apply(&block).unwrap();
     |                 ^^^^^

For more information about this error, try `rustc --explain E0599`.
warning: `iroha_core` (lib test) generated 6 warnings
error: could not compile `iroha_core` (lib test) due to 8 previous errors; 6 warnings emitted
warning: build failed, waiting for other jobs to finish...

Log on iroha2-lts (works, may be slower than usual given the system load at the time):

tps/4peers-10000interval_µs-512max_txs-15blocks-10samples                                                                           
                        time:   [328.99 tps 331.78 tps 334.40 tps]

     Running unittests src/main.rs (target/release/deps/iroha_client_cli-6f368db01d43c7c3)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_config-1e96e97ed56680cb)

running 2 tests
test iroha::tests::parse_example_json ... ignored
test iroha::tests::parse_trusted_peers_fail_duplicate_peer_id - should panic ... ignored

test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_config_base-d40bee8883daa991)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_config_derive-3b7b4f1e33f53612)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_core-b670f84abd4cd51b)

running 64 tests
test block::tests::chain_iter_returns_blocks_ordered ... ignored
test block::tests::chain_rev_iter_returns_blocks_ordered ... ignored
test block::tests::committed_and_valid_block_hashes_are_equal ... ignored
test genesis::tests::genesis_block_builder_example ... ignored
test genesis::tests::load_default_genesis_block ... ignored
test kura::tests::append_block_to_chain_increases_block_count ... ignored
test kura::tests::append_block_to_chain_places_blocks_correctly_in_data_file ... ignored
test kura::tests::fresh_block_store_has_zero_blocks ... ignored
test kura::tests::read_and_write_to_blockchain_data_store ... ignored
test kura::tests::read_and_write_to_blockchain_index ... ignored
test kura::tests::strict_init_kura ... ignored
test queue::tests::concurrent_stress_test ... ignored
test queue::tests::get_available_txs ... ignored
test queue::tests::get_available_txs_with_timeout ... ignored
test queue::tests::get_tx_drop_if_in_blockchain ... ignored
test queue::tests::push_multisignature_tx ... ignored
test queue::tests::push_tx ... ignored
test queue::tests::push_tx_already_in_blockchain ... ignored
test queue::tests::push_tx_in_future ... ignored
test queue::tests::push_tx_overflow ... ignored
test queue::tests::push_tx_signature_condition_failure ... ignored
test queue::tests::transactions_available_after_pop ... ignored
test smartcontracts::isi::expression::tests::conditional_multisignature_quorum ... ignored
test smartcontracts::isi::expression::tests::if_condition_branches_correctly ... ignored
test smartcontracts::isi::expression::tests::if_condition_builder_builds_only_with_both_branches ... ignored
test smartcontracts::isi::expression::tests::incorrect_types_are_caught ... ignored
test smartcontracts::isi::expression::tests::nested_where_expression ... ignored
test smartcontracts::isi::expression::tests::operations_are_correctly_calculated ... ignored
test smartcontracts::isi::expression::tests::scale_codec_serialization_works ... ignored
test smartcontracts::isi::expression::tests::serde_serialization_works ... ignored, Stack overflow
test smartcontracts::isi::expression::tests::where_expression ... ignored
test smartcontracts::isi::permissions::tests::check_query_permissions_nested ... ignored
test smartcontracts::isi::permissions::tests::granted_permission ... ignored
test smartcontracts::isi::permissions::tests::multiple_validators_combined ... ignored
test smartcontracts::isi::permissions::tests::recursive_validator ... ignored
test smartcontracts::isi::query::tests::account_metadata ... ignored
test smartcontracts::isi::query::tests::asset_store ... ignored
test smartcontracts::isi::query::tests::domain_metadata ... ignored
test smartcontracts::isi::query::tests::find_all_block_headers ... ignored
test smartcontracts::isi::query::tests::find_all_blocks ... ignored
test smartcontracts::isi::query::tests::find_all_transactions ... ignored
test smartcontracts::isi::query::tests::find_block_header_by_hash ... ignored
test smartcontracts::isi::query::tests::find_transaction ... ignored
test smartcontracts::isi::tests::account_metadata ... ignored
test smartcontracts::isi::tests::asset_definition_metadata ... ignored
test smartcontracts::isi::tests::asset_store ... ignored
test smartcontracts::isi::tests::domain_metadata ... ignored
test smartcontracts::isi::tests::executing_unregistered_trigger_should_return_error ... ignored
test smartcontracts::isi::tests::unauthorized_trigger_execution_should_return_error ... ignored
test smartcontracts::wasm::tests::execute_instruction_exported ... ignored
test smartcontracts::wasm::tests::execute_query_exported ... ignored
test smartcontracts::wasm::tests::instruction_limit_reached ... ignored
test smartcontracts::wasm::tests::instructions_not_allowed ... ignored
test smartcontracts::wasm::tests::queries_not_allowed ... ignored
test sumeragi::network_topology::tests::correct_number_of_peers_genesis ... ignored
test sumeragi::network_topology::tests::different_order ... ignored
test sumeragi::network_topology::tests::different_order_by_hash_and_counter ... ignored
test sumeragi::network_topology::tests::same_order ... ignored
test sumeragi::network_topology::tests::same_order_by_hash_and_counter ... ignored
test sumeragi::network_topology::tests::topology_shifts_or_shuffles ... ignored
test sumeragi::network_topology::tests::wrong_number_of_peers_genesis - should panic ... ignored
test tx::tests::transaction_not_accepted_max_instruction_number ... ignored
test wsv::tests::get_blocks_after_hash ... ignored
test wsv::tests::get_blocks_from_height ... ignored

test result: ok. 0 passed; 0 failed; 64 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running benches/kura.rs (target/release/deps/kura-a5a76df366730d93)
Gnuplot not found, using plotters backend
File size of a block with 1 transaction with 1 Transfer instruction is:
For 1 validators: 578 B
For 4 validators: 1.02 KB
For 7 validators: 1.47 KB
For 10 validators: 1.91 KB
For 13 validators: 2.35 KB
     Running benches/sumeragi.rs (target/release/deps/sumeragi-891a9b098365f6e7)
Gnuplot not found, using plotters backend
sort_peers              time:   [28.215 µs 28.911 µs 29.475 µs]                        

     Running benches/validation.rs (target/release/deps/validation-6f617c38bcf8e28c)
Gnuplot not found, using plotters backend
accept                  time:   [77.508 µs 78.038 µs 78.526 µs]                   
Found 2 outliers among 100 measurements (2.00%)
  1 (1.00%) low mild
  1 (1.00%) high mild

Success count: 131185, Failures count: 0
sign                    time:   [32.371 µs 32.667 µs 33.016 µs]                  
Found 3 outliers among 100 measurements (3.00%)
  2 (2.00%) high mild
  1 (1.00%) high severe

Success count: 287621, Failures count: 0
validate                time:   [510.95 µs 530.03 µs 553.99 µs]                     
Found 6 outliers among 100 measurements (6.00%)
  3 (3.00%) high mild
  3 (3.00%) high severe

Success count: 0, Failure count: 0
validate_block          time:   [374.52 µs 391.36 µs 410.04 µs]                           
Found 8 outliers among 100 measurements (8.00%)
  2 (2.00%) high mild
  6 (6.00%) high severe

chain_block             time:   [1.4906 µs 1.5016 µs 1.5129 µs]                         
Found 4 outliers among 100 measurements (4.00%)
  2 (2.00%) low mild
  2 (2.00%) high mild

Total count: 5369551
sign_block              time:   [32.713 µs 32.980 µs 33.257 µs]                        
Found 5 outliers among 100 measurements (5.00%)
  2 (2.00%) low mild
  3 (3.00%) high mild

Success count: 267421, Failures count: 0
     Running unittests src/lib.rs (target/release/deps/iroha_crypto-77b8aaa32ab4efa4)

running 21 tests
test hash::tests::blake2_32b ... ignored
test merkle::tests::construction ... ignored
test merkle::tests::iteration ... ignored
test merkle::tests::reproduction ... ignored
test multihash::tests::digest_function_display ... ignored
test multihash::tests::multihash_from_bytes ... ignored
test multihash::tests::multihash_to_bytes ... ignored
test signature::tests::create_signature_bls_normal ... ignored
test signature::tests::create_signature_bls_small ... ignored
test signature::tests::create_signature_ed25519 ... ignored
test signature::tests::create_signature_secp256k1 ... ignored
test signature::tests::decode_signatures_of ... ignored
test signature::tests::deserialize_signatures_of ... ignored
test tests::deserialize_keys ... ignored
test tests::display_public_key ... ignored
test tests::key_pair_match ... ignored
test tests::key_pair_mismatch ... ignored
test varint::tests::test_basic_from ... ignored
test varint::tests::test_basic_into ... ignored
test varint::tests::test_basic_into_from ... ignored
test varint::tests::test_multihash ... ignored

test result: ok. 0 passed; 0 failed; 21 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_data_model-6e64f7ad5cf55a6f)

running 62 tests
test domain::tests::decode_ipfs ... ignored
test domain::tests::deserialize_ipfs ... ignored
test domain::tests::test_invalid_ipfs_path ... ignored
test domain::tests::test_valid_ipfs_path ... ignored
test events::data::filters::tests::entity_scope ... ignored
test events::pipeline::tests::events_are_correctly_filtered ... ignored
test events::time::tests::count_matches_in_interval::test_interval_on_the_left ... ignored
test events::time::tests::count_matches_in_interval::test_interval_on_the_right ... ignored
test events::time::tests::count_matches_in_interval::test_jump_over_inside ... ignored
test events::time::tests::count_matches_in_interval::test_jump_over_outside ... ignored
test events::time::tests::count_matches_in_interval::test_matches_right_border_and_ignores_left ... ignored
test events::time::tests::count_matches_in_interval::test_no_period_before_left_border ... ignored
test events::time::tests::count_matches_in_interval::test_no_period_inside ... ignored
test events::time::tests::count_matches_in_interval::test_no_period_on_left_border ... ignored
test events::time::tests::count_matches_in_interval::test_no_period_on_right_border ... ignored
test events::time::tests::count_matches_in_interval::test_only_left_border ... ignored
test events::time::tests::count_matches_in_interval::test_only_right_border_inside ... ignored
test events::time::tests::count_matches_in_interval::test_only_right_border_outside ... ignored
test events::time::tests::count_matches_in_interval::test_schedule_starts_at_the_middle ... ignored
test isi::tests::len_empty_sequence ... ignored
test isi::tests::len_if_one_branch ... ignored
test isi::tests::len_sequence_if ... ignored
test metadata::tests::insert_exceeds_entry_size ... ignored
test metadata::tests::insert_exceeds_len ... ignored
test metadata::tests::nested_fns_ignore_empty_path ... ignored
test metadata::tests::nesting_inserts_removes ... ignored
test metadata::tests::nesting_respects_limits ... ignored
test metadata::tests::non_existent_path_segment_fails ... ignored
test name::tests::decode_name ... ignored
test name::tests::deserialize_name ... ignored
test pagination::tests::empty ... ignored
test pagination::tests::limit ... ignored
test pagination::tests::start ... ignored
test pagination::tests::start_and_limit ... ignored
test predicate::ip_addr::test::ipv4_filter_example ... ignored
test predicate::ip_addr::test::ipv6_filter_example ... ignored
test predicate::numerical::tests::interval_semantics_fixed ... ignored
test predicate::numerical::tests::interval_semantics_u128 ... ignored
test predicate::numerical::tests::interval_semantics_u32 ... ignored
test predicate::numerical::tests::invalid_types_false ... ignored
test predicate::numerical::tests::semi_interval_semantics_fixed ... ignored
test predicate::numerical::tests::semi_interval_semantics_u128 ... ignored
test predicate::numerical::tests::semi_interval_semantics_u32 ... ignored
test predicate::numerical::tests::upper_bounds ... ignored
test predicate::string::tests::id_box::account_id ... ignored
test predicate::string::tests::id_box::asset_def_id ... ignored
test predicate::string::tests::id_box::asset_id ... ignored
test predicate::string::tests::id_box::peer_id ... ignored
test predicate::string::tests::id_box::simple_name_wrappers ... ignored
test predicate::string::tests::id_box::trigger ... ignored
test predicate::string::tests::string::contains ... ignored
test predicate::string::tests::string::empty_predicate ... ignored
test predicate::string::tests::string::ends_with ... ignored
test predicate::string::tests::string::is ... ignored
test predicate::string::tests::string::starts_with ... ignored
test predicate::test::negation ... ignored
test predicate::test::pass ... ignored
test predicate::test::truth_table ... ignored
test predicate::value::test::container_vec ... ignored
test predicate::value::test::typing ... ignored
test test::deserialize_u128 ... ignored
test trigger::tests::trigger_with_filterbox_can_be_unboxed ... ignored

test result: ok. 0 passed; 0 failed; 62 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running benches/time_event_filter.rs (target/release/deps/time_event_filter-cd9d99f611958288)
Gnuplot not found, using plotters backend
count_matches_from_zero time:   [5.9554 µs 6.0011 µs 6.0517 µs]                                     
Found 10 outliers among 100 measurements (10.00%)
  1 (1.00%) low mild
  8 (8.00%) high mild
  1 (1.00%) high severe

     Running unittests src/lib.rs (target/release/deps/iroha_data_model_derive-50762e38b81f5082)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_derive-383a9b18a0ea38cc)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_ffi-2e871cac442c9da3)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_ffi_derive-5181ec4ba240a09f)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_futures-1a5abd898f16bebe)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_futures_derive-b65af3c087869ec3)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_logger-11f8db4057a0d19c)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_macro-883302825882a435)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_p2p-a155abf310c55dbd)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_permissions_validators-40b1e0deeb2419cd)

running 61 tests
test private_blockchain::tests::queries::account::find_account_by_id ... ignored
test private_blockchain::tests::queries::account::find_account_by_name ... ignored
test private_blockchain::tests::queries::account::find_account_key_value_by_id_and_key ... ignored
test private_blockchain::tests::queries::account::find_accounts_by_domain_id ... ignored
test private_blockchain::tests::queries::account::find_accounts_with_asset ... ignored
test private_blockchain::tests::queries::account::find_all_accounts ... ignored
test private_blockchain::tests::queries::asset::find_all_assets ... ignored
test private_blockchain::tests::queries::asset::find_all_assets_definitions ... ignored
test private_blockchain::tests::queries::asset::find_asset_by_id ... ignored
test private_blockchain::tests::queries::asset::find_asset_definition_by_id ... ignored
test private_blockchain::tests::queries::asset::find_asset_definition_key_value_by_id_and_key ... ignored
test private_blockchain::tests::queries::asset::find_asset_key_value_by_id_and_key ... ignored
test private_blockchain::tests::queries::asset::find_asset_quantity_by_id ... ignored
test private_blockchain::tests::queries::asset::find_assets_by_account_id ... ignored
test private_blockchain::tests::queries::asset::find_assets_by_asset_definition_id ... ignored
test private_blockchain::tests::queries::asset::find_assets_by_domain_id ... ignored
test private_blockchain::tests::queries::asset::find_assets_by_domain_id_and_asset_definition_id ... ignored
test private_blockchain::tests::queries::asset::find_assets_by_name ... ignored
test private_blockchain::tests::queries::block::find_all_blocks ... ignored
test private_blockchain::tests::queries::domain::find_all_domains ... ignored
test private_blockchain::tests::queries::domain::find_domain_by_id ... ignored
test private_blockchain::tests::queries::domain::find_domain_key_value_by_id_and_key ... ignored
test private_blockchain::tests::queries::peer::find_all_peers ... ignored
test private_blockchain::tests::queries::permission::find_permission_tokens_by_account_id ... ignored
test private_blockchain::tests::queries::role::find_all_role_ids ... ignored
test private_blockchain::tests::queries::role::find_all_roles ... ignored
test private_blockchain::tests::queries::role::find_role_by_role_id ... ignored
test private_blockchain::tests::queries::role::find_roles_by_account_id ... ignored
test private_blockchain::tests::queries::transaction::find_all_transactions ... ignored
test private_blockchain::tests::queries::transaction::find_transaction_by_hash ... ignored
test private_blockchain::tests::queries::transaction::find_transactions_by_account_id ... ignored
test private_blockchain::tests::queries::trigger::find_all_active_trigger_ids ... ignored
test private_blockchain::tests::queries::trigger::find_trigger_by_id ... ignored
test private_blockchain::tests::queries::trigger::find_trigger_key_value_by_id_and_key ... ignored
test private_blockchain::tests::queries::trigger::find_triggers_by_domain_id ... ignored
test private_blockchain::tests::revoke_and_grant::add_register_domains_permission_allows_registering_account ... ignored
test private_blockchain::tests::revoke_and_grant::add_register_domains_permission_allows_registering_domain_with_right_token ... ignored
test private_blockchain::tests::revoke_and_grant::add_register_domains_permission_denies_registering_domain ... ignored
test private_blockchain::tests::revoke_and_grant::add_register_domains_permission_denies_registering_domain_with_wrong_token ... ignored
test public_blockchain::tests::burn_granted_asset_definition ... ignored
test public_blockchain::tests::burn_granted_assets ... ignored
test public_blockchain::tests::burn_only_assets_created_by_this_account ... ignored
test public_blockchain::tests::burn_only_owned_assets ... ignored
test public_blockchain::tests::default_permission_token_definitions_are_unique ... ignored
test public_blockchain::tests::grant_burn_of_assets_created_by_this_account ... ignored
test public_blockchain::tests::grant_burn_of_my_assets ... ignored
test public_blockchain::tests::grant_mint_of_assets_created_by_this_account ... ignored
test public_blockchain::tests::grant_transfer_of_my_assets ... ignored
test public_blockchain::tests::grant_unregister_of_assets_created_by_this_account ... ignored
test public_blockchain::tests::mint_granted_assets ... ignored
test public_blockchain::tests::mint_only_assets_created_by_this_account ... ignored
test public_blockchain::tests::remove_to_only_owned_account ... ignored
test public_blockchain::tests::remove_to_only_owned_asset_definition ... ignored
test public_blockchain::tests::remove_to_only_owned_assets ... ignored
test public_blockchain::tests::set_to_only_owned_account ... ignored
test public_blockchain::tests::set_to_only_owned_asset_definition ... ignored
test public_blockchain::tests::set_to_only_owned_assets ... ignored
test public_blockchain::tests::transfer_granted_assets ... ignored
test public_blockchain::tests::transfer_only_owned_assets ... ignored
test public_blockchain::tests::unregister_granted_assets ... ignored
test public_blockchain::tests::unregister_only_assets_created_by_this_account ... ignored

test result: ok. 0 passed; 0 failed; 61 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_primitives-86ffa1f2a8036c7b)

running 20 tests
test conststr::tests::api::const_string_clone ... ignored
test conststr::tests::api::const_string_deref ... ignored
test conststr::tests::api::const_string_from_str ... ignored
test conststr::tests::api::const_string_from_string ... ignored
test conststr::tests::api::const_string_is_inlined ... ignored
test conststr::tests::api::const_string_len ... ignored
test conststr::tests::integration::const_string_cmp ... ignored
test conststr::tests::integration::const_string_eq_const_string ... ignored
test conststr::tests::integration::const_string_eq_str ... ignored
test conststr::tests::integration::const_string_eq_string ... ignored
test conststr::tests::integration::const_string_hash ... ignored
test conststr::tests::integration::const_string_scale_encode ... ignored
test conststr::tests::integration::const_string_serde_serialize ... ignored
test conststr::tests::layout::const_string_layout ... ignored
test fixed::tests::cannot_parse_negative_value ... ignored
test fixed::tests::checked_add_and_subtract_should_fail_in_either_position ... ignored
test fixed::tests::checked_dont_work_if_result_negative ... ignored
test fixed::tests::checked_work_for_positive ... ignored
test fixed::tests::deserialize_from_json_should_fail - should panic ... ignored
test fixed::tests::rounding_errors ... ignored, takes too long, but verifies the `fixnum` guarantee

test result: ok. 0 passed; 0 failed; 20 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_schema-95b007031a1da973)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_schema_derive-329f5432874dfcbb)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_schema_gen-e9638b5b62cb0072)

running 1 test
test tests::no_missing_schemas ... ignored

test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_substrate-ff61a167e0b2f5e4)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_telemetry-c588b4525898d030)

running 3 tests
test ws::tests::reconnect_fails ... ignored
test ws::tests::send_after_reconnect_fails ... ignored
test ws::tests::send_succeeds ... ignored

test result: ok. 0 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_telemetry_derive-f38aca825756c2d7)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_version-a4801bf7392e6c3f)

running 1 test
test tests::supported_version ... ignored

test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/iroha_version_derive-ad3c7d9731feb533)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/main.rs (target/release/deps/kagami-dda13e534c51d353)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/main.rs (target/release/deps/kura_inspector-618ea357699c5e26)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/main.rs (target/release/deps/parity_scale_decoder-6e18793683f37f14)

running 4 tests
test generate_map::tests::schemas_types_is_a_subset_of_map_types ... ignored
test tests::decode_account_sample ... ignored
test tests::decode_domain_sample ... ignored
test tests::decode_trigger_sample ... ignored

test result: ok. 0 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/release/deps/test_network-078bbf77790da4ce)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

@mversic recommends to test with cargo bench --profile=dev temporarily, with a limitation (dev build won't reflect a full performance)

mversic commented 10 months ago

fixed in https://github.com/hyperledger/iroha/pull/4019