From c8bde2038e928599b0e72daede6eed02cab77035 Mon Sep 17 00:00:00 2001 From: xxchan Date: Fri, 5 Apr 2024 17:00:09 +0800 Subject: [PATCH 1/7] ci: install risedev to ci image --- ci/Dockerfile | 9 ++++++ ci/build-ci-image.sh | 2 +- ci/docker-compose.yml | 10 +++---- ci/scripts/build-simulation.sh | 4 +-- ci/scripts/common.sh | 4 +-- ci/scripts/deterministic-unit-test.sh | 2 +- ci/scripts/e2e-cassandra-sink-test.sh | 4 +-- ci/scripts/e2e-clickhouse-sink-test.sh | 4 +-- ci/scripts/e2e-deltalake-sink-rust-test.sh | 4 +-- ci/scripts/e2e-doris-sink-test.sh | 4 +-- ci/scripts/e2e-iceberg-cdc.sh | 2 +- ci/scripts/e2e-iceberg-sink-test.sh | 4 +-- ci/scripts/e2e-iceberg-sink-v2-test.sh | 4 +-- ci/scripts/e2e-pulsar-sink-test.sh | 4 +-- ci/scripts/e2e-redis-sink-test.sh | 4 +-- ci/scripts/e2e-sink-test.sh | 8 ++--- ci/scripts/e2e-source-test.sh | 14 ++++----- ci/scripts/e2e-sql-migration.sh | 14 ++++----- ci/scripts/e2e-starrocks-sink-test.sh | 4 +-- ci/scripts/e2e-test-parallel-for-opendal.sh | 8 ++--- ci/scripts/e2e-test-parallel-in-memory.sh | 8 ++--- ci/scripts/e2e-test-parallel.sh | 8 ++--- ci/scripts/java-binding-test.sh | 6 ++-- ci/scripts/pulsar-source-test.sh | 8 ++--- ci/scripts/regress-test.sh | 4 +-- ci/scripts/run-backfill-tests.sh | 28 ++++++++--------- ci/scripts/run-e2e-test.sh | 30 +++++++++---------- ci/scripts/run-fuzz-test.sh | 4 +-- ci/scripts/run-meta-backup-test.sh | 18 +++++------ .../s3-source-test-for-opendal-fs-engine.sh | 4 +-- ci/scripts/s3-source-test.sh | 4 +-- ci/scripts/sqlsmith-differential-test.sh | 4 +-- 32 files changed, 124 insertions(+), 115 deletions(-) diff --git a/ci/Dockerfile b/ci/Dockerfile index 59cf8e86fb2e0..95223cf43c654 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -64,3 +64,12 @@ RUN cargo binstall -y --no-symlinks cargo-llvm-cov cargo-nextest cargo-hakari ca && rm -rf "/root/.cargo/git/db" RUN cargo install cargo-dylint@2.6.0 dylint-link@2.6.0 RUN cargo uninstall cargo-binstall cargo-cache + +# install risedev +COPY < cluster killed " echo "--- mysql & postgres recovery check" @@ -130,7 +130,7 @@ echo "> inserted new rows into postgres" unset RISINGWAVE_CI export RUST_LOG="events::stream::message::chunk=trace,risingwave_stream=debug,risingwave_batch=info,risingwave_storage=info" \ -cargo make dev ci-1cn-1fe-with-recovery +risedev dev ci-1cn-1fe-with-recovery echo "> wait for cluster recovery finish" sleep 20 echo "> check mviews after cluster recovery" @@ -141,12 +141,12 @@ sqllogictest -p 4566 -d dev './e2e_test/source/cdc/cdc.check_new_rows.slt' sqllogictest -p 4566 -d dev './e2e_test/source/cdc/cdc_share_stream_drop.slt' echo "--- Kill cluster" -cargo make ci-kill +risedev ci-kill echo "--- e2e, ci-1cn-1fe, protobuf schema registry" export RISINGWAVE_CI=true RUST_LOG="info,risingwave_stream=info,risingwave_batch=info,risingwave_storage=info" \ -cargo make ci-start ci-1cn-1fe +risedev ci-start ci-1cn-1fe python3 -m pip install requests protobuf confluent-kafka python3 e2e_test/schema_registry/pb.py "message_queue:29092" "http://message_queue:8081" "sr_pb_test" 20 user echo "make sure google/protobuf/source_context.proto is NOT in schema registry" @@ -157,11 +157,11 @@ sqllogictest -p 4566 -d dev './e2e_test/schema_registry/pb.slt' sqllogictest -p 4566 -d dev './e2e_test/schema_registry/alter_sr.slt' echo "--- Kill cluster" -cargo make ci-kill +risedev ci-kill echo "--- e2e, ci-kafka-plus-pubsub, kafka and pubsub source" RUST_LOG="info,risingwave_stream=info,risingwave_batch=info,risingwave_storage=info" \ -cargo make ci-start ci-pubsub +risedev ci-start ci-pubsub ./scripts/source/prepare_ci_kafka.sh cargo run --bin prepare_ci_pubsub sqllogictest -p 4566 -d dev './e2e_test/source/basic/*.slt' diff --git a/ci/scripts/e2e-sql-migration.sh b/ci/scripts/e2e-sql-migration.sh index 46502844eada6..361e6206975ff 100755 --- a/ci/scripts/e2e-sql-migration.sh +++ b/ci/scripts/e2e-sql-migration.sh @@ -49,16 +49,16 @@ download_and_prepare_rw "$profile" common echo "--- starting risingwave cluster, ci-1cn-1fe-with-recovery" RUST_LOG="info,risingwave_stream=info,risingwave_batch=info,risingwave_storage=info" \ -cargo make ci-start ci-1cn-1fe-with-recovery +risedev ci-start ci-1cn-1fe-with-recovery echo "--- init cluster with some data & DDL" sqllogictest -d dev -h localhost -p 4566 './e2e_test/sql_migration/prepare.slt' echo "--- kill cluster" -cargo make ci-kill +risedev ci-kill echo "--- restart etcd" -cargo make dev ci-meta-etcd-for-migration +risedev dev ci-meta-etcd-for-migration echo "--- run migration" mkdir -p "${RW_PREFIX_DATA}/sqlite/" @@ -70,10 +70,10 @@ migration \ -f echo "--- kill etcd" -cargo make ci-kill +risedev ci-kill echo "--- starting risingwave cluster, meta-1cn-1fe-sqlite" -cargo make dev meta-1cn-1fe-sqlite +risedev dev meta-1cn-1fe-sqlite echo "--- wait for recovery" wait_for_recovery @@ -82,8 +82,8 @@ echo "--- run check" sqllogictest -d dev -h localhost -p 4566 './e2e_test/sql_migration/check.slt' echo "--- kill cluster" -cargo make kill +risedev kill echo "--- clean data" -cargo make clean-data +risedev clean-data diff --git a/ci/scripts/e2e-starrocks-sink-test.sh b/ci/scripts/e2e-starrocks-sink-test.sh index 256f4448f9198..e17eaed33f437 100755 --- a/ci/scripts/e2e-starrocks-sink-test.sh +++ b/ci/scripts/e2e-starrocks-sink-test.sh @@ -24,7 +24,7 @@ shift $((OPTIND -1)) download_and_prepare_rw "$profile" source echo "--- starting risingwave cluster" -cargo make ci-start ci-sink-test +risedev ci-start ci-sink-test sleep 1 @@ -55,4 +55,4 @@ else fi echo "--- Kill cluster" -cargo make ci-kill \ No newline at end of file +risedev ci-kill \ No newline at end of file diff --git a/ci/scripts/e2e-test-parallel-for-opendal.sh b/ci/scripts/e2e-test-parallel-for-opendal.sh index 5c4978902910c..fcd63c9f0d586 100755 --- a/ci/scripts/e2e-test-parallel-for-opendal.sh +++ b/ci/scripts/e2e-test-parallel-for-opendal.sh @@ -30,21 +30,21 @@ host_args="-h localhost -p 4565 -h localhost -p 4566 -h localhost -p 4567" echo "--- e2e, ci-3cn-3fe-opendal-fs-backend, streaming" RUST_LOG="info,risingwave_stream=info,risingwave_batch=info,risingwave_storage=info" \ -cargo make ci-start ci-3cn-3fe-opendal-fs-backend +risedev ci-start ci-3cn-3fe-opendal-fs-backend sqllogictest ${host_args} -d dev './e2e_test/streaming/**/*.slt' -j 16 --junit "parallel-opendal-fs-backend-${profile}" echo "--- Kill cluster Streaming" -cargo make ci-kill +risedev ci-kill sleep 1 rm -rf /tmp/rw_ci echo "--- e2e, ci-3cn-3fe-opendal-fs-backend, batch" RUST_LOG="info,risingwave_stream=info,risingwave_batch=info,risingwave_storage=info" \ -cargo make ci-start ci-3cn-3fe-opendal-fs-backend +risedev ci-start ci-3cn-3fe-opendal-fs-backend sqllogictest ${host_args} -d dev './e2e_test/ddl/**/*.slt' --junit "parallel-opendal-fs-backend-ddl-${profile}" sqllogictest ${host_args} -d dev './e2e_test/visibility_mode/*.slt' -j 16 --junit "parallel-opendal-fs-backend-batch-${profile}" echo "--- Kill cluster Batch" -cargo make ci-kill +risedev ci-kill sleep 1 rm -rf /tmp/rw_ci \ No newline at end of file diff --git a/ci/scripts/e2e-test-parallel-in-memory.sh b/ci/scripts/e2e-test-parallel-in-memory.sh index dec93557ffef7..4b55320f115d3 100755 --- a/ci/scripts/e2e-test-parallel-in-memory.sh +++ b/ci/scripts/e2e-test-parallel-in-memory.sh @@ -26,17 +26,17 @@ download_and_prepare_rw "$profile" common host_args="-h localhost -p 4565 -h localhost -p 4566 -h localhost -p 4567" echo "--- e2e, ci-3cn-3fe-in-memory, streaming" -cargo make ci-start ci-3cn-3fe-in-memory +risedev ci-start ci-3cn-3fe-in-memory sqllogictest --version sqllogictest ${host_args} -d dev './e2e_test/streaming/**/*.slt' -j 16 --junit "parallel-in-memory-streaming-${profile}" --label in-memory echo "--- Kill cluster" -cargo make ci-kill +risedev ci-kill echo "--- e2e, ci-3cn-3fe-in-memory, batch" -cargo make ci-start ci-3cn-3fe-in-memory +risedev ci-start ci-3cn-3fe-in-memory sqllogictest ${host_args} -d dev './e2e_test/ddl/**/*.slt' --junit "parallel-in-memory-batch-ddl-${profile}" --label in-memory sqllogictest ${host_args} -d dev './e2e_test/batch/**/*.slt' -j 16 --junit "parallel-in-memory-batch-${profile}" --label in-memory echo "--- Kill cluster" -cargo make ci-kill +risedev ci-kill diff --git a/ci/scripts/e2e-test-parallel.sh b/ci/scripts/e2e-test-parallel.sh index 9d31b7afa1df9..ad1f11a75f7b1 100755 --- a/ci/scripts/e2e-test-parallel.sh +++ b/ci/scripts/e2e-test-parallel.sh @@ -28,7 +28,7 @@ download-and-decompress-artifact e2e_test_generated ./ kill_cluster() { echo "--- Kill cluster" - cargo make ci-kill + risedev ci-kill } host_args="-h localhost -p 4565 -h localhost -p 4566 -h localhost -p 4567" @@ -37,14 +37,14 @@ RUST_LOG="info,risingwave_stream=info,risingwave_batch=info,risingwave_storage=i echo "--- e2e, ci-3streaming-2serving-3fe, streaming" RUST_LOG=$RUST_LOG \ -cargo make ci-start ci-3streaming-2serving-3fe +risedev ci-start ci-3streaming-2serving-3fe sqllogictest ${host_args} -d dev './e2e_test/streaming/**/*.slt' -j 16 --junit "parallel-streaming-${profile}" kill_cluster echo "--- e2e, ci-3streaming-2serving-3fe, batch" RUST_LOG=$RUST_LOG \ -cargo make ci-start ci-3streaming-2serving-3fe +risedev ci-start ci-3streaming-2serving-3fe sqllogictest ${host_args} -d dev './e2e_test/ddl/**/*.slt' --junit "parallel-batch-ddl-${profile}" sqllogictest ${host_args} -d dev './e2e_test/visibility_mode/*.slt' -j 16 --junit "parallel-batch-${profile}" @@ -52,7 +52,7 @@ kill_cluster echo "--- e2e, ci-3streaming-2serving-3fe, generated" RUST_LOG=$RUST_LOG \ -cargo make ci-start ci-3streaming-2serving-3fe +risedev ci-start ci-3streaming-2serving-3fe sqllogictest ${host_args} -d dev './e2e_test/generated/**/*.slt' -j 16 --junit "parallel-generated-${profile}" kill_cluster diff --git a/ci/scripts/java-binding-test.sh b/ci/scripts/java-binding-test.sh index a5df5a1bdd379..0c8807411a2e9 100755 --- a/ci/scripts/java-binding-test.sh +++ b/ci/scripts/java-binding-test.sh @@ -28,13 +28,13 @@ buildkite-agent artifact download java-binding-integration-test.tar.zst ./ tar xf java-binding-integration-test.tar.zst echo "--- starting risingwave cluster" -cargo make ci-start java-binding-demo +risedev ci-start java-binding-demo echo "--- ingest data and run java binding" -cargo make ingest-data-and-run-java-binding +risedev ingest-data-and-run-java-binding echo "--- Kill cluster" -cargo make ci-kill +risedev ci-kill echo "--- run stream chunk java binding" RISINGWAVE_ROOT=$(git rev-parse --show-toplevel) diff --git a/ci/scripts/pulsar-source-test.sh b/ci/scripts/pulsar-source-test.sh index 9de314d30d425..6f0f7d176b001 100755 --- a/ci/scripts/pulsar-source-test.sh +++ b/ci/scripts/pulsar-source-test.sh @@ -38,11 +38,11 @@ echo "--- Generate RiseDev CI config" cp ci/risedev-components.ci.env risedev-components.user.env echo "--- Prepare RiseDev dev cluster" -cargo make pre-start-dev -cargo make --allow-private link-all-in-one-binaries +risedev pre-start-dev +risedev --allow-private link-all-in-one-binaries echo "--- starting risingwave cluster with connector node" -cargo make ci-start ci-1cn-1fe +risedev ci-start ci-1cn-1fe echo "--- Run test" python3 -m pip install psycopg2-binary @@ -50,4 +50,4 @@ python3 e2e_test/source/pulsar/astra-streaming.py # python3 e2e_test/source/pulsar/streamnative-cloud.py echo "--- Kill cluster" -cargo make ci-kill +risedev ci-kill diff --git a/ci/scripts/regress-test.sh b/ci/scripts/regress-test.sh index 384c321afe5eb..0dacff818bade 100755 --- a/ci/scripts/regress-test.sh +++ b/ci/scripts/regress-test.sh @@ -58,7 +58,7 @@ RUST_BACKTRACE=1 target/debug/risingwave_regress_test --host db \ echo "--- ci-3cn-1fe, RisingWave regress test" rm -rf `pwd`/src/tests/regress/output -cargo make ci-start ci-3cn-1fe +risedev ci-start ci-3cn-1fe RUST_BACKTRACE=1 target/debug/risingwave_regress_test --host 127.0.0.1 \ -p 4566 \ -u root \ @@ -68,4 +68,4 @@ RUST_BACKTRACE=1 target/debug/risingwave_regress_test --host 127.0.0.1 \ --mode risingwave echo "--- Kill cluster" -cargo make ci-kill +risedev ci-kill diff --git a/ci/scripts/run-backfill-tests.sh b/ci/scripts/run-backfill-tests.sh index 85e3b7a8b8d56..734a6cf5ac092 100755 --- a/ci/scripts/run-backfill-tests.sh +++ b/ci/scripts/run-backfill-tests.sh @@ -65,14 +65,14 @@ rename_logs_with_prefix() { } kill_cluster() { - cargo make ci-kill-no-dump-logs + risedev ci-kill-no-dump-logs wait } restart_cluster() { kill_cluster rename_logs_with_prefix "before-restart" - cargo make dev $CLUSTER_PROFILE + risedev dev $CLUSTER_PROFILE } restart_cn() { @@ -103,7 +103,7 @@ restart_cn() { # Test snapshot and upstream read. test_snapshot_and_upstream_read() { echo "--- e2e, ci-backfill, test_snapshot_and_upstream_read" - cargo make ci-start ci-backfill + risedev ci-start ci-backfill run_sql_file "$PARENT_PATH"/sql/backfill/basic/create_base_table.sql # Provide snapshot @@ -119,14 +119,14 @@ test_snapshot_and_upstream_read() { run_sql_file "$PARENT_PATH"/sql/backfill/basic/select.sql &1 1>out.log & @@ -216,12 +216,12 @@ test_arrangement_backfill_snapshot_and_upstream_runtime() { sqllogictest -p 4566 -d dev 'e2e_test/backfill/runtime/validate_rows_arrangement.slt' - cargo make ci-kill + risedev ci-kill } test_no_shuffle_backfill_snapshot_and_upstream_runtime() { echo "--- e2e, test_no_shuffle_backfill_snapshot_and_upstream_runtime, $RUNTIME_CLUSTER_PROFILE" - cargo make ci-start $RUNTIME_CLUSTER_PROFILE + risedev ci-start $RUNTIME_CLUSTER_PROFILE sqllogictest -p 4566 -d dev 'e2e_test/backfill/runtime/create_table.slt' sqllogictest -p 4566 -d dev 'e2e_test/backfill/runtime/insert_snapshot.slt' sqllogictest -p 4566 -d dev 'e2e_test/backfill/runtime/insert_upstream.slt' 2>&1 1>out.log & @@ -237,7 +237,7 @@ test_no_shuffle_backfill_snapshot_and_upstream_runtime() { test_backfill_snapshot_runtime() { echo "--- e2e, test_backfill_snapshot_runtime, $RUNTIME_CLUSTER_PROFILE" - cargo make ci-start $RUNTIME_CLUSTER_PROFILE + risedev ci-start $RUNTIME_CLUSTER_PROFILE sqllogictest -p 4566 -d dev 'e2e_test/backfill/runtime/create_table.slt' sqllogictest -p 4566 -d dev 'e2e_test/backfill/runtime/insert_snapshot.slt' sqllogictest -p 4566 -d dev 'e2e_test/backfill/runtime/create_arrangement_backfill_mv.slt' @@ -252,7 +252,7 @@ test_backfill_snapshot_runtime() { # Arrangement Backfill should not fail because of this. test_backfill_snapshot_with_limited_storage_throughput() { echo "--- e2e, test_backfill_snapshot_with_limited_storage_throughput, $MINIO_RATE_LIMIT_CLUSTER_PROFILE" - cargo make ci-start $MINIO_RATE_LIMIT_CLUSTER_PROFILE + risedev ci-start $MINIO_RATE_LIMIT_CLUSTER_PROFILE sqllogictest -p 4566 -d dev 'e2e_test/backfill/runtime/create_table.slt' sqllogictest -p 4566 -d dev 'e2e_test/backfill/runtime/insert_snapshot.slt' sqllogictest -p 4566 -d dev 'e2e_test/backfill/runtime/create_arrangement_backfill_mv.slt' @@ -266,7 +266,7 @@ test_backfill_snapshot_with_limited_storage_throughput() { # Test case where we do backfill with PK of 10 columns to measure performance impact. test_backfill_snapshot_with_wider_rows() { echo "--- e2e, test_backfill_snapshot_with_wider_rows, $RUNTIME_CLUSTER_PROFILE" - cargo make ci-start $RUNTIME_CLUSTER_PROFILE + risedev ci-start $RUNTIME_CLUSTER_PROFILE sqllogictest -p 4566 -d dev 'e2e_test/backfill/runtime/create_wide_table.slt' sqllogictest -p 4566 -d dev 'e2e_test/backfill/runtime/insert_wide_snapshot.slt' sqllogictest -p 4566 -d dev 'e2e_test/backfill/runtime/create_arrangement_backfill_mv.slt' diff --git a/ci/scripts/run-e2e-test.sh b/ci/scripts/run-e2e-test.sh index d1c13a02f1ec5..8d9e393b25ef8 100755 --- a/ci/scripts/run-e2e-test.sh +++ b/ci/scripts/run-e2e-test.sh @@ -33,19 +33,19 @@ fi cluster_start() { if [[ $mode == "standalone" ]]; then mkdir -p "$PREFIX_LOG" - cargo make clean-data - cargo make pre-start-dev + risedev clean-data + risedev pre-start-dev start_standalone "$PREFIX_LOG"/standalone.log & - cargo make dev standalone-minio-etcd + risedev dev standalone-minio-etcd elif [[ $mode == "single-node" ]]; then mkdir -p "$PREFIX_LOG" - cargo make clean-data - cargo make pre-start-dev + risedev clean-data + risedev pre-start-dev start_single_node "$PREFIX_LOG"/single-node.log & # Give it a while to make sure the single-node is ready. sleep 10 else - cargo make ci-start "$mode" + risedev ci-start "$mode" fi } @@ -54,12 +54,12 @@ cluster_stop() { then stop_standalone # Don't check standalone logs, they will exceed the limit. - cargo make kill + risedev kill elif [[ $mode == "single-node" ]] then stop_single_node else - cargo make ci-kill + risedev ci-kill fi } @@ -157,7 +157,7 @@ cluster_stop if [[ "$RUN_COMPACTION" -eq "1" ]]; then echo "--- e2e, ci-compaction-test, nexmark_q7" RUST_LOG="info,risingwave_stream=info,risingwave_batch=info,risingwave_storage=info" \ - cargo make ci-start ci-compaction-test + risedev ci-start ci-compaction-test # Please make sure the regression is expected before increasing the timeout. sqllogictest -p 4566 -d dev './e2e_test/compaction/ingest_rows.slt' @@ -241,10 +241,10 @@ if [[ "$mode" == "standalone" ]]; then echo "test standalone without compactor" mkdir -p "$PREFIX_LOG" - cargo make clean-data - cargo make pre-start-dev + risedev clean-data + risedev pre-start-dev start_standalone_without_compactor "$PREFIX_LOG"/standalone.log & - cargo make dev standalone-minio-etcd-compactor + risedev dev standalone-minio-etcd-compactor wait_standalone if compactor_is_online then @@ -258,10 +258,10 @@ if [[ "$mode" == "standalone" ]]; then echo "test standalone with compactor" mkdir -p "$PREFIX_LOG" - cargo make clean-data - cargo make pre-start-dev + risedev clean-data + risedev pre-start-dev start_standalone "$PREFIX_LOG"/standalone.log & - cargo make dev standalone-minio-etcd + risedev dev standalone-minio-etcd wait_standalone if ! compactor_is_online then diff --git a/ci/scripts/run-fuzz-test.sh b/ci/scripts/run-fuzz-test.sh index 5823d6f1e848e..441b2797b6a4c 100755 --- a/ci/scripts/run-fuzz-test.sh +++ b/ci/scripts/run-fuzz-test.sh @@ -48,7 +48,7 @@ if [[ "$RUN_SQLSMITH" -eq "1" ]]; then chmod +x ./target/debug/sqlsmith echo "--- e2e, ci-3cn-1fe, build" - cargo make ci-start ci-3cn-1fe + risedev ci-start ci-3cn-1fe echo "--- e2e, ci-3cn-1fe, run fuzzing" ./target/debug/sqlsmith test \ @@ -69,7 +69,7 @@ if [[ "$RUN_SQLSMITH" -eq "1" ]]; then # If there's errors, the failing query will be printed to stderr. # Use that to reproduce logs on local machine. echo "--- Kill cluster" - cargo make kill + risedev kill # NOTE(Noel): This is disabled because once it fails, it keeps failing. # That blocks PRs from getting through. diff --git a/ci/scripts/run-meta-backup-test.sh b/ci/scripts/run-meta-backup-test.sh index 90db9c3f136a5..120d247cedd47 100755 --- a/ci/scripts/run-meta-backup-test.sh +++ b/ci/scripts/run-meta-backup-test.sh @@ -35,19 +35,19 @@ fi cluster_start() { if [[ $mode == "standalone" ]]; then mkdir -p "$PREFIX_LOG" - cargo make clean-data - cargo make pre-start-dev + risedev clean-data + risedev pre-start-dev start_standalone "$PREFIX_LOG"/standalone.log & - cargo make dev standalone-minio-etcd + risedev dev standalone-minio-etcd elif [[ $mode == "single-node" ]]; then mkdir -p "$PREFIX_LOG" - cargo make clean-data - cargo make pre-start-dev + risedev clean-data + risedev pre-start-dev start_single_node "$PREFIX_LOG"/single-node.log & # Give it a while to make sure the single-node is ready. sleep 3 else - cargo make ci-start "$mode" + risedev ci-start "$mode" fi } @@ -56,12 +56,12 @@ cluster_stop() { then stop_standalone # Don't check standalone logs, they will exceed the limit. - cargo make kill + risedev kill elif [[ $mode == "single-node" ]] then stop_single_node else - cargo make ci-kill + risedev ci-kill fi } @@ -77,4 +77,4 @@ RW_META_ADDR="http://127.0.0.1:5690" \ RUST_LOG="info,risingwave_stream=info,risingwave_batch=info,risingwave_storage=info" \ bash "${test_root}/run_all.sh" echo "--- Kill cluster" -cargo make kill \ No newline at end of file +risedev kill \ No newline at end of file diff --git a/ci/scripts/s3-source-test-for-opendal-fs-engine.sh b/ci/scripts/s3-source-test-for-opendal-fs-engine.sh index 355489acf2512..7521eaa97b336 100755 --- a/ci/scripts/s3-source-test-for-opendal-fs-engine.sh +++ b/ci/scripts/s3-source-test-for-opendal-fs-engine.sh @@ -26,7 +26,7 @@ shift $((OPTIND -1)) download_and_prepare_rw "$profile" common echo "--- starting risingwave cluster with connector node" -cargo make ci-start ci-3cn-3fe-opendal-fs-backend +risedev ci-start ci-3cn-3fe-opendal-fs-backend echo "--- Run test" python3 -m pip install minio psycopg2-binary @@ -34,4 +34,4 @@ python3 e2e_test/s3/$script echo "--- Kill cluster" rm -rf /tmp/rw_ci -cargo make ci-kill +risedev ci-kill diff --git a/ci/scripts/s3-source-test.sh b/ci/scripts/s3-source-test.sh index 364883bb90781..80c4f5fa3f16c 100755 --- a/ci/scripts/s3-source-test.sh +++ b/ci/scripts/s3-source-test.sh @@ -26,11 +26,11 @@ shift $((OPTIND -1)) download_and_prepare_rw "$profile" source echo "--- starting risingwave cluster with connector node" -cargo make ci-start ci-1cn-1fe +risedev ci-start ci-1cn-1fe echo "--- Run test" python3 -m pip install minio psycopg2-binary opendal python3 e2e_test/s3/$script echo "--- Kill cluster" -cargo make ci-kill +risedev ci-kill diff --git a/ci/scripts/sqlsmith-differential-test.sh b/ci/scripts/sqlsmith-differential-test.sh index 16b2dd4df39ec..257261ece1fd6 100755 --- a/ci/scripts/sqlsmith-differential-test.sh +++ b/ci/scripts/sqlsmith-differential-test.sh @@ -39,7 +39,7 @@ mv target/debug/sqlsmith-"$profile" target/debug/sqlsmith chmod +x ./target/debug/sqlsmith echo "--- e2e, ci-3cn-1fe, build" -cargo make ci-start ci-3cn-1fe +risedev ci-start ci-3cn-1fe echo "--- e2e, ci-3cn-1fe, run fuzzing" ./target/debug/sqlsmith test \ @@ -55,4 +55,4 @@ echo "Fuzzing complete" # If there's errors, the failing query will be printed to stderr. # Use that to reproduce logs on local machine. echo "--- Kill cluster" -cargo make kill +risedev kill From 8628c1fbae02be8b76f2d2a822b764465d49e706 Mon Sep 17 00:00:00 2001 From: xxchan Date: Fri, 5 Apr 2024 17:15:32 +0800 Subject: [PATCH 2/7] fix --- risedev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/risedev b/risedev index 49b3e8efff254..eb379c60cd668 100755 --- a/risedev +++ b/risedev @@ -1,6 +1,6 @@ #!/usr/bin/env bash -if [ -z "$(which cargo-binstall)" ]; then +if [ -z "$(which cargo-binstall)" ] && [ -z "$RISINGWAVE_CI" ]; then echo "Installing cargo-binstall..." curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash fi From 8daa64d9c717fdee8f76a6c0ee2601b7c1daf494 Mon Sep 17 00:00:00 2001 From: xxchan Date: Fri, 5 Apr 2024 17:19:38 +0800 Subject: [PATCH 3/7] debug --- risedev | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/risedev b/risedev index eb379c60cd668..eac538442f558 100755 --- a/risedev +++ b/risedev @@ -1,5 +1,9 @@ #!/usr/bin/env bash +pwd + +ls -la + if [ -z "$(which cargo-binstall)" ] && [ -z "$RISINGWAVE_CI" ]; then echo "Installing cargo-binstall..." curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash From 0a2ded00a1d3df433a7893884b8cee64a1c67b3a Mon Sep 17 00:00:00 2001 From: xxchan Date: Fri, 5 Apr 2024 17:27:45 +0800 Subject: [PATCH 4/7] fix --- Makefile.toml | 37 +++++++++++++++++++------------------ ci/Dockerfile | 2 +- ci/build-ci-image.sh | 2 +- ci/docker-compose.yml | 10 +++++----- risedev | 4 ---- 5 files changed, 26 insertions(+), 29 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index 37d11266f6d60..e9d661f31150c 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -15,6 +15,7 @@ extend = [ { path = "src/storage/backup/integration_tests/Makefile.toml" }, { path = "src/java_binding/make-java-binding.toml" }, { path = "src/stream/tests/integration_tests/integration_test.toml" }, + { path = "e2e_test/source_new/commands.toml"} ] env_files = ["./risedev-components.user.env"] @@ -558,8 +559,8 @@ env_files = ["${PREFIX_CONFIG}/risedev-env"] script = ''' #!/usr/bin/env bash cat < "${PREFIX_CONFIG}/psql-env" -export PGHOST=$RW_FRONTEND_LISTEN_ADDRESS -export PGPORT=$RW_FRONTEND_PORT +export PGHOST=$RISEDEV_FRONTEND_LISTEN_ADDRESS +export PGPORT=$RISEDEV_FRONTEND_PORT export PGUSER=root export PGDATABASE=dev EOF @@ -576,7 +577,7 @@ dependencies = ["check-risedev-env-file"] env_files = ["${PREFIX_CONFIG}/risedev-env"] script = ''' #!/usr/bin/env bash -psql -h $RW_FRONTEND_LISTEN_ADDRESS -p $RW_FRONTEND_PORT -U root -d dev "$@" +psql -h $RISEDEV_FRONTEND_LISTEN_ADDRESS -p $RISEDEV_FRONTEND_PORT -U root -d dev "$@" ''' [tasks.ctl] @@ -883,7 +884,7 @@ cargo build \ """ [tasks.stest] -category = "RiseDev - Deterministic Simulation" +category = "RiseDev - Test - Deterministic Simulation" description = "Run unit tests in deterministic simulation mode" dependencies = ["install-nextest"] env = { CARGO_TARGET_DIR = "target/sim" } @@ -908,7 +909,7 @@ cargo nextest run \ """ [tasks.sit-test] -category = "RiseDev - Deterministic Simulation" +category = "RiseDev - Test - Deterministic Simulation" description = "Run integration tests in deterministic simulation mode" dependencies = ["install-nextest"] env = { CARGO_TARGET_DIR = "target/sim" } @@ -923,7 +924,7 @@ cargo nextest run \ """ [tasks.sarchive-it-test] -category = "RiseDev - Deterministic Simulation" +category = "RiseDev - Test - Deterministic Simulation" description = "Archive integration tests in deterministic simulation mode" dependencies = ["install-nextest"] env = { CARGO_TARGET_DIR = "target/sim" } @@ -939,7 +940,7 @@ cargo nextest archive \ """ [tasks.scheck] -category = "RiseDev - Deterministic Simulation" +category = "RiseDev - Test - Deterministic Simulation" description = "Run cargo check in deterministic simulation mode" dependencies = ["warn-on-missing-tools"] env = { CARGO_TARGET_DIR = "target/sim" } @@ -964,7 +965,7 @@ cargo check \ """ [tasks.sslt] -category = "RiseDev - Deterministic Simulation" +category = "RiseDev - Test - Deterministic Simulation" description = "Run e2e tests in deterministic simulation mode" dependencies = ["warn-on-missing-tools"] env = { CARGO_TARGET_DIR = "target/sim" } @@ -978,7 +979,7 @@ cargo run \ """ [tasks.sslt-build-all] -category = "RiseDev - Deterministic Simulation" +category = "RiseDev - Test - Deterministic Simulation" description = "Build deterministic simulation runner and tests" dependencies = ["warn-on-missing-tools"] env = { CARGO_TARGET_DIR = "target/sim" } @@ -993,7 +994,7 @@ cargo build \ """ [tasks.sslt-cov] -category = "RiseDev - Deterministic Simulation" +category = "RiseDev - Test - Deterministic Simulation" description = "Run e2e tests in deterministic simulation mode and report code coverage" dependencies = ["install-llvm-cov"] env = { CARGO_TARGET_DIR = "target/sim-cov" } @@ -1290,42 +1291,42 @@ echo "All processes has exited." """ [tasks.slt] -category = "RiseDev - SQLLogicTest" +category = "RiseDev - Test - SQLLogicTest" install_crate = { version = "0.19.1", crate_name = "sqllogictest-bin", binary = "sqllogictest", test_arg = [ "--help", ], install_command = "binstall" } dependencies = ["check-risedev-env-file"] env_files = ["${PREFIX_CONFIG}/risedev-env"] -env = { SLT_HOST = "${RW_FRONTEND_LISTEN_ADDRESS}", SLT_PORT = "${RW_FRONTEND_PORT}", SLT_DB = "dev" } +env = { SLT_HOST = "${RISEDEV_FRONTEND_LISTEN_ADDRESS}", SLT_PORT = "${RISEDEV_FRONTEND_PORT}", SLT_DB = "dev" } command = "sqllogictest" args = ["${@}"] description = "🌟 Run SQLLogicTest" [tasks.slt-streaming] -category = "RiseDev - SQLLogicTest" +category = "RiseDev - Test - SQLLogicTest" extend = "slt" args = ["${@}", "./e2e_test/streaming/**/*.slt"] description = "Run all streaming e2e tests" [tasks.slt-batch] -category = "RiseDev - SQLLogicTest" +category = "RiseDev - Test - SQLLogicTest" extend = "slt" args = ["${@}", "./e2e_test/batch/*.slt"] description = "Run all batch e2e tests" [tasks.slt-generated] -category = "RiseDev - SQLLogicTest" +category = "RiseDev - Test - SQLLogicTest" extend = "slt" args = ["${@}", "./e2e_test/generated/**/*.slt"] description = "Run all generated e2e tests" [tasks.slt-all] -category = "RiseDev - SQLLogicTest" +category = "RiseDev - Test - SQLLogicTest" run_task = { name = ["slt-streaming", "slt-batch", "slt-generated"] } description = "Run all e2e tests" [tasks.docslt] -category = "RiseDev - SQLLogicTest" +category = "RiseDev - Test - SQLLogicTest" description = "Extract SQL examples written in SQLLogicTest syntax from Rust doc comments" script = ''' #!/usr/bin/env bash @@ -1400,7 +1401,7 @@ UPDATE_EXPECT=1 cargo test -p risingwave_connector tests::test_with_options_yaml ''' [tasks.backwards-compat-test] -category = "RiseDev - Backwards Compatibility Test" +category = "RiseDev - Test - Backwards Compatibility Test" description = "Run backwards compatibility test" script = "./backwards-compat-tests/scripts/run_local.sh" diff --git a/ci/Dockerfile b/ci/Dockerfile index 95223cf43c654..78c48f0c648d6 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -70,6 +70,6 @@ COPY < Date: Fri, 5 Apr 2024 17:58:48 +0800 Subject: [PATCH 5/7] fix --- Makefile.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile.toml b/Makefile.toml index e9d661f31150c..116d07b085768 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -15,7 +15,6 @@ extend = [ { path = "src/storage/backup/integration_tests/Makefile.toml" }, { path = "src/java_binding/make-java-binding.toml" }, { path = "src/stream/tests/integration_tests/integration_test.toml" }, - { path = "e2e_test/source_new/commands.toml"} ] env_files = ["./risedev-components.user.env"] From 0e3ace190bf54a72481b67b669fc22d3bbd2807a Mon Sep 17 00:00:00 2001 From: xxchan Date: Fri, 5 Apr 2024 23:13:05 +0800 Subject: [PATCH 6/7] revert unrelated change --- Makefile.toml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index 116d07b085768..37d11266f6d60 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -558,8 +558,8 @@ env_files = ["${PREFIX_CONFIG}/risedev-env"] script = ''' #!/usr/bin/env bash cat < "${PREFIX_CONFIG}/psql-env" -export PGHOST=$RISEDEV_FRONTEND_LISTEN_ADDRESS -export PGPORT=$RISEDEV_FRONTEND_PORT +export PGHOST=$RW_FRONTEND_LISTEN_ADDRESS +export PGPORT=$RW_FRONTEND_PORT export PGUSER=root export PGDATABASE=dev EOF @@ -576,7 +576,7 @@ dependencies = ["check-risedev-env-file"] env_files = ["${PREFIX_CONFIG}/risedev-env"] script = ''' #!/usr/bin/env bash -psql -h $RISEDEV_FRONTEND_LISTEN_ADDRESS -p $RISEDEV_FRONTEND_PORT -U root -d dev "$@" +psql -h $RW_FRONTEND_LISTEN_ADDRESS -p $RW_FRONTEND_PORT -U root -d dev "$@" ''' [tasks.ctl] @@ -883,7 +883,7 @@ cargo build \ """ [tasks.stest] -category = "RiseDev - Test - Deterministic Simulation" +category = "RiseDev - Deterministic Simulation" description = "Run unit tests in deterministic simulation mode" dependencies = ["install-nextest"] env = { CARGO_TARGET_DIR = "target/sim" } @@ -908,7 +908,7 @@ cargo nextest run \ """ [tasks.sit-test] -category = "RiseDev - Test - Deterministic Simulation" +category = "RiseDev - Deterministic Simulation" description = "Run integration tests in deterministic simulation mode" dependencies = ["install-nextest"] env = { CARGO_TARGET_DIR = "target/sim" } @@ -923,7 +923,7 @@ cargo nextest run \ """ [tasks.sarchive-it-test] -category = "RiseDev - Test - Deterministic Simulation" +category = "RiseDev - Deterministic Simulation" description = "Archive integration tests in deterministic simulation mode" dependencies = ["install-nextest"] env = { CARGO_TARGET_DIR = "target/sim" } @@ -939,7 +939,7 @@ cargo nextest archive \ """ [tasks.scheck] -category = "RiseDev - Test - Deterministic Simulation" +category = "RiseDev - Deterministic Simulation" description = "Run cargo check in deterministic simulation mode" dependencies = ["warn-on-missing-tools"] env = { CARGO_TARGET_DIR = "target/sim" } @@ -964,7 +964,7 @@ cargo check \ """ [tasks.sslt] -category = "RiseDev - Test - Deterministic Simulation" +category = "RiseDev - Deterministic Simulation" description = "Run e2e tests in deterministic simulation mode" dependencies = ["warn-on-missing-tools"] env = { CARGO_TARGET_DIR = "target/sim" } @@ -978,7 +978,7 @@ cargo run \ """ [tasks.sslt-build-all] -category = "RiseDev - Test - Deterministic Simulation" +category = "RiseDev - Deterministic Simulation" description = "Build deterministic simulation runner and tests" dependencies = ["warn-on-missing-tools"] env = { CARGO_TARGET_DIR = "target/sim" } @@ -993,7 +993,7 @@ cargo build \ """ [tasks.sslt-cov] -category = "RiseDev - Test - Deterministic Simulation" +category = "RiseDev - Deterministic Simulation" description = "Run e2e tests in deterministic simulation mode and report code coverage" dependencies = ["install-llvm-cov"] env = { CARGO_TARGET_DIR = "target/sim-cov" } @@ -1290,42 +1290,42 @@ echo "All processes has exited." """ [tasks.slt] -category = "RiseDev - Test - SQLLogicTest" +category = "RiseDev - SQLLogicTest" install_crate = { version = "0.19.1", crate_name = "sqllogictest-bin", binary = "sqllogictest", test_arg = [ "--help", ], install_command = "binstall" } dependencies = ["check-risedev-env-file"] env_files = ["${PREFIX_CONFIG}/risedev-env"] -env = { SLT_HOST = "${RISEDEV_FRONTEND_LISTEN_ADDRESS}", SLT_PORT = "${RISEDEV_FRONTEND_PORT}", SLT_DB = "dev" } +env = { SLT_HOST = "${RW_FRONTEND_LISTEN_ADDRESS}", SLT_PORT = "${RW_FRONTEND_PORT}", SLT_DB = "dev" } command = "sqllogictest" args = ["${@}"] description = "🌟 Run SQLLogicTest" [tasks.slt-streaming] -category = "RiseDev - Test - SQLLogicTest" +category = "RiseDev - SQLLogicTest" extend = "slt" args = ["${@}", "./e2e_test/streaming/**/*.slt"] description = "Run all streaming e2e tests" [tasks.slt-batch] -category = "RiseDev - Test - SQLLogicTest" +category = "RiseDev - SQLLogicTest" extend = "slt" args = ["${@}", "./e2e_test/batch/*.slt"] description = "Run all batch e2e tests" [tasks.slt-generated] -category = "RiseDev - Test - SQLLogicTest" +category = "RiseDev - SQLLogicTest" extend = "slt" args = ["${@}", "./e2e_test/generated/**/*.slt"] description = "Run all generated e2e tests" [tasks.slt-all] -category = "RiseDev - Test - SQLLogicTest" +category = "RiseDev - SQLLogicTest" run_task = { name = ["slt-streaming", "slt-batch", "slt-generated"] } description = "Run all e2e tests" [tasks.docslt] -category = "RiseDev - Test - SQLLogicTest" +category = "RiseDev - SQLLogicTest" description = "Extract SQL examples written in SQLLogicTest syntax from Rust doc comments" script = ''' #!/usr/bin/env bash @@ -1400,7 +1400,7 @@ UPDATE_EXPECT=1 cargo test -p risingwave_connector tests::test_with_options_yaml ''' [tasks.backwards-compat-test] -category = "RiseDev - Test - Backwards Compatibility Test" +category = "RiseDev - Backwards Compatibility Test" description = "Run backwards compatibility test" script = "./backwards-compat-tests/scripts/run_local.sh" From 4f2f96b831f8661e8e87071e21c1a3a247193dd7 Mon Sep 17 00:00:00 2001 From: xxchan Date: Mon, 8 Apr 2024 14:18:04 +0800 Subject: [PATCH 7/7] please bz --- ci/scripts/backwards-compat-test.sh | 2 +- ci/scripts/e2e-source-test.sh | 4 ++-- ci/scripts/gen-flamegraph.sh | 8 ++++---- ci/scripts/run-backfill-tests.sh | 6 +++--- ci/scripts/single-node-utils.sh | 2 +- ci/scripts/standalone-utils.sh | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ci/scripts/backwards-compat-test.sh b/ci/scripts/backwards-compat-test.sh index 5a8028aa91412..90ddcf09b740c 100755 --- a/ci/scripts/backwards-compat-test.sh +++ b/ci/scripts/backwards-compat-test.sh @@ -114,7 +114,7 @@ setup_old_cluster() { wget $OLD_URL if [[ "$?" -ne 0 ]]; then set -e - echo "Failed to download ${OLD_VERSION} from github releases, build from source later during ./risedev d" + echo "Failed to download ${OLD_VERSION} from github releases, build from source later during \`risedev d\`" configure_rw_build else set -e diff --git a/ci/scripts/e2e-source-test.sh b/ci/scripts/e2e-source-test.sh index 0eeb9981c172f..8785bc50e2b19 100755 --- a/ci/scripts/e2e-source-test.sh +++ b/ci/scripts/e2e-source-test.sh @@ -178,5 +178,5 @@ echo "--- e2e, kafka alter source again" sqllogictest -p 4566 -d dev './e2e_test/source/basic/alter/kafka_after_new_data_2.slt' echo "--- Run CH-benCHmark" -./risedev slt -p 4566 -d dev './e2e_test/ch_benchmark/batch/ch_benchmark.slt' -./risedev slt -p 4566 -d dev './e2e_test/ch_benchmark/streaming/*.slt' +risedev slt -p 4566 -d dev './e2e_test/ch_benchmark/batch/ch_benchmark.slt' +risedev slt -p 4566 -d dev './e2e_test/ch_benchmark/streaming/*.slt' diff --git a/ci/scripts/gen-flamegraph.sh b/ci/scripts/gen-flamegraph.sh index 15cb675779761..8fb71a1aee8ae 100755 --- a/ci/scripts/gen-flamegraph.sh +++ b/ci/scripts/gen-flamegraph.sh @@ -250,8 +250,8 @@ monitor() { stop_processes() { # stop rw pushd risingwave - ./risedev k - ./risedev clean-data + risedev k + risedev clean-data popd } @@ -280,7 +280,7 @@ run_heap_flamegraph() { # No need for an extra profiling step. echo "--- Starting up RW" pushd risingwave - RISEDEV_ENABLE_HEAP_PROFILE=1 ./risedev d ci-gen-cpu-flamegraph + RISEDEV_ENABLE_HEAP_PROFILE=1 risedev d ci-gen-cpu-flamegraph popd echo "--- Machine Debug Info After RW Start" @@ -338,7 +338,7 @@ run_cpu_flamegraph() { echo "--- Starting up RW" pushd risingwave - ./risedev d ci-gen-cpu-flamegraph + risedev d ci-gen-cpu-flamegraph popd echo "--- Machine Debug Info After RW Start" diff --git a/ci/scripts/run-backfill-tests.sh b/ci/scripts/run-backfill-tests.sh index 734a6cf5ac092..f01e2c5b3d771 100755 --- a/ci/scripts/run-backfill-tests.sh +++ b/ci/scripts/run-backfill-tests.sh @@ -127,7 +127,7 @@ test_snapshot_and_upstream_read() { test_backfill_tombstone() { echo "--- e2e, test_backfill_tombstone" risedev ci-start $CLUSTER_PROFILE - ./risedev psql -c " + risedev psql -c " CREATE TABLE tomb (v1 int) WITH ( connector = 'datagen', @@ -145,12 +145,12 @@ test_backfill_tombstone() { for i in $(seq 1 1000) do - ./risedev psql -c "DELETE FROM tomb; FLUSH;" + risedev psql -c "DELETE FROM tomb; FLUSH;" sleep 1 done ' 1>deletes.log 2>&1 & - ./risedev psql -c "CREATE MATERIALIZED VIEW m1 as select * from tomb;" + risedev psql -c "CREATE MATERIALIZED VIEW m1 as select * from tomb;" echo "--- Kill cluster" kill_cluster wait diff --git a/ci/scripts/single-node-utils.sh b/ci/scripts/single-node-utils.sh index 8e75232173703..8f7240d3d906a 100755 --- a/ci/scripts/single-node-utils.sh +++ b/ci/scripts/single-node-utils.sh @@ -7,7 +7,7 @@ export PREFIX_BIN=./target/debug export PREFIX_LOG=$RW_PREFIX/log # You can fill up this section by consulting -# .risingwave/log/risedev.log, after calling ./risedev d full. +# .risingwave/log/risedev.log, after calling `risedev d full`. # It is expected that minio, etcd will be started after this is called. start_single_node() { mkdir -p "$HOME/.risingwave/state_store" diff --git a/ci/scripts/standalone-utils.sh b/ci/scripts/standalone-utils.sh index 2ad5a349252c3..c0767ddaefb62 100755 --- a/ci/scripts/standalone-utils.sh +++ b/ci/scripts/standalone-utils.sh @@ -38,7 +38,7 @@ start_standalone_without_compactor() { } # You can fill up this section by consulting -# .risingwave/log/risedev.log, after calling ./risedev d full. +# .risingwave/log/risedev.log, after calling `risedev d full`. # It is expected that minio, etcd will be started after this is called. start_standalone() { RUST_BACKTRACE=1 \