-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci](vault) add vault_p0 pipeline (#45964)
- Loading branch information
1 parent
3f9d833
commit 215c0f6
Showing
15 changed files
with
693 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## CLOUD P0 CI Pipeline | ||
|
||
This pipeline deploys Doris in cloud mode with S3 storage on a single machine and runs P0 test cases. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## Vault P0 CI Pipeline | ||
|
||
This pipeline deploys Doris in cloud mode with s3 storage vault on a single machine and runs cases in `regression-test/suites/vault_p0/`. | ||
|
||
The test case relies on an HDFS Docker container, which is set up using Docker Compose. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/env bash | ||
|
||
########################### Teamcity Build Step: Command Line ####################### | ||
: <<EOF | ||
#!/bin/bash | ||
export PATH=/usr/local/software/apache-maven-3.6.3/bin:${PATH} | ||
if [[ -f "${teamcity_build_checkoutDir:-}"/regression-test/pipeline/vault_p0/clean.sh ]]; then | ||
cd "${teamcity_build_checkoutDir}"/regression-test/pipeline/vault_p0/ | ||
bash -x clean.sh | ||
else | ||
echo "Build Step file missing: regression-test/pipeline/vault_p0/clean.sh" && exit 1 | ||
fi | ||
EOF | ||
############################# clean.sh content ######################################## | ||
# shellcheck source=/dev/null | ||
# stop_doris, clean_fdb | ||
source "${teamcity_build_checkoutDir}"/regression-test/pipeline/common/doris-utils.sh | ||
|
||
echo "#### Check env" | ||
if [[ -z "${teamcity_build_checkoutDir}" ]]; then echo "ERROR: env teamcity_build_checkoutDir not set" && exit 1; fi | ||
|
||
# shellcheck source=/dev/null | ||
source "$(bash "${teamcity_build_checkoutDir}"/regression-test/pipeline/common/get-or-set-tmp-env.sh 'get')" | ||
if ${skip_pipeline:=false}; then echo "INFO: skip build pipline" && exit 0; else echo "INFO: no skip"; fi | ||
|
||
echo "#### stop doris and clean fdb ####" | ||
DORIS_HOME="${teamcity_build_checkoutDir}/output" | ||
export DORIS_HOME | ||
stop_doris | ||
clean_fdb "cloud_instance_0" | ||
|
||
echo "#### docker-compose down ####" | ||
docker-compose down |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
streaming_load_rpc_max_alive_time_sec = 72000 | ||
quick_cooldown = true | ||
disable_stream_load_2pc=false | ||
enable_vectorized_alter_table = true | ||
enable_new_scan_node = true | ||
push_worker_count_high_priority = 2 | ||
streaming_load_max_mb = 107374182400 | ||
clear_file_cache=true | ||
enable_file_cache=true | ||
#disable_storage_page_cache = true | ||
enable_file_cache_query_limit=true | ||
file_cache_max_file_segment_size=1048576 | ||
s3_write_buffer_whole_size=52428800 | ||
enable_vertical_compaction=true | ||
fuzzy_vertical_compaction=true | ||
vacuum_stale_rowsets_interval_seconds=60 | ||
tablet_rowset_stale_sweep_time_sec=300 | ||
user_files_secure_path=/ | ||
enable_file_cache_as_load_buffer=true | ||
enable_merge_on_write_correctness_check=true | ||
enable_debug_points=true | ||
prioritize_query_perf_in_compaction = true | ||
cumulative_compaction_min_deltas = 5 | ||
#p0 parameter | ||
meta_service_endpoint = 127.0.0.1:5000 | ||
cloud_unique_id = cloud_unique_id_compute_node0 | ||
meta_service_use_load_balancer = false | ||
enable_file_cache = true | ||
file_cache_path = [{"path":"/data/doris_cloud/file_cache","total_size":104857600,"query_limit":104857600}] | ||
tmp_file_dirs = [{"path":"/data/doris_cloud/tmp","max_cache_bytes":104857600,"max_upload_bytes":104857600}] | ||
thrift_rpc_timeout_ms = 360000 | ||
save_load_error_log_to_s3 = true | ||
enable_stream_load_record = true | ||
stream_load_record_batch_size = 500 | ||
webserver_num_workers = 128 | ||
enable_new_tablet_do_compaction = true | ||
arrow_flight_sql_port = 8181 | ||
pipeline_task_leakage_detect_period_sec=1 | ||
crash_in_memory_tracker_inaccurate = true | ||
enable_table_size_correctness_check=true | ||
enable_brpc_connection_check=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
stream_load_default_timeout_second = 72000 | ||
replication_num_forced_in_cloud_mode = true | ||
ignore_unsupported_properties_in_cloud_mode = true | ||
enable_array_type = true | ||
tablet_stat_update_interval_second = 10 | ||
catalog_trash_expire_second = 600 | ||
cloud_delete_loaded_internal_stage_files = true | ||
merge_on_write_forced_to_false = true | ||
enable_ssl = true | ||
light_schema_change_force_to_true = true | ||
enable_mtmv = true | ||
remote_fragment_exec_timeout_ms=60000 | ||
dynamic_partition_check_interval_seconds=10 | ||
use_fuzzy_session_variable=true | ||
|
||
enable_cloud_snapshot_version = true | ||
enable_auto_collect_statistics = false | ||
|
||
forbid_function_stmt = false | ||
forbid_insecurity_stmt = false | ||
|
||
enable_debug_points = true | ||
|
||
disable_datev1=false | ||
|
||
disable_decimalv2=false | ||
max_query_profile_num=1000 | ||
|
||
statistics_sql_mem_limit_in_bytes=21474836480 | ||
cpu_resource_limit_per_analyze_task=-1 | ||
|
||
arrow_flight_sql_port = 8081 | ||
|
||
priority_networks=127.0.0.1/24 | ||
cloud_http_port=18030 | ||
meta_service_endpoint=127.0.0.1:5000 | ||
cloud_unique_id=cloud_unique_id_sql_server00 | ||
# for case test_build_mtmv.groovy | ||
enable_job_schedule_second_for_test=true | ||
enable_light_index_change=false | ||
|
||
workload_sched_policy_interval_ms = 1000 | ||
enable_advance_next_id = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# below lines will be appended to the default doris_cloud.conf when deploying meta service | ||
meta_schema_value_version = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# below lines will be appended to the default doris_cloud.conf when deploying recycler | ||
brpc_listen_port = 6000 |
36 changes: 36 additions & 0 deletions
36
regression-test/pipeline/vault_p0/conf/regression-conf-custom.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// Licensed to the Apache Software Foundation (ASF) under one | ||
// or more contributor license agreements. See the NOTICE file | ||
// distributed with this work for additional information | ||
// regarding copyright ownership. The ASF licenses this file | ||
// to you under the Apache License, Version 2.0 (the | ||
// "License"); you may not use this file except in compliance | ||
// with the License. You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, | ||
// software distributed under the License is distributed on an | ||
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
// KIND, either express or implied. See the License for the | ||
// specific language governing permissions and limitations | ||
// under the License. | ||
|
||
testDirectories = "vault_p0" | ||
max_failure_num = 10 | ||
|
||
jdbcUrl = "jdbc:mysql://127.0.0.1:9030/?useLocalSessionState=true&allowLoadLocalInfile=true&zeroDateTimeBehavior=round" | ||
targetJdbcUrl = "jdbc:mysql://127.0.0.1:9030/?useLocalSessionState=true&allowLoadLocalInfile=true&zeroDateTimeBehavior=round" | ||
|
||
// for vault case, consistent with the configuration in the create_warehouse_vault method in the doris-utils.sh file. | ||
instanceId="cloud_instance_0" | ||
multiClusterInstanceId="cloud_instance_0" | ||
|
||
hdfsFs = "hdfs://127.0.0.1:8020" | ||
hdfsUser = "root" | ||
hdfsPasswd = "" | ||
|
||
extHiveHmsHost = "127.0.0.1" | ||
extHiveHmsPort = 7004 | ||
extHdfsPort = 8020 | ||
extHiveServerPort= 7001 | ||
extHiveHmsUser = "root" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- set those session variables before run cloud p0 regression |
Oops, something went wrong.