Skip to content
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

feat(core-manager): add dev core manager to support any number of CUs [fixes NET-799] #2167

Merged
merged 6 commits into from
Mar 20, 2024

Merge branch 'master' into feature/net-799

784f3bb
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat(core-manager): add dev core manager to support any number of CUs [fixes NET-799] #2167

Merge branch 'master' into feature/net-799
784f3bb
Select commit
Loading
Failed to load commit list.
GitHub Actions / nox report succeeded Mar 19, 2024 in 1s

289 passed, 0 failed and 0 skipped

Tests passed successfully

✅ target/nextest/ci/junit.xml

289 tests were completed in 150s with 289 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
aquamarine 9✅ NaNms
chain-connector 13✅ NaNms
chain-data 1✅ NaNms
chain-listener 9✅ NaNms
core-manager 17✅ NaNms
fluence-libp2p 1✅ NaNms
health 4✅ NaNms
kademlia 3✅ NaNms
nox 16✅ NaNms
nox-tests::boolean_test 1✅ NaNms
nox-tests::builtin 58✅ NaNms
nox-tests::client_api 1✅ NaNms
nox-tests::echo_particle 1✅ NaNms
nox-tests::kademlia 2✅ NaNms
nox-tests::local_vm 1✅ NaNms
nox-tests::modules 3✅ NaNms
nox-tests::services 4✅ NaNms
nox-tests::spells 38✅ NaNms
nox-tests::tests 13✅ NaNms
nox-tests::tetraplets 1✅ NaNms
nox-tests::topology 3✅ NaNms
nox-tests::vault 4✅ NaNms
nox-tests::workers 2✅ NaNms
particle-args 1✅ NaNms
particle-builtins 2✅ NaNms
particle-modules 6✅ NaNms
particle-protocol 5✅ NaNms
particle-services 12✅ NaNms
server-config 21✅ NaNms
service-modules 5✅ NaNms
spell-event-bus 16✅ NaNms
spell-service-api 5✅ NaNms
types 2✅ NaNms
waiting-queues 1✅ NaNms
workers 8✅ NaNms

✅ aquamarine

✅ health::tests::test_vm_pool_health_empty
✅ health::tests::test_vm_pool_health_full
✅ health::tests::test_vm_pool_health_partial
✅ particle_data_store::tests::test_detect_anomaly
✅ particle_data_store::tests::test_cleanup_data
✅ particle_data_store::tests::test_initialize
✅ particle_data_store::tests::test_store_and_read_data
✅ health::tests::test_vm_pool_health_concurrent_access
✅ plumber::tests::ignore_expired

✅ chain-connector

✅ connector::tests::test_batch_init_request
✅ connector::tests::get_commitment_status
✅ connector::tests::test_get_compute_units
✅ connector::tests::test_get_current_commitment_id_none
✅ connector::tests::submit_proof_not_active
✅ connector::tests::submit_proof
✅ function::capacity::tests::decode_commitment_status
✅ function::capacity::tests::decode_commitment_status_removed
✅ connector::tests::test_get_current_commitment_id_some
✅ function::offer::tests::decode_compute_peer_no_commitment
✅ function::offer::tests::decode_compute_unit
✅ function::offer::tests::decode_compute_peer
✅ function::offer::tests::decode_compute_unit_no_deal

✅ chain-data

✅ utils::tests::peer_id_test

✅ chain-listener

✅ event::cc_activated::test::test_cc_activated_topic
✅ event::compute_unit_matched::tests::parse
✅ event::cc_activated::test::test_chain_parsing_ok
✅ event::compute_unit_matched::tests::peer_id
✅ event::compute_unit_matched::tests::topic
✅ event::unit_activated::test::test_chain_parsing_ok
✅ event::unit_activated::test::test_unit_activated_topic
✅ event::unit_deactivated::test::test_unit_activated_topic
✅ event::unit_deactivated::test::test_chain_parsing_ok

✅ core-manager

✅ core_range::tests::compare_ranges
✅ core_range::tests::empty_slice_convert
✅ core_range::tests::empty_parsing_test_3
✅ core_range::tests::fmt
✅ core_range::tests::slice_convert
✅ core_range::tests::range_parsing_test
✅ core_range::tests::last
✅ core_range::tests::wrong_parsing_test
✅ core_range::tests::wrong_parsing_test_2
✅ core_range::tests::values_parsing_test
✅ core_range::tests::wrong_parsing_test_3
✅ core_range::tests::wrong_parsing_test_4
✅ strict::tests::test_acquire_and_switch
✅ dev::tests::test_acquire_and_switch
✅ dev::tests::test_oversell_acquire
✅ strict::tests::test_acquire_and_release
✅ dev::tests::test_acquire_and_release

✅ fluence-libp2p

✅ serde::tests::multihash

✅ health

✅ tests::test_health_check_registry_empty
✅ tests::test_health_check_registry_multiple_checks
✅ tests::test_health_check_registry_single_check_fail
✅ tests::test_health_check_registry_single_check_pass

✅ kademlia

✅ behaviour::tests::dont_repeat_discovery
✅ behaviour::tests::discovery_heavy
✅ behaviour::tests::ban

✅ nox

✅ health::tests::new_health_instance_should_have_default_status_false
✅ health::tests::on_bootstrap_finished_should_set_status_to_true
✅ health::tests::on_bootstrap_failed_should_set_status_to_false
✅ health::tests::status_should_return_error_if_bootstrap_failed
✅ health::tests::status_should_return_ok_if_bootstrap_finished
✅ health::tests::status_error_should_contain_expected_message
✅ health::tests::test_bootstrap_nodes_health_all_connected
✅ health::tests::test_bootstrap_nodes_health_concurrent_access
✅ health::tests::test_bootstrap_nodes_health_partial_connected
✅ http::tests::test_health_route_success_checks
✅ http::tests::test_peer_id_route
✅ http::tests::test_health_route_empty_registry
✅ http::tests::test_health_route_warn_checks
✅ http::tests::test_version_route
✅ http::tests::test_health_route_fail_checks
✅ node::tests::run_node

✅ nox-tests::boolean_test

✅ pass_boolean

✅ nox-tests::builtin

✅ array
✅ array_diff
✅ array_length
✅ array_dedup
✅ add_alias_list
✅ array_sum
✅ array_slice_wrong_args_count
✅ array_sdiff
✅ array_intersect
✅ array_slice_wrong_second_arg
✅ array_slice_wrong_third_arg
✅ array_slice
✅ array_slice_out_of_bounds
✅ base58_bytes_builtins
✅ cmp_cmp
✅ concat
✅ cmp_le
✅ base58_string_builtins
✅ kad_merge
✅ json_builtins
✅ index_by_math
✅ identify
✅ cmp_gt
✅ empty_array_slice
✅ aliases_restart
✅ math_div
✅ debug_stringify
✅ math_add
✅ math_fmul
✅ math_log
✅ identity
✅ math_sub
✅ math_mul
✅ noop
✅ math_rem
✅ math_pow
✅ remove_service
✅ not_array_slice
✅ resolve_alias_not_exists
✅ resolve_alias
✅ remove_service_by_alias
✅ neighborhood
✅ non_owner_remove_service
✅ resolve_alias_opt
✅ resolve_alias_opt_not_exists
✅ timestamp_ms
✅ service_stats
✅ timeout_race
✅ service_mem
✅ sha256
✅ service_stats_uninitialized
✅ sig_verify_invalid_signature
✅ remove_service_restart
✅ timestamp_sec
✅ resolve_alias_removed
✅ xor_type_error
✅ timeout_wait
✅ sign_invalid_tetraplets

✅ nox-tests::client_api

✅ call_custom_service

✅ nox-tests::echo_particle

✅ echo_particle

✅ nox-tests::kademlia

✅ neighborhood_heavy
✅ neighborhood_with_addresses_heavy

✅ nox-tests::local_vm

✅ make

✅ nox-tests::modules

✅ test_add_module_mounted_binaries
✅ test_add_module_by_other_forbidden
✅ test_add_module_effectors_forbidden

✅ nox-tests::services

✅ handle_same_dir_in_preopens_and_mapped_dirs
✅ create_service_from_config
✅ test_create_service_by_other_forbidden
✅ test_system_service_override

✅ nox-tests::spells

✅ get_worker_peer_id_opt
✅ set_alias_by_worker_creator
✅ resolve_alias_wrong_worker
✅ spell_args_test
✅ spell_install_fail_end_sec_before_start
✅ spell_call_by_alias
✅ create_remove_worker
✅ spell_create_worker_twice
✅ spell_call_by_default_alias
✅ spell_connection_pool_trigger_test
✅ spell_install_alias
✅ spell_install_fail_end_sec_past
✅ spell_install_fail_large_period
✅ spell_error_handling_test
✅ spell_create_worker_same_deal_id_different_peer
✅ spell_install_root_scope
✅ spell_remove_service_as_spell
✅ spell_install_ok_empty_config
✅ spell_peer_id_test
✅ spell_relay_id_test
✅ spell_remove_spell_as_service
✅ spell_remove_by_alias
✅ spell_remove
✅ spell_return_test
✅ spell_run_oneshot
✅ spell_set_u32
✅ spell_store_trigger_config
✅ spell_simple_test
✅ spell_timer_trigger_mailbox_test
✅ spell_update_config
✅ spell_update_config_stopped_spell
✅ spell_update_trigger_by_alias
✅ spell_trigger_connection_pool
✅ test_activate_deactivate
✅ test_install_by_other_forbidden
✅ test_worker_list
✅ worker_sig_test
✅ test_spell_list

✅ nox-tests::tests

✅ network::loop_topology::fold_fold_fold_par_null
✅ network::loop_topology::fold_fold_fold_par_null_join
✅ network::loop_topology::fold_fold_fold_seq_two_par_null_folds
✅ network::loop_topology::fold_fold_seq_join
✅ network::loop_topology::fold_seq_join
✅ network::loop_topology::fold_par_same_node_stream_heavy
✅ network::loop_topology::fold_fold_pairs_seq_join_heavy
✅ network::loop_topology::join_empty_stream
✅ network::loop_topology::fold_via_heavy
✅ network::network_explore::get_interfaces
✅ network::network_explore::list_blueprints
✅ network::network_explore::explore_services_heavy
✅ network::network_explore::get_modules

✅ nox-tests::tetraplets

✅ test_tetraplets

✅ nox-tests::topology

✅ identity_heavy
✅ init_peer_id_heavy
✅ join_heavy

✅ nox-tests::vault

✅ deploy_from_vault
✅ put_cat_vault
✅ load_blueprint_from_vault
✅ share_file

✅ nox-tests::workers

✅ test_resolve_subnet_on_worker
✅ test_worker_different_deal_ids

✅ particle-args

✅ args::tests::test_next_opt

✅ particle-builtins

✅ builtins::prop_tests::module_config
✅ json::tests::json_parse_string

✅ particle-modules

✅ modules::tests::test_add_blueprint
✅ modules::tests::test_add_module_effector_allowed
✅ modules::tests::test_add_module_effector_forbidden
✅ modules::tests::test_add_module_effector_invalid
✅ modules::tests::test_add_module_get_interface
✅ modules::tests::test_add_module_pure

✅ particle-protocol

✅ libp2p_protocol::codec::fluence::tests::deserialization_test
✅ libp2p_protocol::codec::fluence::tests::isomorphic_codec_test
✅ libp2p_protocol::upgrade::tests::deserialize
✅ libp2p_protocol::upgrade::tests::oneshot_channel_test
✅ particle::tests::test_signature

✅ particle-services

✅ app_services::tests::test_add_alias
✅ app_services::tests::test_add_alias_forbidden
✅ app_services::tests::test_add_alias_no_service
✅ app_services::tests::test_add_alias_repeated
✅ app_services::tests::test_add_alias_twice
✅ app_services::tests::test_get_interface_cache
✅ app_services::tests::test_persisted_service
✅ health::tests::persisted_service_health_concurrent_access
✅ health::tests::test_persisted_service_health_not_started
✅ health::tests::test_persisted_service_health_started_with_errors
✅ health::tests::test_persisted_service_health_started_without_errors
✅ persistence::tests::test_persistence

✅ server-config

✅ resolved_config::tests::load_allowed_binaries_with_env
✅ resolved_config::tests::load_allowed_binaries_with_file
✅ resolved_config::tests::load_base58_keypair
✅ resolved_config::tests::load_base58_secret_key
✅ resolved_config::tests::load_base64_keypair
✅ resolved_config::tests::load_base64_secret_key
✅ resolved_config::tests::load_config_simple
✅ resolved_config::tests::load_empty_config
✅ resolved_config::tests::load_empty_keypair
✅ resolved_config::tests::load_env_upgrade_timeout
✅ resolved_config::tests::load_file_upgrade_timeout
✅ resolved_config::tests::load_http_port_with_args
✅ resolved_config::tests::load_http_port_with_env
✅ resolved_config::tests::load_multiple_configs
✅ resolved_config::tests::load_path_keypair_generate
✅ resolved_config::tests::load_tracing_disabled_with_args
✅ resolved_config::tests::load_tracing_disabled_with_env
✅ resolved_config::tests::load_tracing_disabled_with_file
✅ resolved_config::tests::load_tracing_otlp_with_args
✅ resolved_config::tests::load_tracing_otlp_with_env
✅ resolved_config::tests::load_tracing_otlp_with_file

✅ service-modules

✅ modules::blueprint::test_blueprint_hash
✅ modules::file_names::tests::is_bp
✅ modules::file_names::tests::is_srvc
✅ modules::file_names::tests::is_wasm
✅ modules::file_names::tests::module_fname

✅ spell-event-bus

✅ bus::tests::test_double_subscribe_before_run
✅ bus::tests::test_resubscribing_same_spell
✅ bus::tests::test_subscribe_connect
✅ bus::tests::test_subscribe_many
✅ bus::tests::test_unsubscribe
✅ bus::tests::test_subscribe_many_spells_with_diff_event_types
✅ config::trigger_config_tests::test_both_types_ok
✅ config::trigger_config_tests::test_both_types_ended
✅ config::trigger_config_tests::test_peer_events
✅ config::trigger_config_tests::test_reschedule_fail_ended
✅ config::trigger_config_tests::test_reschedule_fail_oneshot_executed
✅ bus::tests::test_subscribe_oneshot
✅ config::trigger_config_tests::test_reschedule_ok_periodic
✅ config::trigger_config_tests::test_reschedule_ok_oneshot_start_future
✅ bus::tests::test_subscribe_one
✅ config::trigger_config_tests::test_reschedule_ok_periodic_end_future

✅ spell-service-api

✅ tests::test_kv
✅ tests::test_script
✅ tests::test_counter
✅ tests::test_trigger_config
✅ tests::test_trigger_event

✅ types

✅ deal_id::tests::deal_id
✅ peer_id::tests::peerid

✅ waiting-queues

✅ tests::remove_with

✅ workers

✅ key_storage::tests::test_key_pair_creation_and_removal
✅ key_storage::tests::test_key_storage_creation
✅ key_storage::tests::test_persistence
✅ workers::tests::test_worker_creation
✅ workers::tests::test_persistence
✅ workers::tests::test_worker_creation_dupes
✅ workers::tests::test_worker_remove
✅ workers::tests::test_workers_creation