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(tests): Wait for healtcheck in nox tests #1739

Merged
merged 14 commits into from
Aug 3, 2023

Merge branch 'master' into feature/net-512

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

feat(tests): Wait for healtcheck in nox tests #1739

Merge branch 'master' into feature/net-512
dc3acc9
Select commit
Loading
Failed to load commit list.
GitHub Actions / nox report succeeded Aug 2, 2023 in 1s

nox report ✅

Tests passed successfully

✅ target/nextest/ci/junit.xml

216 tests were completed in 127s with 216 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
aquamarine 5✅ NaNms
fluence-libp2p 2✅ NaNms
health 4✅ NaNms
kademlia 3✅ NaNms
nox 10✅ NaNms
nox-tests::boolean_test 1✅ NaNms
nox-tests::builtin 57✅ 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::script_storage 10✅ NaNms
nox-tests::services 2✅ NaNms
nox-tests::spells 34✅ NaNms
nox-tests::tests 14✅ NaNms
nox-tests::tetraplets 1✅ NaNms
nox-tests::topology 3✅ NaNms
nox-tests::vault 4✅ NaNms
particle-args 1✅ NaNms
particle-builtins 2✅ NaNms
particle-modules 3✅ NaNms
particle-protocol 3✅ NaNms
particle-services 11✅ NaNms
server-config 19✅ NaNms
service-modules 5✅ NaNms
spell-event-bus 14✅ NaNms
waiting-queues 1✅ NaNms

✅ aquamarine

✅ health::tests::test_vm_pool_health_empty
✅ health::tests::test_vm_pool_health_partial
✅ health::tests::test_vm_pool_health_full
✅ health::tests::test_vm_pool_health_concurrent_access
✅ plumber::tests::ignore_expired

✅ fluence-libp2p

✅ serde::tests::multihash
✅ serde::tests::peerid

✅ 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
✅ behaviour::tests::ban

✅ nox

✅ health::tests::test_bootstrap_nodes_health_concurrent_access
✅ health::tests::test_bootstrap_nodes_health_all_connected
✅ health::tests::test_bootstrap_nodes_health_partial_connected
✅ http::tests::test_health_route_success_checks
✅ http::tests::test_health_route_fail_checks
✅ http::tests::test_health_route_empty_registry
✅ http::tests::test_health_route_warn_checks
✅ http::tests::test_peer_id_route
✅ http::tests::test_version_route
✅ node::tests::run_node

✅ nox-tests::boolean_test

✅ pass_boolean

✅ nox-tests::builtin

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

✅ nox-tests::client_api

✅ call_custom_service

✅ nox-tests::echo_particle

✅ echo_particle

✅ nox-tests::kademlia

✅ neighborhood
✅ neighborhood_with_addresses

✅ nox-tests::local_vm

✅ make

✅ nox-tests::modules

✅ test_add_module_mounted_binaries
✅ test_add_module_mounted_binaries_forbidden

✅ nox-tests::script_storage

✅ add_script_from_vault_wrong_vault
✅ remove_script
✅ autoremove_singleshot
✅ add_script_delay
✅ add_script_delay_oneshot
✅ remove_script_unauth
✅ remove_script_management_key
✅ add_script_from_vault_ok
✅ stream_hello
✅ script_routing

✅ nox-tests::services

✅ create_service_from_config
✅ handle_same_dir_in_preopens_and_mapped_dirs

✅ nox-tests::spells

✅ resolve_alias_wrong_worker
✅ resolve_global_alias
✅ create_remove_worker
✅ spell_args_test
✅ spell_call_by_alias
✅ spell_call_by_default_alias
✅ spell_connection_pool_trigger_test
✅ spell_create_worker_twice
✅ spell_install_fail_end_sec_before_start
✅ spell_install_fail_end_sec_past
✅ spell_create_worker_same_deal_id_different_peer
✅ spell_install_fail_large_period
✅ spell_error_handling_test
✅ spell_install_ok_empty_config
✅ spell_install_root_scope
✅ spell_peer_id_test
✅ spell_relay_id_test
✅ spell_remove
✅ spell_remove_by_alias
✅ spell_remove_service_as_spell
✅ spell_remove_spell_as_service
✅ 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
✅ test_worker_list
✅ spell_trigger_connection_pool
✅ spell_update_trigger_by_alias
✅ test_spell_list
✅ worker_sig_test

✅ 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_flaky
✅ network::loop_topology::fold_fold_seq_join
✅ network::loop_topology::fold_seq_join
✅ network::loop_topology::join_empty_stream
✅ network::loop_topology::fold_fold_pairs_seq_join
✅ network::loop_topology::fold_par_same_node_stream
✅ network::loop_topology::fold_via
✅ network::network_explore::get_interfaces
✅ network::network_explore::explore_services
✅ network::network_explore::get_modules
✅ network::network_explore::list_blueprints
✅ network::network_explore::explore_services_fixed_flaky

✅ nox-tests::tetraplets

✅ test_tetraplets

✅ nox-tests::topology

✅ init_peer_id
✅ join
✅ identity

✅ nox-tests::vault

✅ deploy_from_vault
✅ load_blueprint_from_vault
✅ put_cat_vault
✅ share_file

✅ 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_max_heap_size_overflow
✅ modules::tests::test_add_module_get_interface

✅ particle-protocol

✅ libp2p_protocol::upgrade::tests::deserialize
✅ libp2p_protocol::upgrade::tests::length_prefixed
✅ libp2p_protocol::upgrade::tests::oneshot_channel_test

✅ particle-services

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

✅ server-config

✅ resolved_config::tests::load_allowed_binaries_with_file
✅ resolved_config::tests::load_allowed_binaries_with_env
✅ resolved_config::tests::load_base58_keypair
✅ resolved_config::tests::load_base64_keypair
✅ resolved_config::tests::load_base58_secret_key
✅ resolved_config::tests::load_base64_secret_key
✅ resolved_config::tests::load_empty_config
✅ resolved_config::tests::load_config_simple
✅ resolved_config::tests::load_empty_keypair
✅ 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_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_subscribe_connect
✅ 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
✅ bus::tests::test_subscribe_many_spells_with_diff_event_types
✅ config::trigger_config_tests::test_reschedule_fail_ended
✅ bus::tests::test_subscribe_many
✅ 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
✅ bus::tests::test_subscribe_oneshot
✅ config::trigger_config_tests::test_reschedule_ok_periodic_end_future
✅ bus::tests::test_subscribe_one

✅ waiting-queues

✅ tests::remove_with