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(log): custom log format [fixes NET-724 NET-725] #2218

Merged
merged 1 commit into from
Apr 4, 2024

feat(log): custom log format

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

feat(log): custom log format [fixes NET-724 NET-725] #2218

feat(log): custom log format
a687f83
Select commit
Loading
Failed to load commit list.
GitHub Actions / nox report succeeded Apr 1, 2024 in 1s

297 passed, 0 failed and 0 skipped

Tests passed successfully

✅ target/nextest/ci/junit.xml

297 tests were completed in 160s with 297 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 20✅ NaNms
fluence-libp2p 1✅ NaNms
health 4✅ NaNms
kademlia 3✅ NaNms
log-format 4✅ NaNms
nox 17✅ 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_partial
✅ health::tests::test_vm_pool_health_full
✅ 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
✅ plumber::tests::ignore_expired
✅ health::tests::test_vm_pool_health_concurrent_access

✅ chain-connector

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

✅ chain-data

✅ utils::tests::peer_id_test

✅ chain-listener

✅ event::cc_activated::test::test_chain_parsing_ok
✅ event::cc_activated::test::test_cc_activated_topic
✅ event::compute_unit_matched::tests::peer_id
✅ event::compute_unit_matched::tests::parse
✅ 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_chain_parsing_ok
✅ event::unit_deactivated::test::test_unit_activated_topic

✅ core-manager

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

✅ 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

✅ log-format

✅ tests::test_asni_info
✅ tests::test_simple_info
✅ tests::test_simple_info_with_span
✅ tests::test_simple_info_without_spans

✅ nox

✅ health::tests::new_health_instance_should_have_default_status_false
✅ health::tests::on_bootstrap_failed_should_set_status_to_false
✅ health::tests::status_should_return_ok_if_bootstrap_finished
✅ health::tests::status_should_return_error_if_bootstrap_failed
✅ health::tests::on_bootstrap_finished_should_set_status_to_true
✅ health::tests::test_bootstrap_nodes_health_all_connected
✅ health::tests::status_error_should_contain_expected_message
✅ 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_health_route_fail_checks
✅ http::tests::test_health_route_empty_registry
✅ http::tests::test_health_route_warn_checks
✅ http::tests::test_config_endpoint
✅ 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_slice_wrong_args_count
✅ array_dedup
✅ array_slice
✅ array
✅ array_slice_wrong_third_arg
✅ array_length
✅ array_slice_out_of_bounds
✅ array_intersect
✅ add_alias_list
✅ array_slice_wrong_second_arg
✅ array_sdiff
✅ array_sum
✅ array_diff
✅ base58_bytes_builtins
✅ base58_string_builtins
✅ cmp_le
✅ aliases_restart
✅ json_builtins
✅ cmp_cmp
✅ concat
✅ debug_stringify
✅ kad_merge
✅ index_by_math
✅ empty_array_slice
✅ cmp_gt
✅ identify
✅ math_add
✅ math_div
✅ math_fmul
✅ math_log
✅ identity
✅ math_mul
✅ math_sub
✅ not_array_slice
✅ math_rem
✅ math_pow
✅ remove_service
✅ remove_service_by_alias
✅ resolve_alias
✅ noop
✅ resolve_alias_not_exists
✅ neighborhood
✅ non_owner_remove_service
✅ resolve_alias_opt
✅ resolve_alias_opt_not_exists
✅ service_mem
✅ remove_service_restart
✅ sig_verify_invalid_signature
✅ service_stats_uninitialized
✅ service_stats
✅ resolve_alias_removed
✅ timeout_race
✅ timestamp_sec
✅ timestamp_ms
✅ sha256
✅ 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_effectors_forbidden
✅ test_add_module_by_other_forbidden
✅ test_add_module_mounted_binaries

✅ nox-tests::services

✅ handle_same_dir_in_preopens_and_mapped_dirs
✅ create_service_from_config
✅ test_system_service_override
✅ test_create_service_by_other_forbidden

✅ nox-tests::spells

✅ spell_create_worker_twice
✅ set_alias_by_worker_creator
✅ get_worker_peer_id_opt
✅ spell_call_by_alias
✅ spell_connection_pool_trigger_test
✅ create_remove_worker
✅ resolve_alias_wrong_worker
✅ spell_args_test
✅ spell_install_fail_end_sec_before_start
✅ spell_call_by_default_alias
✅ spell_install_alias
✅ spell_install_fail_end_sec_past
✅ spell_error_handling_test
✅ spell_install_fail_large_period
✅ 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
✅ spell_remove_by_alias
✅ spell_simple_test
✅ spell_run_oneshot
✅ spell_return_test
✅ spell_set_u32
✅ spell_store_trigger_config
✅ spell_timer_trigger_mailbox_test
✅ spell_update_config
✅ spell_update_config_stopped_spell
✅ spell_update_trigger_by_alias
✅ spell_trigger_connection_pool
✅ test_install_by_other_forbidden
✅ test_activate_deactivate
✅ test_worker_list
✅ worker_sig_test
✅ test_spell_list

✅ nox-tests::tests

✅ network::loop_topology::fold_fold_fold_par_null_join
✅ network::loop_topology::fold_fold_fold_par_null
✅ 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::explore_services_heavy
✅ network::network_explore::get_modules
✅ network::network_explore::list_blueprints

✅ nox-tests::tetraplets

✅ test_tetraplets

✅ nox-tests::topology

✅ identity_heavy
✅ init_peer_id_heavy
✅ join_heavy

✅ nox-tests::vault

✅ load_blueprint_from_vault
✅ put_cat_vault
✅ share_file
✅ deploy_from_vault

✅ 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_http_port_with_args
✅ resolved_config::tests::load_file_upgrade_timeout
✅ 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_env
✅ resolved_config::tests::load_tracing_disabled_with_args
✅ 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_srvc
✅ modules::file_names::tests::is_bp
✅ modules::file_names::tests::is_wasm
✅ modules::file_names::tests::module_fname

✅ spell-event-bus

✅ bus::tests::test_resubscribing_same_spell
✅ bus::tests::test_subscribe_connect
✅ bus::tests::test_double_subscribe_before_run
✅ bus::tests::test_subscribe_many
✅ bus::tests::test_unsubscribe
✅ bus::tests::test_subscribe_many_spells_with_diff_event_types
✅ bus::tests::test_subscribe_one
✅ bus::tests::test_subscribe_oneshot
✅ 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
✅ 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_kv
✅ tests::test_script
✅ tests::test_trigger_config
✅ tests::test_counter
✅ 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_persistence
✅ workers::tests::test_worker_creation
✅ workers::tests::test_worker_creation_dupes
✅ workers::tests::test_worker_remove
✅ workers::tests::test_workers_creation