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

fix(workers): add io+timer drivers to tokio runtimes [fixes NET-795] #2135

Merged
merged 13 commits into from
Mar 7, 2024

fix test

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

fix(workers): add io+timer drivers to tokio runtimes [fixes NET-795] #2135

fix test
3fae778
Select commit
Loading
Failed to load commit list.
GitHub Actions / nox report succeeded Mar 7, 2024 in 0s

288 passed, 0 failed and 0 skipped

Tests passed successfully

✅ target/nextest/ci/junit.xml

288 tests were completed in 140s with 288 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
aquamarine 9✅ NaNms
chain-connector 10✅ NaNms
chain-data 1✅ NaNms
chain-listener 6✅ NaNms
chain-types 7✅ NaNms
core-manager 14✅ 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 2✅ NaNms
nox-tests::services 3✅ 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 24✅ 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_initialize
✅ particle_data_store::tests::test_cleanup_data
✅ 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::get_commitment_status
✅ connector::tests::test_batch_init_request
✅ connector::tests::submit_proof_not_active
✅ connector::tests::test_get_commitment
✅ connector::tests::test_get_current_commitment_id_none
✅ connector::tests::test_get_compute_units
✅ connector::tests::submit_proof
✅ function::get_compute_peer::tests::test_data
✅ function::get_compute_units::tests::test_data
✅ connector::tests::test_get_current_commitment_id_some

✅ chain-data

✅ utils::tests::peer_id_test

✅ chain-listener

✅ event::unit_activated::test::test_chain_parsing_ok
✅ event::unit_activated::test::test_unit_activated_topic
✅ event::cc_activated::test::test_cc_activated_topic
✅ event::cc_activated::test::test_chain_parsing_ok
✅ event::unit_deactivated::test::test_unit_activated_topic
✅ event::unit_deactivated::test::test_chain_parsing_ok

✅ chain-types

✅ commitment_status::tests::decode_commitment_status
✅ commitment::tests::decode_commitment
✅ commitment_status::tests::decode_commitment_status_removed
✅ compute_peer::tests::decode_compute_peer
✅ compute_unit::tests::decode_compute_unit
✅ compute_peer::tests::decode_compute_peer_no_commitment
✅ compute_unit::tests::decode_compute_unit_no_deal

✅ 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::last
✅ core_range::tests::range_parsing_test
✅ core_range::tests::slice_convert
✅ core_range::tests::values_parsing_test
✅ core_range::tests::wrong_parsing_test
✅ core_range::tests::wrong_parsing_test_2
✅ core_range::tests::wrong_parsing_test_4
✅ core_range::tests::wrong_parsing_test_3
✅ manager::tests::test_acquire_and_switch
✅ manager::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::on_bootstrap_failed_should_set_status_to_false
✅ health::tests::new_health_instance_should_have_default_status_false
✅ health::tests::on_bootstrap_finished_should_set_status_to_true
✅ health::tests::test_bootstrap_nodes_health_concurrent_access
✅ health::tests::status_should_return_ok_if_bootstrap_finished
✅ health::tests::status_should_return_error_if_bootstrap_failed
✅ health::tests::status_error_should_contain_expected_message
✅ health::tests::test_bootstrap_nodes_health_all_connected
✅ health::tests::test_bootstrap_nodes_health_partial_connected
✅ http::tests::test_health_route_fail_checks
✅ http::tests::test_health_route_warn_checks
✅ http::tests::test_health_route_empty_registry
✅ http::tests::test_health_route_success_checks
✅ http::tests::test_version_route
✅ http::tests::test_peer_id_route
✅ node::tests::run_node

✅ nox-tests::boolean_test

✅ pass_boolean

✅ nox-tests::builtin

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

✅ nox-tests::services

✅ create_service_from_config
✅ handle_same_dir_in_preopens_and_mapped_dirs
✅ test_system_service_override

✅ nox-tests::spells

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

✅ nox-tests::tests

✅ network::loop_topology::fold_fold_fold_par_null
✅ network::loop_topology::fold_fold_fold_seq_two_par_null_folds
✅ network::loop_topology::fold_fold_fold_par_null_join
✅ 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::join_empty_stream
✅ network::loop_topology::fold_fold_pairs_seq_join_heavy
✅ network::network_explore::get_modules
✅ network::loop_topology::fold_via_heavy
✅ network::network_explore::get_interfaces
✅ network::network_explore::list_blueprints
✅ network::network_explore::explore_services_heavy

✅ nox-tests::tetraplets

✅ test_tetraplets

✅ nox-tests::topology

✅ identity_heavy
✅ init_peer_id_heavy
✅ join_heavy

✅ nox-tests::vault

✅ load_blueprint_from_vault
✅ deploy_from_vault
✅ put_cat_vault
✅ share_file

✅ nox-tests::workers

✅ test_worker_different_deal_ids
✅ test_resolve_subnet_on_worker

✅ 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_log_format_with_args
✅ resolved_config::tests::load_log_format_with_env
✅ resolved_config::tests::load_log_format_with_file
✅ 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_subscribe_many_spells_with_diff_event_types
✅ bus::tests::test_subscribe_one
✅ bus::tests::test_subscribe_oneshot
✅ bus::tests::test_unsubscribe
✅ config::trigger_config_tests::test_both_types_ended
✅ config::trigger_config_tests::test_both_types_ok
✅ config::trigger_config_tests::test_peer_events
✅ config::trigger_config_tests::test_reschedule_fail_ended
✅ config::trigger_config_tests::test_reschedule_fail_oneshot_executed
✅ config::trigger_config_tests::test_reschedule_ok_oneshot_start_future
✅ config::trigger_config_tests::test_reschedule_ok_periodic
✅ config::trigger_config_tests::test_reschedule_ok_periodic_end_future

✅ spell-service-api

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

✅ 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_workers_creation
✅ workers::tests::test_worker_remove