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

quickwit: Include and reference default config file #289000

Open
fmassot opened this issue Feb 15, 2024 · 5 comments
Open

quickwit: Include and reference default config file #289000

fmassot opened this issue Feb 15, 2024 · 5 comments
Labels
0.kind: bug Something is broken

Comments

@fmassot
Copy link

fmassot commented Feb 15, 2024

Project description

Quickwit 0.6.4 is already present (last PR), 0.7.1 was recently released.

Changes from 0.6.4 to 0.7.1: quickwit-oss/quickwit@v0.6.4...v0.7.1

Also, we recently received feedback from a nix user who installed Quickwit:

nix-shell -p quickwit

quickwit run
✘ Command failed: Failed to load node config.

Caused by:
    0: StorageError(kind=NotFound, source=No such file or directory (os error 2))
    1: No such file or directory (os error 2)
    2: Failed to read file file:///home/niklas/tmp/quickwit/config/quickwit.yaml

It could be nice to get this config file installed so the user can just run quickwit run without this error. However, I'm not a nix user so I don't know if this is good practice or not.

Thanks.

@fmassot fmassot added the 0.kind: packaging request Request for a new package to be added label Feb 15, 2024
@raspher raspher added 9.needs: package (update) This needs a package to be updated 0.kind: bug Something is broken labels Feb 17, 2024
@nh2
Copy link
Contributor

nh2 commented Apr 1, 2024

The version was upgraded to 0.8.0 by PR #298589

I'll rename the issue to track the packaging/presence of the config file instead.

@nh2 nh2 changed the title Package request: Quickwit upgrade to 0.7.1 quickwit: Include and reference default config file Apr 1, 2024
@nh2 nh2 removed 9.needs: package (update) This needs a package to be updated 0.kind: packaging request Request for a new package to be added labels Apr 1, 2024
@nh2
Copy link
Contributor

nh2 commented Apr 1, 2024

@fmassot How does / should the quickwit binary try to find its config file?

The nix build currently contains only these files:

/nix/store/77xky8qgb6mhjqhfy0n6agd97cydbivk-quickwit-0.8.0
/nix/store/77xky8qgb6mhjqhfy0n6agd97cydbivk-quickwit-0.8.0/bin
/nix/store/77xky8qgb6mhjqhfy0n6agd97cydbivk-quickwit-0.8.0/bin/quickwit
/nix/store/77xky8qgb6mhjqhfy0n6agd97cydbivk-quickwit-0.8.0/bin/generate_markdown

According to https://quickwit.io/docs/main-branch/get-started/installation#install-script the official installer creates this directory structure:

quickwit-{version}
    ├── config
    │   └── quickwit.yaml
    ├── LICENSE_AGPLv3.0.txt
    ├── quickwit
    └── qwdata

So I was thinking that adding a config/quickwit.yaml to the Nix-built package might do the trick.

But checking with strace -fye open,openat quickwit run, quickwit does not seem to look for any config directory or quickwit.yaml.

How does quickwit find its configuration file?

@nh2
Copy link
Contributor

nh2 commented Apr 1, 2024

@fmassot When trying to upgrade to 0.8.1, I observe this failure:

thread 'actors::indexer::tests::test_indexer_triggers_commit_on_timeout' panicked at quickwit-indexing/src/actors/indexer.rs:1039:9:
assertion `left == right` failed
  left: MemoryLimit
 right: Timeout

Full output:

   Compiling quickwit-cli v0.8.1 (/build/source/quickwit/quickwit-cli)
   Compiling quickwit-integration-tests v0.8.1 (/build/source/quickwit/quickwit-integration-tests)
    Finished release [optimized] target(s) in 4m 51s
     Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/quickwit_actors-27dbe8dbbe497d14)

running 57 tests
test actor_state::tests::test_atomic_state_from_running ... ok
test channel_with_priority::tests::test_locked_option_new_empty ... ok
test channel_with_priority::tests::test_locked_option_place ... ok
test channel_with_priority::tests::test_locked_option_place_take_twice ... ok
test channel_with_priority::tests::test_channel_with_priority_drop_receiver_drop_messages ... ok
test channel_with_priority::tests::test_locked_option_place_twice_keep_last ... ok
test actor_handle::tests::test_exit ... ok
test channel_with_priority::tests::test_recv_disconnect ... ok
test actor_handle::tests::test_panic_in_actor ... ok
test channel_with_priority::tests::test_recv_timeout_simple ... ok
test channel_with_priority::tests::test_try_recv ... ok
test channel_with_priority::tests::test_try_recv_high ... ok
test channel_with_priority::tests::test_try_recv_high_low ... ok
test channel_with_priority::tests::test_try_recv_high_priority ... ok
test mailbox::tests::test_try_send ... ok
test mailbox::tests::test_weak_mailbox_downgrade_upgrade ... ok
test mailbox::tests::test_weak_mailbox_failing_upgrade ... ok
test mailbox::tests::test_weak_mailbox_ref_count ... ok
test mailbox::tests::test_try_send_disconnect ... ok
[ERROR quickwit_actors::spawn_builder] actor-failure cause=failing actor error exit_status=Failure(failing actor error)
[ERROR quickwit_actors::actor_context] exit activating-kill-switch actor=FailingActor-patient-RpUd exit_status=Failure(failing actor error)
test registry::tests::test_registry ... ok
[ERROR quickwit_actors::actor_handle] actor-exit-without-success actor="FailingActor-patient-RpUd"
test registry::tests::test_get_actor_states ... ok
test registry::tests::test_registry_last_mailbox_dropped_actor ... ok
test registry::tests::test_registry_killed_actor ... ok
test scheduler::tests::test_scheduler_advance_time_fast_forward_initialize ... ok
test supervisor::tests::test_supervisor_forwards_quit_commands ... ok
test scheduler::tests::test_scheduler_advance_time_fast_forward_scheduled_message ... ok
test supervisor::tests::test_supervisor_exits_successfully_when_supervised_actor_mailbox_is_dropped ... ok
test supervisor::tests::test_supervisor_restart_on_error ... ok
test tests::test_unsync_actor_message ... ok
test supervisor::tests::test_supervisor_forwards_kill_command ... ok
test universe::tests::test_universe_quit_with_panicking_actor ... ok
test supervisor::tests::test_supervisor_state ... ok
test mailbox::tests::test_mailbox_send_with_backpressure_counter_backpressure ... ok
test mailbox::tests::test_mailbox_send_with_backpressure_counter_low_backpressure ... ok
test tests::test_pause_actor ... ok
test mailbox::tests::test_mailbox_waiting_for_processing_does_not_counter_as_backpressure ... ok
[ERROR quickwit_actors::spawn_builder] finalizing failed, set exit status to panicked error=finalization of actor BuggyFinalizeActor
    
    Caused by:
        finalize error
[ERROR quickwit_actors::spawn_builder] actor-failure exit_status=Panicked
[ERROR quickwit_actors::actor_context] exit activating-kill-switch actor=BuggyFinalizeActor-nameless-lXmm exit_status=Panicked
test tests::test_actor_stops_when_last_mailbox_is_dropped ... ok
test tests::test_unsync_actor ... ok
test tests::test_get_or_spawn ... ok
test universe::tests::test_universe_join_after_actor_quit ... ok
test universe::tests::test_actor_quit_after_universe_quit ... ok
test tests::test_actor_finalize_error_set_exit_status_to_panicked ... ok
test universe::tests::test_schedule_for_actor ... ok
test tests::test_actor_return_response ... ok
test tests::test_actor_spawning_actor ... ok
test tests::test_drain_is_called ... ok
test universe::tests::test_enforce_universe_assert_quit_calls - should panic ... ok
test tests::test_ping_actor ... ok
test tests::test_actor_running_states ... ok
test channel_with_priority::tests::test_try_recv_priority_corner_case ... ok
test tests::test_looping ... ok
test channel_with_priority::tests::test_recv_priority ... ok
test channel_with_priority::tests::test_recv_high_priority_ignore_disconnection ... ok
test actor_handle::tests::test_observation_debounce ... ok
[ERROR quickwit_actors::actor_handle] actor-timeout actor="FailingActor-polished-RlKY"
[ERROR quickwit_actors::actor_handle] actor-timeout actor="FailingActor-old-1pFp"
test supervisor::tests::test_supervisor_restart_on_panic ... ok
test supervisor::tests::test_supervisor_kills_and_restart_frozen_actor ... ok
[ERROR quickwit_actors::actor_handle] actor-timeout actor="BuggyActor-icy-V822"
test tests::test_timeouting_actor ... ok

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

     Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/quickwit_aws-37214b60cdf606a7)

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/x86_64-unknown-linux-gnu/release/deps/quickwit_cli-78ca93ed04898401)

running 22 tests
test index::test::test_descriptive_stats ... ok
test source::tests::test_flatten_json ... ok
test source::tests::test_make_list_sources_table ... ok
test source::tests::test_make_describe_source_tables ... ok
test service::tests::test_parse_service_run_args_all_services ... ok
test service::tests::test_parse_service_run_args_indexer_only ... ok
test service::tests::test_parse_service_run_args_searcher_and_metastore ... ok
test split::tests::test_parse_date ... ok
test service::tests::test_parse_service_run_indexer_only_args ... ok
test split::tests::test_parse_split_state ... ok
test tests::test_parse_duration_or_none ... ok
test index::test::test_index_stats ... ok
test tests::test_get_resolvers ... ok
test source::tests::test_parse_create_source_args ... ok
test source::tests::test_parse_describe_source_args ... ok
test split::tests::test_parse_split_describe_args ... ok
test split::tests::test_parse_list_split_args ... ok
test split::tests::test_parse_split_mark_for_deletion_args ... ok
test source::tests::test_parse_delete_source_args ... ok
test source::tests::test_parse_list_sources_args ... ok
test source::tests::test_parse_reset_checkpoint_args ... ok
test source::tests::test_parse_toggle_source_args ... ok

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

     Running unittests src/generate_markdown.rs (target/x86_64-unknown-linux-gnu/release/deps/generate_markdown-378482c0b2f3ac4f)

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/x86_64-unknown-linux-gnu/release/deps/quickwit-a2b353c269af4b55)

running 14 tests
test tests::test_parse_describe_index_args ... ok
test tests::test_parse_ingest_v2_args ... ok
test tests::test_parse_merge_args ... ok
test tests::test_parse_garbage_collect_args ... ok
test tests::test_parse_split_extract_args ... ok
test tests::test_parse_delete_args ... ok
test tests::test_parse_local_ingest_args ... ok
test tests::test_parse_clear_args ... ok
test tests::test_parse_local_search_args ... ok
test tests::test_parse_no_color ... ok
test tests::test_parse_create_args ... ok
test tests::test_parse_split_describe_args ... ok
test tests::test_parse_search_args ... ok
test tests::test_parse_ingest_args ... ok

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

     Running tests/cli.rs (target/x86_64-unknown-linux-gnu/release/deps/cli-312d766965073b29)

running 4 tests
test test_all_with_s3_localstack_cli ... ignored
test test_cmd_help ... ok
test test_cmd_ingest_on_non_existing_index ... ok
 Num docs       5 Parse errs     0 PublSplits   1 Input size     0MB Thrghput  0.00MB/s Time 00:00:02
test test_garbage_collect_index_cli ... ok

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

     Running tests/helpers.rs (target/x86_64-unknown-linux-gnu/release/deps/helpers-4c4d5604dc518d24)

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/x86_64-unknown-linux-gnu/release/deps/quickwit_cluster-1a85454262cff656)

running 17 tests
test change::tests::test_compute_cluster_change_events_on_removed ... ok
test change::tests::test_compute_cluster_change_events ... ok
test change::tests::test_compute_cluster_change_events_on_added ... ok
test change::tests::test_compute_cluster_change_events_on_updated ... ok
test cluster::tests::test_parse_chitchat_kv ... ok
test cluster::tests::test_parse_shard_ids_str ... ok
test grpc_gossip::tests::test_find_gossip_candidate_grpc_addr ... ok
test cluster::tests::test_serialize_indexing_tasks ... ok
test grpc_service::tests::test_fetch_cluster_state ... ok
test grpc_gossip::tests::test_perform_grpc_gossip_rounds ... ok
test cluster::tests::test_chitchat_state_with_malformatted_indexing_task_key ... ok
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
test cluster::tests::test_cluster_members_built_from_chitchat_state ... ok
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
test cluster::tests::test_cluster_id_isolation ... ok
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
test cluster::tests::test_single_node_cluster_readiness ... ok
test cluster::tests::test_multi_node_cluster_readiness ... ok
test cluster::tests::test_cluster_multiple_nodes ... ok
test cluster::tests::test_chitchat_state_set_high_number_of_tasks ... ok

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

     Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/quickwit_codegen-e469be81f18b4ca6)

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/x86_64-unknown-linux-gnu/release/deps/quickwit_codegen_example-4ac263b0d242d6a3)

running 8 tests
test tests::test_hello_codegen_mock ... ok
test tests::test_from_channel ... ok
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="hello"
test tests::test_balance_channel ... ok
test tests::test_hello_codegen_actor ... ok
test tests::test_hello_codegen_tower_stack_layers ... ok
[ERROR quickwit_proto::error] gRPC transport error: Timeout expired code=Cancelled rpc="hello"
test tests::test_transport_errors_handling ... ok
test tests::test_hello_codegen_grpc ... ok
test tests::test_hello_codegen ... ok

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

     Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/quickwit_common-89439020a15920d4)

running 83 tests
test binary_heap::tests::test_incremental_top_k ... ok
test binary_heap::tests::test_top_k ... ok
test coolid::tests::test_coolid ... ok
test io::tests::test_truncate_io_slices ... ok
test io::tests::test_controlled_writer_no_limit_sync ... ok
test io::tests::test_controlled_writer_no_limit_async ... ok
test io::tests::test_truncate_io_empty ... ok
test kill_switch::tests::test_kill_switch ... ok
test io::tests::test_truncate_io_slices_one_slice_too_long_corner_case ... ok
test kill_switch::tests::test_kill_switch_to_quoque_me_fili ... ok
test kill_switch::tests::test_kill_switch_grandchildren ... ok
test kill_switch::tests::test_kill_switch_child ... ok
test net::tests::test_deserialize_host ... ok
test net::tests::test_find_private_ip ... ok
test net::tests::test_get_hostname ... ok
test net::tests::test_is_forwardable_ip ... ok
test net::tests::test_is_private_ip ... ok
test net::tests::test_is_valid_hostname ... ok
test net::tests::test_parse_host ... ok
test net::tests::test_serialize_host ... ok
test net::tests::test_parse_addr_with_ips ... ok
test pretty::tests::test_pretty_duration ... ok
test pretty::tests::test_pretty_sample ... ok
test progress::tests::test_progress ... ok
test progress::tests::test_progress_protect_zone ... ok
test progress::tests::test_progress_several_protect_zone ... ok
test pubsub::tests::test_event_broker_handle_cancel ... ok
test pubsub::tests::test_event_broker_handle_forever ... ok
test rand::tests::test_append_random_suffix ... ok
test fs::tests::test_empty_dir ... ok
test rate_limiter::tests::test_rate_limiter_refill ... ok
test rate_limiter::tests::test_rate_limiter_release ... ok
test rendezvous_hasher::tests::test_utils_sort_by_rendez_vous_hash ... ok
test pubsub::tests::test_event_broker_handle_drop ... ok
test retry::tests::test_retry_retries_up_to_max_attempts_times ... ok
test retry::tests::test_retry_stops_retrying_on_non_retryable_error ... ok
test sorted_iter::tests::test_diff ... ok
test runtimes::tests::test_runtimes_with_given_num_cpus_3 ... ok
test retry::tests::test_retry_retries_up_at_most_attempts_times ... ok
test runtimes::tests::test_runtimes_with_given_num_cpus_10 ... ok
test temp_dir::tests::test_prefix ... ok
test sorted_iter::tests::test_diff_by_key ... ok
test retry::tests::test_retry_accepts_ok ... ok
test temp_dir::tests::test_push_str ... ok
test tests::test_ignore_io_error_macro ... ok
test tests::test_truncate_str ... ok
test tests::test_get_from_env ... ok
test stream_utils::tests::test_service_stream_map ... ok
test temp_dir::tests::test_directory_creation_and_removal_with_random_bytes ... ok
test temp_dir::tests::test_random_failures ... ok
test temp_dir::tests::test_directory_creation_and_removal ... ok
test tests::test_div_ceil_u32 ... ok
test tests::test_div_ceil ... ok
test retry::tests::test_retry_does_retry ... ok
test tower::estimate_rate::tests::test_estimate_rate ... ok
test tower::buffer::tests::test_buffer_closed ... ok
test tower::buffer::tests::test_buffer_error ... ok
test tower::rate_estimator::tests::test_sma_rate_estimator ... ok
test uri::tests::test_uri_file_name ... ok
test uri::tests::test_try_new_uri ... ok
test uri::tests::test_uri_extension ... ok
test uri::tests::test_uri_join ... ok
test uri::tests::test_uri_serialize ... ok
test tower::rate::tests::test_rescale ... ok
test uri::tests::test_uri_filepath ... ok
test uri::tests::test_uri_protocol ... ok
test uri::tests::test_uri_parent ... ok
test tower::transport::tests::test_balance_channel ... ok
test tower::transport::tests::test_channel_discover ... ok
test tower::metrics::tests::test_grpc_metrics ... ok
test retry::tests::test_retry_delay_does_not_overflow ... ok
test uri::tests::test_uri_as_redacted_str ... ok
test tower::rate_estimator::tests::test_bucket ... ok
test runtimes::tests::test_runtimes_config_default ... ok
test temp_dir::tests::test_directory_randomness ... ok
test pubsub::tests::test_event_broker ... ok
test tower::event_listener::tests::test_event_listener ... ok
test temp_dir::tests::test_prefix_random ... ok
test tower::retry::tests::test_retry_policy ... ok
test tower::pool::tests::test_pool ... ok
test tower::rate_limit::tests::test_rate_limit_over_multiple_periods ... ok
test rate_limiter::tests::test_rate_limiter_acquire ... ok
test tower::rate_limit::tests::test_rate_limit ... ok

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

     Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/quickwit_config-8f9c9ae1359697d5)

running 83 tests
test config_value::tests::test_config_value_resolve ... ok
test config_value::tests::test_config_value_deserialize ... ok
test config_value::tests::test_config_value_resolve_optional ... ok
test index_config::tests::test_config_validates_uris - should panic ... ok
test index_config::tests::test_index_config_with_malformed_maturation_duration ... ok
test index_config::tests::test_parse_retention_policy_period ... ok
test index_config::tests::test_prepend_at_char ... ok
test index_config::tests::test_retention_policy_deserialization ... ok
test index_config::tests::test_retention_policy_serialization ... ok
test index_config::tests::test_retention_policy_validate ... ok
test index_config::tests::test_parse_retention_policy_schedule ... ok
test index_config::tests::test_retention_schedule_duration ... ok
test index_config::serialize::test::test_minimal_index_config_missing_root_uri_with_default_index_root_uri ... ok
test index_config::serialize::test::test_minimal_index_config_missing_root_uri_no_default_uri ... ok
test index_config::tests::test_minimal_index_config_default_dynamic ... ok
test metastore_config::tests::test_metastore_configs_serde ... ok
test index_template::tests::test_index_template_apply ... ok
test metastore_config::tests::test_metastore_configs_validate ... ok
test metastore_config::tests::test_pg_metastore_config_serde ... ok
test index_config::serialize::test::test_validate_invalid_merge_policy ... ok
test index_template::tests::test_index_template_serde ... ok
test node_config::serialize::tests::test_jaeger_config_rejects_null_values ... ok
test index_config::serialize::test::test_validate_retention_policy ... ok
test index_config::tests::test_indexer_config_default_values ... ok
test qw_env_vars::tests::test_qw_env_vars_expansion ... ok
test node_config::tests::test_grpc_config_serialization ... ok
test node_config::tests::test_grpc_config_validate ... ok
test source_config::tests::test_file_source_params_serialization ... ok
test node_config::tests::test_validate_ingest_api_config ... ok
test source_config::tests::test_kafka_source_params_deserialization ... ok
test source_config::tests::test_kafka_source_params_serialization ... ok
test source_config::tests::test_kinesis_source_params_deserialization ... ok
test source_config::tests::test_kinesis_source_params_serialization ... ok
test source_config::tests::test_pulsar_source_params_deserialization ... ok
test source_config::tests::test_transform_config_deserialization ... ok
test index_template::tests::test_index_template_validate ... ok
test source_config::tests::test_transform_config_serialization ... ok
test storage_config::tests::test_storage_azure_config_serde ... ok
test storage_config::tests::test_storage_configs_apply_flavors ... ok
test storage_config::tests::test_storage_configs_redact ... ok
test storage_config::tests::test_storage_configs_serde ... ok
test index_config::tests::test_index_config_from_json ... ok
test storage_config::tests::test_storage_configs_validate ... ok
test storage_config::tests::test_storage_google_config_serde ... ok
test storage_config::tests::test_storage_s3_config_flavor_serde ... ok
test node_config::serialize::tests::test_config_validates_uris ... ok
test storage_config::tests::test_storage_s3_config_serde ... ok
test node_config::serialize::tests::test_config_contains_wrong_values ... ok
test templating::test::test_template_render ... ok
test templating::test::test_template_render_ignores_commented_lines ... ok
test templating::test::test_template_render_should_panic ... ok
test index_config::tests::test_index_config_from_yaml ... ok
test index_config::tests::test_index_config_from_toml ... ok
test templating::test::test_template_render_supports_whitespaces ... ok
test templating::test::test_template_render_with_default_use_env ... ok
test tests::test_validate_identifier ... ok
test templating::test::test_template_render_with_default_value ... ok
test tests::test_validate_index_id_pattern ... ok
test source_config::tests::test_source_config_plain_text_input_format ... ok
test source_config::tests::test_load_valid_distributed_source_config ... ok
test source_config::tests::test_load_valid_distributed_source_config_0_7 ... ok
test source_config::tests::test_load_kafka_source_config ... ok
test source_config::tests::test_load_invalid_source_config ... ok
test source_config::tests::test_load_kinesis_source_config ... ok
test node_config::serialize::tests::test_config_invalid_when_both_listen_ports_params_are_configured ... ok
test node_config::serialize::tests::test_node_config_validates_ingest_config ... ok
test node_config::serialize::tests::test_load_config_with_validation_error ... ok
test node_config::serialize::tests::test_node_config_default_values_minimal ... ok
test node_config::serialize::tests::test_node_config_parse_yaml ... ok
test node_config::serialize::tests::test_rest_deprecated_listen_port_config ... ok
test node_config::serialize::tests::test_node_config_config_default_values_default_indexer_searcher_config ... ok
test node_config::serialize::tests::test_node_config_parse_json ... ok
test node_config::serialize::tests::test_node_config_parse_toml ... ok
test node_config::serialize::tests::test_node_config_env_var_override ... ok
test node_config::serialize::tests::test_rest_config_accepts_single_origin ... ok
test node_config::serialize::tests::test_node_config_data_dir_accepts_both_file_uris_and_file_paths ... ok
test node_config::serialize::tests::test_node_config_validate ... ok
test node_config::tests::test_indexer_config_serialization ... ok
test node_config::serialize::tests::test_rest_config_accepts_wildcard ... ok
test node_config::serialize::tests::test_rest_config_accepts_multi_origin ... ok
test node_config::serialize::tests::test_quickwwit_config_default_values_storage ... ok
test node_config::serialize::tests::test_socket_addr_ports ... ok
test node_config::serialize::tests::test_peer_socket_addrs ... ok

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

     Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/quickwit_control_plane-e71a7730582c39ad)

running 75 tests
test indexing_scheduler::scheduling::scheduling_logic::tests::test_compute_unassigned_shards_simple ... ok
test indexing_scheduler::scheduling::scheduling_logic::tests::test_compute_unassigned_shards_with_non_trivial_solution ... ok
test indexing_scheduler::scheduling::scheduling_logic::tests::test_place_unassigned_shards_simple ... ok
test indexing_scheduler::scheduling::scheduling_logic::tests::test_place_unassigned_shards_reach_capacity ... ok
test indexing_scheduler::scheduling::scheduling_logic::tests::test_enforce_nodes_cpu_capacity ... ok
test indexing_scheduler::scheduling::scheduling_logic::tests::test_problem_missing_capacities ... ok
test indexing_scheduler::scheduling::scheduling_logic::tests::test_remove_extranous_shards ... ok
test indexing_scheduler::scheduling::scheduling_logic::tests::test_remove_missing_sources ... ok
test indexing_scheduler::scheduling::scheduling_logic::tests::test_remove_extranous_shards_2 ... ok
test indexing_scheduler::scheduling::scheduling_logic::tests::test_solve ... ok
test indexing_scheduler::scheduling::tests::test_build_physical_plan ... ok
test indexing_scheduler::scheduling::tests::test_convert_scheduling_solution_to_physical_plan_single_node_single_source_non_sharded ... ok
test indexing_scheduler::scheduling::tests::test_convert_scheduling_solution_to_physical_plan_single_node_single_source_sharded ... ok
test indexing_scheduler::scheduling::tests::test_group_shards_into_pipeline_simple ... ok
test indexing_scheduler::scheduling::tests::test_group_shards_into_pipeline_hysteresis ... ok
test indexing_scheduler::scheduling::tests::test_solution_reconstruction ... ok
test indexing_scheduler::scheduling::tests::test_group_shards_load_per_shard_too_high ... ok
test indexing_scheduler::scheduling::tests::test_group_shards_into_pipeline_single_small_pipeline ... ok
test indexing_scheduler::scheduling::tests::test_pick_indexer_for_shard ... ok
test indexing_scheduler::tests::test_indexing_plans_diff ... ok
test indexing_scheduler::tests::test_build_physical_indexing_plan_simple ... ok
test indexing_scheduler::change_tracker::tests::test_change_tracker ... ok
test indexing_scheduler::change_tracker::tests::test_change_tracker_all_waiters_are_notified ... ok
test indexing_scheduler::scheduling::tests::test_build_physical_indexing_plan_with_not_enough_indexers ... ok
test control_plane::tests::test_watch_indexers ... ok
test model::shard_table::tests::test_shard_table_acquire_scaling_down_permits ... ok
test ingest::wait_handle::tests::test_wait_handle_simple ... ok
test ingest::ingest_controller::tests::test_find_scale_down_candidate ... ok
test ingest::ingest_controller::tests::test_ingest_controller_allocate_shards ... ok
test ingest::ingest_controller::tests::test_ingest_controller_get_open_shards_handles_closed_shards ... ok
test ingest::ingest_controller::tests::test_sync_with_ingesters ... ok
test ingest::ingest_controller::tests::test_ingest_controller_handle_local_shards_update ... ok
test indexing_scheduler::tests::test_get_sources_to_schedule ... ok
test ingest::ingest_controller::tests::test_ingest_controller_advise_reset_shards ... ok
test ingest::ingest_controller::tests::test_ingest_controller_try_scale_up_shards ... ok
test ingest::ingest_controller::tests::test_ingest_controller_get_or_create_open_shards ... ok
test control_plane::tests::test_control_plane_delete_source ... ok
test ingest::ingest_controller::tests::test_ingest_controller_try_scale_down_shards ... ok
test ingest::ingest_controller::tests::test_ingest_controller_get_open_shards_handles_unavailable_leaders ... ok
test model::shard_table::tests::test_shard_table_acquire_scaling_up_permits ... ok
test model::shard_table::tests::test_shard_table_add_source ... ok
test model::shard_table::tests::test_shard_table_delete_index ... ok
test control_plane::tests::test_control_plane_delete_index ... ok
test model::shard_table::tests::test_shard_table_close_shards ... ok
test model::shard_table::tests::test_shard_table_delete_shards ... ok
test model::shard_table::tests::test_shard_table_find_open_shards ... ok
test model::shard_table::tests::test_shard_table_insert_newly_opened_shards ... ok
test model::shard_table::tests::test_shard_table_list_shards ... ok
test model::shard_table::tests::test_shard_table_release_scaling_down_permits ... ok
test model::shard_table::tests::test_shard_table_release_scaling_up_permits ... ok
test model::shard_table::tests::test_shard_table_update_shards ... ok
test model::tests::test_control_plane_model_add_index ... ok
test model::tests::test_control_plane_model_delete_index ... ok
test model::tests::test_control_plane_model_add_index_with_sources ... ok
test model::tests::test_control_plane_model_toggle_source ... ok
test control_plane::tests::test_control_plane_rebuilds_plan_on_indexer_joins_or_leaves_the_cluster ... ok
test control_plane::tests::test_control_plane_get_or_create_open_shards ... ok
[ERROR quickwit_control_plane::control_plane] metastore error error=Connection { message: "Fake connection error." } transaction_outcome="maybe-executed"
[ERROR quickwit_actors::spawn_builder] actor-failure cause=connection error: Fake connection error. exit_status=Failure(connection error: Fake connection error.)
[ERROR quickwit_actors::actor_context] exit activating-kill-switch actor=ControlPlane-dawn-Vimi exit_status=Failure(connection error: Fake connection error.)
test control_plane::tests::test_control_plane_add_source ... ok
test control_plane::tests::test_control_plane_toggle_source ... ok
test control_plane::tests::test_delete_non_existing_shard ... ok
test model::tests::test_control_plane_model_load_shard_table ... ok
test control_plane::tests::test_auto_create_indexes_on_get_or_create_open_shards_request ... ok
test control_plane::tests::test_delete_source ... ok
test control_plane::tests::test_fill_shard_table_position_from_metastore_on_startup ... ok
test control_plane::tests::test_delete_index ... ok
test control_plane::tests::test_control_plane_create_index ... ok
test indexing_scheduler::scheduling::scheduling_logic::tests::test_proptest_post_conditions ... ok
test control_plane::tests::test_delete_shard_on_eof ... ok
test tests::test_scheduler_scheduling_no_indexer ... ok
test indexing_scheduler::tests::test_building_indexing_tasks_and_physical_plan ... ok
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
[ERROR quickwit_proto::error] gRPC transport error: error trying to connect: tcp connect error: Connection refused (os error 111) code=Unavailable rpc="fetch_cluster_state"
test indexing_scheduler::change_tracker::tests::test_change_tracker_ongoing_is_not_good ... ok
test tests::test_scheduler_scheduling_and_control_loop_apply_plan_again ... ok
test tests::test_scheduler_scheduling_multiple_indexers ... ok
[ERROR quickwit_actors::actor_handle] actor-exit-without-success actor="ControlPlane-dawn-Vimi"
test control_plane::tests::test_control_plane_supervision_reload_from_metastore ... ok
test debouncer::tests::test_debouncer ... ok

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

     Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/quickwit_datetime-6630a703c53412ed)

running 21 tests
test date_time_format::tests::test_date_time_input_format_deser ... ok
test date_time_format::tests::test_date_time_output_format_ser ... ok
test date_time_format::tests::test_date_time_output_format_deser ... ok
test date_time_format::tests::test_date_time_input_format_ser ... ok
test date_time_format::tests::test_fail_date_time_input_format_from_str_with_unknown_format ... ok
test date_time_format::tests::test_fail_date_time_output_format_from_str_with_unknown_format ... ok
test date_time_format::tests::test_infer_year ... ok
test date_time_format::tests::test_strictly_parse_datetime_format ... ok
test date_time_parsing::tests::test_parse_date_am_pm_hour_not_zeroed ... ok
test date_time_parsing::tests::test_parse_date_time_millis ... ok
test date_time_parsing::tests::test_parse_date_time_str ... ok
test date_time_parsing::tests::test_parse_date_without_time ... ok
test date_time_parsing::tests::test_parse_iso8601 ... ok
test date_time_parsing::tests::test_parse_rfc2822 ... ok
test date_time_parsing::tests::test_parse_rfc3339 ... ok
test date_time_parsing::tests::test_parse_strptime ... ok
test date_time_parsing::tests::test_parse_timestamp ... ok
test date_time_parsing::tests::test_parse_timestamp_float ... ok
test date_time_parsing::tests::test_parse_timestamp_int ... ok
test date_time_parsing::tests::test_parse_timestamp_min_max_values ... ok
test date_time_parsing::tests::test_parse_timestamp_str ... ok

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

     Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/quickwit_directories-65fa33f12b60910c)

running 20 tests
test debug_proxy_directory::tests::test_debug_proxy_open_read_read_async ... ok
test debug_proxy_directory::tests::test_debug_proxy_atomic_read ... ok
test debug_proxy_directory::tests::test_debug_proxy_open_read_read_sync ... ok
test hot_directory::tests::test_several_segments ... ok
test hot_directory::tests::test_empty_slice_cache_index ... ok
test hot_directory::tests::test_simple_slice_cache_index ... ok
test hot_directory::tests::test_slice_cache_merged_entries ... ok
test hot_directory::tests::test_slice_cache_overlapping_entries ... ok
test hot_directory::tests::test_slice_cache_unmergeable_entries ... ok
test caching_directory::tests::test_caching_directory ... ok
test hot_directory::tests::test_slice_entry_serialization ... ok
test hot_directory::tests::test_slice_directory_cache ... ok
test union_directory::tests::test_union_directory_delete ... ok
test union_directory::tests::test_union_directory_atomic_simple ... ok
test union_directory::tests::test_union_directory_exists ... ok
test union_directory::tests::test_union_directory_shadowing ... ok
test union_directory::tests::test_union_directory_write ... ok
test bundle_directory::tests::test_stream_split_to_bundle_and_open ... ok
test bundle_directory::tests::test_bundle_directory ... ok
test bundle_directory::tests::test_bundle_directory_stats ... ok

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

     Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/quickwit_doc_mapper-65fefce636808488)

running 188 tests
test default_doc_mapper::date_time_type::tests::test_date_time_options_deser_default ... ok
test default_doc_mapper::date_time_type::tests::test_date_time_options_deser_denies_unknown_fields ... ok
test default_doc_mapper::date_time_type::tests::test_date_time_options_parse_json ... ok
test default_doc_mapper::date_time_type::tests::test_deserialize_input_formats_deser ... ok
test default_doc_mapper::date_time_type::tests::test_deserialize_invalid_input_formats_should_error ... ok
test default_doc_mapper::date_time_type::tests::test_backward_compatibility_after_fast_precision_rename ... ok
test default_doc_mapper::date_time_type::tests::test_date_time_options_single_value_deser ... ok
test default_doc_mapper::date_time_type::tests::test_date_time_options_multi_values_deser ... ok
test default_doc_mapper::date_time_type::tests::test_test_date_time_options_ser ... ok
test default_doc_mapper::default_mapper::tests::test_by_default_store_source_is_false_and_fields_are_stored_individually ... ok
test default_doc_mapper::default_mapper::tests::test_build_doc_mapper_should_fail_with_unknown_tokenizer ... ok
test default_doc_mapper::default_mapper::tests::test_build_doc_mapper_with_custom_ngram_tokenizer ... ok
test default_doc_mapper::default_mapper::tests::test_build_doc_mapper_tokenizer_manager_with_custom_tokenizer ... ok
test default_doc_mapper::default_mapper::tests::test_build_doc_mapper_with_tag_field_in_object ... ok
test default_doc_mapper::default_mapper::tests::test_build_doc_mapper_with_custom_invalid_regex_tokenizer ... ok
test default_doc_mapper::default_mapper::tests::test_build_doc_mapper_with_tag_field_with_dots_in_its_name ... ok
test default_doc_mapper::default_mapper::tests::test_doc_mapper_accept_sub_field_query_on_json_field ... ok
test default_doc_mapper::default_mapper::tests::test_accept_parsing_document_with_unknown_fields_and_missing_fields ... ok
test default_doc_mapper::default_mapper::tests::test_doc_mapper_default_tokenizers ... ok
test default_doc_mapper::default_mapper::tests::test_doc_mapper_object_dot_collision_with_json_field ... ok
test default_doc_mapper::default_mapper::tests::test_doc_mapper_sub_field_query_on_non_json_field_should_error ... ok
test default_doc_mapper::default_mapper::tests::test_doc_mapper_object_dot_collision_with_object_field ... ok
test default_doc_mapper::default_mapper::tests::test_doc_mapper_with_custom_tokenizer_equivalent_to_default ... ok
test default_doc_mapper::default_mapper::tests::test_dymamic_mode_inner ... ok
test default_doc_mapper::default_mapper::tests::test_dymamic_mode_simple ... ok
test default_doc_mapper::default_mapper::tests::test_dynamic_mode_schema ... ok
test default_doc_mapper::default_mapper::tests::test_dynamic_mode_schema_not_indexed ... ok
test default_doc_mapper::default_mapper::tests::test_fail_to_build_doc_mapper_with_duplicate_fields ... ok
test default_doc_mapper::default_mapper::tests::test_fail_to_build_doc_mapper_with_multivalued_timestamp_field ... ok
test default_doc_mapper::default_mapper::tests::test_fail_to_build_doc_mapper_with_non_fast_timestamp_field ... ok
test default_doc_mapper::default_mapper::tests::test_fail_to_build_doc_mapper_with_timestamp_field_with_multivalues_cardinality ... ok
test default_doc_mapper::default_mapper::tests::test_fail_to_build_doc_mapper_with_wrong_tag_fields_types ... ok
test default_doc_mapper::default_mapper::tests::test_fail_to_parse_document_with_wrong_base64_value ... ok
test default_doc_mapper::default_mapper::tests::test_fail_with_field_name_equal_to_source ... ok
test default_doc_mapper::default_mapper::tests::test_fail_to_parse_document_with_wrong_cardinality ... ok
test default_doc_mapper::default_mapper::tests::test_fail_to_parse_document_with_wrong_value ... ok
test default_doc_mapper::default_mapper::tests::test_lenient_mode_schema ... ok
test default_doc_mapper::default_mapper::tests::test_lenient_mode_simple ... ok
test default_doc_mapper::default_mapper::tests::test_json_deserialize ... ok
test default_doc_mapper::default_mapper::tests::test_parse_document_with_tag_fields ... ok
test default_doc_mapper::default_mapper::tests::test_partition_key_in_tags ... ok
test default_doc_mapper::default_mapper::tests::test_partition_key_in_tags_without_explicit_tags ... ok
test default_doc_mapper::default_mapper::tests::test_should_build_doc_mapper_with_duplicate_fields_at_different_level ... ok
test default_doc_mapper::default_mapper::tests::test_strict_mode_inner ... ok
test default_doc_mapper::default_mapper::tests::test_strict_mode_simple ... ok
test default_doc_mapper::default_mapper::tests::test_tag_field_name_that_ends_with_dot_is_invalid ... ok
test default_doc_mapper::default_mapper::tests::test_tag_field_name_that_starts_with_dot_is_invalid ... ok
test default_doc_mapper::default_mapper::tests::test_json_object_in_mapping ... ok
test default_doc_mapper::default_mapper_builder::tests::test_default_mapper_builder_deserialize_from_empty_object ... ok
test default_doc_mapper::default_mapper::tests::test_timestamp_field_that_start_with_dot_is_invalid ... ok
test default_doc_mapper::default_mapper::tests::test_timestamp_field_that_ends_with_dot_is_invalid ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_i64_mapping_multivalued ... ok
test default_doc_mapper::default_mapper_builder::tests::test_default_mapper_builder_extra_field ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_i64_mapping_with_invalid_name ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_i64_mapping_singlevalued ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_i64_parsing_error_with_text_options ... ok
test default_doc_mapper::default_mapper::tests::test_find_field_mapping_type ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_json_mapping_entry_not_indexed ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_invalid_json_mapping_entry ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_json_mapping_entry_not_indexed_invalid ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_invalid_text_mapping_entry ... ok
test default_doc_mapper::default_mapper::tests::test_parsing_document ... ok
test default_doc_mapper::default_mapper::tests::test_timestamp_field_with_dots_in_its_name_is_valid ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_mapping_with_unknown_type ... ok
test default_doc_mapper::default_mapper::tests::test_timestamp_field_in_object_is_valid ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_object_mapping_entry ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_object_mapping_with_no_field_mappings ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_text_mapping_entry ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_text_mapping_entry_not_indexed ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_text_mapping_entry_not_indexed_invalid ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_u64_mapping_singlevalued ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_u64_mapping_with_wrong_options ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_u64_u64_mapping_multivalued ... ok
test default_doc_mapper::field_mapping_entry::tests::test_deserialize_valid_fieldnorms ... ok
test default_doc_mapper::field_mapping_entry::tests::test_error_on_unknown_fields ... ok
test default_doc_mapper::field_mapping_entry::tests::test_error_on_text_with_invalid_options ... ok
test default_doc_mapper::field_mapping_entry::tests::test_parse_bool_mapping ... ok
test default_doc_mapper::field_mapping_entry::tests::test_parse_bytes_mapping ... ok
test default_doc_mapper::field_mapping_entry::tests::test_parse_bytes_mapping_arr ... ok
test default_doc_mapper::field_mapping_entry::tests::test_parse_bytes_mapping_arr_and_fast_forbidden ... ok
test default_doc_mapper::field_mapping_entry::tests::test_parse_date_arr_mapping ... ok
test default_doc_mapper::field_mapping_entry::tests::test_parse_date_mapping ... ok
test default_doc_mapper::field_mapping_entry::tests::test_parse_f64_mapping ... ok
test default_doc_mapper::field_mapping_entry::tests::test_parse_ip_addr_mapping ... ok
test default_doc_mapper::field_mapping_entry::tests::test_parse_json_mapping_multivalued ... ok
test default_doc_mapper::field_mapping_entry::tests::test_parse_json_mapping_singlevalue ... ok
test default_doc_mapper::field_mapping_entry::tests::test_parse_text_mapping ... ok
test default_doc_mapper::field_mapping_entry::tests::test_parse_text_fast_field_normalizer ... ok
test default_doc_mapper::field_mapping_entry::tests::test_parse_text_mapping_multivalued ... ok
test default_doc_mapper::field_mapping_entry::tests::test_quickwit_json_options_default ... ok
test default_doc_mapper::field_mapping_entry::tests::test_quickwit_json_options_default_consistent_with_default ... ok
test default_doc_mapper::field_mapping_entry::tests::test_quickwit_json_options_default_tokenizer_is_default ... ok
test default_doc_mapper::field_mapping_entry::tests::test_serialize_i64_mapping ... ok
test default_doc_mapper::field_mapping_entry::tests::test_serialize_i64_with_description_field ... ok
test default_doc_mapper::field_mapping_entry::tests::test_serialize_json_with_description_field ... ok
test default_doc_mapper::field_mapping_entry::tests::test_serialize_text_with_description_field ... ok
test default_doc_mapper::field_mapping_entry::tests::test_serialize_u64_mapping ... ok
test default_doc_mapper::field_mapping_entry::tests::test_tantivy_json_options_from_quickwit_json_options ... ok
test default_doc_mapper::field_mapping_entry::tests::test_tantivy_text_options_from_quickwit_text_options ... ok
test default_doc_mapper::field_mapping_type::tests::test_parse_type ... ok
test default_doc_mapper::mapping_tree::tests::test_field_name_from_field_path ... ok
test default_doc_mapper::mapping_tree::tests::test_field_path_for_field_name ... ok
test default_doc_mapper::mapping_tree::tests::test_get_or_insert_path ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_array_of_bytes ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_bool_mapping ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_bool_multivalued ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_bytes ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_bytes_hex ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_bytes_invalid_base64 ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_bytes_number_should_err ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_date_array_should_error ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_date_number_should_error ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_date_time_str ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_f64_from_u64 ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_i64_from_f64_should_error ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_i64_mapping ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_i64_mutivalued ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_i64_mutivalued_accepts_scalar ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_i64_too_large ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_ip_addr_from_str ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_ip_addr_should_error ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_null_is_just_ignored ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_text ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_text_number_should_error ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_timestamp_float ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_timestamp_int ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_u64_coercion ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_u64_mapping ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_u64_mutivalued_nested_array_forbidden ... ok
test default_doc_mapper::mapping_tree::tests::test_parse_u64_negative_should_error ... ok
test default_doc_mapper::mapping_tree::tests::test_tantivy_value_to_json_value_bytes ... ok
test default_doc_mapper::mapping_tree::tests::test_tantivy_value_to_json_value_f64 ... ok
test default_doc_mapper::mapping_tree::tests::test_tantivy_value_to_json_value_i64 ... ok
test default_doc_mapper::mapping_tree::tests::test_tantivy_value_to_json_value_u64 ... ok
test default_doc_mapper::tokenizer_entry::tests::test_deserialize_tokenizer_entry ... ok
test default_doc_mapper::tokenizer_entry::tests::test_deserialize_tokenizer_entry_failed_with_wrong_key ... ok
test default_doc_mapper::tokenizer_entry::tests::test_tokenizer_entry_regex ... ok
test doc_mapper::tests::test_deserialize_doc_mapper_default_dynamic_tokenizer ... ok
test doc_mapper::tests::test_deserialize_doc_mapper ... ok
test default_doc_mapper::tests::test_validate_field_mapping_name ... ok
test doc_mapper::tests::test_deserialize_minimal_doc_mapper ... ok
test doc_mapper::tests::test_doc_from_json_bytes ... ok
test doc_mapper::tests::test_doc_from_json_str ... ok
test doc_mapper::tests::test_doc_mapper_query_with_json_field ... ok
test doc_mapper::tests::test_doc_mapper_query_with_json_field_ambiguous_term ... ok
test doc_mapper::tests::test_doc_mapper_query_with_json_field_default_search_fields ... ok
test doc_mapper::tests::test_warmup_info_merge ... ok
test doc_mapper::tests::test_warmup_info_simplify ... ok
test doc_mapper::tests::test_serdeserialize_doc_mapper ... ok
test query_builder::test::test_build_query_not_bool_should_fail ... ok
test query_builder::test::test_build_query_warmup_info ... ok
test query_builder::test::test_build_query_dynamic_field ... ok
test query_builder::test::test_f64_range_query ... ok
test query_builder::test::test_i64_range_query ... ok
test query_builder::test::test_datetime_range_query ... ok
test query_builder::test::test_ip_range_query ... ok
test query_builder::test::test_range_query_ip_fields_multivalued ... ok
test query_builder::test::test_range_query_no_fast_field ... ok
test query_builder::test::test_u64_range_query ... ok
test query_builder::test::test_build_query_not_dynamic_mode ... ok
test routing_expression::tests::test_find_value_with_escaped_dot ... ok
test routing_expression::tests::test_find_value_with_nested_keys ... ok
test routing_expression::tests::test_parse_keys ... ok
test routing_expression::tests::test_parse_keys_multiple ... ok
test routing_expression::tests::test_parse_keys_with_escaped_dot ... ok
test routing_expression::tests::test_routing_expr_change_detection ... ok
test routing_expression::tests::test_routing_expr_empty ... ok
test routing_expression::tests::test_routing_expr_depends_on_both_expr_and_value ... ok
test routing_expression::tests::test_routing_expr_empty_hashes_to_0 ... ok
test routing_expression::tests::test_routing_expr_missing_value_does_not_panic ... ok
test routing_expression::tests::test_routing_expr_modulo_complexe ... ok
test routing_expression::tests::test_routing_expr_modulo_field ... ok
test routing_expression::tests::test_routing_expr_multiple_field ... ok
test routing_expression::tests::test_routing_expr_multiple_field_with_dot ... ok
test routing_expression::tests::test_routing_expr_single_field ... ok
test routing_expression::tests::test_routing_expr_single_field_with_dot ... ok
test tag_pruning::test::test_conjunction_of_tags ... ok
test tag_pruning::test::test_disjunction_of_tag_conjunction_with_not_clause ... ok
test tag_pruning::test::test_disjunction_of_tag_disjunction_with_not_clause ... ok
test tag_pruning::test::test_disjunction_of_tag_must_should ... ok
test tag_pruning::test::test_disjunction_of_tags ... ok
test tag_pruning::test::test_extract_tags_from_query_all ... ok
test tag_pruning::test::test_extract_tags_from_query_and_or ... ok
test tag_pruning::test::test_extract_tags_from_query_mixed_disjunction ... ok
test tag_pruning::test::test_extract_tags_from_query_range_query ... ok
test tag_pruning::test::test_extract_tags_from_query_range_query_conjunction ... ok
test routing_expression::tests::test_routing_expr_mod ... ok
test tag_pruning::test::test_match_tag_field_name ... ok

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

     Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/quickwit_index_management-e537a64f0d68c70c)

running 8 tests
test garbage_collection::tests::test_delete_splits_from_storage_and_metastore_metastore_error ... ok
test garbage_collection::tests::test_run_gc_deletes_splits_with_no_split ... ok
test garbage_collection::tests::test_delete_splits_from_storage_and_metastore_happy_path ... ok
test garbage_collection::tests::test_delete_splits_from_storage_and_metastore_storage_error ... ok
test garbage_collection::tests::test_run_gc_marks_stale_staged_splits_for_deletion_after_grace_period ... ok
test garbage_collection::tests::test_run_gc_deletes_splits_marked_for_deletion_after_grace_period ... ok
test index::tests::test_delete_index ... ok
test index::tests::test_create_index ... ok

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

     Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/quickwit_indexing-4d2e9de138e70b7a)

running 135 tests
test actors::indexer::tests::test_record_timestamp ... ok
test actors::indexing_pipeline::tests::test_wait_duration ... ok
test actors::merge_executor::tests::test_combine_partition_ids_order_does_not_matter ... ok
test actors::merge_executor::tests::test_combine_partition_ids_depends_on_partition_id_set ... ok
test actors::merge_executor::tests::test_combine_partition_ids_singleton_unchanged ... ok
test actors::merge_executor::tests::test_combine_partition_ids_zero_has_an_impact ... ok
test actors::doc_processor::tests::test_doc_processor_forward_publish_lock ... [ERROR quickwit_indexing::actors::indexing_pipeline] error while spawning indexing pipeline, retrying after some time error=request timed out: timeout error retry_count=0 retry_delay=2s
ok
[ERROR quickwit_indexing::actors::indexing_pipeline] error while spawning indexing pipeline, retrying after some time error=request timed out: timeout error retry_count=0 retry_delay=2s
test actors::indexer::tests::test_indexer_ignores_messages_when_publish_lock_is_dead ... ok
test actors::indexing_service::tests::test_indexing_service_ingest_api_gc ... ok
test actors::merge_planner::tests::test_merge_planner_dismiss_splits_from_different_pipeline_id ... ok
[ERROR quickwit_indexing::actors::merge_scheduler_service] merge scheduler service is dead
test actors::merge_planner::tests::test_merge_planner_inherit_mailbox_with_splits_bug_3847 ... ok
[ERROR quickwit_indexing::actors::merge_scheduler_service] merge scheduler service is dead
test actors::merge_planner::tests::test_merge_planner_spawns_merge_over_existing_splits_on_startup ... ok
test actors::merge_planner::tests::test_merge_planner_with_stable_custom_merge_policy ... ok
[ERROR quickwit_indexing::actors::indexing_pipeline] error while spawning indexing pipeline, retrying after some time error=unknown source type `kafka` (available source types are file, ingest, vec, void, ingest-api) retry_count=0 retry_delay=2s
test actors::doc_processor::tests::test_doc_processor_ignores_messages_when_publish_lock_is_dead ... ok
test actors::merge_scheduler_service::tests::test_score_merge_operation ... ok
test actors::indexer::tests::test_indexer_propagates_publish_lock ... ok
test actors::packager::tests::serialize_field_metadata_test ... ok
test actors::publisher::tests::publisher_acquires_publish_lock ... ok
test actors::publisher::tests::test_publisher_publish_operation ... ok
test actors::publisher::tests::test_publisher_publish_operation_with_empty_splits ... ok
test actors::publisher::tests::test_publisher_replace_operation ... ok
test actors::sequencer::tests::test_sequencer ... ok
test actors::merge_split_downloader::tests::test_merge_split_downloader ... ok
test actors::uploader::tests::test_uploader_with_empty_splits ... ok
test actors::uploader::tests::test_uploader_notifies_event_broker ... ok
test actors::uploader::tests::test_uploader_with_sequencer ... ok
test actors::uploader::tests::test_uploader_with_sequencer_emits_replace ... ok
test actors::uploader::tests::test_uploader_without_sequencer ... ok
test controlled_directory::tests::test_records_kill_switch_triggers_io_error ... ok
test controlled_directory::tests::test_records_progress_on_write ... ok
test merge_policy::const_write_amplification::tests::test_const_write_amplification_merge_policy_empty ... ok
test merge_policy::const_write_amplification::tests::test_const_write_merge_policy_merge_factor_max ... ok
test merge_policy::const_write_amplification::tests::test_const_write_merge_policy_older_first ... ok
test merge_policy::const_write_amplification::tests::test_const_write_merge_policy_simple ... ok
test merge_policy::const_write_amplification::tests::test_const_write_merge_policy_single_split ... ok
test merge_policy::const_write_amplification::tests::test_const_write_merge_policy_target_num_docs ... ok
test merge_policy::const_write_amplification::tests::test_const_write_amp_merge_policy_proptest ... ok
test merge_policy::const_write_amplification::tests::test_split_is_mature ... ok
test merge_policy::nop_merge_policy::tests::test_no_merge_policy_maturity_timestamp ... ok
test merge_policy::nop_merge_policy::tests::test_no_merge_policy_operations ... ok
test merge_policy::stable_log_merge_policy::tests::test_build_split_levels ... ok
test merge_policy::stable_log_merge_policy::tests::test_merge_policy_last_merge_can_have_a_lower_merge_factor ... ok
test merge_policy::stable_log_merge_policy::tests::test_merge_policy_no_merge_with_only_one_split ... ok
test merge_policy::stable_log_merge_policy::tests::test_merge_policy_splits_entire_level_reach_merge_max_doc ... ok
test merge_policy::stable_log_merge_policy::tests::test_merge_policy_splits_too_large_are_ignored ... ok
test actors::indexer::tests::test_indexer_honors_batch_commit_request ... ok
test merge_policy::stable_log_merge_policy::tests::test_simulate_stable_log_merge_planner_bug ... ok
test merge_policy::stable_log_merge_policy::tests::test_simulate_stable_log_merge_planner_edge_case ... ok
test merge_policy::const_write_amplification::tests::test_simulate_const_write_amplification_merge_policy ... ok
test merge_policy::stable_log_merge_policy::tests::test_simulate_stable_log_merge_policy_constant_case ... ignored
test merge_policy::stable_log_merge_policy::tests::test_split_is_mature ... ok
test merge_policy::stable_log_merge_policy::tests::test_stable_log_merge_policy_above_max_merge_docs_is_ignored ... ok
test merge_policy::stable_log_merge_policy::tests::test_stable_log_merge_policy_build_split_decreasing ... ok
test merge_policy::stable_log_merge_policy::tests::test_stable_log_merge_policy_build_split_panics_if_exceeding_max_merge_docs - should panic ... ok
test merge_policy::stable_log_merge_policy::tests::test_stable_log_merge_policy_build_split_perfect_world ... ok
test merge_policy::stable_log_merge_policy::tests::test_stable_log_merge_policy_build_split_simple ... ok
test merge_policy::stable_log_merge_policy::tests::test_stable_log_merge_policy_just_enough_splits_for_a_merge ... ok
test merge_policy::stable_log_merge_policy::tests::test_stable_log_merge_policy_many_splits_on_same_level ... ok
test merge_policy::stable_log_merge_policy::tests::test_stable_log_merge_policy_max_num_splits_ideal_case ... ok
test merge_policy::stable_log_merge_policy::tests::test_stable_log_merge_policy_max_num_splits_worst_case ... ok
test merge_policy::stable_log_merge_policy::tests::test_stable_log_merge_policy_not_enough_splits ... ok
test merge_policy::stable_log_merge_policy::tests::test_simulate_stable_log_merge_planner_ideal_case ... ok
test merge_policy::stable_log_merge_policy::tests::test_stable_log_merge_policy_splits_above_min_level ... ok
test merge_policy::stable_log_merge_policy::tests::test_stable_log_merge_policy_splits_below_min_level ... ok
test merge_policy::stable_log_merge_policy::tests::test_stable_log_merge_policy_proptest ... ok
test models::publish_lock::tests::test_publish_lock_dead ... ok
test actors::indexer::tests::test_indexer_triggers_commit_on_memory_limit ... ok
test actors::doc_processor::tests::test_doc_processor_otlp_logs_json ... ok
test actors::doc_processor::tests::test_doc_processor_otlp_traces_proto ... ok
test source::file_source::tests::test_file_source ... ok
test source::file_source::tests::test_file_source_resume_from_checkpoint ... ok
test source::file_source::tests::test_skip_reader ... ok
test actors::indexer::tests::test_indexer_exceeding_max_num_partitions ... ok
test source::ingest::tests::test_ingest_source_assign_shards_all_eof ... ok
test source::ingest::tests::test_ingest_source_assign_shards_some_eof ... ok
test source::ingest::tests::test_ingest_source_assign_shards ... ok
[ERROR quickwit_ingest::ingest_v2::fetch] failed to open fetch stream from ingester `test-ingester-0`: shard not found client_id=indexer/test-node/test-index:00000000000000000000000000/test-source/00000000000000000000000000 index_uid=test-index:00000000000000000000000000 source_id=test-source shard_id=00000000000000000001
test actors::doc_processor::tests::test_doc_processor_otlp_traces_json ... ok
test actors::doc_processor::tests::test_doc_processor_partitioning ... ok
test actors::doc_processor::tests::test_doc_processor_otlp_logs_proto ... ok
test actors::indexer::tests::test_indexer_triggers_commit_on_quit ... ok
test source::ingest::tests::test_ingest_source_suggest_truncate ... ok
test models::publish_lock::tests::test_publish_lock ... ok
test source::ingest_api_source::tests::test_ingest_api_source_partition_id_changes ... ok
test source::ingest_api_source::tests::test_ingest_api_source_resume_from_checkpoint ... ok
test actors::doc_processor::tests::test_doc_processor_simple ... ok
test source::source_factory::tests::test_source_loader_success ... ok
test source::tests::test_check_source_connectivity ... ok
test source::vec_source::tests::test_vec_source ... ok
test source::vec_source::tests::test_vec_source_from_checkpoint ... ok
test source::void_source::tests::test_void_source_loading ... ok
test source::ingest_api_source::tests::test_ingest_api_source_with_one_doc ... ok
test split_store::indexing_split_store::tests::test_local_store_cache_in_and_out ... ok
test split_store::indexing_split_store::tests::test_put_should_not_store_in_cache_when_max_num_files_reached ... ok
test split_store::local_split_store::tests::test_create_with_exceeds_num_bytes ... ok
test split_store::local_split_store::tests::test_create_with_too_many_files ... ok
test split_store::local_split_store::tests::test_local_split_store_load_existing_splits ... ok
test split_store::local_split_store::tests::test_remove_splits_out_of_age ... ok
test split_store::local_split_store::tests::test_store_and_fetch ... ok
test split_store::local_split_store::tests::test_stream_split_to_bundle_and_open ... ok
test split_store::split_store_quota::tests::test_split_store_quota_exceeding_bytes ... ok
test split_store::split_store_quota::tests::test_split_store_quota_exceeding_max_num_files ... ok
test split_store::split_store_quota::tests::test_split_store_quota_max_bytes_accepted ... ok
test split_store::split_store_quota::tests::test_split_store_quota_max_num_files_accepted ... ok
test models::shard_positions::tests::test_shard_positions_from_cluster ... ok
test source::ingest_api_source::tests::test_ingest_api_source ... ok
test source::ingest_api_source::tests::test_ingest_api_source_with_force_commit ... ok
test source::ingest_api_source::tests::test_ingest_api_source_truncate_on_initialize ... ok
test source::ingest_api_source::tests::test_ingest_api_source_with_wait ... ok
test actors::merge_pipeline::tests::test_merge_pipeline_simple ... ok
test actors::indexer::tests::test_indexer_checkpoint_on_all_failed_docs ... ok
test source::ingest::tests::test_ingest_source_emit_batches_shard_not_found ... ok
test source::file_source::tests::test_file_source_several_batch ... ok
test actors::merge_scheduler_service::tests::test_merge_schedule_service_prioritize ... ok
test actors::indexing_service::tests::test_indexing_service_apply_plan ... ok
test merge_policy::stable_log_merge_policy::tests::test_proptest_simulate_stable_log_merge_planner_adversarial ... ok
test source::void_source::tests::test_void_source_running ... ok
test source::ingest::tests::test_ingest_source_emit_batches ... ok
test actors::indexing_service::tests::test_indexing_service_shut_down_merge_pipeline_when_no_indexing_pipeline ... ok
test actors::indexing_service::tests::test_indexing_service_supervise_pipelines ... ok
test actors::indexing_pipeline::tests::test_indexing_pipeline_all_failures_handling_gz ... ok
test actors::indexing_pipeline::tests::test_indexing_pipeline_simple ... ok
test actors::indexing_pipeline::tests::test_indexing_pipeline_retry_0_gz ... ok
test actors::indexing_pipeline::tests::test_indexing_pipeline_simple_gz ... ok
test actors::indexing_pipeline::tests::test_indexing_pipeline_all_failures_handling ... ok
test actors::indexer::tests::test_indexer_triggers_commit_on_timeout ... FAILED
test actors::indexing_pipeline::tests::test_indexing_pipeline_retry_0 ... ok
test actors::indexing_service::tests::test_indexing_service_does_not_shut_down_pipelines_on_indexing_pipeline_freeze ... ok
test actors::merge_executor::tests::test_delete_all ... ok
test actors::merge_executor::tests::test_delete_and_merge_executor ... ok
test actors::merge_executor::tests::test_delete_termset_and_merge_executor ... ok
test test_utils::tests::test_test_sandbox ... ok
test actors::merge_executor::tests::test_merge_executor ... ok
test models::shard_positions::tests::test_shard_positions_local_updates_publish_to_cluster ... ok
test actors::indexing_pipeline::tests::test_indexing_pipeline_retry_1 ... ok
test actors::indexing_pipeline::tests::test_indexing_pipeline_retry_1_gz ... ok

failures:

---- actors::indexer::tests::test_indexer_triggers_commit_on_timeout stdout ----
thread 'actors::indexer::tests::test_indexer_triggers_commit_on_timeout' panicked at quickwit-indexing/src/actors/indexer.rs:1039:9:
assertion `left == right` failed
  left: MemoryLimit
 right: Timeout


failures:
    actors::indexer::tests::test_indexer_triggers_commit_on_timeout

test result: FAILED. 133 passed; 1 failed; 1 ignored; 0 measured; 6 filtered out; finished in 4.04s

error: test failed, to rerun pass `-p quickwit-indexing --lib`
error: builder for '/nix/store/mvy0z8q34xy7mwqhjsj7fi4xkg4qg1b9-quickwit-0.8.1.drv' failed with exit code 101

@nh2
Copy link
Contributor

nh2 commented Apr 1, 2024

@fmassot Another question:

Going to http://localhost:7280/ui/search returns JSON

{
  "message": "Route not found"
}

Is that expected, or is it a packaging error?

What's needed to show the Quickwit UI?

@tcheronneau
Copy link
Contributor

Hey @nh2,
I've begun to work on the nixos module for quickwit myself and hit the same issue with the UI (#307808).
From what I saw in their Dockerfile the UI is built from node then copied to quickwit sources.
But I'm not sure Nix can build node apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

4 participants